I have a UVM testbench which gives the following errors when I compile:
$cast(arg, tr); // Need run-time casting because at compile time T1 can be scalar.
|
ncelab: *E,WOUPSR (/vl/edatools/extern/Cadence/INCISIV/15.2/087/tools/methodology/UVM/CDNS-1.1d/sv/src/tlm1/uvm_tlm_ifs.svh,229|12): A reference to an entire unpacked struct/union is not permitted in this context [SystemVerilog].
However, the code it points to is in the UVM base class library that comes with the installation. Clearly the problem is not with the uvm base class library, but the code in my testbench that calls the function.
Is there any way I can get Incisive to be more verbose in reporting the error and point me to the root cause of the problem in my testbench code?