dvisampler/datacapture: swap bit pairs
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 4 May 2013 18:38:50 +0000 (20:38 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 4 May 2013 18:38:50 +0000 (20:38 +0200)
milkymist/dvisampler/datacapture.py

index 0273696f170c491a4c15975ccb949a11b93a3aac..fa0caab16a85150443d0dba58036ed0b3c32b881 100644 (file)
@@ -156,5 +156,5 @@ class DataCapture(Module, AutoCSR):
                        d1i.eq(d1 ^ invert)
                ]
                dsr = Signal(10)
-               self.sync.pix5x += dsr.eq(Cat(dsr[2:], d0i, d1i))
+               self.sync.pix5x += dsr.eq(Cat(dsr[2:], d1i, d0i))
                self.sync.pix += self.d.eq(dsr)