Fixed undeclared "count" in GP_COUNT8_ADV
authorAndrew Zonenberg <azonenberg@drawersteak.com>
Tue, 8 Aug 2017 03:21:55 +0000 (20:21 -0700)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Mon, 14 Aug 2017 17:45:39 +0000 (10:45 -0700)
techlibs/greenpak4/cells_sim_digital.v

index 0ed40f79cad02d157526fadcf3bb0be3976a8541..91d7440394444f5dfa55310c37dbb6e968677e29 100644 (file)
@@ -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");