3
0
Fork 0
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:
Jannis Harder 2024-04-17 14:52:36 +02:00 committed by Emily Schmidt
parent d4e3daa9d0
commit d90268f610
2 changed files with 14 additions and 10 deletions

View file

@ -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; }
};