From: Andrew Zonenberg Date: Tue, 8 Aug 2017 03:21:18 +0000 (-0700) Subject: Fixed undeclared "count" in GP_COUNT14_ADV X-Git-Tag: yosys-0.8~346^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db20e3f1c2926d18df5db759341b46a76299607b;p=yosys.git Fixed undeclared "count" in GP_COUNT14_ADV --- diff --git a/techlibs/greenpak4/cells_sim_digital.v b/techlibs/greenpak4/cells_sim_digital.v index 250f1da6a..0ed40f79c 100644 --- a/techlibs/greenpak4/cells_sim_digital.v +++ b/techlibs/greenpak4/cells_sim_digital.v @@ -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)