mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-09 00:40:16 +00:00
fabulous: fix argument check in -carry option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
parent
54c37b395b
commit
30640c71e2
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ struct SynthPass : public ScriptPass
|
|||
complexdff = true;
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-carry") {
|
||||
if (args[argidx] == "-carry" && argidx+1 < args.size()) {
|
||||
carry_mode = args[++argidx];
|
||||
if (carry_mode != "none" && carry_mode != "ha")
|
||||
log_cmd_error("Unsupported carry style: %s\n", carry_mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue