Jump to content

Virtual sequence & configuration db


Recommended Posts

I am using a virtual sequence to control multiple sequencers, i am having trouble getting a configuration object from the database. Is there anything additional that has to be done to retrieve configuration objects from the configuration database, when using virtual sequences?

Ultimately I would like to use the configuration object to pass a task to allow the virtual sequence to wait for an IRQ,

I would connect the configuration objects virtual interface in the build phase of the test, thus allowing the task to wait for the IRQ

Link to post
Share on other sites
  • 2 weeks later...

Perhaps you can post the code you are using to set and get the configuration (along with the context)?

SystemVerilog tasks are not objects so they can't be passed directly via config.

Normally, I'd expect the "wait for IRQ" function to be implemented in a component and for a handle to that component to be given to the virtual sequencer during the connect_phase (where the sequence can later access it). Config is generally not used for such connections.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...