2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

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 self.submodules += self.sawgs
for conv, ch in zip(self.jesd.core.sink.flatten(), 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)) self.sync.jesd += conv.eq(Cat(ch.o))