Skip to content

Commit

Permalink
Merge pull request #4313 from widlarizer/emil/fix-opt-demorgan-warning
Browse files Browse the repository at this point in the history
opt_demorgan: fix extra args warning
  • Loading branch information
widlarizer authored Apr 10, 2024
2 parents e2cfcbc + 4bb3b09 commit c5912f4
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 c5912f4

Please sign in to comment.