This is a compilation of useful tools for working with the TinyTapeout project. If you have docker installed, this is a quick way of getting all the tools you need without having to install them on your PC.
docker pull davidsiaw/ocs
Please see below if you wish to build this yourself on your own PC
You can simply add for example
alias yosys="docker run --rm -ti --platform linux/arm64 -v $(PWD):/src --workdir /src -e PDK_ROOT=/opt/pdk davidsiaw/ocs yosys"
to your profile to have the yosys
command
If you don't want to add aliases or an executable bash script in your path you can just do it the long way:
docker run --rm -ti --platform linux/arm64 -v $(PWD):/src --workdir /src -e PDK_ROOT=/opt/pdk davidsiaw/ocs yosys -p "read_verilog mystuff.v; write_json"
build.sh
- the script you run to build the image (only runs on M1 macs. it builds a multi-plaform image that contains both arm and x64 manifests)Dockerfile
- the description of the docker imageinstall.sh
- used by the Dockerfile to install everything