hnlRegPostNetlistTrigger
hnlRegPostNetlistTrigger(
S_triggerFunc
)
=> t / nil
Description
Registers a trigger, which is a user-defined SKILL procedure that is called after netlist generation.
The registration can be done in the .simrc file, at the CIW, or any other location that will be executed before generating the netlist.
Arguments
|
A symbol representing a user-defined function that needs to be called after netlist generation. |
Value Returned
Examples
User-defined SKILL procedure, which will be called after netlist generation:
procedure( Func()
let(()
printf("In Func\n")
)
)
If you want the above procedure Func to be run only for Verilog and SytemVerilog netlisting, set simSimulator to "verilog". For Spectre, set simSimulator to "spectre". If you do not set this variable, then the trigger will run for all netlisters.
If more than one triggers have been registered, then they are run in the order of registration.
when(simSimulator == "verilog"
hnlRegPostNetlistTrigger('Func)
)
Related Topics
Return to top