# Pastebin 5GG7pSaC yield self._bus.addr.eq(self._read_address) yield self._bus.r_stb.eq(1) yield yield self._bus.r_stb.eq(0) x = yield self._bus.r_data print(x) yield #print(yield self._bus.r_data) x = yield self._bus.r_data print("data read", x) yield x = yield self._bus.r_data print(x) self._read_data = x self._read_address = None