Skip to the selected question
ASIC.FYI

ASIC Question Bank

1,000+ hardware interview questions
DescriptionQ827
Page ↗
Q827DVASIC interview problem

Track named bin hits

TechniquesAssociative arrayCoverageReport
DifficultyEasy
TopicReference Models
LanguageSystemVerilog
Requirements3 checkpoints
01

Problem

Track hit status for named bins and report which required bins were missed at end of test.

Example input and output

Use this case to check your interpretation
Input
required={"reset","stall","full"}; hits={"reset","full","debug"}
Output
missed="stall"
Explanation

The unrequired debug bin is ignored and the two required hits are removed from the final missing set.

02

Requirements (3)

  • Support bins discovered by string name.
  • Return NONE when every required bin was hit.
  • Do not report unrequired bins.