System Verilog Function Output Python Programming