Source Files and Design Choices for Pipelined Version of the CPE 233 RISC-V OTTER
- Fetch
- Decode
- Execute
- Memory
- Writeback
- FD (Fetch/Decode)
- DE (Decode/Execute)
- EM (Execute/Memory)
- MW (Memory/Writeback)
We need the pipeline registers to connect to one another, with some signals getting "eaten up" in each stage
In Fetch, all we need to pass to FD is IR, nextPC, and PC
In Decode, all we need to pass to DE is the control unit signals, the alu signals, and some reg and mem file control
In Execute, all we need to pass to EM is the alu_result, and some reg control, and the mem control
In Memory, all we need to pass to MW is the reg mux data and control and writeback data
- Fetch Hardware - capture those values in FD
- Decode Hardware - capture values in DE
- Execute Hardware - capture values in EM
- Memory Hardware - capture values in MW
- Writeback Hardware - pass values to decode stage