A pipelined processor with hazard detection for the course VE370 (FA2020) of UM-SJTU JI.
Group ID: 20
Group Member:
- Gengchen Yang
- Jiaying Xu
- Qinhang Wu
- Yuru Liu
Bit | Commit Hash |
---|---|
driver_1358.bit | 4189f856d61629a9d95b7a33ac307b1ca5e337ad |
{16{1'b1}}
vs.16'b1
- delay in
initial
- sync vs async (which unit should be controlled by
clk
) reg
is only for a 2-bit number- It is recommended to use a suitable IDE to view and edit this project, i.e.,
VS Code
+mshr-h.veriloghdl
+xvlog
(linter) - Nothing more. The rest is just a LinkGame.
- Functionality units
- PC
[clock]
- beq
- bne
- j
- Instruction Memory
- Register
[clock]
- ALU
- add
- sub
- and
- or
- slt
- addi
- andi
- Data Memory
[clock]
- Sign-extended
- Pipeline Register
[clock]
- PC
- Control units
- Control
- Forwarding unit
- Hazard Detection unit
- MISC
- Clock divider
- ssd
- Data Bus
- pipelined driver
- Driver program
- testbench
- ssd driver
- input RegDst // EX
- input Jump // MEM
- input Branch // MEM
- input Bne // MEM
- input MemRead // MEM
- input MemtoReg // WB
- input [1:0] ALUOp // EX
- input MemWrite // MEM
- input ALUSrc // EX
- input RegWrite // WB
@(whoever finishes single processor) single system structure
@wqh system design, debug, module integration, synthesis, FPGA implementation
@xjy patch for pipelined system, RTL schematic, debug, report
@lyr hazard det. unit, branch bonus unit, RTL schematic, report
@ygc for. unit, FPGA implementation, debug, report
If there is similar course materials assigned in the future, it is the responsibility of JI students not to copy or modify these codes, or MD files because it is against the Honor Code. The owner of this repository doesn't take any commitment for other's faults.
You're welcomed to raise any issues regarding this project.