Complete the top design of the 5-stage pipelined processor
- Pipeline register design
- Internal forwarding in the register file
- Forwarding unit design
- Hazard detection unit
- pipeline_cpu.sv (5-stage pipelined processor)
Verify the design with the testbench
- Set the clock frequency as 100 MHz
- Instantiate the top design file as "dut" (design under test)
- Given initial memory data for the instruction memory, the data memory, and the register file
- imem.mem (instruction memory)
- dmem.mem (data memory)
- regfile.mem (register file)