Assuming a source file of hello_world.v
and a top level module of hello_world
. The code can be run using various simulators. Most simulators are compiled simulators. They require multiple steps to compile and execute.
Generally the
The details of the steps could vary based on the simulator but the overall idea remains the same.
Three step process using Cadence Simulator
ncvlog hello_world.v
ncelab hello_world
ncsim hello_world
single step using Cadence Simulator.
The command line will internally call the required three steps. This is to mimic the older interpreted simulator execution style ( single command line ).
irun hello_world.v
or
ncverilog hello_world.v