Jump to content

NO Components instatiated (UVm, IUS 11.2)


Recommended Posts

Hi,

I am using IUS 11.2, I have supplied UVM_TESTNAME=test_name in command line arguments ,then also I am getting following error. What can be the cause for that?

Error Message : "UVM_FATAL @ 2004: reporter [NOCOMP] No components instantiated.

You must instantiate at least one component before calling run_test.

To run a test, use +UVM_TESTNAME or supply the test name in the

argument to run_test(). Exiting simulation."

Link to comment
Share on other sites

well, there are several causes:

- you have a typo and didnt use +UVM_TESTNAME=test_name on the commandline

- your test with the name "test_name" is not present (different name or typo) or has not been registered with the factory

- you didnt compile the class test_name (forgot to compile/include)

Link to comment
Share on other sites

Hi uwes,

I have checked properly once again,

If suppose I give testname in run_test() arguments, its taking correctly,

But If I give in command line vie +UVM_TESTNAME=test_name then it is not taking correctly,

What can be the cause for that?

I am using IUS11.1-g128.

Link to comment
Share on other sites

i still would bet that this is simply an invocation issue. if this is a script switch on command trace (set verbose or set -x) if this is a make (make -n). also double check that the option preceeding +UVM_TESTNAME=foo is not an option taking an arg and you didnt supply that arg (if so +UVM_TESTNAME=foo becomes the arg to the ius invocation option)

/uwe

Link to comment
Share on other sites

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.

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