synth_ice40: Rework the vpr blif output slightly.

This commit is contained in:
Tim 'mithro' Ansell 2018-04-15 16:05:52 -07:00
parent 81a457c4a6
commit ca39e493ba
1 changed files with 8 additions and 4 deletions

View File

@ -260,13 +260,17 @@ struct SynthIce40Pass : public ScriptPass
if (!blif_file.empty() || help_mode) {
if (vpr || help_mode) {
run(stringf("opt_clean -purge"),
" (vpr mode)");
run(stringf("write_blif %s", help_mode ? "<file-name>" : blif_file.c_str()),
" (vpr mode)");
" "
" (vpr mode)");
run(stringf("write_blif -attr -cname -conn -param %s",
help_mode ? "<file-name>" : blif_file.c_str()),
" (vpr mode)");
}
if (!vpr)
run(stringf("write_blif -gates -attr -param %s",
help_mode ? "<file-name>" : blif_file.c_str()), "(non-vpr mode)");
help_mode ? "<file-name>" : blif_file.c_str()),
" "
" (non-vpr mode)");
}
}