• 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. ICC code coverage constant values

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 13545
  • 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

ICC code coverage constant values

Binky
Binky over 13 years ago

 Hi,

I have a problem with the code coverage of constant values in my design.

In unit_one another one is instanciated like this:

unit_two : unit_two_name   

generic map (
      A => "00110010000",
      B => "01010011100")
    port map (
      clk => clk,
      rst_n => rst_n,
      C  => C,
      D  => D,
      E  => E      );

I'm working with a testbench for unit_one.

Incisive comprehensive coverage (ICC) shows something like this in its expression report:

  Line    Index  Coverage         Expression description
--------------------------------------------------------------------------------
   30 (   7)  25% (1/4)         F := F xor B;

                     F xor B          

              <--1--->    <----2----->

            index  hit | <1> <2>
          xor ----------------------
             (   1)    0 |  0   0  
             (   2)    0 |  0   1  
             (   3)    0 |  1   0 

 

Because of the constant values of A and B I can never reach the marked values.

The code coverage is now 98% but can I get 100% without marking out something?

What is the best way to deal with this problem?

Best regards,

Binky

 edit:

is it possible to exclude the embedded unit_two from icc?  The coverage for unit_two with its additional testbench is ok. The problem is only in higher levels of the design hirarchie, when unit_two is embeded.

  • Cancel
Parents
  • Binky
    Binky over 13 years ago

     What would help is a possibility to exclude a module from code coverage. Unit_two has a code coverage of 100% but is implemented in unit_one. I know pragmas, but is there a possibility to exclude unit_two?

     

     example

     

    Kind regards,

     

    Binky

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Binky
    Binky over 13 years ago

     What would help is a possibility to exclude a module from code coverage. Unit_two has a code coverage of 100% but is implemented in unit_one. I know pragmas, but is there a possibility to exclude unit_two?

     

     example

     

    Kind regards,

     

    Binky

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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