diff --git a/litescope/core.py b/litescope/core.py index 522eaf5..a2d8c89 100644 --- a/litescope/core.py +++ b/litescope/core.py @@ -122,7 +122,7 @@ class _Mux(Module, AutoCSR): # # # - value = Signal(max=n) + value = Signal(bits_for(n)) self.specials += MultiReg(self.value.storage, value, "scope") cases = {}