Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

framebuffer: remove workaround for asyncfifo bug

  • Loading branch information...
commit 7e3b84ad3671cc7cdbc38c201c3058c9e458346a 1 parent 8c44c72
Sébastien Bourdeauducq authored July 16, 2013

Showing 1 changed file with 4 additions and 5 deletions. Show diff stats Hide diff stats

  1. 9  milkymist/framebuffer/lib.py
9  milkymist/framebuffer/lib.py
@@ -146,14 +146,13 @@ def __init__(self):
146 146
 			self.vga_hsync_n.eq(~fifo_out.hsync),
147 147
 			self.vga_vsync_n.eq(~fifo_out.vsync),
148 148
 			If(pix_parity,
149  
-				# FIXME: p0/p1 should be the other way around. Clarify this.
150  
-				self.vga_r.eq(fifo_out.p0.r),
151  
-				self.vga_g.eq(fifo_out.p0.g),
152  
-				self.vga_b.eq(fifo_out.p0.b)
153  
-			).Else(
154 149
 				self.vga_r.eq(fifo_out.p1.r),
155 150
 				self.vga_g.eq(fifo_out.p1.g),
156 151
 				self.vga_b.eq(fifo_out.p1.b)
  152
+			).Else(
  153
+				self.vga_r.eq(fifo_out.p0.r),
  154
+				self.vga_g.eq(fifo_out.p0.g),
  155
+				self.vga_b.eq(fifo_out.p0.b)
157 156
 			)
158 157
 		]
159 158
 		self.comb += fifo.re.eq(pix_parity)

0 notes on commit 7e3b84a

Please sign in to comment.
Something went wrong with that request. Please try again.