common/Bitslip: add assert on cycles.

This commit is contained in:
Florent Kermarrec 2020-10-08 17:16:21 +02:00
parent 6e8d37c873
commit 732df04413
1 changed files with 1 additions and 0 deletions

View File

@ -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
# # #