mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
hashlib: redo interface for flexibility
This commit is contained in:
@@ -53,7 +53,7 @@ struct QlDspSimdPass : public Pass {
|
||||
DspConfig(const DspConfig &ref) = default;
|
||||
DspConfig(DspConfig &&ref) = default;
|
||||
|
||||
unsigned int hash() const { return connections.hash(); }
|
||||
Hasher hash_acc(Hasher h) const { h.acc(connections); return h; }
|
||||
|
||||
bool operator==(const DspConfig &ref) const { return connections == ref.connections; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user