synth_gatemate: Remove obsolete iob_map
authorPatrick Urban <patrick.urban@web.de>
Wed, 10 Nov 2021 14:44:54 +0000 (15:44 +0100)
committerMarcelina Koƛcielnicka <mwk@0x04.net>
Sat, 13 Nov 2021 20:53:25 +0000 (21:53 +0100)
techlibs/gatemate/Makefile.inc
techlibs/gatemate/iob_map.v [deleted file]
techlibs/gatemate/synth_gatemate.cc

index 622febf48b975641d83b88d09af954d4551d39f3..d1341d7bb3ec8d73475e1ef82e3359a6219ff0cc 100644 (file)
@@ -1,7 +1,6 @@
 \r
 OBJS += techlibs/gatemate/synth_gatemate.o\r
 \r
-$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/iob_map.v))\r
 $(eval $(call add_share_file,share/gatemate,techlibs/gatemate/reg_map.v))\r
 $(eval $(call add_share_file,share/gatemate,techlibs/gatemate/mux_map.v))\r
 $(eval $(call add_share_file,share/gatemate,techlibs/gatemate/lut_map.v))\r
diff --git a/techlibs/gatemate/iob_map.v b/techlibs/gatemate/iob_map.v
deleted file mode 100644 (file)
index 7bbd471..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*\r
- *  yosys -- Yosys Open SYnthesis Suite\r
- *\r
- *  Copyright (C) 2021  Cologne Chip AG <support@colognechip.com>\r
- *\r
- *  Permission to use, copy, modify, and/or distribute this software for any\r
- *  purpose with or without fee is hereby granted, provided that the above\r
- *  copyright notice and this permission notice appear in all copies.\r
- *\r
- *  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\r
- *  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\r
- *  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\r
- *  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\r
- *  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\r
- *  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\r
- *  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\r
- *\r
- */\r
-\r
-module \$__toutpad (input A, input OE, output O);\r
-       CC_TOBUF /*#(\r
-               .PIN_NAME("UNPLACED"),\r
-               .V_IO("UNDEFINED"),\r
-               .SLEW("UNDEFINED"),\r
-               .DRIVE(1'bx),\r
-               .PULLUP(1'bx),\r
-               .PULLDOWN(1'bx),\r
-               .KEEPER(1'bx),\r
-               .DELAY_OBF(4'bx),\r
-               .FF_OBF(1'bx)\r
-       )*/ _TECHMAP_REPLACE_ (\r
-               .A(A),\r
-               .T(~OE),\r
-               .O(O)\r
-       );\r
-endmodule\r
-\r
-module \$__tinoutpad (input A, input OE, inout IO, output Y);\r
-       CC_IOBUF /*#(\r
-               .PIN_NAME("UNPLACED"),\r
-               .V_IO("UNDEFINED"),\r
-               .SLEW("UNDEFINED"),\r
-               .DRIVE(1'bx),\r
-               .PULLUP(1'bx),\r
-               .PULLDOWN(1'bx),\r
-               .KEEPER(1'bx),\r
-               .SCHMITT_TRIGGER(1'bx),\r
-               .DELAY_IBF(4'bx),\r
-               .DELAY_OBF(4'bx),\r
-               .FF_IBF(1'bx),\r
-               .FF_OBF(1'bx)\r
-       )*/ _TECHMAP_REPLACE_ (\r
-               .A(A),\r
-               .T(~OE),\r
-               .IO(IO),\r
-               .Y(Y)\r
-       );\r
-endmodule\r
index 683fc2dede328b19449a179bb180e3a24c452038..e99554fd47e7b85f411e8c689df7cf49be42e434 100644 (file)
@@ -271,8 +271,8 @@ struct SynthGateMatePass : public ScriptPass
                        run("iopadmap -bits "\r
                                "-inpad CC_IBUF Y:I "\r
                                "-outpad CC_OBUF A:O "\r
-                               "-toutpad $__toutpad OE:A:O "\r
-                               "-tinoutpad $__tinoutpad OE:Y:A:IO"\r
+                               "-toutpad CC_TOBUF ~T:A:O "\r
+                               "-tinoutpad CC_IOBUF ~T:Y:A:IO"\r
                        );\r
                        run("techmap -map +/gatemate/iob_map.v");\r
                        run("clean");\r