diff options
author | Patrick Urban <patrick.urban@web.de> | 2021-11-10 15:44:54 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-11-13 21:53:25 +0100 |
commit | 285ec0547b19a48c6b52050ee715940f1635994a (patch) | |
tree | 84c062fec9bd66fa94419ca8f342bcc695921fd6 /techlibs | |
parent | 81964d6d6f09050858886d5e0c9c6e20f4f80a53 (diff) | |
download | yosys-285ec0547b19a48c6b52050ee715940f1635994a.tar.gz yosys-285ec0547b19a48c6b52050ee715940f1635994a.tar.bz2 yosys-285ec0547b19a48c6b52050ee715940f1635994a.zip |
synth_gatemate: Remove obsolete iob_map
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/gatemate/Makefile.inc | 1 | ||||
-rw-r--r-- | techlibs/gatemate/iob_map.v | 58 | ||||
-rw-r--r-- | techlibs/gatemate/synth_gatemate.cc | 4 |
3 files changed, 2 insertions, 61 deletions
diff --git a/techlibs/gatemate/Makefile.inc b/techlibs/gatemate/Makefile.inc index 622febf48..d1341d7bb 100644 --- a/techlibs/gatemate/Makefile.inc +++ b/techlibs/gatemate/Makefile.inc @@ -1,7 +1,6 @@ OBJS += techlibs/gatemate/synth_gatemate.o
-$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/iob_map.v))
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/reg_map.v))
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/mux_map.v))
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/lut_map.v))
diff --git a/techlibs/gatemate/iob_map.v b/techlibs/gatemate/iob_map.v deleted file mode 100644 index 7bbd47161..000000000 --- a/techlibs/gatemate/iob_map.v +++ /dev/null @@ -1,58 +0,0 @@ -/*
- * 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 \$__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
diff --git a/techlibs/gatemate/synth_gatemate.cc b/techlibs/gatemate/synth_gatemate.cc index 683fc2ded..e99554fd4 100644 --- a/techlibs/gatemate/synth_gatemate.cc +++ b/techlibs/gatemate/synth_gatemate.cc @@ -271,8 +271,8 @@ struct SynthGateMatePass : public ScriptPass run("iopadmap -bits "
"-inpad CC_IBUF Y:I "
"-outpad CC_OBUF A:O "
- "-toutpad $__toutpad OE:A:O "
- "-tinoutpad $__tinoutpad OE:Y:A:IO"
+ "-toutpad CC_TOBUF ~T:A:O "
+ "-tinoutpad CC_IOBUF ~T:Y:A:IO"
);
run("techmap -map +/gatemate/iob_map.v");
run("clean");
|