Systemverilog Class Inheritance Python Program