How to run multiple testcases in questasim?

Sir,

  I have a multiple testcases in uvm based testbench environment, i want to run all the test cases. how it is possible in questasim?

The UVM is designed to run only one testcase starting at time 0. The testbench architecture can only be built at time 0.

If you are looking to run a series of tests without having to go back to time 0, and there are no changes to the testbench architecture for each test, then you can write your test as an individual sequence. Then you can run a sequential series of sequences, that are effectively your tests.

If different tests need different testbench architectures, but have the exact same DUT and interfaces, then you just need to supply a different +UVM_TESTNAME to the simulation command line. You will want to look at the user manual to find a way that avoids re-compiling and re-optimizing for each test.

In reply to dave_59:

Thanks

In reply to pppp40:

Dave,
correct me if i am going wrong here.
Can`t we use regress test cases in makefile or any other scripting language.
Anyway, it will call all the test cases one by oneā€¦

Regards
Ujjwal

In reply to Ujjwal Kaushik:

Ujjwal,

What you say is true, but that is no longer within Questa, or within any single simulation. It really depends on the intent of the original question, which is not clearly stated. Many people want to run multiple tests without the overhead of restarting the simulation.

In reply to dave_59:

Dave
So, when we use regress test case approach, does simulation really starts from the scratch every time for new sequence ?