How can i inform the scoreboard the sequence i'm currently driving?

How can i inform the scoreboard the sequence i’m currently driving?

I need analyze data differently depending on the sequence the test is currently driving. That is: i just need to know at the scoreboard which sequence i’m currently running.

How could i do this?
Thank you for the help you can provide.

1 Like

It would help to know when and how often the sequence changes compared to when and how often the scoreboard needs to check. Also, would the sequence change before the scoreboard has a change to receive something from the monitor generated by the previous sequence.

You could use a configuration object, uvm_event, or uvm_queue pool classes.

Hello @dave_59,
At the moment i thought of something like this:

@ UVM run_phase:

  1. inform the scoreboard i’m about to send sequence A
  2. send/drive sequence A
  3. catch at the scoreboard the whole response A of the DUT
  4. wait until the DUT finishes processing sequence A, marked by the going low of a busy line
  5. inform the scoreboard i will send now sequence B
  6. send/drive sequence B
  7. … etc…

Given this scenario, what would you recommed to use?
Thank you for your help!

I think you are referring to sequence_items, not sequences. What information is in the item that is not seen by the driver?

The recommended approach is having the scoreboard receive everything from a monitor.