Error in device class creation -- *E TYCMPAT

In reply to Muthuvenkatesh:

Because AVERY_AHB_UVM or AVERY_AHB_OVM macro is defined but you didnt pass any value to ‘parent’ parameter of new function. Either you pass value to parent or you can set default value for ‘parent’ (null for example) and call:


master0 = new(MASTER_NAME,,0,AAHB_MASTER,ports);