mirror of https://github.com/YosysHQ/yosys.git
Fixed undeclared "count" in GP_COUNT14_ADV
This commit is contained in:
parent
3618ca2218
commit
db20e3f1c2
|
|
@ -116,6 +116,8 @@ module GP_COUNT14_ADV(input CLK, input RST, output reg OUT,
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
reg[13:0] count = COUNT_TO;
|
||||||
|
|
||||||
//Combinatorially output underflow flag whenever we wrap low
|
//Combinatorially output underflow flag whenever we wrap low
|
||||||
always @(*) begin
|
always @(*) begin
|
||||||
if(UP)
|
if(UP)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue