GithubHelp home page GithubHelp logo

dogsc729 / riscv-pipeline-project-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericttttt/riscv-pipeline-project

0.0 0.0 0.0 34.53 MB

Shell 0.02% Python 0.18% Verilog 95.02% Jupyter Notebook 4.78%

riscv-pipeline-project-1's Introduction

RISCV-Pipeline-Project

Usuage

Need to set up environment first. e.g. source license, mv .synopsys_dc.setup

baseline

ncverilog Final_tb.v CHIP.v slow_memory.v +define+hasHazard +access+r  

branch prediction

ncverilog Final_tb.v CHIP_BrPred.v slow_memory.v +define+BrPred +access+r  

compression

ncverilog Final_tb.v CHIP_compression.v slow_memory.v +define+compression +access+r  

L2 cache

ncverilog Final_tb.v CHIP_L2.v slow_memory.v +define+L2Cache +access+r  

BaseLine

CHIP_hasHazard.v

Extension

use CHIP_complete.v to extend

BrPred:

  • three types of instructinos in testbench
    a. all not taken.
    b. not taken, taken, not taken, taken...
    c. all taken.
  • four types of branch predictors a. 2-bit predictor v1
    b. 2-bit predictor v2
    c. branch hash table 1-bit
    d. branch hash table 2-bit
  • use bash script to test 1000 testbenches for each predictor

Compress:

  • CHIP_compress.v

L2_cache:

  • share L2 cache of I cache and D cache
  • try 2-way and direct-mapped cache
  • try different size of L2 cache
  • use bash script to test 70 testbenches for each setting

riscv-pipeline-project-1's People

Contributors

alexsung929 avatar dogsc729 avatar ericttttt 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.