Skip to content

Commit

Permalink
genlib/fifo/AsyncFIFO: fix data corruption bug
Browse files Browse the repository at this point in the history
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
Original file line number Diff line number Diff line change
@@ -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)
]

0 comments on commit 9190568

Please sign in to comment.