Single-file Chisel design demo.
This repo is a demo of a single-file Chisel design enabled by Ammonite. For more complex designs, we recommend using chisel-template-lite or chisel-template as it provides more standardized testing and build infrastructure.
- JRE. On Debian/Ubuntu this can be installed with:
sudo apt-get install openjdk-8-jre
- Ammonite in your path. You can run
source sourceme.sh
to pull it locally for demonstration purposes if you'd like.
- (optional if you have
amm
in your$PATH
already) Runsource sourceme.sh
to download and put Ammonite in your path. - Run
./GCD.scala
to elaborate the GCD Chisel design. - Open
GCD.v
and examine the elaborated Verilog.