mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
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
Block a user