3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-24 23:03:42 +00:00

added hashlib::mkhash_init

This commit is contained in:
Clifford Wolf 2014-12-30 18:51:24 +01:00
parent ba43cf5807
commit 0675098733
4 changed files with 8 additions and 5 deletions

View file

@ -2325,7 +2325,7 @@ void RTLIL::SigSpec::updhash() const
cover("kernel.rtlil.sigspec.hash");
that->pack();
that->hash_ = 5381;
that->hash_ = mkhash_init;
for (auto &c : that->chunks_)
if (c.wire == NULL) {
for (auto &v : c.data)