dvisampler/decoding: set C to 0 during data

This commit is contained in:
Sebastien Bourdeauducq 2013-03-24 00:44:19 +01:00
parent fb9a2788e8
commit 99f9ffa7e8
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ class Decoding(Module):
### ###
self.sync.pix += self.output.de.eq(1) self.sync.pix += [
self.output.de.eq(1),
self.output.c.eq(0)
]
for i, t in enumerate(control_tokens): for i, t in enumerate(control_tokens):
self.sync.pix += If(self.input == t, self.sync.pix += If(self.input == t,
self.output.de.eq(0), self.output.de.eq(0),