forked from M-Labs/artiq
sayma: plausibility assertion on sawg data stream
This commit is contained in:
parent
37eb73bf5c
commit
379d29561b
|
@ -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))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue