aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-01 11:36:02 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-01 11:36:02 +0200
commite07698818dfe3c8e5f87b13090c7e70d22189e2a (patch)
treeeb4384ce1b2ef627f8fe0a9533c298e308c8337d /passes/opt
parente3664066d5684af444c5a1edb02b9e7543cba38d (diff)
downloadyosys-e07698818dfe3c8e5f87b13090c7e70d22189e2a.tar.gz
yosys-e07698818dfe3c8e5f87b13090c7e70d22189e2a.tar.bz2
yosys-e07698818dfe3c8e5f87b13090c7e70d22189e2a.zip
Using std::vector<RTLIL::State> instead of RTLIL::Const for RTLIL::SigChunk::data
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_share.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_share.cc b/passes/opt/opt_share.cc
index 66f5e630c..4b76a5a2d 100644
--- a/passes/opt/opt_share.cc
+++ b/passes/opt/opt_share.cc
@@ -101,7 +101,7 @@ struct OptShareWorker
int_to_hash_string(chunk.offset) + " " +
int_to_hash_string(chunk.width) + "}";
else
- hash_string += chunk.data.as_string();
+ hash_string += RTLIL::Const(chunk.data).as_string();
}
hash_string += "\n";
}