JAYSHAH
Newbie level 3

hello friends.
need help about copy info actually i wanna copy a class values which is already extended class. and i need that value in another extended class. so how to do it.??
any one have any idea abt it ? pls help me. here is the demo code i mean what i wanna say exactly.
class A extends other;
rand bit [1:0] in;
endclass
class B extends my;
int bit [1:0] in;
(so here i need this "bit" value same as that other's child class A. :?: )
endclass
so how should i do it ? :-? i'm in VLSI field. and i'm using UVM methodology.
any one have any idea abt it ? pls help me. here is the demo code i mean what i wanna say exactly.
class A extends other;
rand bit [1:0] in;
endclass
class B extends my;
int bit [1:0] in;
(so here i need this "bit" value same as that other's child class A. :?: )
endclass
so how should i do it ? :-? i'm in VLSI field. and i'm using UVM methodology.
Last edited: