Chen-Gary / CPU-verilog

0 stars 0 forks source link

Bugs to Fix #3

Closed Chen-Gary closed 3 years ago

Chen-Gary commented 3 years ago
Chen-Gary commented 3 years ago

Other:

Chen-Gary commented 3 years ago

DONE. Yes, we need to flush.

Need to flush when branch and jump?

Implementation:

flush ID and EX stage with one additional flush control signal

In the pipeline register submodule, wait #1 for the flush signal, and then set the sequential read-in variables to 0

Chen-Gary commented 3 years ago

Use this to implement register file:

reg [31:0] DATA_RAM [0:512-1];
Chen-Gary commented 3 years ago

Please do not always change the requirements at the last minute!