mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-12 23:46:40 +00:00
driver: add --hash-seed
This commit is contained in:
parent
d071489ab1
commit
953508f6d2
5 changed files with 21 additions and 35 deletions
|
@ -169,8 +169,11 @@ public:
|
|||
return !(*this == other);
|
||||
}
|
||||
|
||||
int hash() const {
|
||||
return mkhash(scope_name.hash(), hash_ptr_ops::hash(target));
|
||||
Hasher hash_acc(Hasher h) const
|
||||
{
|
||||
h.acc(scope_name);
|
||||
h.acc(target);
|
||||
return h;
|
||||
}
|
||||
|
||||
bool valid() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue