grabber: fix pix.stb

This commit is contained in:
Sebastien Bourdeauducq 2018-07-24 11:32:32 +08:00
parent 60a7e0e40d
commit b38c685857

View File

@ -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))
]