3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-07 19:51:23 +00:00

ecp5: synth_ecp5 to no longer need +/ecp5/abc9_{,un}map.v

This commit is contained in:
Eddie Hung 2020-05-13 14:16:42 -07:00
parent 39759d5f0e
commit fdc340db8e
4 changed files with 3 additions and 43 deletions

View file

@ -328,14 +328,10 @@ struct SynthEcp5Pass : public ScriptPass
if (check_label("map_luts"))
{
if (abc2 || help_mode) {
if (abc2 || help_mode)
run("abc", " (only if -abc2)");
}
std::string techmap_args = asyncprld ? "" : "-map +/ecp5/latches_map.v";
if (abc9)
techmap_args += " -map +/ecp5/abc9_map.v -max_iter 1";
if (!techmap_args.empty())
run("techmap " + techmap_args);
if (asyncprld || help_mode)
run("techmap -map +/ecp5/latches_map.v", "(only if -asyncprld)");
if (abc9) {
run("read_verilog -icells -lib -specify +/ecp5/abc9_model.v");
@ -352,7 +348,6 @@ struct SynthEcp5Pass : public ScriptPass
if (dff)
abc9_opts += " -dff";
run("abc9" + abc9_opts);
run("techmap -map +/ecp5/abc9_unmap.v");
} else {
std::string abc_args = " -dress";
if (nowidelut)