aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4/cells_extract.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/greenpak4/cells_extract.v')
-rw-r--r--techlibs/greenpak4/cells_extract.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/techlibs/greenpak4/cells_extract.v b/techlibs/greenpak4/cells_extract.v
new file mode 100644
index 000000000..96feb7328
--- /dev/null
+++ b/techlibs/greenpak4/cells_extract.v
@@ -0,0 +1,15 @@
+//Wrapper module to patch up output of iopadmap
+module GP_IOBUF(input IN, output OUT, input OE, inout IO);
+
+ GP_IBUF ibuf(
+ .IN(IO),
+ .OUT(OUT)
+ );
+
+ $_TBUF_ tbuf(
+ .A(IN),
+ .E(OE),
+ .Y(OUT)
+ );
+
+endmodule