3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Add additional check to SigSpec

Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
Claire Xenia Wolf 2021-09-10 16:51:34 +02:00
parent 33749f1e3a
commit 4708907be8
2 changed files with 14 additions and 6 deletions

View file

@ -965,9 +965,9 @@ public:
unsigned int hash() const { if (!hash_) updhash(); return hash_; };
#ifndef NDEBUG
void check() const;
void check(Module *mod = nullptr) const;
#else
void check() const { }
void check(Module *mod = nullptr) const { }
#endif
};