Jump to content

Problem with uvm_object_utils

Recommended Posts

Hi All,

I am getting following error message while using `uvm_object_utils to register a sequence :


  1)  m_do_cycle_check is not a class item

  2)  Expecting a function name

  3)  m_uvm_cycle_scopes is not a class item.



Please let me know if any one knows about these issues.



Thanks and Regards,


Link to comment
Share on other sites

I see errors like this when the macro is not called correctly. Check these:

  1. If the object is parameterized you should be using `uvm_object_param_utils (<object_name>#(<parameters>)).
  2. make sure that the argument to the macro contains the name of the class and there are no typos.
  3. Make sure the registration macro isn't called more than once.

Other than that, it would be helpful to see your source code.

Link to comment
Share on other sites

class addr_hole_seq extends uvm_sequence # (uvm_sequence_item);

In the code you've parameterized with uvm_sequence_item - is that what you meant to do? Or do you have some transaction class derived from uvm_sequence_item that should be used as the parameter?



P.S. As Dave says, the exact error message would be helpful.

Link to comment
Share on other sites

  • 2 months later...

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.

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