summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hdl/ram_controller.sv1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdl/ram_controller.sv b/hdl/ram_controller.sv
index 8922a09..14a1609 100644
--- a/hdl/ram_controller.sv
+++ b/hdl/ram_controller.sv
@@ -129,6 +129,7 @@ module ram_controller
129 ram_data_oe = 0; 129 ram_data_oe = 0;
130 ram_csn = 1; 130 ram_csn = 1;
131 ram_clkp = 0; 131 ram_clkp = 0;
132 half_state = half_state.first;
132 if (trwr_counter != 0) --trwr_counter; 133 if (trwr_counter != 0) --trwr_counter;
133 end else if (half_state == TOGGLE_CLOCK) begin 134 end else if (half_state == TOGGLE_CLOCK) begin
134 half_state = half_state.next; 135 half_state = half_state.next;