chisel-tutorial
chisel-tutorial copied to clipboard
chisel tutorial exercises and answers
**Using the Vagrant tutorial** vagrant@precise64:~/chisel-tutorial/hello$ make set -e -o pipefail; "sbt" -Dsbt.log.noformat=true -DchiselVersion="2.+" "run Hello --genHarness --compile --test --backe nd c --vcd --targetDir /home/vagrant/chisel-tutorial/generated/hello " | tee /home/vagrant/chisel-tutorial/generated/hel lo/Hello.out tee:...
For example in file `hello.scala` ```scala object Hello { def main(args: Array[String]): Unit = { if (!Driver(() => new Hello())(c => new HelloTests(c))) System.exit(1) } } ```
The recommended setup for Chisel appears to be with `scala-cli` instead of `sbt` now (based on the https://chisel-lang.org/ website). Would love an update here to decrease friction getting started here.