MIT License

项目介绍

peilin-chen/Zhulong-RISCV-CPU 是一个托管在 GitHub 上的开源项目,主要使用 Verilog 编写,采用 MIT License 许可证,目前获得 138 个 Star、24 次 Fork。

仓库全名
peilin-chen/Zhulong-RISCV-CPU
开源许可证
MIT License
Star 数
138
Fork 数
24

README 摘要

Zhulong-RISCV-CPU Zhulong (烛龙) CPU is a five-stage pipeline, in-order, single-issue, single-core, and 64-bit processor based on the RISC-V instruction set architecture. The microarchitecture of Zhulong CPU: Features: 1) Five-stage Pipeline; 2) 64-bit Processor; 3) RV64IM ISA (contain 62 instructions); 4) 512 bytes Instruction Cache and 1024 bytes Data Cache; 5) AXI4-Lite Bus; 6) 64-bit Multiplier and Divider. Use…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Zhulong-RISCV-CPU 用什么语言开发?

主要使用 Verilog 编写,采用 MIT License 许可证,目前有 138 个 Star。

Zhulong-RISCV-CPU 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Zhulong-RISCV-CPU 的源码?

可以直接克隆仓库:git clone https://github.com/peilin-chen/Zhulong-RISCV-CPU.git,默认分支为 main;安装与运行步骤见仓库 README。

Zhulong-RISCV-CPU 最近还在维护吗?

仓库最近一次更新为 2024年6月14日,当前没有未关闭的 Issue;Star 数为 138,可作为社区活跃度的参考。

关于

CPU Design Based on RISCV ISA

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
190
价值分
90
活跃状态
活跃

语言占比

Batchfile
C
Forth
HCL
Makefile
Python
Roff
Scheme
Shell
Stata
Tcl
Verilog

贡献者

README

Zhulong-RISCV-CPU

Zhulong (烛龙) CPU is a five-stage pipeline, in-order, single-issue, single-core, and 64-bit processor based on the RISC-V instruction set architecture.

The microarchitecture of Zhulong CPU:

architecture

Features:

  1. Five-stage Pipeline;
  2. 64-bit Processor;
  3. RV64IM ISA (contain 62 instructions);
  4. 512 bytes Instruction Cache and 1024 bytes Data Cache;
  5. AXI4-Lite Bus;
  6. 64-bit Multiplier and Divider.

Use Synopsys’s EDA tools for logic synthesis, static timing analysis, formal verification, and physical synthesis of Zhulong RISCV Core. It achieves a working frequency of 200MHz on TSMC 130nm process, with a total power consumption and chip area of 26.6073mW and 821967.86µm² respectively. (from RTL to GDSII)

The schematic of Zhulong CPU:

layout

The layout of Zhulong CPU:

layout

Directory structure

  / Zhulong_RISCV_CPU /
             |--- debug/
             |         |--- Makefile
             |
             |--- debug_netlist/
             |                 |--- Makefile
             |
             |--- figures
             |
             |--- modelsim_simulation_win11/
             |                             |--- rtl
             |                             |--- sim
             |                             |--- tb
             |                             \--- utils
             |
             |--- resources
             |
             |--- scripts/
             |           |--- filelist
             |           |--- FileList_netlist.f
             |           \--- FileList.f
             |
             |--- src/
             |       |--- AXI4_Lite.v
             |       |--- CHECK.v
             |       |--- CLINT.v
             |       |--- CSR_REGS.v
             |       |--- CTRL.v
             |       |--- DCache.v
             |       |--- defines.v
             |       |--- DFF_SET.v
             |       |--- Divider.v
             |       |--- EX.v
             |       |--- EX_MEM.v
             |       |--- ICache.v
             |       |--- ID.v
             |       |--- ID_EX.v
             |       |--- IF.v
             |       |--- IF_ID.v
             |       |--- MEM.v
             |       |--- MEM_WB.v
             |       |--- Multiplier.v
             |       |--- PC.v
             |       |--- RAM.v
             |       |--- REGS.v
             |       |--- RISCV_SOC.v
             |       |--- ROM.v
             |       |--- tb.v
             |       |--- TOP_RISCV.v
             |       \--- WB.v
             |
             |--- syn/
             |       |---exec\
             |       |       |---run
             |       |       |---synthesis.tcl
             |       |       \---...
             |       |       
             |       |---formality\
             |       |            |---log\
             |       |            |      |---matched.info
             |       |            |      |---unmached.info
             |       |            |      |---verify_aborted_points.info
             |       |            |      |---verify_failing_points.info
             |       |            |      \---verify_passing_points.info
             |       |            |
             |       |            |---run
             |       |            |---fm.tcl
             |       |            \---...
             |       |
             |       |---icc\
             |       |       |---clock_opt.timing
             |       |       |---icc.tcl
             |       |       |---place_opt.timing
             |       |       |---riscv_cpu.gdsii
             |       |       |---route_opt.physical
             |       |       |---run
             |       |       \---...
             |       |       
             |       |---logs\
             |       |       |---synthesis.log
             |       |
             |       |---primetime\
             |       |       |---pt.tcl
             |       |       |---run
             |       |       \---...
             |       |
             |       |---ref\
             |       |       |---db
             |       |       |---mw_lib
             |       |       |---tech
             |       |       |---tlup
             |       |       \---...
             |       |
             |       |---rpts\
             |       |       |---xxx.rpt
             |       |       \---...
             |       |
             |       |---temp\
             |       |       |---xxx.pvl
             |       |       |---xxx.syn
             |       |       |---xxx.mr
             |       |       \---...
             |       |
             |       \---work\
             |               |---TOP_RISCV.ddc
             |               |---TOP_RISCV.sdc
             |               |---TOP_RISCV.sdf
             |               |---TOP_RISCV.svf
             |               \---TOP_RISCV.v
             |
             |
             \--- README.md

评论

暂无评论