magma port of https://github.com/ucb-bar/chisel-tutorial
Example magma designs can be found in magma_examples, the corresponding unit tests can be found in tests.
This repository also serves an example for setting up a magma repo for CI with GitHub actions.
Please use GitHub Issues to post any questions about the examples.
sudo apt install verilator libgmp-dev libmpfr-dev libmpc-dev
brew install verilator gmp mpfr libmpc
pip install pytest
pip install -e .
pytest tests