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;