mirror of https://github.com/YosysHQ/yosys.git
Call opt_expr -mux_undef to get rid of 1'bx in muxes prior to abc
This commit is contained in:
parent
4e5836a5fb
commit
f11c9a419b
|
@ -281,6 +281,7 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_label("map_luts")) {
|
if (check_label("map_luts")) {
|
||||||
|
run("opt_expr -mux_undef");
|
||||||
if (abc == "abc9")
|
if (abc == "abc9")
|
||||||
run(abc + " -lut +/xilinx/abc_xc7.lut -box +/xilinx/abc_xc7.box -W " + XC7_WIRE_DELAY + string(retime ? " -dff" : ""));
|
run(abc + " -lut +/xilinx/abc_xc7.lut -box +/xilinx/abc_xc7.box -W " + XC7_WIRE_DELAY + string(retime ? " -dff" : ""));
|
||||||
else if (help_mode)
|
else if (help_mode)
|
||||||
|
|
Loading…
Reference in New Issue