aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/opt_muxtree.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-15 14:51:12 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-15 14:51:12 -0700
commiteae5a6b12c0f44230f61ed23068e7200507f9520 (patch)
tree51fffae9b283c2310acf18b80ec814f2602ac342 /passes/opt/opt_muxtree.cc
parent52355f5185fe42e28775e897f458b38a439c0ec5 (diff)
downloadyosys-eae5a6b12c0f44230f61ed23068e7200507f9520.tar.gz
yosys-eae5a6b12c0f44230f61ed23068e7200507f9520.tar.bz2
yosys-eae5a6b12c0f44230f61ed23068e7200507f9520.zip
Use ID::keep more liberally too
Diffstat (limited to 'passes/opt/opt_muxtree.cc')
-rw-r--r--passes/opt/opt_muxtree.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_muxtree.cc b/passes/opt/opt_muxtree.cc
index 3d7e9cccb..3c486bbcc 100644
--- a/passes/opt/opt_muxtree.cc
+++ b/passes/opt/opt_muxtree.cc
@@ -137,7 +137,7 @@ struct OptMuxtreeWorker
}
}
for (auto wire : module->wires()) {
- if (wire->port_output || wire->get_bool_attribute(ID(keep)))
+ if (wire->port_output || wire->get_bool_attribute(ID::keep))
for (int idx : sig2bits(RTLIL::SigSpec(wire)))
bit2info[idx].seen_non_mux = true;
}