From fb9a2788e8f87eb3ba2cbabd781e32b6e870b038 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 24 Mar 2013 00:43:22 +0100 Subject: [PATCH] dvisampler/charsync: fix found_control signal --- milkymist/dvisampler/charsync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/milkymist/dvisampler/charsync.py b/milkymist/dvisampler/charsync.py index 464a40b8f..f91ff3d5c 100644 --- a/milkymist/dvisampler/charsync.py +++ b/milkymist/dvisampler/charsync.py @@ -23,6 +23,7 @@ class CharSync(Module, AutoReg): found_control = Signal() control_position = Signal(max=10) + self.sync.pix += found_control.eq(0) for i in range(10): self.sync.pix += If(optree("|", [raw[i:i+10] == t for t in control_tokens]), found_control.eq(1),