From 6807dba8bc6f35e5d58902afcd654bb9f92a1f78 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 3 Aug 2012 22:33:52 +0200 Subject: [PATCH] asmicon/bankmachine/selector: fix round-robin CE --- milkymist/asmicon/bankmachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milkymist/asmicon/bankmachine.py b/milkymist/asmicon/bankmachine.py index 187a904d..ead10ca3 100644 --- a/milkymist/asmicon/bankmachine.py +++ b/milkymist/asmicon/bankmachine.py @@ -62,7 +62,7 @@ class _Selector: self.stb.eq( (self.slicer.bank(self.adr) == self.bankn) \ & (state == SLOT_PENDING)), - rr.ce.eq(self.ack), + rr.ce.eq(self.ack | ~self.stb), self.tag.eq(rr.grant) ] comb += [If((rr.grant == i) & self.stb & self.ack, slot.process.eq(1)) -- 2.30.2