I am creating a class with parameters.
now when I am taking object of this class in to other every time I have to do the same parameter passing again and again. Is there any way using like typedef etc using which I can create this .
class cfg#(no of parameters)
…
end class
class cfg_seq
cfg #(no of parameters) obj1;
cfg #(no of parameters) obj2;(how to use typedef)
end class