System Verilog Function Return Two Variables In C