diff options
Diffstat (limited to 'src/control_unit.v')
-rw-r--r-- | src/control_unit.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control_unit.v b/src/control_unit.v index 9431c25..0565d5e 100644 --- a/src/control_unit.v +++ b/src/control_unit.v @@ -72,7 +72,7 @@ end reg [3:0] state, next_state; -always @ (posedge clk) begin +always @ (posedge clk or negedge rstn) begin if (!rstn) state <= s00_fetch; else state <= next_state; end |