I am facing a compilation issue ::
Error-[SE] Syntax error
Following verilog source has syntax error :
variable type is not user defined type
"<ABSOLUTE_PATH_OF_RAL_regdef.svh FILE>",
37: token is 'custom_regs'
rand gen3_mphy_integ_t custom_regs ;
I have following code ::
class TOP_BLOCK extends uvm_reg_block ; // TOP LEVEL REGBLOCK
.... // Random handle to sub reg_blocks
rand gen3_mphy_integ_t custom_regs ; // Issue here
A handle name is user defined so I am unable to get the issue .
I compile the file containing declaration for gen3_mphy_integ_t ( reg_block ) prior to this TOP_BLOCK