ifpk454 Posted August 18, 2011 Report Share Posted August 18, 2011 Starting on line 54 of ${UVM_HOME}/src/seq/uvm_sequence_library.svh is the documentation for how to use the sequence library class. Why is the sequence item type used as the argument to the `uvm_object_utils on line 55? It doesn't appear to be needed as I can omit this line, or change its argument to be my_seq_lib. Doesn't the `uvm_sequence_library_utils register this class with the factory, etc.? 54 //| class my_seq_lib extends uvm_sequence_library #(my_item); 55 //| `uvm_object_utils(my_item) 56 //| `uvm_sequence_library_utils(my_seq_lib) 57 //| function new(string name=""); 58 //| super.new(name); 59 //| init_sequence_library(); 60 //| endfunction 70 //| ... Quote Link to comment Share on other sites More sharing options...
jadec Posted August 18, 2011 Report Share Posted August 18, 2011 It looks like a bug in the comment. The argument to `uvm_object_utils should, of course, be the class being defined. It does not look like `uvm_seqeunce_library_utils does the factory registration. Quote Link to comment Share on other sites More sharing options...
uwes Posted August 19, 2011 Report Share Posted August 19, 2011 hi, i added http://eda.org/svdb/view.php?id=3739 for this and will add the fix to the 1.1a queue Quote Link to comment Share on other sites More sharing options...
ifpk454 Posted August 19, 2011 Author Report Share Posted August 19, 2011 Thanks for the clarification. Quote Link to comment Share on other sites More sharing options...
ifpk454 Posted August 19, 2011 Author Report Share Posted August 19, 2011 Excellent. hi, i added http://eda.org/svdb/view.php?id=3739 for this and will add the fix to the 1.1a queue 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.