Go to file
Zihao Yu 5d8816d81c
Merge pull request #9 from dzwduan/master
update makefile and build.sc
2024-07-13 15:24:18 +08:00
.github/workflows init 2021-05-25 15:45:37 +00:00
src reorganize source directory 2024-04-10 13:42:09 +08:00
.gitignore trace code 2024-04-10 13:42:52 +08:00
.scalafmt.conf init 2021-05-25 15:45:37 +00:00
Makefile chore: update Makefile with new mill commands for BSP and IDEA generation 2024-07-13 14:55:45 +08:00
README.md add README 2021-05-26 00:35:19 +08:00
build.sc chore: update build.sc to avoid "reference to millSourcePath is ambiguous" 2024-07-13 14:56:41 +08:00

README.md

Chisel Project Template

Another version of the Chisel template supporting mill. mill is another Scala/Java build tool without obscure DSL like SBT. It is much faster than SBT.

Contents at a glance:

  • .gitignore - helps Git ignore junk like generated files, build products, and temporary files.
  • build.sc - instructs mill to build the Chisel project
  • Makefile - rules to call mill
  • playground/src/GCD.scala - GCD source file
  • playground/src/DecoupledGCD.scala - another GCD source file
  • playground/src/Elaborate.scala - wrapper file to call chisel command with the GCD module
  • playground/test/src/GCDSpec.scala - GCD tester

Feel free to rename or delete files under playground/ or use them as a reference/template.

Getting Started

First, install mill by referring to the documentation here.

To run all tests in this design (recommended for test-driven development):

make test

To generate Verilog:

make verilog