Using this Repository
This build environment uses PDM in an attempt to make managing dependencies on Amaranth somewhat simpler.
Setup (Arch Linux)
# Install pipx and pdm
$ sudo pacman -S python-pipx
$ pipx install pdm
# Clone this repository and install dependencies
$ git clone https://github.com/eigenform/ember && cd ember
$ pdm install
Build Scripts
You can get a list of all available build scripts like this:
# Get the list of scripts used for testing/building the project
$ pdm run --list
At this point in the project, we’re really only concerned with running tests and rendering some components into a Verilog representation:
# Run unit tests
$ pdm test-code
# Emit Verilog
$ pdm emit-verilog