- Python 3.8+
- Icarus Verilog (
iverilog) - cocotb (
pip install cocotb)
-
Clone the repository:
git clone https://github.com/tmarhguy/mac.git cd mac -
Install Python dependencies:
pip install -r requirements.txt # if available, or just cocotb pip install cocotb numpy pytest
To run the verification suite:
cd test
makeYou should see output indicating passed tests:
test_mac.test_reset PASS
test_mac.test_bf16_mac_simple PASS
test_mac.test_random_1000_bf16 PASS
Tiny Tapeout 07 builds GDS in CI via the gds GitHub Action (TinyTapeout/tt-gds-action@tt07). Push to GitHub and confirm the gds workflow is green before shuttle submission.
- Install LibreLane and set
PDK_ROOT,PDK=sky130A, andLIBRELANE_TAG=3.0.3(see Tiny Tapeout local hardening guide). - Clone support tools and run:
make librelaneLocal hardening uses the LibreLane configs under librelane/ (see LIBRELANE.md). For Tiny Tapeout shuttle builds, CI runs the gds workflow. Do not edit src/config.tcl below the “DO NOT CHANGE” line unless you know what you are doing.