From b38c685857afb65609766fb5443375a9e971b57b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 24 Jul 2018 11:32:32 +0800 Subject: [PATCH] grabber: fix pix.stb --- artiq/gateware/grabber/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/grabber/core.py b/artiq/gateware/grabber/core.py index c0378a9f1..d9dac3d12 100644 --- a/artiq/gateware/grabber/core.py +++ b/artiq/gateware/grabber/core.py @@ -78,7 +78,7 @@ class Parser(Module, AutoCSR): last_fval = Signal() self.comb += [ Cat(dval, fval, lval).eq(cl[14:17]), - pix.stb.eq(dval), + pix.stb.eq(dval & fval & lval), pix.eop.eq(~fval & last_fval), Cat(pix.a, pix.b, pix.c).eq(Cat(cl[i] for i in bitseq)) ]