|
@@ -196,7 +196,9 @@ module sdram (
|
|
|
// State machine and counters
|
|
|
reg [t_ref:0] rfsh_ctr; // Refresh timer
|
|
|
reg [t_p:t_ref] init_ctr; // Reset to init counter
|
|
|
- reg [burst:0] op_cycle; // Cycles into the current operation
|
|
|
+
|
|
|
+ // XXX: compute the necessary width of this field elsewhere
|
|
|
+ reg [4:0] op_cycle; // Cycles into the current operation
|
|
|
|
|
|
// The actual values are unimportant; the compiler will optimize
|
|
|
// the state machine implementation for us.
|