Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

genlib/fifo/AsyncFIFO: fix data corruption bug

  • Loading branch information...
commit 9190568685694189dff1e4c12d04c7f669736e46 1 parent 939f01c
David Carne davidcarne authored sbourdeauducq committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  migen/genlib/fifo.py
2  migen/genlib/fifo.py
View
@@ -126,7 +126,7 @@ def __init__(self, width_or_layout, depth):
rdport = storage.get_port(clock_domain="read")
self.specials += rdport
self.comb += [
- rdport.adr.eq(consume.q_binary[:-1]),
+ rdport.adr.eq(consume.q_next_binary[:-1]),
self.dout_bits.eq(rdport.dat_r)
]
Please sign in to comment.
Something went wrong with that request. Please try again.