SynaptiCAD Tutorials

(TD) 5.5 Referencing Parameters in Libraries

(TD) 5.5 Referencing Parameters in Libraries

Previous topic Next topic  

(TD) 5.5 Referencing Parameters in Libraries

Previous topic Next topic  

Now that we have added the libraries and set the specifications, we want to reference the library parameters in our project.

Make Dsetup reference a Library part:

In the Parameter window, double click on the min value of the Dsetup parameter to open the Parameter Properties dialog.

If there were more than one instance of Dsetup in the diagram, opening the Parameter Properties dialog this way would change the timing values for all instances of the parameter.

Delete the value in the min edit box.

Press the Library button to open the View Parameters in Libraries dialog (this is really the Parameter Library Preferences dialog in View Parts mode).

Parm_properties_library

Notice that there are three libraries on the library list; the 3ac.txt and Ac.txt that you added in step 5.2, and one called Parameter Data Table. This extra library is a virtual library that lists all the  parameters in the current timing diagram. You can use virtual library parameters in formulas just like regular library parameters.

viewParametersInLibraryDialog

Select the Ac.txt library from the library list. This displays the parameters in this library in the library parts list on the right.

viewParametersInLibraryDialog-selectDSetupMin

Scroll down in the library parts and select parameter 074;D2CK_ts.

Press the Insert Into Formula button then press the Ok button to close the dialog.

Notice that the min box in the Parameter Properties dialog has the parameter with the library specification appended to the front. A "+" sign is also added, so you can easily add together several library timing parameters by selecting multiple parameters then pressing the Insert Into Formula button.

parm_properties_d2ck

Notice that the max column is blank, this is because the parameter in the library only has a min value defined.

Make INVtp reference a library parameter:

Double click on the INVtp parameter in the diagram window to open the Parameter Properties dialog.

inv_in_dgm

Press the Library button to open the View Parameters in Libraries dialog.

Inv_prop_1

inv_view_parms

Select the ac.txt library to display its parts on the right hand side.

Select parameter 004;tp then press the Insert Into Formula button to insert the values into the INVtp boxes.

Press the OK button to close the View Parameters in Libraries dialog.

Notice that the ac:004;tp parameter was added to the values that were already in the min and max edit boxes.

inv_prop_2

Delete the original values from the min and max edit boxes, leaving only the ac:004;tp value.

Press the OK button to close the Parameter Properties dialog.

inv_prop_3

Make DFFtp reference a library parameter:

Repeat the above process for DFFtp, by inserting 074;CK2Q_tp from the ac.txt library. Try using the Search For edit box in the View Parameters in Libraries dialog, instead of scrolling, to find a parameter name.

DFFtp_search