mirror of https://github.com/m-labs/artiq.git
grabber: fix pix.stb
This commit is contained in:
parent
60a7e0e40d
commit
b38c685857
|
@ -78,7 +78,7 @@ class Parser(Module, AutoCSR):
|
||||||
last_fval = Signal()
|
last_fval = Signal()
|
||||||
self.comb += [
|
self.comb += [
|
||||||
Cat(dval, fval, lval).eq(cl[14:17]),
|
Cat(dval, fval, lval).eq(cl[14:17]),
|
||||||
pix.stb.eq(dval),
|
pix.stb.eq(dval & fval & lval),
|
||||||
pix.eop.eq(~fval & last_fval),
|
pix.eop.eq(~fval & last_fval),
|
||||||
Cat(pix.a, pix.b, pix.c).eq(Cat(cl[i] for i in bitseq))
|
Cat(pix.a, pix.b, pix.c).eq(Cat(cl[i] for i in bitseq))
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue