Jump to content

When is the UVM_TESTNAME command line argument validated?

Recommended Posts

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?

Link to comment
Share on other sites

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

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.

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