diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-11-09 11:22:48 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-11-09 15:40:16 +0100 |
commit | 15b0d717ed658b342ce5f74df5a65827eed04a94 (patch) | |
tree | e9dfb025526ea0f1fbddf705987872fc889a951c /techlibs/machxo2/cells_map.v | |
parent | 4871d8f19911dc48bf7726519437be8a821c0a1f (diff) | |
download | yosys-15b0d717ed658b342ce5f74df5a65827eed04a94.tar.gz yosys-15b0d717ed658b342ce5f74df5a65827eed04a94.tar.bz2 yosys-15b0d717ed658b342ce5f74df5a65827eed04a94.zip |
iopadmap: Add native support for negative-polarity output enable.
Diffstat (limited to 'techlibs/machxo2/cells_map.v')
-rw-r--r-- | techlibs/machxo2/cells_map.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/machxo2/cells_map.v b/techlibs/machxo2/cells_map.v index 82eb10d95..9c370f246 100644 --- a/techlibs/machxo2/cells_map.v +++ b/techlibs/machxo2/cells_map.v @@ -30,5 +30,5 @@ module \$_DFF_P_ (input D, C, output Q); FACADE_FF #(.CEMUX("1"), .CLKMUX("CLK" // IO- "$__" cells for the iopadmap pass. module \$__FACADE_OUTPAD (input I, output O); FACADE_IO #(.DIR("OUTPUT")) _TECHMAP_REPLACE_ (.PAD(O), .I(I), .T(1'b0)); endmodule module \$__FACADE_INPAD (input I, output O); FACADE_IO #(.DIR("INPUT")) _TECHMAP_REPLACE_ (.PAD(I), .O(O)); endmodule -module \$__FACADE_TOUTPAD (input I, OE, output O); FACADE_IO #(.DIR("OUTPUT")) _TECHMAP_REPLACE_ (.PAD(O), .I(I), .T(~OE)); endmodule -module \$__FACADE_TINOUTPAD (input I, OE, output O, inout B); FACADE_IO #(.DIR("BIDIR")) _TECHMAP_REPLACE_ (.PAD(B), .I(I), .O(O), .T(~OE)); endmodule +module \$__FACADE_TOUTPAD (input I, T, output O); FACADE_IO #(.DIR("OUTPUT")) _TECHMAP_REPLACE_ (.PAD(O), .I(I), .T(T)); endmodule +module \$__FACADE_TINOUTPAD (input I, T, output O, inout B); FACADE_IO #(.DIR("BIDIR")) _TECHMAP_REPLACE_ (.PAD(B), .I(I), .O(O), .T(T)); endmodule |