chisel-tutorial icon indicating copy to clipboard operation
chisel-tutorial copied to clipboard

chisel tutorial exercises and answers

Results 40 chisel-tutorial issues
Sort by recently updated
recently updated
newest added
trafficstars

**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.

This is analagous to an if... else if control structure in sequential programming. === "analagous" should be "analogous"?

The syntax for the Vec class is slightly different when instantiating a vector of modules.When instantiating a vector of modules the data type that is specified in the {} braces...

Bit Concatenation Chisel also allows you to easily concatenate bits together using Cat. Suppose you have a data bus that you would like to drive with two seperate words A...

Chisel also has an implict global reset signal that you can use in a when block. The reset signal is conveniently called reset and does not have to be declared,...

1. Verilog gerenating is OK. 2. VCD generation is NG. ./run-examples.sh GCD --backend-name verilator [sbt_options] declare -a sbt_options=() [process_args] java_version = '8' # Executing command line: java -Dfile.encoding=UTF-8 -Xms1024m -Xmx1024m...