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 comment
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 comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...