From a76bcdc58fd22ba9441cdcc2b80c565966034c6e Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Mon, 7 Oct 2024 17:58:48 +0200 Subject: [PATCH] bufnorm: avoid remove warning. NFC --- passes/techmap/bufnorm.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/passes/techmap/bufnorm.cc b/passes/techmap/bufnorm.cc index 75060673ea0..3c2cd923027 100644 --- a/passes/techmap/bufnorm.cc +++ b/passes/techmap/bufnorm.cc @@ -70,9 +70,9 @@ struct BufnormPass : public Pass { log(" to chain 'keep' wires first, then ports in declaration order,\n"); log(" and then the other wires in alphanumeric sort order.)\n"); log("\n"); - log(" -noinit\n"); - log(" Do not move 'init' attributes to the wires on FF output ports.\n"); - log("\n"); + // log(" -noinit\n"); + // log(" Do not move 'init' attributes to the wires on FF output ports.\n"); + // log("\n"); log("Run 'bufnorm' with -pos, -bits, or -conn on the whole design to remove all\n"); log("$buf buffer cells and exit 'buffered-normalized mode' again.\n"); log("\n"); @@ -108,7 +108,7 @@ struct BufnormPass : public Pass { bool nokeep_mode = false; bool nosticky_mode = false; bool alphasort_mode = false; - bool noinit_mode = false; // FIXME: Actually move init attributes + // bool noinit_mode = false; // FIXME: Actually move init attributes bool nomode_mode = false; bool pos_mode = false; @@ -169,11 +169,11 @@ struct BufnormPass : public Pass { got_non_update_reset_opt = true; continue; } - if (arg == "-noinit") { - noinit_mode = true; - got_non_update_reset_opt = true; - continue; - } + // if (arg == "-noinit") { + // noinit_mode = true; + // got_non_update_reset_opt = true; + // continue; + // } if (arg == "-pos") { pos_mode = true; got_non_update_reset_opt = true;