diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-10 10:11:33 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-10 10:11:33 -0600 |
| commit | acca3eb31a051f335c51306786bb972c21634998 (patch) | |
| tree | 9f8fc3da1a8494e88c5043735862e56c54356bc0 /rtl/core/regs | |
| parent | 0f89db514bd174def590645c30a7bd358ea6be93 (diff) | |
Fix reset glitches
Diffstat (limited to 'rtl/core/regs')
| -rw-r--r-- | rtl/core/regs/file.sv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtl/core/regs/file.sv b/rtl/core/regs/file.sv index d9ac251..2ba95e8 100644 --- a/rtl/core/regs/file.sv +++ b/rtl/core/regs/file.sv @@ -36,6 +36,7 @@ module core_reg_file always_ff @(posedge clk or negedge rst_n) if(!rst_n) begin forward <= 0; + rd_actual <= 0; hold_rd_pc <= 0; end else begin forward <= wr_enable && rd_index == wr_index; |
