Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

3.8.2.  Additional Flags

Additional flags may be passed to Icarus Verilog and Verilator by use of the VFLAGS macro. Of particular use are the flags to generate a VCD trace:

make simulate VFLAGS=-DORPSOC_DUMP
make verilate VFLAGS=-trace
	

The target application is a Dhrystone simulation. The number of loops through this simulation can be set using the NUM_RUNS macro, which defaults to 1.

make verilate NUM_RUNS=100
	
[Note]Note

The software build is not sensitive to changes in the value of NUM_RUNS. If the value is changed, make clean must be used to force a recompile.

Embecosm divider strip