A collection of classes providing simple hardware specification, simulation, tracing, and testing suitable for teaching and research. Simplicity, usability, clarity, and extensibility are the overarching goals, rather than performance or optimization.
Currently, the testbench produced by output_verilog_testbench() sets all registers and memory locations to 0, rather than the values they were initialized to when given a trace.
Currently, the testbench produced by
output_verilog_testbench()
sets all registers and memory locations to 0, rather than the values they were initialized to when given a trace.Before
For example:
produces the following testbench code:
After
It now produces:
Notably, the Python trace:
didn't match the vcd before:
but now does: