mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 15:37:59 +00:00
abc9 -keepff -> -dff; refactor dff operations
This commit is contained in:
parent
0e95756e96
commit
8e507bd807
4 changed files with 135 additions and 166 deletions
|
@ -108,7 +108,7 @@ struct SynthXilinxPass : public ScriptPass
|
|||
log(" flatten design before synthesis\n");
|
||||
log("\n");
|
||||
log(" -dff\n");
|
||||
log(" enable sequential synthesis with 'abc9'\n");
|
||||
log(" run 'abc9' with -dff option\n");
|
||||
log("\n");
|
||||
log(" -retime\n");
|
||||
log(" run 'abc' with -dff option\n");
|
||||
|
@ -559,8 +559,8 @@ struct SynthXilinxPass : public ScriptPass
|
|||
abc9_opts += " -lut +/xilinx/abc9_xc7_nowide.lut";
|
||||
else
|
||||
abc9_opts += " -lut +/xilinx/abc9_xc7.lut";
|
||||
if (!dff_mode)
|
||||
abc9_opts += " -keepff";
|
||||
if (dff_mode)
|
||||
abc9_opts += " -dff";
|
||||
run("abc9" + abc9_opts);
|
||||
run("techmap -map +/xilinx/abc9_unmap.v");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue