diff --git a/mibuild/sim/server_tb.cpp b/mibuild/sim/server_tb.cpp index 9e7139d7e..f93e2962c 100644 --- a/mibuild/sim/server_tb.cpp +++ b/mibuild/sim/server_tb.cpp @@ -137,8 +137,8 @@ int console_service(struct sim *s) /* console --> fpga */ SERIAL_SINK_STB = s->rx_serial_stb; SERIAL_SINK_DATA = s->rx_serial_data; - if (s->rx_serial_stb) - s->rx_serial_presented = 1; + if (SERIAL_SINK_STB & SERIAL_SINK_ACK) + s->rx_serial_presented = s->rx_serial_stb; return 0; }