forked from M-Labs/artiq
grabber: reset *_good signals on end of frame
This reduces the amount of time the ROI engine produces invalid output after being reconfigured.
This commit is contained in:
parent
ea7f925852
commit
8bcba82b65
@ -146,6 +146,10 @@ class ROI(Module):
|
||||
If(pix.x == cfg.x1,
|
||||
x_good.eq(0)
|
||||
),
|
||||
If(pix.eop,
|
||||
y_good.eq(0),
|
||||
x_good.eq(0)
|
||||
),
|
||||
gray.eq(Cat(pix.a, pix.b)[shift:]),
|
||||
stb.eq(pix.stb),
|
||||
eop.eq(pix.eop)
|
||||
|
Loading…
Reference in New Issue
Block a user