asiRegisterTool
asiRegisterTool(
'<simulatorName>
[ ?class s_className ]
[ ?private s_private ]
[ ?initFunc s_initFunc ]
[ ?mixedSig s_mixedSig ]
)
=> t
Description
Registers your simulator and your initialization function.
Replace <yourSimulator> with the name of your simulator. Do not include the angle brackets <>.
Arguments
|
<simulatorName>
|
Name of your simulator preceded by an apostrophe.
|
|
?class s_className
|
|
|
Specifies the class from which your simulator inherits information. Default value: 'analog.
|
|
?private s_private
|
|
|
Declares a simulator as “private”, which means it does not appear in the list of simulators in the UI.
Valid Values are:
-
t indicates that the option does not appear in the list of simulators in the UI -
nil indicates that the option appears in the list of simulators in the UI
The default value is nil.
You can also use this argument to create a parent class from which other classes inherit information. Designers cannot see or directly use a parent class if private is set to t.
|
|
?initFunc s_initFunc
|
|
|
Initialization function for your simulator. Default value: asiInit<yourSimulator>, where <yourSimulator> is the name of your simulator.
|
|
?mixedSig s_mixedSig
|
|
|
Set this argument to non-nil to specify a mixed-signal simulator. Default value: nil
|
Value Returned
|
t
|
The simulator is registered.
|
Examples
Registers the XYZ simulator under analog class.
asiRegisterTool('XYZ)
=> t
Return to top