Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Code coverage in modelsim

Status
Not open for further replies.

vcnvcc

Full Member level 2
Joined
Jul 21, 2006
Messages
132
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,210
modelsim code coverage

hi all....

In my modelsim, code coverage option is disable, how to enable it?

To enable it im trying-- file property(workspace)--coverage--ckeck all
But still coverage option is disable what to do???
 

modelsim coverage

hi,

Firstly, u need to compile ur design file with ur selected coverage. For example,

ModelSim > vlog -cover bcst file_name.v

Here, ur coverage are b=branch, c=condition, s=statement and t=toggle.

then,

ModelSim > vsim -coverage file_testbench.v

next, run -all.

OR, u can enable it using GUI. U go to Compile > Compile Options and select the Coverage tab.
Another option, u just right-click on ur design file at "Project" and choose "Properties". Now, u can see coverage tab.

Hope it helps.
 
code coverage modelsim

thanks no_mad 4 ur reply...

but "vlog -cover bcst file_name.v" this is not working in my modelsim...im using modelsim altera...

im trying this command vsim -coverage work.file_name

but he shows Error: Failure to license for coverage.
# Error loading design

i think i dont have license 4 that....But if this is license problm. then why it is simulating???

Is coverage license differce from normal one???

OK but finally what should i do for coverage.....????
can u give any idea......any one!!!!!!!!
 

vsim coverage

Hi,

ModelSim Altera is not the same as ModelSim PE or SE version. I did check on Altera website.

The ModelSim Altera edition software is licensed as a single language—either VHDL or Verilog HDL for each active subscription—and only supports Altera gate-level libraries.

It can do behavioral simulation, HDL testbench and TCL scripting.

U can check on Altera website:
https://www.altera.com/products/software/products/model/eda-ms.html#question_1

Now, back to ur next Q. What should I do for coverage?
Dude, u can request for software upgrade ;)...buy ModelSim PE or SE version.

-no_mad
 

    vcnvcc

    Points: 2
    Helpful Answer Positive Rating
failure to license for coverage

Thanks buddy for ur interest....

I have modelsim PE version as well (node lock license), but it's code coverage is also disable.

Now questn is i have node lock license for PE version, still why that option is not present??
I think is there any option that i have to enable, which inturn enables code coverage??

And as far as evaluation version is concern, Is any modelsim's evaluation version allows to do code coverage??

regards..
 

modelsim toggle

Hi, thanks for the help point.

Anyway, in my office we use ModelSim SE Plus 6.1 working both OS Linux and Windows XP.
Did u try all the methods tht I gave u earlier to enable coverage option in PE? Was there any warning or error message?

Another thing, ModelSim PE with node lock license has a limitation. The limitation is it can only have one simulation invoked with a node lock license.

Thus, I assume tht someone already invoke the vsim and at the same time u r also trying to invoke. So, tht is why u can use the coverage option.

As for evaluation version, I not sure. It should allow all features unless u request for specific feature only. This is only my personal opinion.

-no_mad
 

code coverage using linux modelsim

is it possible to do any of the coverage with the place and route results
in Modelsim SE?
 

coverage in modelsim

Hi no_mad

I have tried enabling option in modelsimPE, but it shows license error. I think coverage license is not included in that..

any way now i think only option is evaluation license wit special request of code coverage. Lets c if possible or not.....

Thanks!!!!!!!
 

error: failure to license for coverage

u can try out some gnu tools like "covered" for code coverage.....other gnu tools are available for functional,toggle coverage as well...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top