dfflegalize: allow setting mince and minsrst args from scratchpad

This commit is contained in:
N. Engelhardt 2023-02-15 12:53:46 +01:00
parent 53bda9de54
commit b562b54c14
1 changed files with 2 additions and 2 deletions

View File

@ -1021,8 +1021,8 @@ struct DffLegalizePass : public Pass {
supported_cells_neg[i][j] = 0;
supported_cells[i] = 0;
}
mince = 0;
minsrst = 0;
mince = design->scratchpad_get_int("dfflegalize.mince", 0);
minsrst = design->scratchpad_get_int("dfflegalize.minsrst", 0);
size_t argidx;
for (argidx = 1; argidx < args.size(); argidx++)