Giter Site home page Giter Site logo

cepdnaclk / e16-co502-rv32im-pipeline-implementation-group1 Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 4.0 8.54 MB

The objective of this project was to design and implement a 5 stage pipeline CPU to support the RISC-V instruction architecture. This pipeline CPU supports the entire RV32IM ISA which contains 45 instructions. The designed pipeline CPU was implemented using behavioral modeling in verilogHDL and icarus Verilog was used compile and simulate. gtkWave was used to observe the behavior.

Home Page: https://cepdnaclk.github.io/e16-co502-RV32IM-pipeline-implementation-group1/

Verilog 80.12% Shell 5.48% C 14.29% Assembly 0.11%
rv32im verilog risc-v computer-architecture pipeline

e16-co502-rv32im-pipeline-implementation-group1's Introduction


RV32IM pipeline implementation

RV32IM pipeline implementation

How to run a simple program in pipeline CPU

  1. Add the assembly program to code /cpu directory.

  2. Run the script test-program.sh with the program file as the arguemnt ./test-program.sh program.s

    Now cpu_pipeline_wavedata.vcd will be created in /cpu/cpu_pipeline directory.

  3. Open cpu_pipeline_wavedata.vcd with gtkwave to observe the signal changes.

IMPORTANT!

iverilog version 11 is required, Lower version of iverilog other than 11 will cause unexpected outputs.

e16-co502-rv32im-pipeline-implementation-group1's People

Contributors

buddhiheshan avatar damsydesilva avatar shirlymadushanka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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