Reputation: 3194
General Verilator
question:
single
c++ class or is there a possibility that Verilator
retains the hierarchy by creating a class for each separate module ?Upvotes: 1
Views: 753
Reputation: 3194
Adding // verilator public
will generate seperate classes. There is also a SystemVerilog DPI-C
that lets you access the internal wires via C
.
Upvotes: 0