Jump to content

Functional coverage- VCS


Recommended Posts

I am running many test cases in parallel and generating functional coverage report for every test case.

As test cases are running in parallel they are overwriting the VDB file.

 I want to generate different VDB files for every different test case.

how can I do that?

I am using VCS

I am new to VCS

Link to comment
Share on other sites

This is a tools issue and not a UVM topic per se. This forum focuses on UVM issues. Your problem probably needs to be discussed on a Synopsys forum (not Accellera).

That said, I believe vcs writes to log and database files located in the same directory where the tool was launched. So you should create separate directories for each run. This will likely require some simple (not necessarily trivial) scripting automation. vcs may also have some switches to help redirect file outputs. I recommend RTFM at a minimum.

 

Link to comment
Share on other sites

Hi vaibhav0901 - The best way to get answers to questions specifically about VCS is to either open a new support case via Synopsys Solvnet (https://solvnet.synopsys.com) or contact your local Synopsys Applications Engineer.

The short answer to your question is to use either the -cm_name or -cm_dir arguments on the simv command line to write vdb data to unique locations.  -cm_dir can create an entirely new vdb directory for the test's coverage results.  -cm_name creates a new section within an existing vdb.  When using -cm_name it is advisable to also use -cm_test, like this:

simv -cm line+cond+fsm -cm_name my_test -cm_test my_test +UVM_TESTNAME=my_test  # writes coverage data to the compile-time vdb under location "my_test"

regards,

Bart

 

 

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.

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