mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
synth_xilinx's map_cells stage to techmap ff_map.v
This commit is contained in:
parent
73c8f1a59e
commit
838ae1a14c
|
@ -361,6 +361,8 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
std::string techmap_args = "-map +/techmap.v -D _ABC -map +/xilinx/cells_map.v";
|
std::string techmap_args = "-map +/techmap.v -D _ABC -map +/xilinx/cells_map.v";
|
||||||
if (widemux > 0)
|
if (widemux > 0)
|
||||||
techmap_args += stringf(" -D MIN_MUX_INPUTS=%d", widemux);
|
techmap_args += stringf(" -D MIN_MUX_INPUTS=%d", widemux);
|
||||||
|
if (abc9)
|
||||||
|
techmap_args += " -map +/xilinx/ff_map.v";
|
||||||
run("techmap " + techmap_args);
|
run("techmap " + techmap_args);
|
||||||
run("clean");
|
run("clean");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue