mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-18 07:59:31 +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
|
|
@ -267,8 +267,10 @@ struct SynthMicrochipPass : public ScriptPass {
|
|||
|
||||
if (check_label("prepare")) {
|
||||
run("proc");
|
||||
if (flatten || help_mode)
|
||||
if (flatten || help_mode) {
|
||||
run("check");
|
||||
run("flatten", "(with '-flatten')");
|
||||
}
|
||||
if (active_design)
|
||||
active_design->scratchpad_unset("tribuf.added_something");
|
||||
run("tribuf -logic");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue