System Verilog Function Output R