lmDefTermProp
lmDefTermProp( [t_cellName] [t_viewName] (g_terminalListt_propertyNamet_propertyValue…t_propertyName=t_propertyValue) (g_terminalListt_propertyName=t_propertyValue…t_propertyNamet_propertyValue) )
Description
Adds properties to the terminals of the specified cellview. To add terminal properties, add specified properties to the original property list and save the new file.
Variables
The replaceTermProp global variable controls the property-adding mode. The default value is nil which means the mode is appending. If you set replaceTermProp to t, the mode is replacement. replaceTermProp is automatically set to nil when you run lmDefCell and reset to the original value when finished.
Arguments
Example
lmDefTermProp( and2 symbol
( A name = "A" )
( B name = "B" )
( Y name = "Y" )
)
lmDefTermProp( and2
( t create = time("Apr 15 9:00:00 2000") )
; refer to all terminals
)
lmDefTermProp( and2 symbol
( input a = 1 )
; refer to all input terminals
( Y b = 1.1)
)
lmDefTermProp( and2
( (A B) type = "input")
)
Cell and2 has input terminals A and B and output terminal Y. Puts a list of properties into these terminals.
Return to top