3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-14 21:08:47 +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
reg[13:0] count = COUNT_TO;
//Combinatorially output underflow flag whenever we wrap low
always @(*) begin
if(UP)