UVM new object compilation error

Make it to the Right and Larger Audience

Resolved UVM new object compilation error
2 Voices |3 Posts |1000+ | Discussion Rooom: Verification and Simulation

This topic contains 2 replies, has 2 voices, and was last updated by  amosone 4 years, 5 months ago.

  • Author
  • amosone
    Post count: 6


    Get UVM compilation error. Simplified the code to above but the error is still there as below:

    Compilation error: `uvm_object_utils(test_obj). Task/function call, or property/sequence instance does not specify all required formal arguments.

    Not sure why.


  • BSharp
    Post count: 1

    Amosone, I think what happens is when you call new(), you give it an extra parameter some_arg in addition to the name string. UVM macro’s new() only accepts a name string as its sole argument. Should be fine if you have the second argument removed.

  • amosone
    Post count: 6

    Thanks Bsharp! That was the issue. It is all good after i remove the 2nd argument some_arg. The UVM error message was confusing.

You must be logged in to reply to this topic.

Contact Us

Thanks for helping us better serve the community. You can make a suggestion, report a bug, a misconduct, or any other issue. We'll get back to you using your private message ASAP.


©2021  ValPont.com

Forgot your details?