mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-23 04:38:55 +00:00
hashlib: acc -> eat
This commit is contained in:
parent
79acc141d5
commit
4e29ec1854
25 changed files with 200 additions and 200 deletions
|
@ -4480,11 +4480,11 @@ void RTLIL::SigSpec::updhash() const
|
|||
for (auto &c : that->chunks_)
|
||||
if (c.wire == NULL) {
|
||||
for (auto &v : c.data)
|
||||
h.acc(v);
|
||||
h.eat(v);
|
||||
} else {
|
||||
h.acc(c.wire->name.index_);
|
||||
h.acc(c.offset);
|
||||
h.acc(c.width);
|
||||
h.eat(c.wire->name.index_);
|
||||
h.eat(c.offset);
|
||||
h.eat(c.width);
|
||||
}
|
||||
that->hash_ = h.yield();
|
||||
if (that->hash_ == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue