mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-17 15:39:28 +00:00
Add check before flatten in synth_*.
This commit is contained in:
parent
16b893bd88
commit
fff034d2f8
20 changed files with 47 additions and 14 deletions
|
|
@ -212,8 +212,10 @@ struct SynthQuickLogicPass : public ScriptPass {
|
|||
|
||||
if (check_label("prepare")) {
|
||||
run("proc");
|
||||
if (flatten)
|
||||
if (flatten) {
|
||||
run("check");
|
||||
run("flatten", "(unless -noflatten)");
|
||||
}
|
||||
if (help_mode || family == "pp3") {
|
||||
run("tribuf -logic", " (for pp3)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue