mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-14 03:05:41 +00:00
Simplify check -latchonly calls in synth.
This commit is contained in:
parent
6675c45e29
commit
362e828dc2
6 changed files with 6 additions and 18 deletions
|
|
@ -547,10 +547,8 @@ struct SynthLatticePass : public ScriptPass
|
|||
if (abc2 || help_mode)
|
||||
run("abc", " (only if -abc2)");
|
||||
if (!asyncprld || help_mode) {
|
||||
if (help_mode)
|
||||
if (latches == "error" || help_mode)
|
||||
run("check -latchonly -assert", "(skip if -asyncprld; only if -latches error, the default)");
|
||||
else if (latches == "error")
|
||||
run("check -latchonly -assert");
|
||||
run("techmap -map +/lattice/latches_map.v", "(skip if -asyncprld)");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue