Skip to content

Commit b58e866

Browse files
sashimi-yzhsequencer
authored andcommitted
add README
1 parent d9544a6 commit b58e866

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
```

0 commit comments

Comments
 (0)