mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 17:06:15 +00:00
fixup! drivertools: Utility code for indexing and traversing signal drivers
This commit is contained in:
parent
d4e3daa9d0
commit
d90268f610
2 changed files with 14 additions and 10 deletions
|
@ -1165,6 +1165,7 @@ private:
|
|||
DriveBitId(int id) : id(id) { }
|
||||
|
||||
bool operator==(const DriveBitId &other) const { return id == other.id; }
|
||||
bool operator!=(const DriveBitId &other) const { return id != other.id; }
|
||||
bool operator<(const DriveBitId &other) const { return id < other.id; }
|
||||
unsigned int hash() const { return id; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue