System Verilog Function Return Two Values Python