Home

Awesome

magma_examples

Linux Test

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.

Dependencies

Ubuntu

sudo apt install verilator libgmp-dev libmpfr-dev libmpc-dev

MacOS

brew install verilator gmp mpfr libmpc

Test

pip install pytest
pip install -e .
pytest tests