[RISC-V] Chisel Tutorials (Release branch)

김남일 2018.09.01 21:21 조회 수 : 50513

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

 

>>> Generating Verilog

     $ ./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.

 

FullAdder_signalwave.png

 

 

FullAdder_scalar.png

FullAdder2.png

 

 

FullAdder.png

 

번호 제목 글쓴이 날짜 조회 수
공지 [공지] MPSoC 스터디 관련 Q&A 게시판 입니다. woos 2016.04.09 240
» [RISC-V] Chisel Tutorials (Release branch) file 김남일 2018.09.01 50513
164 panic... [2] 송명환 2007.03.26 16553
163 powerpc assembly [1] file 백창우 2007.07.15 12993
162 xen source 다운로드 주소입니다. [1] 백창우 2007.10.08 12494
161 Verilog 책 소개... [1] 상철 2010.04.05 11962
160 시뮬레이터 설정(.systemsim.tcl) 방법 [4] 최영호 2007.06.22 11890
159 최창훈님 요청하신 파일입니다. [1] file 원민수 2007.08.15 11789
158 arm11 linux kernel 세미나 요청이 들어왔네요. [1] 백창우 2007.10.17 11771
157 메인프레임에 Cell 칩 장착 프로젝트가 뜬다(기사) 이일렬 2007.05.14 11680
156 cell kernel source [8] 원민수 2007.06.17 11645
155 주석의 한글이 ㄲㅒ져보이는 이유.. [1] 김강년 2007.07.08 11584
154 토마줄로 알고리즘 (tomasulo algorithm) file 윤진훈 2010.04.17 11526
153 세미나는 잘 하셨는지요. [1] 정삼기 2007.05.29 11320
152 cell kernel 소스 백창우 2007.06.08 11308
151 cell 이미지 덤프 어떻게 하나요? [2] 성진모 2007.07.03 11299
150 cell 게시판 정리 공지. [1] 백창우 2007.12.02 10874
149 cell simulator 설정에 관련해서 원민수 군에게. 백창우 2007.06.08 10863
148 Vmware용 Linux 계정 최영호 2007.06.18 10572
147 fair scheduling. [1] 백창우 2007.10.07 10511
146 오늘 도움 많이 됐습니다~ [4] 성진모 2007.06.24 10452
XE Login