0616ygh / riosclass_template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caravel User Project

License UPRJ_CI Caravel Build

❗ Important Note

Refer to README for a quick start of how to use caravel_user_project

Refer to README for this sample project documentation.

Notice

Here is RIOS Advanced Microprocessor Design Course Lab Template.

Your RTL and C model should be placed in riosclass_template/verilog and riosclass_template/cmodel.

Your lab report should be placed in riosclass_template/rpt.

We use this template for lab 1, lab 2, lab 3, final project and OpenMPW precheck.

Lab 1 Notice

The RTL code path: riosclass_template\verilog\rtl\lab_1\src

GreenRio, AKA hehe, is a small RISC-V CPU.

For Lab 1:

RTL

  1. "riosclass_template\verilog\rtl\lab_1\src" is the GreenRio RTL source code path. Some tests have been passed. You will use all files in 'core_empty'(except 'mmu'), 'cache', 'params.vh', 'bus_arbiter.v' and 'hehe.v' for simulation and logic synthesis.

    1. core_empty: the function_unit modules, pipeline, and core_empty top RTL codes; 'core_empty' means that the source codes here are the pure core parts of the CPU, excluding cache and sram.

    2. cache: the cache parts of CPU; the sram is instantiated at the top of the cache module.

    3. bus_arbiter: communication bus between SoC and core.

    4. hehe: the top of GreenRio CPU.

  2. Other files should not be used in lab1, but will be used in later labs.

  3. You can access the spec documentaion at riosclass_template\spec\HeHecore.md.

About

License:Apache License 2.0


Languages

Language:Verilog 99.2%Language:C 0.3%Language:Makefile 0.3%Language:Tcl 0.1%Language:SystemVerilog 0.1%Language:Shell 0.0%Language:C++ 0.0%