mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Fixed typo in last commit
This commit is contained in:
parent
4da1a327c0
commit
3618ca2218
|
@ -119,7 +119,7 @@ module GP_COUNT14_ADV(input CLK, input RST, output reg OUT,
|
||||||
//Combinatorially output underflow flag whenever we wrap low
|
//Combinatorially output underflow flag whenever we wrap low
|
||||||
always @(*) begin
|
always @(*) begin
|
||||||
if(UP)
|
if(UP)
|
||||||
OUT <= (count == 14'h4000);
|
OUT <= (count == 14'h3fff);
|
||||||
else
|
else
|
||||||
OUT <= (count == 14'h0);
|
OUT <= (count == 14'h0);
|
||||||
POUT <= count[7:0];
|
POUT <= count[7:0];
|
||||||
|
@ -144,7 +144,7 @@ module GP_COUNT14_ADV(input CLK, input RST, output reg OUT,
|
||||||
//Wrapping
|
//Wrapping
|
||||||
if(count == 0 && !UP)
|
if(count == 0 && !UP)
|
||||||
count <= COUNT_TO;
|
count <= COUNT_TO;
|
||||||
if(count == 14'h4000 && UP)
|
if(count == 14'h3fff && UP)
|
||||||
count <= COUNT_TO;
|
count <= COUNT_TO;
|
||||||
|
|
||||||
//Resets
|
//Resets
|
||||||
|
@ -172,7 +172,7 @@ module GP_COUNT14_ADV(input CLK, input RST, output reg OUT,
|
||||||
//Wrapping
|
//Wrapping
|
||||||
if(count == 0 && !UP)
|
if(count == 0 && !UP)
|
||||||
count <= COUNT_TO;
|
count <= COUNT_TO;
|
||||||
if(count == 14'h4000 && UP)
|
if(count == 14'h3fff && UP)
|
||||||
count <= COUNT_TO;
|
count <= COUNT_TO;
|
||||||
|
|
||||||
//Resets
|
//Resets
|
||||||
|
|
Loading…
Reference in a new issue