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
1 changed files with 2 additions and 0 deletions

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)