Protocols, properties, and coverage
Original hardware verification interview scenarios on cycle contracts, scoreboards, stimulus, assertions, formal assumptions, clock/reset behavior, and verification evidence.
Original workplace scenarios, independent of any employer or live hiring process. Apply current requirements and authorized role boundaries in practice.
1.A verification plan lists tests but does not connect them to interface requirements. What is missing?
Show answer and explanation
- A rule that every test must have equal duration
- Traceability from each requirement to evidence
- Only the number of executable testbench classes
- Only a larger random seed range
Answer: Traceability from each requirement to evidence
A plan should identify how requirements are checked and covered, including assumptions and gaps. A test list alone does not demonstrate that the specification is addressed.
2.A specification says a response arrives within four cycles but does not define the start event or counting convention. What should verification do first?
Show answer and explanation
- Resolve the timing contract
- Assume whichever convention makes existing RTL pass
- Count from the first waveform transition of any signal
- Increase the timeout until no test fails
Answer: Resolve the timing contract
A latency property needs a defined acceptance event, clock, endpoint, and counting rule. Tests built on different interpretations can disagree without identifying an RTL bug.
3.A protocol transfers one beat only when valid and ready are both high at the active clock edge. What should a monitor count?
Show answer and explanation
- Every transition of the payload bus
- Every cycle with ready high regardless of valid
- Those accepted edge events
- Every cycle with valid high regardless of ready
Answer: Those accepted edge events
Protocol acceptance, not signal activity alone, defines the transaction. Counting stalled or idle cycles creates incorrect expected traffic.
4.A source must keep valid and payload stable until acceptance, except during reset. Which scenario should a checker flag?
Show answer and explanation
- Ready changes while the source is idle
- Payload changes while valid stays asserted and ready is low
- Payload changes after a beat was accepted
- Valid remains high for consecutive accepted beats
Answer: Payload changes while valid stays asserted and ready is low
Under this stated contract, a stalled offered beat must remain stable. Distinguish stalled presentation from a new beat after acceptance and from reset behavior.
5.A FIFO has occupancy 3. One read and one write are both accepted at an edge, with no reset. What is the next occupancy?
Show answer and explanation
- 4
- 2
- 3
- 1
Answer: 3
An accepted enqueue adds one and an accepted dequeue subtracts one. The net change is zero; acceptance rules at full/empty boundaries are a separate specification question.
6.A FIFO is empty when read and write requests arrive together. What determines whether a read may succeed that cycle?
Show answer and explanation
- The specified bypass/acceptance behavior
- The testbench driver's preferred transaction order
- A universal rule shared by every FIFO implementation
- Only the FIFO's nominal depth
Answer: The specified bypass/acceptance behavior
Some FIFOs support fall-through or bypass behavior and others do not. The reference model must implement the stated acceptance and output timing contract.
7.A full FIFO receives simultaneous read and write requests. Why must the checker not assume the write is rejected?
Show answer and explanation
- Every FIFO must discard the oldest entry automatically
- Full occupancy makes all concurrent requests illegal
- A valid read may free space under the defined policy
- Request signal order in the source file defines acceptance
Answer: A valid read may free space under the defined policy
Full-boundary simultaneous behavior depends on the interface contract. Verify the implemented policy, including how accepted events affect data order and occupancy.
8.An RTL contract says reset takes priority over an accepted write on the same edge. What should the reference state do?
Show answer and explanation
- Keep the write because valid was high
- Retain all pre-reset entries until the next idle cycle
- Apply both in a random order for coverage
- Apply reset semantics rather than retain that write
Answer: Apply reset semantics rather than retain that write
Priority is part of the state-transition specification. A reference model must use the same defined rule, rather than infer priority from driver order.
9.A block can reset with transactions outstanding. What must its specification define for verification?
Show answer and explanation
- Only the maximum clock frequency of the block
- A rule that all scoreboards ignore reset forever
- Only the reset signal's spelling
- The fate of those accepted operations and responses
Answer: The fate of those accepted operations and responses
Reset may abort, replay, or preserve work depending on the design. Checkers need a defined policy to avoid both false mismatches and silently lost obligations.
10.An asynchronous reset is removed near a receiving clock edge. What review is needed beyond ordinary functional simulation?
Show answer and explanation
- Only a longer randomized test with the same digital model
- Only the number of reset pulses generated per regression
- A rule that every reset is synchronous once deasserted
- Reset-release synchronization and domain assumptions
Answer: Reset-release synchronization and domain assumptions
Reset release can involve timing and domain-crossing concerns not represented by ideal RTL simulation. Combine appropriate structural, timing, and implementation evidence.
11.Two communicating domains leave reset in different orders. What should tests examine?
Show answer and explanation
- Whether the interface remains within its reset/initialization contract
- Whether both reset nets have identical names
- A claim that reset order cannot affect interface state
- Only the order that makes the first nominal test pass
Answer: Whether the interface remains within its reset/initialization contract
Different release sequences can expose stale state, false requests, or missing initialization. Define and exercise the supported sequencing conditions.
12.A status register starts unknown in four-state simulation but becomes known after a required reset. What must the test distinguish?
Show answer and explanation
- A requirement to force every internal register from the testbench
- A rule that every unknown before time zero is an RTL defect
- Allowed pre-reset state from required post-reset behavior
- A claim that unknown always means physical logic one
Answer: Allowed pre-reset state from required post-reset behavior
Initialization and reset requirements define when known behavior is required. Forcing internals can conceal missing reset or initialization behavior.
13.A regression runs only a two-state model. What kind of issue may require additional analysis?
Show answer and explanation
- Unknown-state propagation and initialization sensitivity
- Only errors involving more than two transactions
- A guarantee that two-state success proves physical power-up behavior
- Every possible protocol ordering error
Answer: Unknown-state propagation and initialization sensitivity
Two-state models remove unknown values by construction. That can miss initialization/X behavior while still being useful for other classes of functional testing.
14.A control signal is unknown, but a simulated conditional follows a definite branch and hides an invalid state. What should verification investigate?
Show answer and explanation
- The assumption that unknown represents an intentional don't-care
- A guarantee that synthesis has selected the same physical branch
- Only the payload width of unrelated traffic
- X-optimistic behavior under the modeled semantics
Answer: X-optimistic behavior under the modeled semantics
Simulation's handling of unknown controls can hide or exaggerate problems. Review the semantics and use appropriate X-sensitive methods rather than equating X with a known bit.
15.A comparison mixes a signed field and an unsigned field of different widths. What should a reference check make explicit?
Show answer and explanation
- Only the total number of comparison operators
- A rule that simulator arithmetic always uses mathematical integers
- Only whether the printed decimal values look positive
- Extension, width, and signedness rules
Answer: Extension, width, and signedness rules
Implicit casts and extensions can change a hardware comparison. Align the checker with the specified bit-vector interpretation, including boundary patterns.
16.A counter is specified to wrap modulo 16. Its current value is 15 and an increment is accepted. What is its next value?
Show answer and explanation
- 1
- 16
- 15
- 0
Answer: 0
Modulo-16 increment maps 15 + 1 to zero. A saturating counter would follow a different contract and needs different expected results.
17.A parameterized FIFO supports depth one. What deserves special attention in elaboration and tests?
Show answer and explanation
- Degenerate pointer widths and boundary behavior
- Only running the default depth more often
- Assuming a zero-width index is legal in every tool
- A rule that depth one has no full or empty state
Answer: Degenerate pointer widths and boundary behavior
Minimum parameter values can produce invalid width expressions or collapse assumptions used at larger sizes. Verify both elaboration and functional behavior.
18.A block supports only positive even widths. What should happen for a deliberately invalid width configuration?
Show answer and explanation
- A clear specification-consistent rejection or diagnostic
- Silent generation of an unrelated supported width
- A scoreboard that suppresses every width mismatch
- An assumed pass because no valid transaction was generated
Answer: A clear specification-consistent rejection or diagnostic
Unsupported configurations should fail predictably under the stated contract. Distinguish expected invalid-configuration tests from valid functional regressions.
19.A decoder accepts addresses in the inclusive range 0x20 through 0x2F. Which directed set best checks its immediate boundaries?
Show answer and explanation
- Only 0x24 through 0x27
- Every address except the endpoints
- 0x1F, 0x20, 0x2F, 0x30
- Only repeated accesses at 0x20
Answer: 0x1F, 0x20, 0x2F, 0x30
Adjacent out-of-range addresses and both inclusive endpoints test off-by-one acceptance behavior. Interior random traffic alone may miss boundary errors.
20.A burst declares length four under a contract requiring exactly four accepted beats and last on the fourth. What must a checker use to locate the final beat?
Show answer and explanation
- The count of accepted beats in that burst
- The number of payload transitions while stalled
- The count of elapsed cycles since valid first rose
- A fixed timeout regardless of backpressure
Answer: The count of accepted beats in that burst
Backpressure can separate accepted beats in time. Track protocol acceptance and burst identity, not merely cycles or data changes.
21.A valid-ready source presents different beats on consecutive accepted edges without deasserting valid. What should a monitor do?
Show answer and explanation
- Merge them because valid never fell
- Record both accepted beats
- Record only the second beat
- Treat continuous valid as an automatic protocol error
Answer: Record both accepted beats
For the stated edge-based acceptance model, each valid-and-ready edge accepts a beat. A rising-edge-only monitor loses legal back-to-back traffic.
22.Responses may return out of request order and carry transaction identifiers. How should a scoreboard match them?
Show answer and explanation
- By a single global issue-order queue
- By response arrival time alone without identity
- By whichever payload has the nearest numeric value
- By the specified outstanding transaction identity
Answer: By the specified outstanding transaction identity
A scoreboard must reflect permitted reordering. Match each response to the appropriate accepted request using the protocol's identity and lifetime rules.
23.A transaction identifier is reused before its prior request completes, although the protocol forbids that reuse. What should detect the issue?
Show answer and explanation
- Only the final aggregate request count
- Only the average response latency
- A model that overwrites the earlier expected entry silently
- Outstanding-ID lifecycle checking
Answer: Outstanding-ID lifecycle checking
Track allocation through completion or defined cancellation. Silent replacement can hide both the protocol violation and a later misassociated response.
24.A request sequence number wraps in a bounded field. What should a checker avoid?
Show answer and explanation
- Testing wraparound near the field limit
- Recording the sequence width in its configuration
- Assuming ordinary unbounded numeric order always reflects age
- Tracking whether an identifier is still outstanding
Answer: Assuming ordinary unbounded numeric order always reflects age
A finite identifier space needs a specified comparison and reuse contract. Simple greater-than comparisons can fail across wraparound.
25.A request is canceled while its response is in flight. What must verification know before labeling the response illegal?
Show answer and explanation
- The defined cancellation/completion race semantics
- Only the number of active driver threads
- A universal rule that cancellation erases all physical responses
- Only that the cancel signal was observed at some earlier time
Answer: The defined cancellation/completion race semantics
Cancellation timing and accepted events determine which outcomes are permitted. Model the race explicitly instead of relying on a vague historical cancel flag.
26.A latency guarantee applies only while downstream ready is continuously available. What must the property or environment model reflect?
Show answer and explanation
- A rule that ready may be forced high inside the DUT
- Only the average ready rate over the whole test
- That explicit availability condition
- An unconditional completion deadline under all stalls
Answer: That explicit availability condition
A guarantee conditional on service availability must be checked under that condition. Also verify the environment assumption is appropriate rather than using it to hide valid failures.
27.Uniform random traffic almost never fills a deep queue. What helps test the full-state behavior?
Show answer and explanation
- Targeted stimulus or justified state-directed constraints
- Only adding more random bits to transaction names
- Excluding full occupancy from functional coverage
- Assuming code coverage proves that the queue filled
Answer: Targeted stimulus or justified state-directed constraints
Rare states often need intentional stimulus. Coverage should show the state and relevant transitions actually occurred, not merely that nearby RTL lines ran.
28.A random generator reports no solution after two constraints contradict each other. What should the test do?
Show answer and explanation
- Count the absent transaction as successfully checked
- Reuse an old transaction without recording the failure
- Report the constraint failure as a real test-generation issue
- Disable the scoreboard so the test can finish green
Answer: Report the constraint failure as a real test-generation issue
An unsatisfiable stimulus request is not a passing design result. Diagnose the conflicting assumptions and preserve a clear generation failure status.
29.A random test fails on one machine. Besides its seed, what should be retained for a meaningful replay?
Show answer and explanation
- Only the final pass/fail summary
- Only the number of tests that passed elsewhere
- A different seed selected after the failure
- Tool/design versions, configuration, and stimulus context
Answer: Tool/design versions, configuration, and stimulus context
A seed is interpreted within an execution and generator setup. Record enough state to reproduce the failing transaction sequence and checked design.
30.A source edit adds a random draw before the failing sequence, and the same seed no longer reproduces the failure. What changed?
Show answer and explanation
- The requirement to preserve a failing transaction trace
- The meaning of every RTL clock edge
- The mapping from random stream positions to stimulus
- A proof that the original failure was not real
Answer: The mapping from random stream positions to stimulus
A seed alone need not stabilize generated traffic when draw order changes. Recorded transactions or controlled generators can help preserve a reproducer.
31.Why keep a protocol-level record of accepted traffic alongside waveforms?
Show answer and explanation
- It exposes the sequence the checker actually interpreted
- It makes all random sequences statistically independent
- It proves the DUT is correct whenever serialization succeeds
- It replaces every need to inspect signal timing
Answer: It exposes the sequence the checker actually interpreted
Transaction records help correlate driver intent, monitored acceptance, and expected outcomes. They complement rather than replace cycle-level evidence.
32.A random suite covers typical traffic but never reset during a multi-beat transfer. What is appropriate?
Show answer and explanation
- Add a directed scenario for that specified corner
- Assume any reset test covers every transfer phase
- Remove the reset requirement from the plan
- Declare the corner impossible because the seed missed it
Answer: Add a directed scenario for that specified corner
Directed tests can target meaningful interactions that random sampling misses. The scenario should be tied to the actual reset and transfer contract.
33.A protocol allows arbitrary idle cycles before a request without changing its result. What can a metamorphic test compare?
Show answer and explanation
- Equivalent results after inserting permitted idle cycles
- Different results for every inserted idle cycle
- Only whether the generated test files have equal length
- Identical cycle numbers for all completion events
Answer: Equivalent results after inserting permitted idle cycles
A valid timing transformation can predict a relation between executions. Preserve relevant timeouts and state assumptions instead of demanding unchanged absolute timing.
34.A reference model copies the same bit-slicing bug as the RTL. What has been weakened?
Show answer and explanation
- The maximum supported clock frequency by definition
- The driver's ability to produce random values
- The number of legal transactions in the protocol
- The independence of the checking oracle
Answer: The independence of the checking oracle
Common implementation errors can make model and RTL agree incorrectly. Use specification-based derivation, diverse checks, or independent invariants to reduce common-mode failures.
35.A scoreboard creates expectations for every request the driver attempts, including stalled requests never accepted. What mismatch can result?
Show answer and explanation
- A proof that every driver attempt became a transaction
- Phantom expected responses
- An automatic correction of driver timing errors
- Guaranteed detection of every dropped accepted request
Answer: Phantom expected responses
Expected work must align with accepted protocol events. Driver intent and observed acceptance can differ during stalls, resets, or rejected operations.
36.A reference model computes the correct response value but compares it one cycle too early. What should be fixed?
Show answer and explanation
- The response value until early comparison happens to pass
- The DUT clock until every comparison shifts randomly
- The response timing/alignment contract
- Only the random seed used to create the payload
Answer: The response timing/alignment contract
Value correctness and timing correctness are distinct. Define when a result is valid and compare it at the corresponding protocol event or allowed interval.
37.A synchronous RTL model uses nonblocking assignments for state updates at an edge. What must a cycle model distinguish?
Show answer and explanation
- Pre-edge state used for next-state calculation from updated state
- Only the final numeric value after every simulation time step
- The assumption that all state updates are combinational
- A rule that statements update registers instantly in source order
Answer: Pre-edge state used for next-state calculation from updated state
Clocked next-state behavior is computed from the applicable sampled state, then updates become visible according to scheduling semantics. A software model must align with that contract.
38.A testbench drives and samples a synchronous interface in the same scheduling region as DUT state updates. What risk arises?
Show answer and explanation
- Guaranteed physical metastability in every simulation
- Race-dependent observations
- A proof that the interface has zero latency
- Automatic coverage of all clock-domain crossings
Answer: Race-dependent observations
Simulation ordering can make observations depend on process scheduling rather than the intended cycle contract. Use an appropriate drive/sample discipline and verify its alignment.
39.Stimulus generation ends while accepted operations remain outstanding. When should the test claim success?
Show answer and explanation
- As soon as the waveform file is closed
- Immediately when the last request is issued
- Whenever the scoreboard contains at least one successful result
- After the required obligations are checked or handled by a defined policy
Answer: After the required obligations are checked or handled by a defined policy
Issuing traffic is not completing verification. Drain, complete, or explicitly account for outstanding work so late failures are not silently omitted.
40.The DUT resets and discards outstanding requests under its contract, but the scoreboard retains all old expectations. What issue follows?
Show answer and explanation
- A reason to disable all post-reset checking
- False failures from stale checker state
- Proof that reset preserved every accepted request
- A guarantee that late responses are always legal
Answer: False failures from stale checker state
Checker state needs the same documented reset/cancellation model as the DUT interface. Blindly clearing or retaining everything can both conceal or invent failures.
41.An implication-style property passes, but its antecedent never occurs. What should the report distinguish?
Show answer and explanation
- A requirement to delete the antecedent without analysis
- A proof that the consequent has been tested on all traffic
- Vacuous success from exercised obligations
- A guarantee that the required scenario is reachable
Answer: Vacuous success from exercised obligations
An untriggered implication can pass without exercising the intended behavior. Use reachability/cover evidence and review stimulus or assumptions.
42.A property requires an eventual response, but simulation stops while a request is still pending. What should not be inferred merely from no observed failure?
Show answer and explanation
- That completion evidence is still missing
- That the response obligation was fulfilled
- That the simulation produced a finite trace
- That a request was observed
Answer: That the response obligation was fulfilled
Liveness and end-of-test semantics need explicit handling. No failure before a run stops is not evidence that every pending eventual obligation completed.
43.A property is disabled by reset. What must verification understand about an obligation active when reset arrives?
Show answer and explanation
- A rule that every disabled obligation completed successfully
- Whether the defined policy aborts or preserves it
- Only the reset net's source-file declaration order
- The assumption that reset cannot occur during a property
Answer: Whether the defined policy aborts or preserves it
Reset disabling can remove pending checks. Match that behavior to the specification and separately verify the reset's required effects.
44.A contract says a request accepted at edge k must produce valid output at edge k+2. Which edge should the latency check target?
Show answer and explanation
- k
- k+1
- k+3
- k+2
Answer: k+2
Use the stated reference and offset. Property notation must implement that cycle relationship rather than relying on an ambiguous interpretation of after two cycles.
45.A temporal property reads a prior-cycle value at the first sampled edge. What must be defined or guarded?
Show answer and explanation
- The claim that an uninitialized history is a valid payload
- The availability and meaning of that history
- A requirement that prior-cycle state always equals current state
- Only the total regression duration
Answer: The availability and meaning of that history
History-based checks need initialization semantics. A valid-history condition or an explicitly defined initial value prevents unsupported first-sample conclusions.
46.A four-bit grant vector must allow zero or one active grant. Which value violates that rule?
Show answer and explanation
- 0011
- 1000
- 0000
- 0001
Answer: 0011
0011 asserts two bits. Whether zero is allowed distinguishes one-hot-or-zero from exactly-one-hot requirements.
47.A cover goal finds one path that reaches full occupancy. What has it not proven?
Show answer and explanation
- That the cover condition occurred in the model
- That overflow is impossible on every legal path
- That one modeled full state is reachable
- That a witness trace can be inspected
Answer: That overflow is impossible on every legal path
Cover demonstrates reachability of an execution satisfying a condition. Universal safety needs an appropriate assertion/proof or other justified evidence.
48.A safety check finds no counterexample within 30 transitions. What is the direct scope of that result?
Show answer and explanation
- Every possible physical implementation timing
- All unbounded executions regardless of assumptions
- The checked depth and modeled assumptions
- Only exactly the thirtieth transition and no earlier step
Answer: The checked depth and modeled assumptions
Bounded checks search a finite horizon. Do not turn a depth-limited pass into an unbounded theorem without an additional complete argument.
49.An inductive proof fails from a state that cannot occur after legal initialization. What might strengthen the proof appropriately?
Show answer and explanation
- An arbitrary assumption excluding every failing state
- A justified reachable-state invariant
- A change to the specification solely to match the counterexample
- Removal of the design's reset behavior from the model
Answer: A justified reachable-state invariant
Induction can consider states beyond reachable behavior. Add valid invariants with their own justification rather than suppressing real behavior by assumption.
50.A formal environment assumes request is never asserted, and every request-response property passes. What is the problem?
Show answer and explanation
- No additional reachability check can provide useful information
- The proof establishes every transaction value is correct
- The environment excludes the behavior being verified
- The assumption makes all interface inputs physically impossible
Answer: The environment excludes the behavior being verified
Overconstraint can make properties pass by removing required scenarios. Check meaningful covers and justify each environment restriction against the real interface contract.
51.A formal counterexample drives an input combination the specification explicitly forbids at this boundary. What should be reviewed?
Show answer and explanation
- Only the simulator seed used for unrelated regressions
- Whether a justified environment constraint is missing
- Whether all counterexamples should be discarded by default
- Whether the DUT can be declared correct without other checks
Answer: Whether a justified environment constraint is missing
The model should represent legal environment behavior, without hiding valid challenges. Document the constraint and verify its assumptions at the composing boundary.
52.A block proof assumes upstream obeys a handshake rule. What is needed when composing the system?
Show answer and explanation
- A claim that block proofs automatically discharge every assumption
- Only equal clock names on both modules
- Deletion of all assumptions from the reports
- Evidence that the upstream guarantee meets that assumption
Answer: Evidence that the upstream guarantee meets that assumption
Composition depends on matching assumptions and guarantees, including initialization and timing. Local proofs do not by themselves establish their environment premises.
53.A formal engine exhausts its budget without a proof or counterexample. How should this be classified?
Show answer and explanation
- Equivalent to an unreachable cover witness
- Inconclusive under the attempted setup
- A completed proof because no failure trace was produced
- A design failure on every legal input
Answer: Inconclusive under the attempted setup
Timeout or unknown results indicate limits of the attempted analysis. Preserve the distinction from proven, falsified, and explicitly bounded outcomes.
54.A formal model leaves state unconstrained initially, while the intended contract requires a reset sequence. What must the harness represent?
Show answer and explanation
- Only the final status of one simulation reset test
- The assumption that symbolic state defaults to all zeros
- A rule that every arbitrary initial state is a valid boot state
- The justified initialization/reset assumptions
Answer: The justified initialization/reset assumptions
Formal initialization must match the property scope. Unconstrained and reset-reachable analyses answer different questions; state the choice and its evidence.
55.A formal harness holds reset active forever and proves all post-reset functional assertions. What evidence should reveal the weakness?
Show answer and explanation
- Only a longer symbolic execution while reset stays active
- Only the proof log's final success status
- A larger assertion count under the same permanent reset
- A cover of reset release and meaningful accepted traffic
Answer: A cover of reset release and meaningful accepted traffic
A harness can satisfy disabled or inactive properties without entering normal operation. Check that required operational scenarios are reachable under the assumptions.
56.An assertion's mathematical counter is implemented with too few bits and wraps. What can happen?
Show answer and explanation
- The DUT's own counter width automatically changes
- The checker can miss or invent violations
- The formal engine must repair the checker width
- Every wrapped checker value becomes a valid invariant
Answer: The checker can miss or invent violations
Verification logic has its own semantics and implementation limits. Choose widths, signedness, and bounds that correctly represent the intended property.
57.A formal abstraction allows a trace impossible in the concrete implementation. What should the engineer do?
Show answer and explanation
- Discard all later counterexamples from that property
- Constrain the abstract model to one favorable trace only
- Determine whether the counterexample is spurious and refine appropriately
- Declare the concrete design faulty without checking the abstraction
Answer: Determine whether the counterexample is spurious and refine appropriately
Abstraction can overapproximate behavior. Validate the counterexample against the concrete model and refine while preserving a justified sound relationship.
58.A formal counterexample is replayed in simulation. What must be aligned to make the comparison meaningful?
Show answer and explanation
- Initial state, assumptions, clocks, and sampled input semantics
- Only the number of rows in the trace file
- A rule that every symbolic input defaults to zero
- Only the final random seed of the simulation
Answer: Initial state, assumptions, clocks, and sampled input semantics
Counterexample replay compares models and execution conventions. Differences in initialization or sampling can create an apparent disagreement unrelated to the reported design behavior.
59.A liveness proof assumes a requester is eventually serviced by an external arbiter. What must the final claim include?
Show answer and explanation
- A guarantee that safety properties prove fairness automatically
- Only the smallest successful service latency observed
- The fairness assumption and its justification
- A claim of unconditional progress against permanent denial
Answer: The fairness assumption and its justification
Liveness often depends on environment progress. Make that condition explicit and establish it where required, rather than presenting conditional progress as unconditional.
60.Two blocks each wait for a credit that only the other can release after receiving work. What should verification examine?
Show answer and explanation
- Circular wait and reachable progress conditions
- A rule that a larger timeout proves deadlock freedom
- The assumption that random traffic eventually breaks every cycle
- Only the average payload value
Answer: Circular wait and reachable progress conditions
Analyze resource dependencies and reachable states. A timeout can detect a symptom but does not establish that the protocol always permits progress.
61.An arbiter passes short tests but may indefinitely favor one continuously requesting client. What evidence is relevant?
Show answer and explanation
- Only equal total grants across one arbitrary seed
- A bounded-service contract or justified fairness/progress analysis
- Only code coverage of the priority encoder
- A claim that any nonzero throughput proves every client progresses
Answer: A bounded-service contract or justified fairness/progress analysis
Aggregate throughput does not exclude starvation. Define the guarantee and test/prove it under the required requester and environment assumptions.
62.A dual-clock interface is tested at one fixed frequency ratio and phase. What should broader verification consider?
Show answer and explanation
- Only the nominal width of the crossing signal
- A rule that equal average frequencies imply aligned edges
- Only a longer run with identical relative edge timing
- Supported clock ratios, relative phases, and reset sequences
Answer: Supported clock ratios, relative phases, and reset sequences
Clock interactions and sequencing can expose behavior missed by one alignment. Functional tests complement structural and physical CDC analysis rather than replacing it.
63.A pulse crosses into a slower clock domain and sometimes disappears in a digital model. What must the interface contract address?
Show answer and explanation
- How the destination reliably observes the event
- A guarantee that two flip-flops capture every arbitrarily short pulse
- Only whether the source pulse has a positive voltage
- The assumption that pulse disappearance proves analog damage
Answer: How the destination reliably observes the event
A synchronizer alone does not guarantee capture of every brief event. Specify an appropriate event-transfer protocol and verify its supported timing conditions.
64.A CDC design uses a Gray-coded pointer. Why is the code choice alone not complete physical-crossing evidence?
Show answer and explanation
- Gray code forces every physical wire to arrive simultaneously
- Implementation timing and bus constraints still matter
- A Gray value automatically supplies an independent reset sequence
- The pointer never changes in the source domain
Answer: Implementation timing and bus constraints still matter
Gray transitions can support a CDC design under its assumptions, but physical skew, sampling, synchronizer structure, and reset behavior still need appropriate analysis.
65.An asynchronous FIFO synchronizes pointers between domains. What should a reference model avoid assuming?
Show answer and explanation
- Data ordering for accepted writes and reads
- Instant visibility of every remote pointer update
- Delayed information according to the implemented CDC contract
- A specified local acceptance rule for each clock domain
Answer: Instant visibility of every remote pointer update
Remote state is not generally available without synchronization delay. Model the FIFO's documented flags and acceptance behavior rather than a fictitious zero-delay shared state.
66.A pure RTL regression passes every asynchronous interface test. What has it not established by itself?
Show answer and explanation
- That the checked digital transactions matched their expectations
- Physical metastability failure probability and timing closure
- That the simulator produced the recorded waveforms
- That the modeled tests completed
Answer: Physical metastability failure probability and timing closure
Ideal RTL simulation does not model all analog/timing behavior. Use suitable CDC, timing, and implementation evidence for claims outside the digital model.
67.A block's combinational outputs depend circularly on each other without a defined stable contract. What should verification investigate?
Show answer and explanation
- A guarantee of one extra clock cycle of latency
- Only the count of simulation test classes
- A combinational-loop or convergence problem
- The assumption that the loop is a valid synchronizer
Answer: A combinational-loop or convergence problem
Combinational cycles can create ambiguous or nonconvergent behavior. Structural checks and a clear design intent are needed; digital test completion alone is not a complete justification.
68.A combinational process assigns an output on some paths but leaves it unchanged on others, though no storage is intended. What is a likely concern?
Show answer and explanation
- A requirement to increase the output's integer width
- Automatic initialization of every omitted output to zero
- Unintended state retention or latch inference
- A guaranteed fully specified combinational function
Answer: Unintended state retention or latch inference
Incomplete assignment can retain a previous value under the language/design rules. Check lint, synthesis intent, and behavior for every relevant branch.
69.A write updates selected byte lanes while the others must retain their values. What should the reference update do?
Show answer and explanation
- Replace every unselected byte with zero
- Modify only the enabled lanes under the defined mapping
- Use the newest enabled byte for the entire word
- Ignore lane order because all writes are word-addressed
Answer: Modify only the enabled lanes under the defined mapping
Byte enables require a precise lane-to-bit/address convention. Check partial updates, alignment, and retained data rather than comparing only full-word writes.
70.A status register clears on an accepted read under its contract. What must a predictor distinguish?
Show answer and explanation
- A rule that attempted reads always clear the register
- Only the last value written by the driver
- The assumption that every status register is ordinary RAM
- The returned value and the post-read state
Answer: The returned value and the post-read state
Read side effects require modeling the acceptance event, returned snapshot, and subsequent state. A generic memory model can miss those distinctions.
71.A status field uses write-one-to-clear semantics. What should writing a zero to one of its set bits do, absent other events?
Show answer and explanation
- Clear that bit
- Set every other status bit
- Leave that bit set
- Toggle that bit
Answer: Leave that bit set
Under the stated convention, writing one clears the corresponding bit and zero leaves it unchanged. Concurrent hardware events need their own specified priority rule.
72.A register has reserved read-only fields with defined read values. What should a write test check?
Show answer and explanation
- The model may invent new meanings for unused bits
- Every written bit must echo back exactly
- Reserved fields are excluded from every requirement
- Writes do not change those fields beyond the specified behavior
Answer: Writes do not change those fields beyond the specified behavior
Reserved and read-only behavior is part of the interface contract. Test defined effects without assuming every field behaves like writable storage.
73.A pending interrupt bit is cleared by software while a new event sets it on the same edge. What must be specified?
Show answer and explanation
- Only the order of driver thread creation
- The set/clear priority and observable outcome
- A universal rule that clear always wins
- The assumption that concurrent events never need verification
Answer: The set/clear priority and observable outcome
Concurrent status updates require an explicit transition rule. Model and verify that rule, including whether the new event remains observable.
74.An invalid request produces an error response. What else can still need checking?
Show answer and explanation
- Only that an error message appeared in the log
- The assumption that future requests must be ignored forever
- State integrity and subsequent valid progress
- A rule that any error response proves all state stayed intact
Answer: State integrity and subsequent valid progress
An error path can return the right code while corrupting state or blocking later traffic. Verify the required side effects and recovery/progress contract.
75.A sender consumes one credit per accepted transfer and receives one per accepted return. What invariant helps detect accounting errors?
Show answer and explanation
- Credits and in-flight capacity remain consistently accounted for
- Maximum capacity changes whenever ready stalls
- Credit count must rise on every request attempt
- Returned credits may be counted repeatedly without identity rules
Answer: Credits and in-flight capacity remain consistently accounted for
Credits represent a bounded resource. Define initialization and accepted consume/return events, then check conservation and range under the actual protocol.
76.A credit counter at zero accepts a consume event forbidden by the protocol. What should a width-limited counter checker avoid?
Show answer and explanation
- Letting wraparound hide the illegal underflow
- Recording the accepted event sequence
- Flagging the forbidden consume event
- Checking the pre-event count
Answer: Letting wraparound hide the illegal underflow
Finite-width arithmetic can wrap an invalid negative count into a large positive value. Verify the event's legality and use a model that preserves the intended range check.
77.A protocol permits retrying an operation but requires its effect only once. What should the reference track?
Show answer and explanation
- A new independent effect for every retry packet
- Only the number of packets received
- The source signal's rising edges without accepted events
- Logical operation identity and permitted retry outcomes
Answer: Logical operation identity and permitted retry outcomes
Packet delivery and logical operations are different units. Model duplicate recognition and response semantics according to the specified retry contract.
78.A regression reaches every RTL line but never verifies a simultaneous reset-and-transfer case. What does this show?
Show answer and explanation
- Code coverage does not establish requirement coverage
- The simultaneous case is necessarily impossible
- Functional coverage can be omitted when line coverage is full
- Line execution proves every interaction was tested
Answer: Code coverage does not establish requirement coverage
Structural execution metrics and specification scenarios capture different evidence. Track the important interaction explicitly and check its outcome.
79.A plan needs evidence for every legal combination of burst size and backpressure mode. What helps identify missing combinations?
Show answer and explanation
- A rule that any random seed covers the Cartesian product
- Only separate hit counts for each dimension
- A justified cross-coverage model
- Only the sum of total accepted transactions
Answer: A justified cross-coverage model
Each dimension can have hits while specific combinations remain untested. Define legal bins and inspect cross coverage against the requirement.
80.A coverage bin appears unreachable under legal configuration constraints. What should support a waiver?
Show answer and explanation
- Only that one long random run did not hit it
- A documented reachability argument and requirement review
- Deleting the bin without retaining its original purpose
- The desire to raise the percentage before a deadline
Answer: A documented reachability argument and requirement review
Distinguish impossible, unsupported, and merely untested behavior. A waiver should preserve evidence and explain why excluding the obligation is justified.
81.A team excludes the only failing scenario to achieve 100% coverage. What is the core issue?
Show answer and explanation
- The metric no longer represents the unresolved obligation
- Every high-coverage run is now an independent proof
- Removing a bin proves its behavior is unreachable
- The exclusion automatically repairs the RTL
Answer: The metric no longer represents the unresolved obligation
Coverage is evidence about a defined model. Changing its scope does not resolve a requirement; record the gap and justify any genuine scope change.
82.All tests pass, even when a deliberate data-bit corruption is injected into a checked response. What should be questioned?
Show answer and explanation
- Whether the checker detects the intended defect class
- A guarantee that the corruption is harmless in every context
- The assumption that any green regression proves checker quality
- Only whether the test ran long enough to close the waveform
Answer: Whether the checker detects the intended defect class
Controlled defect injection can assess checker sensitivity. Establish that the injected fault should be observable and that the checking path is active.
83.Coverage from different parameter configurations is merged into one percentage. What should the report retain?
Show answer and explanation
- The assumption that incompatible bin definitions can be added directly
- Configuration-specific obligations and merge semantics
- Only the highest percentage from any configuration
- A claim that a hit in one width proves all widths
Answer: Configuration-specific obligations and merge semantics
A merged metric can hide configuration gaps. Preserve compatible definitions and trace the evidence to the variants and requirements it actually covers.
84.A test stops on an infrastructure error before expected responses are checked. What status is appropriate?
Show answer and explanation
- Pass because no mismatch was reported first
- Pass if another seed succeeded the previous day
- Coverage-complete whenever the simulator opened a waveform
- Incomplete or failed infrastructure, not a functional pass
Answer: Incomplete or failed infrastructure, not a functional pass
Missing verification is not successful verification. Keep infrastructure failure, incomplete obligations, and actual functional results distinct in regression reporting.
85.A regression accidentally runs an old elaborated design after the RTL changes. What provenance helps detect it?
Show answer and explanation
- Only the last random seed
- Only the test's human-readable display name
- The number of available simulator processes
- The source/configuration identity of the executable model
Answer: The source/configuration identity of the executable model
Bind results to the actual built design, parameters, tool, and testbench. A fresh test log does not prove a fresh executable model.
86.A scoreboard reports a wrong packet long after a reset. What is a useful debugging target?
Show answer and explanation
- Only the final failing comparison message
- The largest waveform file generated by any seed
- A random later mismatch that is easier to reproduce
- The earliest divergence among accepted traffic, model state, and DUT state
Answer: The earliest divergence among accepted traffic, model state, and DUT state
The first causal divergence often explains many later symptoms. Correlate accepted events, reset policy, and state transitions before repairing downstream consequences.
87.A gate-level run checks one timing-annotated scenario successfully. What should not be concluded from that run alone?
Show answer and explanation
- That the captured waveforms reflect that run
- That the modeled scenario completed under its setup
- Complete functional and physical correctness across all scenarios
- That other verification methods may still be required
Answer: Complete functional and physical correctness across all scenarios
One scenario is evidence within its modeled timing and configuration scope. It does not replace full functional, timing, CDC, and implementation verification obligations.
88.An equivalence check proves two designs match after assuming away one supported input mode. What must be disclosed?
Show answer and explanation
- A claim that assumptions cannot affect equivalence evidence
- An unconditional equivalence claim for every supported mode
- Only the number of matched output bits
- The excluded mode and the proof's restricted scope
Answer: The excluded mode and the proof's restricted scope
Equivalence depends on initial-state, input, clock/reset, and modeling assumptions. Supported excluded behavior remains an obligation unless separately justified and verified.
89.A pipeline accepts one request each cycle but returns each response six cycles later. Which description fits that contract after startup?
Show answer and explanation
- One response every six cycles by definition
- Six-per-cycle throughput with one-cycle latency
- Zero latency whenever back-to-back requests are accepted
- One-per-cycle throughput with six-cycle latency
Answer: One-per-cycle throughput with six-cycle latency
Throughput measures sustained acceptance/completion rate; latency measures an individual operation's delay. Verify both with the stated startup and backpressure conditions.
90.A block's outputs must be isolated before its power is removed in the model. What should a power-state scenario check?
Show answer and explanation
- The assumption that reset tests cover every isolation sequence
- A universal rule that power controls are ordinary data bits
- The required ordering and state-transition obligations
- Only that the steady-state off value looks correct
Answer: The required ordering and state-transition obligations
Power-state transitions have ordering, retention, and interface requirements. A final-state value alone can miss unsafe intermediate behavior in the modeled contract.
91.A candidate is asked to justify verification signoff. What is the strongest response?
Show answer and explanation
- Report only the total number of random seeds executed
- Trace requirements to checks, coverage, assumptions, and unresolved risks
- Treat a high coverage percentage as a universal proof
- List only the tests that passed most recently
Answer: Trace requirements to checks, coverage, assumptions, and unresolved risks
Signoff is a reviewable argument about the defined design and requirements. Include checker quality, configurations, failures, waivers, and remaining scope limits.
92.An arbiter specification permits either requester to win a simultaneous tie. The reference model always chooses requester zero. What should checking avoid?
Show answer and explanation
- Verifying that the chosen requester was actually requesting
- Checking required fairness over the specified conditions
- Rejecting the other permitted winner
- Checking that exactly one legal grant occurs
Answer: Rejecting the other permitted winner
A checker must accept the specification's permitted outcomes. An unnecessarily deterministic reference can report correct implementations as failures while missing the actual contractual invariants.
93.A 32-bit register is 0x11223344. A write supplies 0xA1B2C3D4 and enables byte lanes 0 and 2, where lane 0 is bits 7:0. With no other effects, what is the result?
Show answer and explanation
- 0x11B233D4
- 0xA1B2C3D4
- 0xA122C344
- 0x11223344
Answer: 0x11B233D4
Lane 0 becomes D4 and lane 2 becomes B2. Lanes 1 and 3 retain 33 and 11, giving 0x11B233D4 under the stated lane mapping.
94.A four-bit field contains 1111 and the contract interprets it as two's-complement signed data. What value should the reference model use?
Show answer and explanation
- −1
- 7
- −8
- 15
Answer: −1
Four-bit two's-complement 1111 represents −1. The same bits represent 15 only under an unsigned interpretation, so the checker must retain the specified signedness.
95.Eight requests are accepted on edges 0 through 7. Each response occurs exactly three edges after its request, with no stalls. On which edge does the final response occur?
Show answer and explanation
- 8
- 10
- 7
- 11
Answer: 10
The last request is accepted at edge 7. Adding the stated three-edge latency gives edge 10; a one-per-edge issue rate does not make individual latency zero.
96.A queue starts with two entries. Across a legal trace it accepts ten writes and six reads, with no reset or other removal. What final occupancy should the model predict?
Show answer and explanation
- 12
- 4
- 6
- 8
Answer: 6
Occupancy follows the accepted-event ledger: 2 + 10 − 6 = 6. Attempted but rejected requests must not be included in this accounting.
97.A supported matrix has two reset modes, three data widths, and four queue depths. All combinations are legal. How many configurations are in the full Cartesian matrix?
Show answer and explanation
- 9
- 24
- 18
- 12
Answer: 24
Multiply the independent choices: 2 × 3 × 4 = 24 configurations. A coverage plan can then justify which obligations need each configuration rather than silently treating one as all twenty-four.
98.An assertion module is accidentally attached to an inactive duplicate instance rather than the active DUT. What evidence should be checked?
Show answer and explanation
- Only a green status from the inactive instance
- A rule that matching signal names guarantee correct attachment
- Only the total assertion count printed at startup
- Binding identity and sampled activity at the intended instance
Answer: Binding identity and sampled activity at the intended instance
A property can be syntactically present yet observe the wrong design or clock. Trace its binding and exercise evidence to the intended instance.
99.After reset, a transaction identifier may be reused, but old responses must not match new requests. What can the checker need beyond the numeric identifier?
Show answer and explanation
- Only the most recent payload length
- An assumption that equal identifiers always mean the same operation
- The reset epoch and defined stale-response policy
- A rule to discard every response after the first reset
Answer: The reset epoch and defined stale-response policy
Identifier meaning includes lifecycle context. Track reset generations or equivalent state according to the protocol so stale traffic cannot satisfy a new obligation incorrectly.
100.A packet checksum covers header and payload by contract, but the checker computes it only over payload. What targeted test helps expose the gap?
Show answer and explanation
- Change a covered header bit while preserving the payload
- Disable checksum comparison during header traffic
- Change a field explicitly outside checksum coverage
- Only repeat the same correct packet many times
Answer: Change a covered header bit while preserving the payload
The reference must implement the complete coverage definition. A controlled change to a required covered field tests whether the checker observes that part of the packet.
101.A CDC handshake permits a bounded range of response latencies depending on clock phase. What must a cycle-level checker use?
Show answer and explanation
- The specified allowed timing relation across domains
- One fixed source-clock delay inferred from a single seed
- The assumption that equal frequency implies equal phase
- A universal zero-delay mapping between domain events
Answer: The specified allowed timing relation across domains
Cross-domain timing can vary within a defined contract. Align events to their own clocks and verify the permitted bounds rather than overspecifying one observed latency.