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:
parent
33749f1e3a
commit
4708907be8
2 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue