mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix some Coverity Prevent warnings
git-svn-id: file://localhost/svn/verilator/trunk/verilator@812 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
+6
-2
@@ -1500,8 +1500,12 @@ silicon.
|
||||
=item How do I generate waveforms (traces)?
|
||||
|
||||
Add the --trace switch to Verilator, and make sure the SystemPerl package
|
||||
is installed (SystemC itself isn't required for C++ only tracing.) In your
|
||||
top level C code, call Verilated::traceEverOn(true).
|
||||
is installed (SystemC itself does not need to be installed for C++ only
|
||||
tracing. You do not even need to compile SystemPerl; you may simply untar
|
||||
the SystemPerl kit and point the SYSTEMPERL enviornment variable to the
|
||||
untarred directory.)
|
||||
|
||||
In your top level C code, call Verilated::traceEverOn(true).
|
||||
|
||||
Then, in SystemC mode, create a SpTraceFile object. For an example, see
|
||||
the call to SpTraceFile in the test_sp/sc_main.cpp file of the
|
||||
|
||||
@@ -192,5 +192,5 @@ C<verilator>
|
||||
|
||||
######################################################################
|
||||
### Local Variables:
|
||||
### compile-command: "$V4/bin/verilator_difftree ~/SandBox/workwsnyder/verilator/test_c/obj_dir/V*_03_*.tree $V4/test_c/obj_dir/V*_03_*.tree"
|
||||
### compile-command: "$V4/bin/verilator_difftree $V4/test_c/obj_dir/V*_03_*.tree $V4N/test_c/obj_dir/V*_03_*.tree"
|
||||
### End:
|
||||
|
||||
Reference in New Issue
Block a user