+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 2
    Points: 19, Level: 1

    Join Date
    Nov 2017
    Posts
    2
    Helped
    0 / 0
    Points
    19
    Level
    1

    ModelSim Equivalent of Active-HDL's Path Coverage Option

    Hi,

    I'm converting my testbench to use ModelSim instead of Active-HDL. Active-HDL's path coverage option is a useful statistic (take a look at figures 3 and 4 in this example), but I can't seem to find an equivalent coverage option in ModelSim.

    Is anyone aware of a similar tool that exists in ModelSim? Thanks.

    •   Alt7th November 2017, 19:10

      advertising

        
       

  2. #2
    Advanced Member level 5
    Points: 19,386, Level: 33
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    3,738
    Helped
    805 / 805
    Points
    19,386
    Level
    33

    Re: ModelSim Equivalent of Active-HDL's Path Coverage Option

    I haven't used that feature a lot, but it does do code coverage.



    •   Alt8th November 2017, 02:20

      advertising

        
       

  3. #3
    Newbie level 2
    Points: 19, Level: 1

    Join Date
    Nov 2017
    Posts
    2
    Helped
    0 / 0
    Points
    19
    Level
    1

    Re: ModelSim Equivalent of Active-HDL's Path Coverage Option

    Quote Originally Posted by barry View Post
    I haven't used that feature a lot, but it does do code coverage.
    Are you saying that ModelSim naturally does this kind of code coverage when even the minimum coverage is turned on? I guess I could test it out. It just seems like that's such a special kind of coverage and I could see why Aldec made it an option to turn on and off.



    •   Alt8th November 2017, 16:24

      advertising

        
       

  4. #4
    Advanced Member level 3
    Points: 5,807, Level: 18

    Join Date
    Dec 2011
    Location
    Fremont, CA, USA
    Posts
    727
    Helped
    332 / 332
    Points
    5,807
    Level
    18
    Blog Entries
    4

    Re: ModelSim Equivalent of Active-HDL's Path Coverage Option

    Path coverage becomes unmanageable as your design grows in complexity. Modelsim/Questa offers different sets of code coverage metrics that you should look into. (for example. focused expression coverage FEC). But you need to realize that none of this tells you how much you've tested to meet the functional requirements your code is supposed to have implemented.

    Code coverage provides valuable information; it tells you what code in your design has been exercised. Without this information, portions of the design might not be exercised at all. However, just knowing design code has been exercised is not sufficient to determine if that code was exercised properly. It could be said that some of the higher forms of code coverage (such as, expression, branch, path, and state machine coverage) can give you more information about your code, but it is dangerous to make this assumption. Using these higher forms of code coverage can lead to false conclusions that can cost large amounts of time and money to verify.
    Dave Rich
    Senior Verification Consultant
    Mentor Graphics Corporation



--[[ ]]--