From b562b54c14349bcc8284c3210a234e6eb696f01d Mon Sep 17 00:00:00 2001 From: "N. Engelhardt" Date: Wed, 15 Feb 2023 12:53:46 +0100 Subject: [PATCH] dfflegalize: allow setting mince and minsrst args from scratchpad --- passes/techmap/dfflegalize.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passes/techmap/dfflegalize.cc b/passes/techmap/dfflegalize.cc index c6c3a58c5..64f07b708 100644 --- a/passes/techmap/dfflegalize.cc +++ b/passes/techmap/dfflegalize.cc @@ -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++)