diff --git a/litedram/core/.multiplexer.py.swp b/litedram/core/.multiplexer.py.swp new file mode 100644 index 0000000..35e792a Binary files /dev/null and b/litedram/core/.multiplexer.py.swp differ diff --git a/litedram/core/multiplexer.py b/litedram/core/multiplexer.py index 66a60fe..10f69b4 100644 --- a/litedram/core/multiplexer.py +++ b/litedram/core/multiplexer.py @@ -136,7 +136,7 @@ class tXXDController(Module): # # # if txxd is not None: - count = Signal(max=max(txxd, 2)) + count = Signal(max=max(txxd+1, 2)) self.sync += \ If(valid, count.eq(txxd),