Fixed typo in GP_COUNT8 sim model
authorAndrew Zonenberg <azonenberg@drawersteak.com>
Fri, 11 Aug 2017 23:55:31 +0000 (16:55 -0700)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Mon, 14 Aug 2017 17:45:40 +0000 (10:45 -0700)
techlibs/greenpak4/cells_sim_digital.v

index cda83862a1398b4b292645307c2f7e74142bf130..3ed80005bb0f98696b633a3f8b924c00a3411f78 100644 (file)
@@ -411,7 +411,7 @@ module GP_COUNT8(
        //Combinatorially output underflow flag whenever we wrap low
        always @(*) begin
                OUT <= (count == 8'h0);
-               OUT <= count;
+               POUT <= count;
        end
 
        //POR or SYSRST reset value is COUNT_TO. Datasheet is unclear but conversations w/ Silego confirm.