SeanChou Posted November 21, 2012 Report Share Posted November 21, 2012 UVM exports, After debug, I thought the second argument (SEQR) missed in "__seq.set_item_context(this);" which implies to set_sequencer = NULL and cause the sequence could not find its sequencer and stop. could some one verify this? thanks! For my case the SEQ_OR_ITEM is an uvm_sequence, I am not sure the same error happens when its an item. `define uvm_rand_send_pri_with(SEQ_OR_ITEM, PRIORITY, CONSTRAINTS) \ begin \ uvm_sequence_base __seq; \ if (!$cast(__seq,SEQ_OR_ITEM)) start_item(SEQ_OR_ITEM, PRIORITY);\ else __seq.set_item_context(this); \ if ((__seq == null || !__seq.do_not_randomize) && !SEQ_OR_ITEM.randomize() with CONSTRAINTS ) begin \ `uvm_warning("RNDFLD", "Randomization failed in uvm_rand_send_with action") \ end\ if (!$cast(__seq,SEQ_OR_ITEM)) finish_item(SEQ_OR_ITEM, PRIORITY);\ else __seq.start(__seq.get_sequencer(), this, PRIORITY, 0);\ end Quote Link to comment Share on other sites More sharing options...
uwes Posted November 21, 2012 Report Share Posted November 21, 2012 this sounds like http://eda.org/svdb/view.php?id=4322. you may want to check if the mantis_4322 branch resolves that Quote Link to comment Share on other sites More sharing options...
SeanChou Posted November 21, 2012 Author Report Share Posted November 21, 2012 yes it is exactly the same. thanks a lot for uwes' quick response. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.