Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Puzzle Bank
  • SystemVerilog Language Puzzles25
  • Difficulty Guide
  • Full Topic Map
  • Interview-Day Tips
  • OOP & Testbench Puzzles25
  • Concurrency & Timing Puzzles25
  • Randomization & Constraint Puzzles25
  • SVA Assertion Puzzles25
  • Functional Coverage Puzzles25
    • Covergroup and Coverpoint Puzzles
    • Cross Coverage Puzzles
    • Coverage Options Puzzles
      • auto_bin_max and at_least together
      • Weighted aggregate coverage math
      • per_instance exposure of hidden holes
      • type_option.at_least across all instances
      • type_option.auto_bin_max bin grouping
      • option.weight zero removes metric influence
    • Coverage Closure and Sampling Timing Puzzles
    • Functional Coverage Puzzles: Tricky Q&A
  • Logic & Aptitude Puzzles25
  • Scenario & Debug Puzzles25
  • Interview Prep: Puzzle Rounds5
  • DV Puzzle Cheatsheet
Loading lesson

‹Coverage Options Puzzles
  1. Topics
  2. DV Interview Puzzles
  3. Functional Coverage Puzzles
  4. Coverage Options Puzzles
  5. type_option.auto_bin_max bin grouping

VLSI DV Interview Puzzles · All levels

type_option.auto_bin_max bin grouping

Find the denominator and percentage for a wide coverpoint constrained by type_option.auto_bin_max.

On this page

    Puzzle

    Difficulty: Medium · Puzzle 5 of 6 · Topic: Coverage Options Puzzles

    Find the denominator and percentage for a wide coverpoint constrained by type_option.auto_bin_max.

    Code

    design.sv
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    covergroup cg with function sample(bit [5:0] addr);
      cp_addr: coverpoint addr {
        type_option.auto_bin_max = 8;
      }
    endgroup
    
    initial begin
      cg c = new();
      c.sample(0);
      c.sample(7);
      c.sample(9);
      c.sample(17);
      c.sample(34);
    end

    Hint

    6-bit space has 64 values. auto_bin_max=8 groups values into 8 bins.

    Step-by-step solution

    Diagram
    1) Denominator is 8 auto bins.
    2) With roughly 8-value groups, samples map to groups: 0..7, 8..15, 16..23, 32..39.
    3) Unique groups hit are four bins.
    4) Coverage = 4/8 = 50%.

    Answer

    Answer: Scored bins = 8 and coverage = 50%.

    Why candidates get it wrong

    People sometimes still assume one bin per value and incorrectly report 5/64 instead of grouped-bin coverage.

    Interviewer follow-up

    Why might you prefer explicit semantic bins over auto grouping for signoff reviews?

    Related topics

    • Back to Coverage Options Puzzles

    • Functional Coverage Puzzles section

    Previous

    146 / 210

    Next: option.weight zero removes metric influence

    Up next

    Up nextoption.weight zero removes metric influence

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • auto_bin_max and at_least together
    • Weighted aggregate coverage math
    • per_instance exposure of hidden holes