aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4/cells_sim.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/greenpak4/cells_sim.v')
-rw-r--r--techlibs/greenpak4/cells_sim.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v
index 2727d9246..4ea576960 100644
--- a/techlibs/greenpak4/cells_sim.v
+++ b/techlibs/greenpak4/cells_sim.v
@@ -40,6 +40,10 @@ module GP_DFFSR(input D, CLK, nSR, output reg Q);
end
endmodule
+module GP_INV(input IN, output OUT);
+ assign OUT = ~IN;
+endmodule
+
module GP_2LUT(input IN0, IN1, output OUT);
parameter [3:0] INIT = 0;
assign OUT = INIT[{IN1, IN0}];