Cleanup ice40

This commit is contained in:
Eddie Hung 2019-04-26 14:31:59 -07:00
parent 408161ea3a
commit 1ea6d7920f
1 changed files with 6 additions and 4 deletions

View File

@ -225,12 +225,14 @@ struct SynthIce40Pass : public ScriptPass
run("proc"); run("proc");
} }
if (flatten && check_label("flatten", "(unless -noflatten)")) if (check_label("flatten", "(unless -noflatten)"))
{ {
if (flatten) {
run("flatten"); run("flatten");
run("tribuf -logic"); run("tribuf -logic");
run("deminout"); run("deminout");
} }
}
if (check_label("coarse")) if (check_label("coarse"))
{ {