forked from M-Labs/artiq
1
0
Fork 0

grabber: fix pix.stb

This commit is contained in:
Sebastien Bourdeauducq 2018-07-24 11:32:32 +08:00
parent 60a7e0e40d
commit b38c685857
1 changed files with 1 additions and 1 deletions

View File

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