remove redundant check

This commit is contained in:
Arnav Sacheti
2025-11-09 22:36:14 -08:00
parent b66681f46a
commit e95069019a

View File

@@ -6,10 +6,6 @@ class SVInt:
self.value = value
self.width = width
if width is not None:
self.width = width
# assert (width is None) or (self.value.bit_length() <= width), "Value does not fit in specified width"
def __str__(self) -> str:
if self.width is not None:
# Explicit width