aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gatemate/iob_map.v
diff options
context:
space:
mode:
authorPatrick Urban <patrick.urban@web.de>2021-09-13 17:16:15 +0200
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-11-13 21:53:25 +0100
commit240d289ffff69f991e096a630028839048b6fefd (patch)
treefb79233fbfae812d9c4723b7cd50a7869e5f1850 /techlibs/gatemate/iob_map.v
parentb3e2001e1f094eccf925f0b9e88b3d7cae5e5cb0 (diff)
downloadyosys-240d289ffff69f991e096a630028839048b6fefd.tar.gz
yosys-240d289ffff69f991e096a630028839048b6fefd.tar.bz2
yosys-240d289ffff69f991e096a630028839048b6fefd.zip
synth_gatemate: Initial implementation
Signed-off-by: Patrick Urban <patrick.urban@web.de>
Diffstat (limited to 'techlibs/gatemate/iob_map.v')
-rw-r--r--techlibs/gatemate/iob_map.v88
1 files changed, 88 insertions, 0 deletions
diff --git a/techlibs/gatemate/iob_map.v b/techlibs/gatemate/iob_map.v
new file mode 100644
index 000000000..b73b4b9d2
--- /dev/null
+++ b/techlibs/gatemate/iob_map.v
@@ -0,0 +1,88 @@
+/*
+ * yosys -- Yosys Open SYnthesis Suite
+ *
+ * Copyright (C) 2021 Cologne Chip AG <support@colognechip.com>
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ */
+
+module \$__inpad (input I, output Y);
+ CC_IBUF /*#(
+ .PIN_NAME("UNPLACED"),
+ .V_IO("UNDEFINED"),
+ .PULLUP(1'bx),
+ .PULLDOWN(1'bx),
+ .KEEPER(1'bx),
+ .SCHMITT_TRIGGER(1'bx),
+ .DELAY_IBF(4'bx),
+ .FF_IBF(1'bx)
+ )*/ _TECHMAP_REPLACE_ (
+ .I(I),
+ .Y(Y)
+ );
+endmodule
+
+module \$__outpad (input A, output O);
+ CC_OBUF /*#(
+ .PIN_NAME("UNPLACED"),
+ .V_IO("UNDEFINED"),
+ .SLEW("UNDEFINED"),
+ .DRIVE(1'bx),
+ .DELAY_OBF(4'bx),
+ .FF_OBF(1'bx)
+ )*/ _TECHMAP_REPLACE_ (
+ .A(A),
+ .O(O)
+ );
+endmodule
+
+module \$__toutpad (input A, input OE, output O);
+ CC_TOBUF /*#(
+ .PIN_NAME("UNPLACED"),
+ .V_IO("UNDEFINED"),
+ .SLEW("UNDEFINED"),
+ .DRIVE(1'bx),
+ .PULLUP(1'bx),
+ .PULLDOWN(1'bx),
+ .KEEPER(1'bx),
+ .DELAY_OBF(4'bx),
+ .FF_OBF(1'bx)
+ )*/ _TECHMAP_REPLACE_ (
+ .A(A),
+ .T(~OE),
+ .O(O)
+ );
+endmodule
+
+module \$__tinoutpad (input A, input OE, inout IO, output Y);
+ CC_IOBUF /*#(
+ .PIN_NAME("UNPLACED"),
+ .V_IO("UNDEFINED"),
+ .SLEW("UNDEFINED"),
+ .DRIVE(1'bx),
+ .PULLUP(1'bx),
+ .PULLDOWN(1'bx),
+ .KEEPER(1'bx),
+ .SCHMITT_TRIGGER(1'bx),
+ .DELAY_IBF(4'bx),
+ .DELAY_OBF(4'bx),
+ .FF_IBF(1'bx),
+ .FF_OBF(1'bx)
+ )*/ _TECHMAP_REPLACE_ (
+ .A(A),
+ .T(~OE),
+ .IO(IO),
+ .Y(Y)
+ );
+endmodule