Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

genlib/fifo/AsyncFIFO: fix data corruption bug

  • Loading branch information...
commit 9190568685694189dff1e4c12d04c7f669736e46 1 parent 939f01c
David Carne authored July 17, 2013 sbourdeauducq committed July 17, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  migen/genlib/fifo.py
2  migen/genlib/fifo.py
@@ -126,7 +126,7 @@ def __init__(self, width_or_layout, depth):
126 126
 		rdport = storage.get_port(clock_domain="read")
127 127
 		self.specials += rdport
128 128
 		self.comb += [
129  
-			rdport.adr.eq(consume.q_binary[:-1]),
  129
+			rdport.adr.eq(consume.q_next_binary[:-1]),
130 130
 			self.dout_bits.eq(rdport.dat_r)
131 131
 		]
132 132
 

0 notes on commit 9190568

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