mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 12:53:39 +00:00
abc9_ops: ignore (* abc9_flop *) if not '-dff'
This commit is contained in:
parent
a76520112d
commit
e22fee6cdd
4 changed files with 120 additions and 110 deletions
|
@ -192,7 +192,7 @@ struct Abc9Pass : public ScriptPass
|
|||
cleanup = true;
|
||||
lut_mode = false;
|
||||
maxlut = 0;
|
||||
box_file = "(null)";
|
||||
box_file = "";
|
||||
}
|
||||
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE
|
||||
|
@ -286,9 +286,9 @@ struct Abc9Pass : public ScriptPass
|
|||
else if (!lut_mode)
|
||||
run(stringf("abc9_ops -prep_lut %d", maxlut));
|
||||
if (help_mode)
|
||||
run("abc9_ops -prep_box [<-box>|(null)]");
|
||||
else
|
||||
run(stringf("abc9_ops -prep_box %s", box_file.c_str()));
|
||||
run("abc9_ops -prep_box [-dff]", "(skip if -box)");
|
||||
else if (box_file.empty())
|
||||
run(stringf("abc9_ops -prep_box %s", dff_mode ? "-dff" : ""));
|
||||
run("select -set abc9_holes A:abc9_holes");
|
||||
run("flatten -wb @abc9_holes");
|
||||
run("techmap @abc9_holes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue