PDA

View Full Version : The port of sequencer



rex89072
03-30-2009, 12:26 AM
Hi,
My understanding is that a sequencer has a default seq_item_export.

1. Is it possible to extend ovm_sequencer and add more ports which are connected to other sequencers?

2. Can I send sequence item through send_request() to specific port?

3. If the answer is positive, how can I know the sequence item is sent by which port?
For example, the sequencer S1 contains two ports p1 and p2. S1.p1 is connected to S3.p3 and S1.p2 is connected to S4.p4. When I log the sequence item on S1, can I know that the sequnece item is sending by S1.p1 or S1.p2 ?

4. I am confused by the relationships between sequencer, sequence and seq_item_export.
My understanding is that any sequence item sent by send_request() is put to seq_item_export and goes to driver eventually. I tried to trace codes into send_request() and found that the sequence item is sent from the send_request() of sequence to send_request() of the sequencer.
In the end, the sequence item is put into tlm_fifo.
I do find many ports like blocking_put_export, nonblocking_put_export and put_exportin tlm_fifo. However, I can't find any connection between these ports and seq_item_export.

Thanks for your help!

Best regards
rex