Chisel 사용법에 대한 정보를 하기와 같이 공유합니다.
▣ Chisel 3 설치
>>> Installation
▶ Overview
⊙ Chisel3 (Scala) to Firrtl (this is your "Chisel RTL").
⊙ Firrtl to Verilog (which can then be passed into FPGA or ASIC tools).
⊙ Verilog to C++ for simulation and testing using Verilator.
▣ Chisel Tutorials (Release branch)
>>> Getting the Repo
$ git clone https://github.com/ucb-bar/chisel-tutorial.git
$ cd chisel-tutorial
$ git fetch origin
$ git checkout release
Note: ./run-problem.sh, ./run-solution.sh, ./run-examples.sh are convenience scripts to invoke tests
$
./run-examples.sh # shell script to execute one or more examples$
./run-problem.sh # shell script to execute one or more problems$
./run-solution.sh # shell script to execute one or more solutions$ ./run-problem.sh all or $ ./run-problem.sh
Accumulator$ ./run-solution.sh all or
$ ./run-solution.sh
Accumulator$ ./run-examples.sh all or $ ./run-examples.sh Adder
▣ The Basics
>>> Running the Chisel Simulation $
./run-examples.sh GCD
or $
./run-examples.sh all
$
./run-examples.sh GCD --backend-name verilator
or $
./run-examples.sh all --backend-name verilator
▷ GCD.v - Verilog representation of the Chisel circuit,
▷ GCD.vcd - waveform dump of the circuit signals during the simulation.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
공지 | [공지] MPSoC 스터디 관련 Q&A 게시판 입니다. | woos | 2016.04.09 | 242 |
5 | [RISC-V] 9월 29일 17차 스터디 정리 | 김남일 | 2018.10.02 | 56 |
4 | [RISC-V] 12월 28일 27차 스터디 정리 | myskan1 | 2018.12.29 | 48 |
3 | 12월1일 24차 스터디 정리 | myskan1 | 2018.12.01 | 44 |
2 | [RISC-V] 12월 22일 26차 스터디 정리 | 김지성 | 2018.12.22 | 39 |
1 | 11월17일 23차 스터디 정리 | myskan1 | 2018.11.17 | 33 |
.