mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 16:33:19 +00:00
hashlib: acc -> eat
This commit is contained in:
parent
79acc141d5
commit
4e29ec1854
25 changed files with 200 additions and 200 deletions
|
@ -44,9 +44,9 @@ struct TimingInfo
|
|||
return {};
|
||||
return port[offset];
|
||||
}
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
h.acc(name);
|
||||
h.acc(offset);
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
h.eat(name);
|
||||
h.eat(offset);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
@ -56,9 +56,9 @@ struct TimingInfo
|
|||
BitBit(const NameBit &first, const NameBit &second) : first(first), second(second) {}
|
||||
BitBit(const SigBit &first, const SigBit &second) : first(first), second(second) {}
|
||||
bool operator==(const BitBit& bb) const { return bb.first == first && bb.second == second; }
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
h.acc(first);
|
||||
h.acc(second);
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
h.eat(first);
|
||||
h.eat(second);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue