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
      • Named cross bins plus default ignore
      • Pure auto cross count
      • binsof-selected tuples with default ignore
      • intersect filter removes one tuple
      • illegal cross tuple does not close coverage
      • Three-way cross with only custom bins scored
    • Coverage Options Puzzles
    • 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

‹Cross Coverage Puzzles
  1. Topics
  2. DV Interview Puzzles
  3. Functional Coverage Puzzles
  4. Cross Coverage Puzzles
  5. Named cross bins plus default ignore

VLSI DV Interview Puzzles · All levels

Named cross bins plus default ignore

How many cross bins are actually scored, and what is final cross coverage?

On this page

    Puzzle

    Difficulty: Medium · Puzzle 1 of 6 · Topic: Cross Coverage Puzzles

    How many cross bins are actually scored, and what is final cross coverage?

    Code

    design.sv
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    covergroup cg with function sample(bit [2:0] len, bit [1:0] burst);
      cp_len: coverpoint len {
        bins short = {[0:3]};
        bins long  = {[4:5]};
        bins xlong = {[6:7]};
      }
    
      cp_burst: coverpoint burst {
        bins incr  = {0};
        bins wrap  = {1};
        bins fixed = {2};
      }
    
      x_len_burst: cross cp_len, cp_burst {
        bins smoke  = binsof(cp_len.short) && binsof(cp_burst.incr);
        bins stress = binsof(cp_len) intersect {[6:7]} && binsof(cp_burst.wrap);
        ignore_bins everything_else = default;
      }
    endgroup
    
    initial begin
      cg c = new();
      c.sample(1,0);
      c.sample(7,1);
      c.sample(5,2);
    end

    Hint

    default ignore removes all unnamed auto cross tuples from scoring.

    Step-by-step solution

    Diagram
    1) Scored bins are only smoke and stress -> denominator 2.
    2) sample(1,0) hits smoke.
    3) sample(7,1) hits stress.
    4) sample(5,2) falls in ignored default space.
    5) Cross coverage = 2/2 = 100%.

    Answer

    Answer: Scored cross bins = 2 and final cross coverage = 100%.

    Why candidates get it wrong

    Without checking default ignore, engineers often assume a full 3x3 cross denominator of 9 bins.

    Interviewer follow-up

    If ignore_bins everything_else is removed, what would coverage be with the same three samples?

    Related topics

    • Back to Cross Coverage Puzzles

    • Functional Coverage Puzzles section

    Previous

    136 / 210

    Next: Pure auto cross count

    Up next

    Up nextPure auto cross count

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • binsof-selected tuples with default ignore
    • intersect filter removes one tuple
    • illegal cross tuple does not close coverage