diff --git a/bin/verilator b/bin/verilator index 5dc835e5a..3d60e3007 100755 --- a/bin/verilator +++ b/bin/verilator @@ -2158,7 +2158,7 @@ using --debug), see if your machine is paging; most likely you need to run it on a machine with more memory. Verilator is a full 64 bit application and may use more than 4GB, but about 1GB is the maximum typically needed. -=item How do I generate waveforms (traces) in C++ or SystemC? +=item How do I generate waveforms (traces) in C++? See the next question for tracing in SystemPerl mode. @@ -2177,7 +2177,7 @@ distribution. You also need to compile SpTraceVcdC.cpp and add it to your link. This is done for you if using the Verilator --exe flag. -=item How do I generate waveforms (traces) in SystemPerl? +=item How do I generate waveforms (traces) in SystemC/SystemPerl? Add the --trace switch to Verilator, and make sure the SystemPerl package is installed. @@ -2187,6 +2187,10 @@ create a SpTraceFile object as you would create a normal SystemC trace file. For an example, see the call to SpTraceFile in the test_sp/sc_main.cpp file of the distribution. +Alternatively you may use the C++ trace mechanism described in the previous +question, however the timescale and timeprecision will not inherited from +your SystemC settings. + =item How do I view waveforms (traces)? Verilator makes standard VCD (Value Change Dump) files. They are viewable