From: Sebastien Bourdeauducq Date: Tue, 16 Jul 2013 16:49:35 +0000 (+0200) Subject: framebuffer: remove workaround for asyncfifo bug X-Git-Tag: 24jan2021_ls180~2862 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e3b84ad3671cc7cdbc38c201c3058c9e458346a;p=litex.git framebuffer: remove workaround for asyncfifo bug --- diff --git a/milkymist/framebuffer/lib.py b/milkymist/framebuffer/lib.py index 79ed0ad4..18b0be40 100644 --- a/milkymist/framebuffer/lib.py +++ b/milkymist/framebuffer/lib.py @@ -146,14 +146,13 @@ class FIFO(Module): self.vga_hsync_n.eq(~fifo_out.hsync), self.vga_vsync_n.eq(~fifo_out.vsync), If(pix_parity, - # FIXME: p0/p1 should be the other way around. Clarify this. - self.vga_r.eq(fifo_out.p0.r), - self.vga_g.eq(fifo_out.p0.g), - self.vga_b.eq(fifo_out.p0.b) - ).Else( self.vga_r.eq(fifo_out.p1.r), self.vga_g.eq(fifo_out.p1.g), self.vga_b.eq(fifo_out.p1.b) + ).Else( + self.vga_r.eq(fifo_out.p0.r), + self.vga_g.eq(fifo_out.p0.g), + self.vga_b.eq(fifo_out.p0.b) ) ] self.comb += fifo.re.eq(pix_parity)