Difference between revisions of "Compile-time/run-time flags"

From Verific Design Automation FAQ
Jump to: navigation, search
Line 15: Line 15:
  
 
  database/DBRuntimeFlags.h
 
  database/DBRuntimeFlags.h
 +
edif/EdifRuntimeFlags.h
 
  hier_tree/HierRuntimeFlags.h
 
  hier_tree/HierRuntimeFlags.h
 +
synlib/SynlibRuntimeFlags.h
 
  upf/UpfRuntimeFlags.h
 
  upf/UpfRuntimeFlags.h
 +
util/RuntimeFlags.h
 +
verilog_nl/VeriNetlistRuntimeFlags.h
 
  verilog/VeriRuntimeFlags.h
 
  verilog/VeriRuntimeFlags.h
 
  vhdl/VhdlRuntimeFlags.h
 
  vhdl/VhdlRuntimeFlags.h

Revision as of 18:33, 23 February 2021

Q: Are there options to control Verific software's behavior?

There are compile-time flags and run-time flags to control Verific software's behavior.

The compile-time flags are set at compile time. They are in these files:

database/DBCompileFlags.h
hdl_file_sort/HdlFileSortCompileFlags.h
synlib/SynlibCompileFlags.h
verilog_nl/VeriNetlistCompileFlags.h
verilog/VeriCompileFlags.h
vhdl/VhdlCompileFlags.h

The run-time flags are set at run time with RuntimeFlags::SetVar(). They are in these files:

database/DBRuntimeFlags.h
edif/EdifRuntimeFlags.h
hier_tree/HierRuntimeFlags.h
synlib/SynlibRuntimeFlags.h
upf/UpfRuntimeFlags.h
util/RuntimeFlags.h
verilog_nl/VeriNetlistRuntimeFlags.h
verilog/VeriRuntimeFlags.h
vhdl/VhdlRuntimeFlags.h

(Depending on your Verific product configuration, you may not have all the files).

Note that many, but not all, compile-time flags have run-time equivalent.