JAYSHAH
Newbie level 3
- Joined
- Sep 1, 2009
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- INDIA
- Activity points
- 1,317
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: