commit | 6a7d136d74817bb02ddae98ce59e1c0e1fd61691 | [log] [tgz] |
---|---|---|
author | matt venn <matt@mattvenn.net> | Fri Aug 26 18:51:42 2022 +0200 |
committer | matt venn <matt@mattvenn.net> | Fri Aug 26 18:51:42 2022 +0200 |
tree | 20441efbbc7dcec14cd19edf7f8256459ddfca08 | |
parent | ada5d0d17c296f77a7346e2402ea4065d1a3c68a [diff] |
add instructions for sim
See https://tinytapeout.com for more information on the project and how to get involved.
./configure.py --update-projects
./configure.py --update-caravel
make user_project_wrapper
There is a testbench that you can use to check the scan chain and controller is working. The default of 498 projects takes a very long time to simulate, so I advise overriding the configuration first:
# rebuild config with only 20 projects ./configure.py --update-caravel --limit 20
Then run the test:
cd verilog/dv/scan_controller # you will also need to set your PDK_ROOT environment variable make test_scan_controller
You should get a VCD dump with a reset applied to input 1 for 2 clocks, and then 10 clocks applied to input 0.
gtkwave test_scan_controller.gtkw
You can set the design that is active by changing the test_scan_controller.py file, update the assignment to active_select.