greenpak4: added model for GP_EDGEDET block
authorAndrew Zonenberg <azonenberg@drawersteak.com>
Wed, 19 Oct 2016 02:33:26 +0000 (19:33 -0700)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Wed, 19 Oct 2016 02:33:26 +0000 (19:33 -0700)
techlibs/greenpak4/cells_sim.v

index 8515b985a0fe6e7a55140079a1f89e072496176f..8a1794fc16df1fcb455315a1274e1704750ac3b7 100644 (file)
@@ -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