From: Sebastien Bourdeauducq Date: Sat, 23 Mar 2013 23:43:22 +0000 (+0100) Subject: dvisampler/charsync: fix found_control signal X-Git-Tag: 24jan2021_ls180~3006 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb9a2788e8f87eb3ba2cbabd781e32b6e870b038;p=litex.git dvisampler/charsync: fix found_control signal --- diff --git a/milkymist/dvisampler/charsync.py b/milkymist/dvisampler/charsync.py index 464a40b8..f91ff3d5 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),