commit | 2ab5ee8627dfd29dc7e59eb5245d311a871a3462 | [log] [tgz] |
---|---|---|
author | matt venn <matt@mattvenn.net> | Fri Aug 26 22:45:34 2022 +0200 |
committer | matt venn <matt@mattvenn.net> | Fri Aug 26 22:45:34 2022 +0200 |
tree | faf769122339107a8ea9d610edc06c676a9bc374 | |
parent | 6a7d136d74817bb02ddae98ce59e1c0e1fd61691 [diff] |
wip clock divider
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.