mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-25 13:33:58 +00:00
Fix bug in CNT.v
This commit is contained in:
parent
5f63b48981
commit
d69358ca8f
@ -120,7 +120,7 @@ module CNT(
|
|||||||
/* Startup sequence state control */
|
/* Startup sequence state control */
|
||||||
reg [1:0] IS = 0;
|
reg [1:0] IS = 0;
|
||||||
always @(posedge CLK) begin
|
always @(posedge CLK) begin
|
||||||
if (nPOR) IS <= 0;
|
if (!nPOR) IS <= 0;
|
||||||
else case (IS[1:0])
|
else case (IS[1:0])
|
||||||
0: if (LTimerTick) IS <= 1;
|
0: if (LTimerTick) IS <= 1;
|
||||||
1: if (LTimerTick) IS <= 2;
|
1: if (LTimerTick) IS <= 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user