Can we achive get_next_item without TLM Port

Status
Not open for further replies.

jdshah

Junior Member level 3
Joined
Dec 17, 2010
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Ahmedabad
Activity points
1,481
This may be a silly question.
I am wondering why we can not connect driver and sequencer with out port, to implement get_next_item and item_done.
Like,
Code:
driver.connect(sequencer)

Code:
function connect(uvm_component m_comp);
m_comp = sequencer
endfunction

while we call
Code:
driver.get_next_item();
it will call
Code:
m_comp.get_next_item

can anyone please guide on this?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…