mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
hashlib: acc -> eat
This commit is contained in:
parent
79acc141d5
commit
4e29ec1854
25 changed files with 200 additions and 200 deletions
|
@ -48,10 +48,10 @@ struct ModIndex : public RTLIL::Monitor
|
|||
return cell == other.cell && port == other.port && offset == other.offset;
|
||||
}
|
||||
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
h.acc(cell->name);
|
||||
h.acc(port);
|
||||
h.acc(offset);
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
h.eat(cell->name);
|
||||
h.eat(port);
|
||||
h.eat(offset);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
@ -324,10 +324,10 @@ struct ModWalker
|
|||
return cell == other.cell && port == other.port && offset == other.offset;
|
||||
}
|
||||
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
h.acc(cell->name);
|
||||
h.acc(port);
|
||||
h.acc(offset);
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
h.eat(cell->name);
|
||||
h.eat(port);
|
||||
h.eat(offset);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue