digesh055 Posted April 24, 2012 Report Share Posted April 24, 2012 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." Quote Link to comment Share on other sites More sharing options...
uwes Posted April 24, 2012 Report Share Posted April 24, 2012 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) Quote Link to comment Share on other sites More sharing options...
digesh055 Posted April 25, 2012 Author Report Share Posted April 25, 2012 Hi, Thanks for reply, I don't have any typo in code. But it seems there may be problem in make file. As of now I am suppying a testcase in run_test argument. Quote Link to comment Share on other sites More sharing options...
digesh055 Posted May 2, 2012 Author Report Share Posted May 2, 2012 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. Quote Link to comment Share on other sites More sharing options...
uwes Posted May 2, 2012 Report Share Posted May 2, 2012 please supply more details or file a ccr with cadence support.im not aware of issues in that area. please check for any other messages (such as disabled DPI) or scripting issues. Quote Link to comment Share on other sites More sharing options...
digesh055 Posted May 2, 2012 Author Report Share Posted May 2, 2012 Now I am trying to print testcase name from both arguments(run_test, uvm_testname) in uvm root. The testcase name from run_test is getting printed properly but from UVm_testname it is printing blank. And UVM_NO_DPI is undefined in my case.. Quote Link to comment Share on other sites More sharing options...
uwes Posted May 2, 2012 Report Share Posted May 2, 2012 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 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.