Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
genlib/fifo/AsyncFIFO: fix data corruption bug
  • Loading branch information
davidcarne authored and Sebastien Bourdeauducq committed Jul 17, 2013
1 parent 939f01c commit 9190568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/genlib/fifo.py
Expand Up @@ -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)
]

Expand Down

0 comments on commit 9190568

Please sign in to comment.