From ea41b196dab219edfb89adcb8d3ccbb056d3d6b8 Mon Sep 17 00:00:00 2001 From: Michael Baier Date: Thu, 9 Jul 2026 09:00:59 +0200 Subject: [PATCH] Adding Widht Limit --- kernel/rtlil.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index e55caf35a..3e9b4ae21 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -99,6 +99,9 @@ namespace RTLIL PD_INOUT = 3 }; + // Maximum width in bits of RTLIL::Wire or RTLIL::Const + constexpr int WIDTH_LIMIT = 1 << 30; + struct Const; struct AttrObject; struct NamedObject;