mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
hashlib: redo interface for flexibility
This commit is contained in:
parent
7a362f1f74
commit
d071489ab1
35 changed files with 542 additions and 386 deletions
|
@ -34,7 +34,7 @@ struct AigNode
|
|||
|
||||
AigNode();
|
||||
bool operator==(const AigNode &other) const;
|
||||
unsigned int hash() const;
|
||||
Hasher hash_acc(Hasher h) const;
|
||||
};
|
||||
|
||||
struct Aig
|
||||
|
@ -44,7 +44,7 @@ struct Aig
|
|||
Aig(Cell *cell);
|
||||
|
||||
bool operator==(const Aig &other) const;
|
||||
unsigned int hash() const;
|
||||
Hasher hash_acc(Hasher h) const;
|
||||
};
|
||||
|
||||
YOSYS_NAMESPACE_END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue