Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

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

S_triggerFunc

A symbol representing a user-defined function that needs to be called after netlist generation.

Value Returned

t

The trigger registration completed successfully.

nil

The trigger registration could not be completed.

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

OSS Functions


Return to top
 ⠀
X