Hello Forum,
Could you please help me in knowing the following concept of UVM:
While creating the new function in transaction class, i am passing the single argument like given below:
function new(string name = "");
super.new(name);
endfunction.
The same thing as above i am coding in my sequence. While creating the object of transaction and sequences using
type_id::create()
method, it is working in all the environment except in the test case. I am coding as given below:
seq = my_seq::type_id::create("seq", get_full_name());
The test case is giving the error as given below:
Illegal assignment to class C:/questasim_10.2c/uvm-1.1d.uvm_pkg::uvm_component from type String
Could you please help me in knowing or debugging this.
–Sunil