loki Posted August 31, 2011 Report Share Posted August 31, 2011 When in the run flow is the UVM_TESTNAME command line argument value validated? IMO all command line argument values must be validated as soon as possible in the execution. It is quite frustrating and wasteful to learn about a typo in a testname 20 minutes into a simulation, and this has been my painful experience with VMM. Could this happen with UVM? Quote Link to comment Share on other sites More sharing options...
Roman Posted September 1, 2011 Report Share Posted September 1, 2011 Hi Loki, the run_test() method checks for the command line plusarg called UVM_TESTNAME and uses the plusarg string to lookup a factory registered uvm_component.The root node defines the test case to be executed by specifying the configuration of the testbench components and the simulus to be executed by them. You could check the "task uvm_root::run_test(string test_name="")" in the uvm_root.svh file Quote Link to comment Share on other sites More sharing options...
uwes Posted September 6, 2011 Report Share Posted September 6, 2011 hi, the UVM_TESTNAME is used very early when the root component starts to construct the hierarchy. UVM cant check if you did choose the right test it can only check if you supplied a testname which is available. /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.