Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Regarding Coverage excluding a module 

Last post Fri, Mar 8 2013 3:59 AM by hellohi. 4 replies.
Started by Mohan P 22 Jan 2013 03:47 AM. Topic has 4 replies and 1688 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Jan 22 2013 3:47 AM

    • Mohan P
    • Not Ranked
    • Joined on Tue, Jan 22 2013
    • Posts 4
    • Points 50
    Regarding Coverage excluding a module Reply
    Hi i am Mohan

    I am running, coverage report,, when i it is completed and the coverage report is showing covering all modules.

    But i don't need some of modules to be covered which this i can improve coverage report.

    I have entered like this to :
    deselect_coverage -module -betsa file_name.v  in iccr.key file.
     
    but while doing so it is not showing any coverage improvement.

    Please plese can any help out.
    • Post Points: 20
  • Tue, Jan 22 2013 6:10 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 268
    • Points 4,310
    Re: Regarding Coverage excluding a module Reply

    Mohan, iccr.key is a file generated by iccr, logging all the interactive commands that you typed.

    Try putting those commands into a Tcl file with some different name like iccr.tcl that won't get overwritten by iccr.

    In addition, the deselect_coverage command takes a list of module names, but you gave it a file name... 

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    Filed under:
    • Post Points: 5
  • Tue, Jan 22 2013 11:12 PM

    • Mohan P
    • Not Ranked
    • Joined on Tue, Jan 22 2013
    • Posts 4
    • Points 50
    RE: Regarding Coverage excluding a module Reply
    Ok Thanks for your reply.
     
    Please help  me to sort out this issue.
     
    Ex: There are a.v,b.v & c.v files in one Top_module.v
     
    then the coverage will be around 80%. To improve the coverage then any one (a/b/c.v) file,  if we want to remove from coverage.
     
     
    What will be the command to deselect any (a/b/c.v) files and how to use and where to be used to improve coverage.

    Please help to sort out this problem.............................

    With Regards,
    Mohan P
    • Post Points: 20
  • Wed, Jan 23 2013 4:09 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 268
    • Points 4,310
    Re: RE: Regarding Coverage excluding a module Reply

    Mohan, deselect_coverage works only on modules or instances, not on file names.

    You can use iccr or imc to manually exclude blocks of code, but that uses the GUI or the "mark" command in Tcl. Look at the section on "Manual Marking of Coverage" in the cdnshelp documentation tool for more detail on that.

    Another possibility is to use the pragma "coverage off" inside the verilog code to turn off coverage. For example:

    // top_module.v
    module top ();
    // pragma coverage off 
    `include "a.v"
    // pragma coverage on
    endmodule

     

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    • Post Points: 20
  • Fri, Mar 8 2013 3:59 AM

    • hellohi
    • Not Ranked
    • Joined on Fri, Jun 22 2012
    • Chennai, Tamil Nadu
    • Posts 4
    • Points 35
    Re: RE: Regarding Coverage excluding a module Reply

    Hi,

    I have a doubt, whether its possible to view the excluded list(refinement list) in the coverage HTML report generated using IMC ? Please help on this

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Mohan P at 22 Jan 2013 03:47 AM. Topic has 4 replies.