At times, you need additional debugging information to investigate the performance or convergence-related simulation issues. By default, the simulation log file now contains a presimulation summary and a post-transient simulation summary with suggestions on how to speed up the simulation further. In addition, you can use the Spectre command-line option, +diagnose, to dump additional debugging information into the simulation log file. The following is an example of using the +diagnose option:
xrun … -spectre_args "+aps +diagnose"
Here, ... denotes other xrun options.
The +diagnose option automatically enables the AHDL linter feature, and outputs the following additional information to the log file:
- Convergence-related information for time steps less than
1ps. This can be controlled by using thewarnminstepoption. - A summary containing statistics about time steps, nodes with convergence issues, and node or device activity information.
+diagnose option has minimal impact on the simulation time, however, it generates a lot of information and may not be appropriate for general use.When using spectre_args "+diagnose" you can also specify the +transteps option.
spectre_args "+diagnose +transteps"
It prints all the transient steps in diagnostic mode.
