---
+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Full Member level 2
    Points: 2,150, Level: 10

    Join Date
    Jul 2006
    Posts
    121
    Helped
    2 / 2
    Points
    2,150
    Level
    10

    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???

  2. #2
    Full Member level 5
    Points: 3,932, Level: 14

    Join Date
    Dec 2004
    Location
    Naboo
    Posts
    266
    Helped
    29 / 29
    Points
    3,932
    Level
    14

    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.



    •   Alt26th February 2007, 09:01

      advertising

        
       

  3. #3
    Full Member level 2
    Points: 2,150, Level: 10

    Join Date
    Jul 2006
    Posts
    121
    Helped
    2 / 2
    Points
    2,150
    Level
    10

    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!!!!!!!!



    •   Alt26th February 2007, 10:27

      advertising

        
       

  4. #4
    Full Member level 5
    Points: 3,932, Level: 14

    Join Date
    Dec 2004
    Location
    Naboo
    Posts
    266
    Helped
    29 / 29
    Points
    3,932
    Level
    14

    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:
    http://www.altera.com/products/softw...tml#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


    1 members found this post helpful.

    •   Alt27th February 2007, 02:06

      advertising

        
       

  5. #5
    Full Member level 2
    Points: 2,150, Level: 10

    Join Date
    Jul 2006
    Posts
    121
    Helped
    2 / 2
    Points
    2,150
    Level
    10

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



  6. #6
    Full Member level 5
    Points: 3,932, Level: 14

    Join Date
    Dec 2004
    Location
    Naboo
    Posts
    266
    Helped
    29 / 29
    Points
    3,932
    Level
    14

    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



  7. #7
    Newbie level 3
    Points: 1,102, Level: 7

    Join Date
    Nov 2006
    Posts
    4
    Helped
    0 / 0
    Points
    1,102
    Level
    7

    code coverage using linux modelsim

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



  8. #8
    Full Member level 2
    Points: 2,150, Level: 10

    Join Date
    Jul 2006
    Posts
    121
    Helped
    2 / 2
    Points
    2,150
    Level
    10

    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!!!!!!!



  9. #9
    Member level 1
    Points: 1,317, Level: 8

    Join Date
    Nov 2006
    Posts
    41
    Helped
    1 / 1
    Points
    1,317
    Level
    8

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



+ Post New Thread
Please login

LinkBacks (?)

  1. 2nd December 2012, 10:49