TLm ports

Hello,
Is there any method to get the item in monitor from sequence.
ie,sequence to monitor.
Please help me to find a solution…
Thanks in advance…

In reply to Divyaa:

By Definition, Monitor should only probe the interface it shouldn’t get biased by sequence or anyother component.

If you tell us more about your problem may be we can suggest something else.

In reply to Vinay Jain:

The intent of the “input” monitor is to ensure that the driver has truly driven the input interface the right way (timing accurate). So, the input-side monitor, in essence, translates bus-level activity back to transactions, which are eventually forwarded to the scoreboard.

If you are still looking for a hack, where you want to bypass the input monitor altogether, please look at this post:

https://verificationacademy.com/forums/uvm/uvm-way-passing-information-monitor-sequence-agent

In reply to Sushrut Veerapur:

I just want the item generated in sequence to be in monitor…
How can i get the item from monitor…
Is there any way.
I think we can send item from monitor to sequence…
I dont know whether vice versa is possible.

In reply to Divyaa:

Here’s an example method:

  1. Create a queue class (wrapper class around a queue)
  2. Instantiate queue classes - one instance in sequence, another in monitor.
  3. Populate the sequence queue every time you create sequence item
  4. Connect monitor.queueClass = sequence.queueClass in your test.

Note: The monitor queue class is pointing to the sequence queue class (not just a queue), and hence see what is populated by the sequence.

Hi Divya,

if you want to monitor item generated in sequence use a queue and push everytime you generate new item and print in report phase or whenever you want but monitor is actually there to monitor the protocol bus or DUT signal not what you want to drive.

Also you can add callback in driver,which you can use to print/collect item before you drive.

-Vinay Jain
v4verification.com

In reply to Sushrut Veerapur:

Thanks all…I will try these methods and get back to you…
If there is any more possibilities pls let me know…