Go to file
Zihao Yu 08af0f9dd3
Merge pull request #12 from zlh20040308/fix-name
Updated README to reflect the renaming of build.sc to build.mill.
2025-02-07 10:44:53 +08:00
.github/workflows ci: update CI 2025-02-06 07:26:09 +00:00
playground style: update scalafmt config and reformat the world 2024-11-29 16:12:37 +00:00
.gitignore build: bump to mill 0.12.7 2025-02-06 06:48:18 +00:00
.mill-version build: bump to mill 0.12.7 2025-02-06 06:48:18 +00:00
.scalafmt.conf style: update scalafmt config and reformat the world 2024-11-29 16:12: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 Updated README to reflect the renaming of build.sc to build.mill. 2025-02-07 09:38:09 +08:00
build.mill build: bump to mill 0.12.7 2025-02-06 06:48:18 +00: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.mill - 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