From ac75524f69f193f8d1b49f8a891a29f90ca96799 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Mon, 7 Aug 2017 20:21:55 -0700 Subject: [PATCH] Fixed undeclared "count" in GP_COUNT8_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 0ed40f79c..91d744039 100644 --- a/techlibs/greenpak4/cells_sim_digital.v +++ b/techlibs/greenpak4/cells_sim_digital.v @@ -219,6 +219,8 @@ module GP_COUNT8_ADV(input CLK, input RST, output reg OUT, parameter COUNT_TO = 8'h1; parameter CLKIN_DIVIDE = 1; + reg[7:0] count = COUNT_TO; + initial begin if(CLKIN_DIVIDE != 1) begin $display("ERROR: CLKIN_DIVIDE values other than 1 not implemented"); -- 2.30.2