Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

Switching between data_items during simullation

$
0
0

Hi , 

 

I would like to use some data items in one test: frame_packet,  short_packet , illegal_packet.

 

In the uvm documentation i found that in order to switch between packets i should use factory setting in the test:

 

frame_packet::type_id::set_type_override(short_packet::get_type());

 

according to my understanding this completly replaces that data item and does not leave option to use frame_packet in this test.

 

Is there any other way to do it?

 

Thanks, 

Ilan

 

 

 


Viewing all articles
Browse latest Browse all 756

Trending Articles