Skip to content

Commit d6fa88c

Browse files
authored
Merge pull request #1254 from MichaelRenMR/main
Docs: Detail run-binary-debug option in Generating Waveforms documentation
2 parents d0ce14a + 8ffb448 commit d6fa88c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/Simulation/Software-RTL-Simulation.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,12 @@ Generating Waveforms
176176

177177
If you would like to extract waveforms from the simulation, run the command ``make debug`` instead of just ``make``.
178178

179+
A special target that automatically generates the waveform file for a specific test is also available.
180+
181+
.. code-block:: shell
182+
183+
make run-binary-debug BINARY=test.riscv
184+
179185
For a Verilator simulation, this will generate a vcd file (vcd is a standard waveform representation file format) that can be loaded to any common waveform viewer.
180186
An open-source vcd-capable waveform viewer is `GTKWave <http://gtkwave.sourceforge.net/>`__.
181187

0 commit comments

Comments
 (0)