3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-11 05:30:53 +00:00

Fixed undeclared "count" in GP_COUNT14_ADV

This commit is contained in:
Andrew Zonenberg 2017-08-07 20:21:18 -07:00
parent 3618ca2218
commit db20e3f1c2

View file

@ -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)