aaron626 Posted April 11, 2011 Report Posted April 11, 2011 Can anyone help me? In virtual sequence, it works if the first parameter for ovm_create_on is sequence. But if the first parameter is sequence_item, it can not work. Maybe it is a bug. (IUS92.36, UVM1.0p1) virtual task body(); repeat(1) begin $display("Start Create"); `uvm_create_on(seq, p_sequencer.seqr) $display("Start Randomize"); assert (seq.randomize()); $display("Start Send"); `uvm_send(seq) $display("Trans Complete"); $display("Start Create2"); `uvm_create_on(trans, p_sequencer.seqr) $display("Start Randomize2"); assert(trans.randomize() with { trans.addr == 'h1000; trans.read_write == READ; trans.size == 1; trans.error_pos == 1000; trans.transmit_delay == 10; } ) $display("Start Send2"); [COLOR="Red"] `uvm_send(trans) // Never returned from this macro ERROR[/COLOR] $display("Trans Complete2"); get_response(rsp); end endtask See the attached code, run testcase test_read_modify_write_2 with the following command: make -f Makefile.ius Quote
uwes Posted April 12, 2011 Report Posted April 12, 2011 hi, this could be a variant of mantis3414 http://eda.org/svdb/view.php?id=3414. can you try to rerun with a newer version of UVM? /uwe Quote
hugemx830202 Posted April 12, 2011 Report Posted April 12, 2011 do you mean UVM have released newer version of UVM1.0? I just checked with uvmworld website, it still uvm1.0p1, could you point us the weblink? Thanks Quote
aaron626 Posted April 12, 2011 Author Report Posted April 12, 2011 what is the newer version? I encountered this issue in uvm1.0p1. Quote
uwes Posted April 13, 2011 Report Posted April 13, 2011 hi, there are no newer "released" versions of UVM. BUT the bugfix branch of UVM (UVM_10X_DEV) has quite some fixes for some of the problems found. I was suggesting to try the bugfix branch or if that is not an option you may try the patch: http://uvm.git.sourceforge.net/git/gitweb.cgi?p=uvm/uvm;a=commitdiff;h=0aa7e3f11ebbac2d5ef50ad39eb55b0ee46bdf55 /uwe Quote
hugemx830202 Posted April 14, 2011 Report Posted April 14, 2011 Does UVM_10X_DEV lib fix uvm_config_db wildcard setting bugs? http://www.uvmworld.org/forums/showthread.php?173-uvm_config_db-NOT-work-as-expected-UVM1.0p1 Quote
Nesan Posted June 9, 2011 Report Posted June 9, 2011 Hi, Now only am start learning UVM/OVM methodology, Am not sure on this , anyway i have some point to remember . If you see the anatomy of the Sequence , m_sequencer is for seq_item . p_sequencer is for sequence . I think if you change the code like below it will work. `uvm_create_on(seq, m_sequencer.seqr). . Regards Nesan Quote
uwes Posted June 10, 2011 Report Posted June 10, 2011 hi, welcome to UVM - one thing to remember from the beginning is that fields and methods named m_* should be considered UVM private fields which should NOT be used in user code. /uwe Quote
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.