Hi,
with VCS, I am trying to register with the uvm factory an object which is embedded inside a SV interface, using the hierarchy name as a type name.
But VCS won't compile, whereas this scheme works with Questa.
Here is the code snippet :
interface my_if();
import my_pkg::*;
localparam string my_path=$sformatf("%m");
class my_c
function new() ....
typedef uvm_object_registry#(my_c,{"my_c",my_path}) type_id;
... etc ...
endclass
... etc ...
endinterface
I may be wrong, but the LRM doesn't seem to specify if this is supposed to work at