From: Andrew Zonenberg Date: Wed, 19 Oct 2016 02:33:26 +0000 (-0700) Subject: greenpak4: added model for GP_EDGEDET block X-Git-Tag: yosys-0.7~15^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a818472f0c1a5baa8fb6ba6f4b9a4340058e3616;p=yosys.git greenpak4: added model for GP_EDGEDET block --- diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v index 8515b985a..8a1794fc1 100644 --- a/techlibs/greenpak4/cells_sim.v +++ b/techlibs/greenpak4/cells_sim.v @@ -241,6 +241,16 @@ module GP_DFFSRI(input D, CLK, nSR, output reg nQ); end endmodule +module GP_EDGEDET(input IN, output reg OUT); + + parameter EDGE_DIRECTION = "RISING"; + parameter DELAY_STEPS = 1; + parameter GLITCH_FILTER = 0; + + //not implemented for simulation + +endmodule + module GP_IBUF(input IN, output OUT); assign OUT = IN; endmodule