Fix exception when tready not connected
This commit is contained in:
@@ -541,6 +541,7 @@ class AxiStreamSink(object):
|
|||||||
|
|
||||||
await RisingEdge(self.clock)
|
await RisingEdge(self.clock)
|
||||||
|
|
||||||
|
if hasattr(self.bus, "tready"):
|
||||||
self.bus.tready <= (not self.full() and not self.pause)
|
self.bus.tready <= (not self.full() and not self.pause)
|
||||||
|
|
||||||
async def _run_pause(self):
|
async def _run_pause(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user