hnlRegPreNetlistTrigger
hnlRegPreNetlistTrigger(
S_triggerFunc
)
=> t / nil
Description
Registers a trigger, which is a user-defined SKILL procedure that is called before the 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 before netlist generation. |
Value Returned
Examples
The following example shows a user-defined SKILL procedure, which is called before 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"
hnlRegPreNetlistTrigger('Func)
)
Related Topics
Return to top