Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OSCPU/chisel-playground
https://github.com/OSCPU/chisel-playground
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/OSCPU/chisel-playground
- Owner: OSCPU
- Created: 2019-10-29T10:56:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-13T07:24:18.000Z (7 months ago)
- Last Synced: 2024-11-01T17:02:34.136Z (3 months ago)
- Language: Scala
- Size: 6.26 MB
- Stars: 56
- Watchers: 6
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Chisel Project Template
=======================Another version of the [Chisel template](https://github.com/ucb-bar/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 testerFeel 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](https://com-lihaoyi.github.io/mill).
To run all tests in this design (recommended for test-driven development):
```bash
make test
```To generate Verilog:
```bash
make verilog
```