verilog-uart icon indicating copy to clipboard operation
verilog-uart copied to clipboard

Hello, what's the difference between ready and busy in practice(usart_tx.rbl)

Open jinbangju opened this issue 1 year ago • 2 comments

Hello, what's the difference between ready and busy in practice(usart_tx.rbl)

jinbangju avatar Oct 16 '23 03:10 jinbangju

In general, "busy" is a status signal and "tready" is a handshaking signal. The operation of tready is also specifically defined by the AXI specification, while busy is not. And the signals are not necessarily going to be related. For instance, it's entirely possible for tready to be 1 when busy is also 1, if the module isn't finished performing some operation (hence busy is high) but it is ready to accept more input data (hence tready is high).

If you want to know if the module is ready to accept data, look at tready. If you want to have some general indication of whether the module is busy performing some operation, look at busy. Note that busy may not be provided on all modules.

alexforencich avatar Oct 16 '23 05:10 alexforencich

Got it. Thank you.

jinbangju avatar Oct 17 '23 07:10 jinbangju