mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-18 20:03:39 +00:00
hashlib: hash_eat -> hash_into
This commit is contained in:
parent
0a525f38c2
commit
b9b9515bb0
23 changed files with 95 additions and 95 deletions
|
@ -233,7 +233,7 @@ struct ClockgatePass : public Pass {
|
|||
SigBit ce_bit;
|
||||
bool pol_clk;
|
||||
bool pol_ce;
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
auto t = std::make_tuple(clk_bit, ce_bit, pol_clk, pol_ce);
|
||||
h.eat(t);
|
||||
return h;
|
||||
|
|
|
@ -250,7 +250,7 @@ struct FlowGraph
|
|||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
Hasher hash_eat(Hasher h) const
|
||||
Hasher hash_into(Hasher h) const
|
||||
{
|
||||
std::pair<RTLIL::SigBit, int> p = {node, is_bottom};
|
||||
h.eat(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue