Questa command line to run OVM simulation

I am having my simulation fine with irun and would like to try out questa too.

Can anyone tell me what command line options i need with questa?

Looks like +sv and -ovm cannot be used with questa. I am not even use of +OVM_TESTNAME can be used.

help!

You will find ‘run_questa’ scripts in each example directory. These scripts will show you the various ways to compile/run OVM testbenches with Questa.

hmm, i could not find any run_questa scripts in the examples directory in my questa installation.

FYI: i am using qverilog. I tried to pass in the .f file for the source files. Then i also passed in +OVM_TESTNAME. but when i check the logs, it is not using any of these switches.

Can you give me an example command line to run a module that uses OVM library?

Sorry I wasn’t specific enough. If you download the OVM source code from this website, there is an examples directory. This is where the ‘run_questa’ scripts are located.

I think i found the answer. correct me if i am wrong.

When using irun from cadence, all the switches (both compile and run-time) are provided in no order and *.f file and supplied to irun.

Looks like with qverilog, i need to give the run time options after the -R.

so it looks like

qverilog -R

I was actually looking for this syntax and documentation about other swicthes in the docs directory of Questa. But i could not find them in the pdfdocs. any idea which documentation carries this info?

Thanks!!