mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-22 08:32:09 +00:00
Add reset synchronization to CNT module
This commit is contained in:
parent
dc2b742ec2
commit
d8b7857d68
@ -16,8 +16,9 @@ module CNT(
|
||||
reg [1:0] Er; always @(posedge CLK) Er[1:0] <= { Er[0], E };
|
||||
wire EFall = Er[1] && !Er[0];
|
||||
|
||||
/* NMI button synchronization */
|
||||
/* NMI and reset synchronization */
|
||||
reg nIPL2r; always @(posedge CLK) nIPL2r <= nIPL2;
|
||||
reg nRESr; always @(posedge CLK) nRESr <= nRESin;
|
||||
|
||||
/* Startup sequence state */
|
||||
reg [1:0] IS = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user