aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/wreduce.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/wreduce.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/wreduce.cc')
-rw-r--r--passes/opt/wreduce.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/wreduce.cc b/passes/opt/wreduce.cc
index 792c69c55..37de8cb61 100644
--- a/passes/opt/wreduce.cc
+++ b/passes/opt/wreduce.cc
@@ -398,7 +398,7 @@ struct WreduceWorker
SigMap init_attr_sigmap = mi.sigmap;
for (auto w : module->wires()) {
- if (w->get_bool_attribute(ID(keep)))
+ if (w->get_bool_attribute(ID::keep))
for (auto bit : mi.sigmap(w))
keep_bits.insert(bit);
if (w->attributes.count(ID(init))) {