aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bitpattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/bitpattern.h')
-rw-r--r--kernel/bitpattern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/bitpattern.h b/kernel/bitpattern.h
index 05b2bbc24..91f54593f 100644
--- a/kernel/bitpattern.h
+++ b/kernel/bitpattern.h
@@ -66,8 +66,8 @@ struct BitPatternPool
bool match(bits_t a, bits_t b)
{
- assert(int(a.size()) == width);
- assert(int(b.size()) == width);
+ log_assert(int(a.size()) == width);
+ log_assert(int(b.size()) == width);
for (int i = 0; i < width; i++)
if (a[i] <= RTLIL::State::S1 && b[i] <= RTLIL::State::S1 && a[i] != b[i])
return false;