forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

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))