~ruther/verilog-riscv-semestral-project

ref: 586cf7122913dbe1faece5e92b9da4bfc0d36403 verilog-riscv-semestral-project/src/stages/fetch.sv -rw-r--r-- 339 bytes
af6386a7 — Rutherther 2 years ago
fix: jumping should flush two registers
66d14163 — Rutherther 2 years ago
feat: move jumping to execute stage
7581533c — Rutherther 2 years ago
fix: temporarily turn off switching fetch valid

The instruction is always valid, since
for now jumps are calculated right away,
not one cycle after decode. That means
that next instruction is not fetched!

This is fine for simulation,
but when synthesized I think this
would slow down the processor as there
has to be the register file read performed
along with alu operation in one cycle.

First this should be changed, then uncomment
this line, to make the fetched pc+4 instruction
invalid when jumping.
f8e4e3ed — Rutherther 2 years ago
Merge pull request #1 from Rutherther/feat/pipeline

Implement pipeline
docs: better document the stage code, organize it better
89310129 — Rutherther 2 years ago
feat: implement pipeline