File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ Chisel Project Template
2
+ =======================
3
+
4
+ Another version of the [ Chisel template] ( https://github.com/ucb-bar/chisel-template ) supporting mill.
5
+ mill is another Scala/Java build tool without obscure DSL like SBT. It is much faster than SBT.
6
+
7
+ Contents at a glance:
8
+
9
+ * ` .gitignore ` - helps Git ignore junk like generated files, build products, and temporary files.
10
+ * ` build.sc ` - instructs mill to build the Chisel project
11
+ * ` Makefile ` - rules to call mill
12
+ * ` playground/src/GCD.scala ` - GCD source file
13
+ * ` playground/src/DecoupledGCD.scala ` - another GCD source file
14
+ * ` playground/src/Elaborate.scala ` - wrapper file to call chisel command with the GCD module
15
+ * ` playground/test/src/GCDSpec.scala ` - GCD tester
16
+
17
+ Feel free to rename or delete files under ` playground/ ` or use them as a reference/template.
18
+
19
+ ## Getting Started
20
+
21
+ First, install mill by referring to the documentation [ here] ( https://com-lihaoyi.github.io/mill ) .
22
+
23
+ To run all tests in this design (recommended for test-driven development):
24
+ ``` bash
25
+ make test
26
+ ```
27
+
28
+ To generate Verilog:
29
+ ``` bash
30
+ make verilog
31
+ ```
You can’t perform that action at this time.
0 commit comments