From db20e3f1c2926d18df5db759341b46a76299607b Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Mon, 7 Aug 2017 20:21:18 -0700 Subject: [PATCH] Fixed undeclared "count" in GP_COUNT14_ADV --- techlibs/greenpak4/cells_sim_digital.v | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2