Command line arguments to define the model type of DUT

is there a command line arguments to define which model of the DUT is being tested in UVM?

I was thinking on something like: +UVM_MODEL_TYPE=rtl; or “+UVM_MODEL_TYPE=net;”

Thank you for your help!

In reply to stefaniecg:

You can customize the command line processor to your needs, i.e. you can add new switches, but you have to take care to evaluate these switches.

Thank you for your comment.

Perhaps another question:

What is the right methodology or the recommended way of running a UVM testbench with either the RTL or NET model ?

Is there a better way to handle this or a predefined one defined in the UVM?

In reply to stefaniecg:

What is different between RTL and the netlist in your design. I guess you have the same ports and the same interfaces. There might be differences regarding registers or assertions. Correct?

In reply to stefaniecg:

The UVM does not deal with the Testebench to DUT connection except through the use of interfaces connnected to the external ports of your DUT.

There are some indirect things you can do that make the transition from RTL to gates easier. This includes keeping physical timing away from your testbench and abstracting away any hierarchical references to the internals of your DUT.