Permalink
Browse files

asmicon/bankmachine/selector: fix round-robin CE

  • Loading branch information...
sbourdeauducq committed Aug 3, 2012
1 parent df2b653 commit 6807dba8bc6f35e5d58902afcd654bb9f92a1f78
Showing with 1 addition and 1 deletion.
  1. +1 −1 milkymist/asmicon/bankmachine.py
@@ -62,7 +62,7 @@ def get_fragment(self):
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))

0 comments on commit 6807dba

Please sign in to comment.