Fix direction in stream assignment
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 5 Jun 2020 10:00:42 +0000 (12:00 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 5 Jun 2020 10:00:42 +0000 (12:00 +0200)
gram/core/bankmachine.py

index 29721c84c6634e182670427c66c1946b22695f16..5977dabba5963d528d3f374df0b33b8ded2e550f 100644 (file)
@@ -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),