Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.18 KB

0054-2020-08-07.md

File metadata and controls

21 lines (12 loc) · 1.18 KB

7 Aug 2020

Previous journal: Next journal:
0053-2020-08-06.md 0055-2020-08-08.md

Still poking around with Verilator

  • I don't think it's possible to manipulate Verilog parameters with Verilator. Probably not an issue, though: I guess a higher-level Verilog module in the hierarchy could set parameters of submodules, as it sees fit, and then the Verilator-based testbench would just manipulate the signals it cares about to drive things.
  • Nice suggestion here about abstracting deep hierarchical signal access in C++.

In t01e I added basic Verilator trace support, logging to trace.vcd.

To see what was changed to add this (including adding the --trace switch to verilator in the Makefile), see the differences in this commit.

Next step is to install GTKWave and try checking out the trace.vcd file that it generates.

Other notes

  • Learn more about Verilog tasks.