diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-16 01:35:35 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-16 01:35:35 -0600 |
| commit | 79e13c76cb59250ef07d79f28e1b3356418ed4cd (patch) | |
| tree | cd979277d101a4934aeed52da7b01c8ad132748d /rtl/core/control | |
| parent | 743b5ca25567199b95018127606c0ebaa56ad24c (diff) | |
Fix final_writeback condition bug
Diffstat (limited to '')
| -rw-r--r-- | rtl/core/control/writeback.sv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/core/control/writeback.sv b/rtl/core/control/writeback.sv index 24b3ed5..5d6d7c6 100644 --- a/rtl/core/control/writeback.sv +++ b/rtl/core/control/writeback.sv @@ -107,7 +107,7 @@ module core_control_writeback if(next_cycle.issue) final_writeback <= issue && dec.ctrl.writeback; - else + else if(next_cycle.exception) final_writeback <= 1; update_flags <= 0; |
