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
    • Sequence Puzzles
      • Exact Delay Then Bounded Hold
      • Goto Repetition With Sparse Events
      • Nonconsecutive Repetition [=2]
      • Sequence and Operator
      • Intersect End-Time Mismatch
      • within and Alternative Windows
    • Implication Puzzles
    • Temporal Corner Puzzles
    • Assertion Debug Puzzles
    • SVA Assertion Puzzles: Tricky Q&A
  • Functional Coverage Puzzles25
  • Logic & Aptitude Puzzles25
  • Scenario & Debug Puzzles25
  • Interview Prep: Puzzle Rounds5
  • DV Puzzle Cheatsheet
Loading lesson

‹Sequence Puzzles
  1. Topics
  2. DV Interview Puzzles
  3. SVA Assertion Puzzles
  4. Sequence Puzzles
  5. Goto Repetition With Sparse Events

VLSI DV Interview Puzzles · All levels

Goto Repetition With Sparse Events

Property intent: after start, observe two occurrences of a (not necessarily consecutive), then one cycle later done. Timeline: C20 start=1, C22 a=1, C24 a=1, C25 d1. Determine the verdict.

On this page

    Puzzle

    Difficulty: Medium · Puzzle 2 of 6 · Topic: Sequence Puzzles

    Property intent: after start, observe two occurrences of a (not necessarily consecutive), then one cycle later done. Timeline: C20 start=1, C22 a=1, C24 a=1, C25 done=1. Determine the verdict.

    Code

    design.sv
    property p_seq_goto;
      @(posedge clk) start |-> ##1 a[->2] ##1 done;
    endproperty

    Hint

    Compare [->2] behavior to [*2].

    Step-by-step solution

    Diagram
    1) start triggers at C20; ##1 shifts matching window to C21 onward.
    2) a[->2] consumes two a hits at C22 and C24, allowing gaps.
    3) ##1 done then requires done at C25.
    4) done is high at C25, satisfying consequent.

    Answer

    Answer: PASS - [->2] allows non-consecutive matches, so hits at C22/C24 are legal and done arrives exactly one cycle later.

    Why candidates get it wrong

    Interviewees frequently misread [->2] as consecutive repetition and incorrectly fail this waveform.

    Interviewer follow-up

    How would verdict change if the sequence used a[*2] instead of a[->2]?

    Related topics

    • Back to Sequence Puzzles

    • SVA Assertion Puzzles section

    Previous

    106 / 210

    Next: Nonconsecutive Repetition [=2]

    Up next

    Up nextNonconsecutive Repetition [=2]

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Sequence and Operator
    • Intersect End-Time Mismatch
    • within and Alternative Windows