I am facing this type of fatal error, code as below
function void write (apb_master_items t);
And I am sampling in scoreboard file like,
Cov_h.cg_apb.sample(item_h.PRESETn, item_h.PCLK, item_h.PWRITE, item_h.PADDR, item_h.PWDATA, item_h. PRDATA);
I have created item_h file also
Fatal - bad handle or reference
Fatal: Trouble with simulation kernel.
I can't understand how to solve this error, kindly help to solve this fatal error.