| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a 32-bit 5-stage pipelined RISC-V CPU that supports basic instructions and some vector arithmetic.
In order to tape out, gate level synthesis and APR are done as well.
The simulation was done by NC-verilog and synthesised by Desgin Compiler.
This chip has been tested on Dec.2 2019, and all functions work correctly.
To run this work, you will need a verilog compiler such as ncverilog.
$ ncverilog testbench.v CPU.v to run RTL simulation.
$ ncverilog testbench.v WIN.v +define+SDF to run gate level simulation.
$ ncverilog testbench.v core_APR.v +define+SDF to run APR simulation.
Note that you need to decompress the file in APR_files.zip and put those file in the src folder to run APR simulation.
To run your own RISC-V program, change line 57 in the testbench to the file you want.
The first line of the file must be 11111110 and the last line must be 11111111 in order to indicate the CPU to start and end respectively.
Your instructions has to be breakdown into 8-bits.
For example:
11111110_00000000_00000000_00000010_00010011 //addi $a0, $r0, 0
will be convert into:
00000000
00000000
00000010
00010011
in the instruction file
Our work supports data forwarding to prevent data hazard. Forwarding works in most case but branch jump, to deal with it our design supportd hazard detection as well.
| Spec | Value |
|---|---|
| Frequency | 100MHz |
| Chip size | 1456.84*1462.96 µm^2 |
| Power | 67.9428 mW |
| Techonlogy | UMC 180nm |
| PADs | 38 |
This is originally a course project of Integrated Circuits Design Laboratory at National Taiwan University,
lectured by Prof. Tzi-Dar Chiueh
This work has been taped-out at TSRI (Taiwan Semiconductor Research Institute.) and received on Oct.30 2019.
David A. Patterson and John L. Hennessy. 2017. Computer Organization and Design RISC-V Edition: The Hardware Software Interface (1st ed.). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.
| Back | FazBrowse Home | New Git URL |