Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
2  migen/actorlib/dma_lasmi.py
@@ -21,7 +21,7 @@ def __init__(self, lasmim, fifo_depth=None):
21 21
 			lasmim.we.eq(0),
22 22
 			lasmim.stb.eq(self.address.stb & request_enable),
23 23
 			lasmim.adr.eq(self.address.payload.a),
24  
-			self.address.ack.eq(lasmim.req_ack),
  24
+			self.address.ack.eq(lasmim.req_ack & request_enable),
25 25
 			request_issued.eq(lasmim.stb & lasmim.req_ack)
26 26
 		]
27 27
 
2  migen/bus/lasmibus.py
@@ -85,7 +85,7 @@ def __init__(self, controllers, nmasters, cba_shift):
85 85
 					bank.we.eq(Array(self.masters)[rr.grant].we),
86 86
 					bank.stb.eq(Array(bank_requested)[rr.grant])
87 87
 				]
88  
-				master_req_acks = [master_req_ack | ((rr.grant == nm) & Array(bank_selected)[rr.grant] & bank.req_ack)
  88
+				master_req_acks = [master_req_ack | ((rr.grant == nm) & bank_selected[nm] & bank.req_ack)
89 89
 					for nm, master_req_ack in enumerate(master_req_acks)]
90 90
 				master_dat_acks = [master_dat_ack | ((rr.grant == nm) & bank.dat_ack)
91 91
 					for nm, master_dat_ack in enumerate(master_dat_acks)]

No commit comments for this range

Something went wrong with that request. Please try again.