Giter VIP home page Giter VIP logo

mohamedsherifnoureldin / verilogpipelinedriscvprocessor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 670 KB

A verilog implementation of a pipelined processor for the RISC-V architecture, with support for all 40 instructions of the RV32I instruction set; as well as an additional 8 for the RV32M instruction set. Supports implementation on a Nexys A7 board. Implemented as the CSCE 3301 (Computer Architecture) course's first project, in Spring 2023.

Verilog 92.64% Tcl 7.36%

verilogpipelinedriscvprocessor's Introduction

Verilog Pipelined RISC-V Processor

Processor Architecture

A verilog implementation of a five-stage pipelined processor for the RISC-V architecture, with support for all 40 instructions of the RV32I instruction set, as well as an additional 8 for the RV32M instruction set. This project also supports implementation on a Nexys A7 board, with push buttons for incrementing the program counter, as well as seven-segment displays and LEDs for program counter value and significant wires.

Inputs

Inputs to the processor can be entered through a file with the proper format. Since the RISCV architecture supports a byte addressable, little endian memory, input from file should be in hex, split up into bytes in little endian format. Refer to the Report pdf of this repository for examples and more details.

Outputs

Output values can be viewed using an IDE for Verilog HDL (such as Vivado by XILINX) either through a simulation (see CPU_tb.v for the testbench) or through generating the bitstream and coding it onto a Nexys A7 board.

Testing

For testing, refer to the Testing section in the Report pdf of this repository.

Contributors

verilogpipelinedriscvprocessor's People

Contributors

saraa-mohamedd avatar mohamedsherifnoureldin avatar

Watchers

 avatar  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.