From e95069019a9b91dda26c15ddf40fe48f52f304f9 Mon Sep 17 00:00:00 2001 From: Arnav Sacheti <36746504+arnavsacheti@users.noreply.github.com> Date: Sun, 9 Nov 2025 22:36:14 -0800 Subject: [PATCH] remove redundant check --- src/peakrdl_busdecoder/sv_int.py | 4 ---- 1 file changed, 4 deletions(-) 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