commit | ef1fb0390b2e4e4ac6210f3f8457f8635b65aa69 | [log] [tgz] |
---|---|---|
author | Sean Cross <sean@xobs.io> | Wed Dec 28 12:20:35 2022 +0800 |
committer | Sean Cross <sean@xobs.io> | Wed Dec 28 12:20:35 2022 +0800 |
tree | 45a7f098bdf5f02694922e8ee1a66a4fc3d3b29a | |
parent | a3a20a9d54af469585df24dd12850644075d27ab [diff] |
user_proj_example: remove example project This project is useful for demonstrating how to create projects. However, its existence causes risk for any external projects that assume `user_proj_example` is the name of this project. Remove any references to `user_proj_example` in order to prevent it from interfering with the real files in this repo. Signed-off-by: Sean Cross <sean@xobs.io>
A project designed to demonstrate Raspberry Pi PIO on GF180 using the Caravel harness.
Refer to README for a quickstart of how to use caravel_user_project
Refer to README for this sample project documentation.
You will need a Linux environment with Docker. Once you have that, you can set things up:
mkdir -p deps export OPENLANE_ROOT=$(pwd)/deps/openlane_src # you need to export this whenever you start a new shell export PDK_ROOT=$(pwd)/deps/pdks # you need to export this whenever you start a new shell export PDK=gf180mcuC # you can also use sky130B
These steps are included in activate-caravel.sh
, which you can just source.
Next, do a one-time setup of the project.
make setup
Next, perform the synthesis, which will take anywhere between 30 minutes and 3 hours:
make wb_pio
When it's done, the resulting files will be in openlane/wb_pio/runs/$CURRENT_DATE_TIME/results/final/
.
You can run the testbench using iverilog, which will generate a .vcd
file:
make verify-wb_pio_test-rtl
You can then inspect the .vcd
file by using a tool such as gtkwave
to view verilog/dv/wb_pio_test/RTL-wb_pio_test.vcd