mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-09 00:40:16 +00:00
fabulous: fix argument check in -lut option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
parent
d671de97e9
commit
54c37b395b
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ struct SynthPass : public ScriptPass
|
|||
autotop = true;
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-lut") {
|
||||
if (args[argidx] == "-lut" && argidx+1 < args.size()) {
|
||||
lut = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue