3
0
Fork 0
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:
Leo Moser 2026-06-24 14:16:34 +02:00
parent d671de97e9
commit 54c37b395b

View file

@ -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;
}