tt06_lights_out/test
Yannick Reiß 814f78a122
Wrong top module name in tet
2024-03-18 11:07:54 +01:00
..
Makefile Test and project fix 2024-03-18 11:06:06 +01:00
README.md Initial commit 2024-03-18 10:20:02 +01:00
tb.gtkw Initial commit 2024-03-18 10:20:02 +01:00
tb.v Wrong top module name in tet 2024-03-18 11:07:54 +01:00
test.py Initial commit 2024-03-18 10:20:02 +01:00

README.md

Sample testbench for a Tiny Tapeout project

This is a sample testbench for a Tiny Tapeout project. It uses cocotb to drive the DUT and check the outputs.

Setting up

  1. Edit Makefile and modify PROJECT_SOURCES to point to your Verilog files.
  2. Edit tb.v and replace tt_um_example with your module name.

How to run

To run the RTL simulation:

make

To run gatelevel simulation, first harden your project and copy ../runs/wokwi/results/final/verilog/gl/{your_module_name}.v to gate_level_netlist.v.

Then run:

make GATES=yes

How to view the VCD file

gtkwave tb.vcd tb.gtkw