GithubHelp home page GithubHelp logo

nikhilreddy2002 / toast-rv32i Goto Github PK

View Code? Open in Web Editor NEW

This project forked from georgeyhere/toast-rv32i

0.0 0.0 0.0 214.82 MB

Pipelined RISC-V RV32I Core in Verilog

Shell 0.01% Python 0.01% C 0.14% Tcl 0.70% Verilog 99.08% Assembly 0.08% SystemVerilog 0.01% Makefile 0.01%

toast-rv32i's Introduction

Toast-RV32i

top

  • Documentation: https://toast-core.readthedocs.io/en/latest/

  • Goals:

    • Produce a core that is capable of running the RV32ui unit tests from official riscv-tests repo
    • Gain familiarity with open-source tools
  • Stretch Goals:

    • Memory-mapped I/O and UART peripheral
    • Zicsr extension support
    • ISR handling
    • UVM and/or Formal Verification
  • Toast currently is capable of passing all RV32ui unit tests and has passed post-synthesis timing at 100MHz targeting Xilinx Artix-7 FPGA.

  • Has not been tested on hardware until updated here. Very much still WIP, however updates may be infrequent due to school and other commitments.

  • Toast does not support interrupt handling, nor the CSR, FENCE, EBREAK, or ECALL instructions.

Files in this Repository

Makefile

Run make alltests to compile, link and convert riscv-tests to hex memory files and run the entire battery of tests. Run make alltest_vcd to run all tests and generate a vcd file.

Memory generation requires a 32-bit riscv-unknown-elf toolchain installed at /opt/riscv32i, as well as elf2hex. Testbench is ran using Icarus Verilog. See the Makefile targets for more details.

/docs

  • Contains datapath diagrams and notes, wip

/scripts

  • Contains shell scripts to compile, link, and generate memory files from the riscv-tests, as well as a script to run tests and dump vcd from vivado

/rtl

  • Contains all source files for Toastcore and UART peripheral (WIP)

/test

  • Contains the riscv-tests, testbench, and GTKwave translate filter files/processes

toast-rv32i's People

Contributors

georgeyhere avatar nikhilreddy2002 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.