From: Andrew Zonenberg Date: Tue, 8 Aug 2017 03:21:55 +0000 (-0700) Subject: Fixed undeclared "count" in GP_COUNT8_ADV X-Git-Tag: yosys-0.8~346^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac75524f69f193f8d1b49f8a891a29f90ca96799;p=yosys.git Fixed undeclared "count" in GP_COUNT8_ADV --- 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");