I am developing various verilog modules with state machine for a fpga board.
When i have done simulation of the modules i have used "$display" to get what is happening in the module or otherwise the status information.
Now i am implementing the same modules on the fpga. As "$display" does not support in hardware i thought of using UART to send the status information to a terminal in PC or Computer.
For that i am using the UART verilog model obtained from opencore.org. But at a time only one byte can be supplied to UART for transmission.
But status information contains various lengths of characters such as "Test passed", "Entered reset state" etc.
Is there any easy method to send variable length strings on UART port much like a $display syntax.