• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. System Verilog Functional Coverage using NCSIM

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 66
  • Views 22454
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

System Verilog Functional Coverage using NCSIM

ndalia
ndalia over 16 years ago

Hi,

 Are there any specific commands that are available for dumping functinoal coverage which would generate some report at the end of simulation? Currently I'm using Verdi to view the waveforms.

 Thanks

  • Cancel
  • Mickey
    Mickey over 16 years ago

    Hi Ndalia,

     If you add the following tcl command to ncsim, the tool will send the results of the assertions to the log file at the end of the simulation.

     assertion -summary -final

    Let me know if that helps.

    Best regards,
    Mickey

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ndalia
    ndalia over 16 years ago

    Hi Mickey,

     I am not using assertions based cover statements instead I'm using covergroups [with coverpoints & bins] to generate functional coverage at top level simulation which I trigger at a specific event in the test bench. Like for assertions based coverage I use $fsdbDumpSVA and verdi would then display all the required info.

    -Nishit

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mickey
    Mickey over 16 years ago

     Hi Nishit,

    Mind if we take this offline so I can understand the exact functionality of $fsdbDumpSVA so I can recommend something similar?

    Sounds like you are expecting data-oriented functional coverage.  Is the result with $fsdbDumpSVA a dump to the fsdb waveform database?  Or possibly a different type of database, like a coverage related database for example?

    Please feel free to email me directly at jrodrig@cadence.com.

    Best regards,
    Mickey

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mickey
    Mickey over 16 years ago

     Hi Nishit,

    To dump functional coverage of covergroups/coverpoints add "-coverage functional" to your elaboration command line.  The result will be a coverage database in a directory named cov_work.  You would then use iccr to analyze the results of the coverage.

    You can get more specific information on using iccr and coverage in general by reviewing the ICC User Guide within the IUS installation.

    Please feel free to email me (jrodrig@cadence.com) if you have any questions.

    Best regards,
    Mickey

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JonB
    JonB over 8 years ago
    For using the Cadence simulator solution, the switch argument for the -coverage option is no longer 'functional', but rather 'u', for indicating to add functional coverage recording to the simulation snapshot

    UNIX> irun -coverage u ......
    OR
    UNIX> ncelab -coverage u .....

    An alternative is to place the request into the Coverage Configuration File (CCF) as follows:
    select_functional
    select_coverage covergroup

    The tool is informed of the location of the CCF by use of the -covfile <path to CCF> command line switch.

    UNIX> irun -covfile ../../coverage/my.ccf ....
    OR
    UNIX> ncelab -covfile ../../coverage/my.ccf ....

    The analysis tool is no longer 'iccr', but is replaced by 'imc'.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mukukr
    mukukr over 4 years ago

    I am new to the Xcelium tool, I am using an Xcelium tool, I wanted to enable or dump coverage (functional + code) for my testbench, please help me w/ the command to enable/dump/open the coverage.

    thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mukukr
    mukukr over 4 years ago in reply to Mickey

    I am new to the Xcelium tool, I am using an Xcelium tool, I wanted to enable or dump coverage (functional + code) for my testbench, please help me w/ the command to enable/dump/open the coverage.

    thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mukukr
    mukukr over 4 years ago in reply to JonB

    I am new to the Xcelium tool, I am using an Xcelium tool, I wanted to enable or dump coverage (functional + code) for my testbench, please help me w/ the command to enable/dump/open the coverage.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information