Skip to the selected question
ASIC.FYI

ASIC Question Bank

1,000+ hardware interview questions
DescriptionQ252
Page ↗
Q252DVASIC interview problem

Non-blocking global timeout

TechniquesWatchdogforkGlobal timeout
DifficultyMedium
TopicTemporal Checks
LanguageSystemVerilog
Requirements3 checkpoints
01

Problem

Start a background timer that ends the test after a fixed number of clock cycles.

Example input and output

Use this case to check your interpretation
Input
start global_timeout(name="smoke",cycles=50)
Output
caller returns immediately; detached timer reports smoke fatal after 50 positive edges
Explanation

The forked background branch counts clock cycles without blocking test setup and identifies its configured timer in the failure.

02

Requirements (3)

  • Do not block the caller.
  • Count positive clock edges.
  • Include the timer name and cycle count in the fatal message.