BugHunter Pro and the VeriLogger Simulators

5.6 Debug and Logging Options

5.6 Debug and Logging Options

Previous topic Next topic  

5.6 Debug and Logging Options

Previous topic Next topic  

These options control debugging and logging capabilities available during simulation. By default, many debugging capabilities are disabled when running from the command line simulator to ensure maximum runtime performance. When simx is run from the BugHunter graphical interface, many of these options are enabled to allow features such as single-step debugging and watching net values.

+access[+][-]access_specification

Sets the visibility access for all objects such as nets and variables in the simulation for PLI/VPI (also required when using the debugger). The access_specification options are r (read access), w (write access), c (connectivity access), and f (allow value forcing access). Use the plus sign to turn on the specified access. Use the minus sign to turn off the specified access. If no plus or minus sign is used, + is the default. By default, objects do not have read, write, connectivity, or force access, so the default operation is +access-rwcf.

Note: Objects that are given write access are also given read access. Objects that are given connectivity access are also given write access, and, therefore, read access.

Examples:

- Read access only: +access+r

- Write access: +access+w (this also enables +r)

- Force access: +access+f

- Read/Force access: access +r+f

- Read/Write/Connectivity access: +access +r+w+c

- You can also use multiple +access options: +access +r +access -w

+afile+accessfilename

Use the specified file, accessfilename, to set the visibility access for particular instances or portions of a design. You can also use the +access option to specify global visibility access for all objects in the design.

+append_log

Append log information from multiple runs of simx into one log file. Use this option if you are going to run simx multiple times and you want all the log information in one log file. If you do not use this option, the log file is overwritten each time you run simx. If you use both +append_log and +nolog on the command line, +nolog overrides +append_log.

+linedebug

Enable line debugging capabilities (for example, single stepping with a debugger).

+nostdout

Turn off output to the screen (terminal).

+scd_dbgsymbols

Generates symbolic information for all HDL objects from simulated design.

+scd_msg_enable+msg_level=0|1

Enables or disables printing messages at the specified message level. The allowed msg_levels are: +failure, +error, +warning, +note, +diagnostic.