sayma: plausibility assertion on sawg data stream

This commit is contained in:
Robert Jördens 2017-12-29 19:15:40 +01:00
parent 37eb73bf5c
commit 379d29561b

View File

@ -95,6 +95,7 @@ class AD9154(Module, AutoCSR):
self.submodules += self.sawgs
for conv, ch in zip(self.jesd.core.sink.flatten(), self.sawgs):
assert len(Cat(ch.o)) == len(conv)
self.sync.jesd += conv.eq(Cat(ch.o))