From 732df044136347bcf2a36e46115c05cf71a28270 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 8 Oct 2020 17:16:21 +0200 Subject: [PATCH] common/Bitslip: add assert on cycles. --- litedram/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litedram/common.py b/litedram/common.py index dd58618..94f9481 100644 --- a/litedram/common.py +++ b/litedram/common.py @@ -122,6 +122,7 @@ class BitSlip(Module): self.o = Signal(dw) if o is None else o self.rst = Signal() if rst is None else rst self.slp = Signal() if slp is None else slp + assert cycles >= 1 # # #