Skip to the selected question
ASIC.FYI

ASIC Question Bank

1,000+ hardware interview questions
DescriptionQ250
Page ↗
Q250DVASIC interview problem

Assert bounded eventual completion

TechniquesSVALivenessBounded latency
DifficultyMedium
TopicTemporal Checks
LanguageSystemVerilog
Requirements3 checkpoints
01

Problem

Write an assertion stating that every start must be followed by done within 1 through N cycles.

Example input and output

Use this case to check your interpretation
Input
N=3; start at cycle2 and done at cycle5; separately try done in the same start cycle
Output
latency-3 completion passes; same-cycle completion fails the 1..3 consequent
Explanation

The reset-disabled property admits only the first through third later sampled edges unless the protocol explicitly changes that bound.

02

Requirements (3)

  • Sample on the positive clock edge.
  • Disable the property during active-low reset.
  • Do not allow same-cycle done unless the specification says so.