remove redundant check
This commit is contained in:
@@ -6,10 +6,6 @@ class SVInt:
|
|||||||
self.value = value
|
self.value = value
|
||||||
self.width = width
|
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:
|
def __str__(self) -> str:
|
||||||
if self.width is not None:
|
if self.width is not None:
|
||||||
# Explicit width
|
# Explicit width
|
||||||
|
|||||||
Reference in New Issue
Block a user