Jump to content

Recommended Posts

Posted (edited)

Does anybody have recommendations on how to work around the fact that a wait_for_grant with lock_request can obtain lock before being granted when relevancy is in play?

I am looking to have one sequence (say, sequence 'A') obtain a lock and grant only when relevant, while allowing a separate sequence (say, sequence 'B') to obtain grant in the meantime. Apparently, sequence A can obtain lock but not be granted which chokes out sequence B causing the driver to hang.

From uvm_sequencer_base.sv

// Task: wait_for_grant

//

// This task issues a request for the specified sequence. If item_priority

// is not specified, then the current sequence priority will be used by the

// arbiter. If a lock_request is made, then the sequencer will issue a lock

// immediately before granting the sequence. (Note that the lock may be

// granted without the sequence being granted if is_relevant is not asserted).

//

Edited by Armond

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...