Pipelined RISC-V processor
5-stage pipelined RISC-V processor with instruction cache and data cache
Usuage
Copy content in the files below into CHIP.v, and run …
- $ncverilog Final_tb.v CHIP.v slow_memory.v +define+hasHazard +access+r
- $ncverilog Final_tb.v CHIP.v slow_memory.v +define+BrPred +access+r
- $ncverilog Final_tb.v CHIP.v slow_memory.v +define+compression +access+r
BaseLine
CHIP_hasHazard.v
Extension:
- BrPred:
- 2-bits predictor: CHIP_Bred.v
- 2-bits predictor(小改): CHIP_Bred_comp2.v
- without prediction: CHIP_Bred_comp1.v (from baseline)
-
Compress: CHIP_compress.v
- L2_cache: