diff --git a/src/peakrdl_busdecoder/sv_int.py b/src/peakrdl_busdecoder/sv_int.py index 140cd31..4b7ccb8 100644 --- a/src/peakrdl_busdecoder/sv_int.py +++ b/src/peakrdl_busdecoder/sv_int.py @@ -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