dvisampler/decoding: set C to 0 during data
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 23 Mar 2013 23:44:19 +0000 (00:44 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 23 Mar 2013 23:44:19 +0000 (00:44 +0100)
milkymist/dvisampler/decoding.py

index d051a86c5b0f85544123ef0f91303f988f5a1889..de44f55f01175e48f0a1595536a994a6f5f02121 100644 (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):
                        self.sync.pix += If(self.input == t,
                                self.output.de.eq(0),