From: Sebastien Bourdeauducq Date: Fri, 3 Aug 2012 20:33:52 +0000 (+0200) Subject: asmicon/bankmachine/selector: fix round-robin CE X-Git-Tag: 24jan2021_ls180~3093 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6807dba8bc6f35e5d58902afcd654bb9f92a1f78;p=litex.git asmicon/bankmachine/selector: fix round-robin CE --- 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))