From 379d29561bb327a6eccca9a43ddc4ad1d031262c Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 29 Dec 2017 19:15:40 +0100 Subject: [PATCH] sayma: plausibility assertion on sawg data stream --- artiq/gateware/targets/sayma_amc_standalone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/gateware/targets/sayma_amc_standalone.py b/artiq/gateware/targets/sayma_amc_standalone.py index c9361cee5..6a966e2b1 100755 --- a/artiq/gateware/targets/sayma_amc_standalone.py +++ b/artiq/gateware/targets/sayma_amc_standalone.py @@ -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))