Skip to content

My progress towards building a RISC-V CPU core emulating RISCV32I ISA.

Notifications You must be signed in to change notification settings

XavierJEsteve/RISCV32I-CPU-Core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a RISC-V CPU Core

The purpose of this repository is to demonstrate some of my understanding of the RISC-V ISA, starting with RISCV 32I. The makerchip IDE and some guidance were provided by the owner of the repo I've forked, stevehoover/LF-Building-a-RISC-V-CPU-Core. I found the course to be worthwhile, making me refer to my RISC-V texts (The RISC-V Reader) as well as pushing me to re-enter the world of HDL in a sleeker web-based IDE than I'm used to. TL-Verilog is a cool effort by the Redwood EDA team to make prototyping FPGA designs easier while I'm working from a macbook. Highly recommend giving both the course and the IDE a chance if you have previous experience or interest in this area of programming.

Contents

My finished code that models a RISCV-32I core. Within /lib, some library files created by Steve Hoover that aid in testing and visualization in the Makerchip IDE.

Accompanying resources for the Building a RISC-V CPU Core EdX course by Steve Hoover of Redwood EDA, LLC, Linux Foundation, and RISC-V International.

VIZ

Getting Started

  • Clone repo

  • Install the makerchip ide using python via

pip3 install makerchip-ide
  • Launch makerchip ide in your browser
makerchip <filename>.tlv

Final Core

Final Core

After completing this course, consider visiting the following.

About

My progress towards building a RISC-V CPU core emulating RISCV32I ISA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published