• 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. ICCR report generation issues for Multiple class instan...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 65
  • Views 12773
  • 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

ICCR report generation issues for Multiple class instances

Selvavinayak
Selvavinayak over 11 years ago
Hi ,
 
I create class entry_information which is extends from uvm_componemt
in that entry_information class I have one cover_group entry_group which will be sampled for every posedge clk
 
I created  five instances of the class  entry_information from the monitor class
 
When I see the coverage report i am able to see only one instance of covergroup.  I’m using ICCR to generate the coverage report
 
class entry_information extends uvm_compoment
 
   bit x;
   bit[7:0] y;
   covergroup  entry_group();
      option.per_instance = 1;
      option.goal         = 100;
  
      entry_x : coverpoint x
       {
          bins x_cnt[4] = {[0:4]};      
       }
      entry_y : coverpoint y
      {
         bins y_cnt[6]  = {[0:6]};
      }             
    endgroup
 
 
     function new(string name = "entry",uvm_component parent);
      super.new(name,parent);
      entry_group = new(name);
      entry_group.set_inst_name(name);
    endfunction
 
endclass
 
 
class monitor extends uvm_monitor
 
  entry information entry_info[5];
 
  function void build_phase();
    
    string inst_name;
    for(int i = 0 ; i < 5 ; i++)
      begin
        $format(inst_name,"entry[%d]",i);
        entry_info[i] = entry_info::type_id::create( .name( inst_name ),.parent( this ));
      end
  endfunction
 
  task run
   forever
     begin
        @(posedge clk);
        for(int i = 0 ; i < 5 ; i++)
            entry_info[i].entry_group.sample();
     end
  endtask
 
Thanks,
Selvavinayakam.na 
  • 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