From 3197b6c3721b4985b5a5e4223ce7092e27f750c7 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Sat, 26 Mar 2016 23:29:02 -0700 Subject: [PATCH] Added GP_COUNT8/GP_COUNT14 cells --- techlibs/greenpak4/cells_sim.v | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v index a4094f06d..6b5100f75 100644 --- a/techlibs/greenpak4/cells_sim.v +++ b/techlibs/greenpak4/cells_sim.v @@ -82,3 +82,25 @@ module GP_LFOSC(input PWRDN, output reg CLKOUT); end endmodule + +module GP_COUNT8(input CLK, input wire RST, output reg OUT); + + parameter RESET_MODE = "RISING"; + + parameter COUNT_TO = 8'h1; + parameter CLKIN_DIVIDE = 1; + + //more complex hard IP blocks are not supported for simulation yet + +endmodule + +module GP_COUNT14(input CLK, input wire RST, output reg OUT); + + parameter RESET_MODE = "RISING"; + + parameter COUNT_TO = 14'h1; + parameter CLKIN_DIVIDE = 1; + + //more complex hard IP blocks are not supported for simulation yet + +endmodule