Skip to content

Commit

Permalink
opt_demorgan: fix extra args warning
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Apr 3, 2024
1 parent 040605b commit 4bb3b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/opt/opt_demorgan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct OptDemorganPass : public Pass {
{
log_header(design, "Executing OPT_DEMORGAN pass (push inverters through $reduce_* cells).\n");

int argidx = 0;
int argidx = 1;
extra_args(args, argidx, design);

unsigned int cells_changed = 0;
Expand Down

0 comments on commit 4bb3b09

Please sign in to comment.