GithubHelp home page GithubHelp logo

josephhanjl / riscv_ooo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.88 MB

Out of order P6-style RISC-V processor

Makefile 2.95% Verilog 47.97% C 5.25% Assembly 4.17% Shell 0.54% Tcl 1.62% SystemVerilog 29.81% C++ 7.70%

riscv_ooo's Issues

Special logic to handle store instructions

Store instructions do not have targets, so they aren't freed from the reservation station. Need to think about logic to free store instructions from reservation station

Handling load or store

Everything before a load or a store completes until a load or a store is dispatched. This ensures no control hazard

Hacky design choices we need to fix/improve/optimize

We don't have memory latency

  • pipeline the memory accesses to be back-to-back to take advanage of pipelining
  • the current Tomasulo should just handle
    RS doesn't remove t1 and t2 on allocate if there is a CDB/ROB match (aestheic, doesn't affect correctness)
    Block 1 on RS can be removed
    Increase the number of ALUs, Multipliers, possibly loads and stores?
    Don't have a branch predictor
    first cycle pass through for instruction buffer

Decide on how big ROB is

Tentatively 8 (the 0th is reserved so 7 available) according to the lecture slides. Asked prof during OH. Make it parameterized later

PACKETIZATION

STOP EXPANDING INTERFACES AND PUT EVERYTHING IN PACKETS. JUST EXPAND PACKETS IN THE SYS_DEF!

reset

Just treat the packed packet as a vector and set it to '0

Where to put priority selector

It should be put in the pipeline because both ROB and CDB needs output from the priority selector to decide which completed functional unit output to copy/broadcast

Connect ROB to stage_id/regfile

tentatively keep the interface of stage_id the same as project 3 and use the approach in project 3 to connect ROB (previously it was stage_wb) to stage_id which contains regfile

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.