From fa8112c3f536406d5aa996c2778205c2a04a92ff Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 7 Jul 2013 18:57:05 +0200 Subject: [PATCH] dma_lasmi/Reader: handle ack=1 when stb=0 --- migen/actorlib/dma_lasmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/actorlib/dma_lasmi.py b/migen/actorlib/dma_lasmi.py index 691c771f0..4dab30182 100644 --- a/migen/actorlib/dma_lasmi.py +++ b/migen/actorlib/dma_lasmi.py @@ -21,7 +21,7 @@ class Reader(Module): lasmim.we.eq(0), lasmim.stb.eq(self.address.stb & request_enable), lasmim.adr.eq(self.address.payload.a), - self.address.ack.eq(lasmim.req_ack), + self.address.ack.eq(lasmim.req_ack & request_enable), request_issued.eq(lasmim.stb & lasmim.req_ack) ]