From: Andrew Zonenberg Date: Sun, 27 Mar 2016 06:29:02 +0000 (-0700) Subject: Added GP_COUNT8/GP_COUNT14 cells X-Git-Tag: yosys-0.7~288^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3197b6c3721b4985b5a5e4223ce7092e27f750c7;p=yosys.git Added GP_COUNT8/GP_COUNT14 cells --- 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