XILINX Vivado VHDL using "printf"
&quot;printf&quot; and similar statements can only be used in simulation, not in synthesis.
FPGA vendors do however provide tools for on-chip debugging. I have used Altera's signaltap extensively and found it invaluable. I belive the Xilinx counterpart is chipscope but I have not used it myself.