How to send data from Monitor to Sequence

In reply to srikanth.verification:

the below are steps you can do :

  1. create an analysis port in monitor which is to send a txn’s item
  2. create an analysis fifo in sequencer which receives the txn’s from monitor
  3. connect analysis_port to fifo.analysis_export
  4. in sequence, wait for p_seqeuncer.fifo.get() to get txn’s monitor and do your logic there

sample code: Edit code - EDA Playground

there are many ways you can implement it but this is one of the way