From: Jean THOMAS Date: Fri, 5 Jun 2020 10:00:42 +0000 (+0200) Subject: Fix direction in stream assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce337cc125a4607db997a49037b122b5641093b0;p=gram.git Fix direction in stream assignment --- diff --git a/gram/core/bankmachine.py b/gram/core/bankmachine.py index 29721c8..5977dab 100644 --- a/gram/core/bankmachine.py +++ b/gram/core/bankmachine.py @@ -112,7 +112,7 @@ class BankMachine(Elaboratable): m.d.comb += [ #self.req.connect(cmd_buffer_lookahead.sink, include={"valid", "ready", "payload.we", "payload.addr"}), cmd_buffer_lookahead.sink.valid.eq(self.req.valid), - cmd_buffer_lookahead.sink.ready.eq(self.req.ready), + self.req.ready.eq(cmd_buffer_lookahead.sink.ready), cmd_buffer_lookahead.sink.payload.we.eq(self.req.we), cmd_buffer_lookahead.sink.payload.addr.eq(self.req.addr),