mirror of https://github.com/YosysHQ/yosys.git
synth_xilinx with abc9 to use -box
This commit is contained in:
parent
2ae26b986c
commit
f2042fc7c4
|
@ -275,6 +275,9 @@ struct SynthXilinxPass : public Pass
|
||||||
|
|
||||||
if (check_label(active, run_from, run_to, "map_luts"))
|
if (check_label(active, run_from, run_to, "map_luts"))
|
||||||
{
|
{
|
||||||
|
if (abc == "abc9")
|
||||||
|
Pass::call(design, abc + " -luts 2:2,3,6:5,10,20 -box +/xilinx/cells.box" + string(retime ? " -dff" : ""));
|
||||||
|
else
|
||||||
Pass::call(design, abc + " -luts 2:2,3,6:5,10,20" + string(retime ? " -dff" : ""));
|
Pass::call(design, abc + " -luts 2:2,3,6:5,10,20" + string(retime ? " -dff" : ""));
|
||||||
Pass::call(design, "clean");
|
Pass::call(design, "clean");
|
||||||
Pass::call(design, "techmap -map +/xilinx/lut_map.v");
|
Pass::call(design, "techmap -map +/xilinx/lut_map.v");
|
||||||
|
|
Loading…
Reference in New Issue