Systemverilog Function Local Variable In Python 3