aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClaire Xenia Wolf <claire@clairexen.net>2021-09-10 16:51:34 +0200
committerClaire Xenia Wolf <claire@clairexen.net>2021-09-10 16:51:34 +0200
commit4708907be8249d93a2aefbb36e4420a8b2054df3 (patch)
tree3a7fdd849cb41443ec26fc002c35fb9d8b3b4387 /kernel/rtlil.h
parent33749f1e3aea0d0ee4d1b5b29eb00f3e4f4bae41 (diff)
downloadyosys-4708907be8249d93a2aefbb36e4420a8b2054df3.tar.gz
yosys-4708907be8249d93a2aefbb36e4420a8b2054df3.tar.bz2
yosys-4708907be8249d93a2aefbb36e4420a8b2054df3.zip
Add additional check to SigSpec
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 50707c0ae..06198b26a 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -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
};