mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 11:41:23 +00:00
iopadmap: Add native support for negative-polarity output enable.
This commit is contained in:
parent
4871d8f199
commit
15b0d717ed
12 changed files with 35 additions and 43 deletions
|
@ -122,14 +122,6 @@ module \$_DFFE_NP0P_ (input D, C, R, E, output Q);
|
|||
wire _TECHMAP_REMOVEINIT_Q_ = 1;
|
||||
endmodule
|
||||
|
||||
module \$__GW_IOBUF (input I, OE, output O, inout IO);
|
||||
IOBUF _TECHMAP_REPLACE_ (.I(I), .O(O), .OEN(~OE), .IO(IO));
|
||||
endmodule
|
||||
|
||||
module \$__GW_TBUF (input I, OE, output O);
|
||||
TBUF _TECHMAP_REPLACE_ (.I(I), .OEN(~OE), .O(O));
|
||||
endmodule
|
||||
|
||||
module \$lut (A, Y);
|
||||
parameter WIDTH = 0;
|
||||
parameter LUT = 0;
|
||||
|
|
|
@ -240,7 +240,7 @@ struct SynthGowinPass : public ScriptPass
|
|||
run("abc -dff -D 1", "(only if -retime)");
|
||||
if (!noiopads || help_mode)
|
||||
run("iopadmap -bits -inpad IBUF O:I -outpad OBUF I:O "
|
||||
"-toutpad $__GW_TBUF OE:I:O -tinoutpad $__GW_IOBUF OE:O:I:IO", "(unless -noiopads)");
|
||||
"-toutpad TBUF ~OEN:I:O -tinoutpad IOBUF ~OEN:O:I:IO", "(unless -noiopads)");
|
||||
}
|
||||
|
||||
if (check_label("map_ffs"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue