3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

Merge pull request #4637 from YosysHQ/emil/bufnorm-warning

bufnorm: avoid warning. NFC
This commit is contained in:
Martin Povišer 2024-10-07 18:01:42 +02:00 committed by GitHub
commit 9479d3bd3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,9 +70,9 @@ struct BufnormPass : public Pass {
log(" to chain 'keep' wires first, then ports in declaration order,\n"); log(" to chain 'keep' wires first, then ports in declaration order,\n");
log(" and then the other wires in alphanumeric sort order.)\n"); log(" and then the other wires in alphanumeric sort order.)\n");
log("\n"); log("\n");
log(" -noinit\n"); // log(" -noinit\n");
log(" Do not move 'init' attributes to the wires on FF output ports.\n"); // log(" Do not move 'init' attributes to the wires on FF output ports.\n");
log("\n"); // log("\n");
log("Run 'bufnorm' with -pos, -bits, or -conn on the whole design to remove all\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("$buf buffer cells and exit 'buffered-normalized mode' again.\n");
log("\n"); log("\n");
@ -108,7 +108,7 @@ struct BufnormPass : public Pass {
bool nokeep_mode = false; bool nokeep_mode = false;
bool nosticky_mode = false; bool nosticky_mode = false;
bool alphasort_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 nomode_mode = false;
bool pos_mode = false; bool pos_mode = false;
@ -169,11 +169,11 @@ struct BufnormPass : public Pass {
got_non_update_reset_opt = true; got_non_update_reset_opt = true;
continue; continue;
} }
if (arg == "-noinit") { // if (arg == "-noinit") {
noinit_mode = true; // noinit_mode = true;
got_non_update_reset_opt = true; // got_non_update_reset_opt = true;
continue; // continue;
} // }
if (arg == "-pos") { if (arg == "-pos") {
pos_mode = true; pos_mode = true;
got_non_update_reset_opt = true; got_non_update_reset_opt = true;