dvisampler/charsync: fix found_control signal
This commit is contained in:
parent
80f3e97ca9
commit
fb9a2788e8
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue