asmicon/bankmachine/selector: fix round-robin CE

This commit is contained in:
Sebastien Bourdeauducq 2012-08-03 22:33:52 +02:00
parent df2b653c67
commit 6807dba8bc

View file

@ -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))