asiFormatKeepList
asiFormatKeepList(o_sessionp_fp) =>t/nil
Description
Formats and prints the signal save commands to the control statement file. At the asiAnalog class this routine returns t. You need to create your own asiFormatKeepList routine.
Arguments
Value Returned
Examples
The following example shows how to overload the asiFormatKeepList function:
defmethod( asiFormatKeepList ( ( session spectre_session ) fp )
let( ((netlistDir (asiGetAnalogNetlistDir session))
(keepList (asiGetKeepList session))
nameList )
when( keepList
artFprintf(fp "save ")
foreach( keep keepList
when( memq( asiGetSelObjType( keep ) '( net terminal ))
nameList = asiMapOutputName( netlistDir
asiGetSelObjType( keep ) asiGetSelObjName( keep ))
foreach( name nameList
artFprintf( "%s " name )
)
)
)
artFprintf(fp "\n")
)
t
)
)
Return to top