Systemverilog Class Inheritance Swift