3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

Merge pull request #3676 from nakengelhardt/dfflegalize_scratchpad_minarg

This commit is contained in:
N. Engelhardt 2023-07-03 17:15:21 +02:00 committed by GitHub
commit 14d50a176d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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