~ruther/verilog-riscv-semestral-project

ref: 914e69e6c0df1f4e3f33718891c838e42fe535b1 verilog-riscv-semestral-project/src d---------
914e69e6 — Rutherther 2 years ago
refactor: save pc + 4 in stages
586cf712 — Rutherther 2 years ago
chore: clearer naming
af6386a7 — Rutherther 2 years ago
fix: jumping should flush two registers
0d5d1a1f — Rutherther 2 years ago
fix: sign extend only when misaligned access
fb02ebb2 — Rutherther 2 years ago
Merge pull request #2 from Rutherther/feat/misaligned-reads

Support misaligned read
b89bec43 — Rutherther 2 years ago
feat: add misaligned memory access support
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
489df849 — Rutherther 2 years ago
chore: import cpu types in stages
681756b7 — Rutherther 2 years ago
chore: recover singlecycle version
aeab4038 — Rutherther 2 years ago
feat: add forwarding signal for better debugging
89310129 — Rutherther 2 years ago
feat: implement pipeline
c5e322db — Rutherther 2 years ago
fix: use reg for procedural assignments
df876b38 — Rutherther 2 years ago
chore: extend memory
308a1462 — Rutherther 2 years ago
tests: add register dump, printing
38e84297 — Rutherther 2 years ago
fix: shift left only by 5 bits
740085c8 — Rutherther 2 years ago
fix: lui, force rs1 zero, always add
51842d38 — Rutherther 2 years ago
feat: add support for official tests
Next