Hardware verification engineer: Assertions and Formal Properties
Original interview cases on temporal obligations, invariants, reachability, assumptions, abstraction, proof scope, equivalence, progress, and reviewable formal evidence.
Original workplace scenarios, independent of any employer or live hiring process. Apply current requirements and authorized role boundaries in practice.
1.A safety property says every accepted response ID must match a live request ID. What finite trace is a direct counterexample?
Show answer and explanation
- An accepted response with no live matching request
- An idle interval with no traffic
- A legal response matching its request
- A request that remains pending for a few legal cycles
Answer: An accepted response with no live matching request
A safety violation has a finite bad prefix. An unsolicited accepted response directly violates the specified matching invariant.
2.A property requires every accepted request eventually to complete, with no finite deadline. Why can a finite unfinished simulation be inconclusive?
Show answer and explanation
- Every finite trace proves eventual completion.
- Only a response's data value matters.
- The pending completion may occur later.
- Absence of a response for one cycle proves infinite starvation.
Answer: The pending completion may occur later.
Unbounded eventuality concerns infinite continuation. A finite run ending with an obligation pending does not by itself establish either eventual success or permanent failure.
3.Define a check: if req is true at edge k, ack must be true at edge k+1. At edges 4 and 5, req is 1 then 0, while ack is 0 then 1. What is the obligation from edge 4?
Show answer and explanation
- Deferred indefinitely until req rises again
- Canceled because req fell at edge 5
- Violated because ack was zero at edge 4
- Satisfied at edge 5
Answer: Satisfied at edge 5
The explicit one-edge implication observes req at edge 4 and ack at edge 5. Falling req does not cancel the already created obligation under this definition.
4.A property requires ack at the same sampled edge as req. A different property requires ack one sampled edge later. What should distinguish their specifications?
Show answer and explanation
- Only the signal names
- The consequent's sampling offset
- Only the number of simulation seeds
- A guarantee both formulations enforce identical timing
Answer: The consequent's sampling offset
Same-edge and next-edge requirements are different contracts. Make the offset explicit and test traces that separate them.
5.Every req at edge k creates an ack obligation at k+2. Requests occur at edges 1 and 2. Which ack edges are required?
Show answer and explanation
- 3 and 4
- 1 and 2
- 2 and 3
- 4 only
Answer: 3 and 4
Each trigger creates its own obligation: 1+2=3 and 2+2=4. A checker must support overlapping triggers rather than forget the earlier one.
6.A checker starts one response timer on req but overwrites it when a second req arrives. The contract permits overlapping requests. What can be lost?
Show answer and explanation
- Only idle cycles before both requests
- Only the latest clock count
- A guarantee overlapping requests share one deadline
- The first request's timing obligation
Answer: The first request's timing obligation
Independent triggers may require independent state or a justified aggregate representation. One overwritten timer can hide a missing or late completion.
7.A property requires a response at some edge in [k+1,k+3], inclusive. A request is accepted at edge 8 and a response occurs at edge 11. Is that response within the stated window?
Show answer and explanation
- Yes, it is at the inclusive upper boundary.
- Only an edge-8 response is permitted.
- No, the upper boundary is excluded.
- No, only edge 9 is permitted.
Answer: Yes, it is at the inclusive upper boundary.
The legal response edges are 9, 10, and 11. Explicit boundary conventions prevent off-by-one timing errors.
8.A request at edge 8 must receive a response in edges 9 through 11. None appears by edge 11 after all observations are processed. What evidence exists?
Show answer and explanation
- Only an unbounded liveness question with no finite failure point
- A finite violation of the bounded-response requirement
- A proof the request will never complete under any condition
- A guarantee the whole design is deadlocked
Answer: A finite violation of the bounded-response requirement
The deadline makes absence by its end a finite violation. It does not prove all future activity stops or that a late response is impossible.
9.A property says ack implies some earlier accepted request. A design produces no ack at all. What other requirement is needed to detect dropped requests?
Show answer and explanation
- A progress or completion property
- A guarantee no unsolicited responses means every request completes
- Only the same ack-implies-request check
- Only stronger output formatting
Answer: A progress or completion property
Response legitimacy and request completion are separate directions. A design can satisfy the first by never responding while violating progress.
10.A property checks that responses contain correct data but does not constrain their count. What additional property detects a duplicated correct response?
Show answer and explanation
- Only repeating the data comparison
- A guarantee correct data cannot be duplicated
- Completion multiplicity tied to request identity
- Only a larger arithmetic width
Answer: Completion multiplicity tied to request identity
Functional value checks do not necessarily enforce exactly-once correspondence. Track legal response cardinality and identity as required by the protocol.
11.A formal harness assumes ack is always zero while proving 'ack implies a live request.' What should nonvacuity review reveal?
Show answer and explanation
- The design has no possible valid response by specification.
- Every request is proven complete.
- The triggering response event is excluded.
- Only the proof engine's runtime matters.
Answer: The triggering response event is excluded.
A restrictive environment can make a property pass without exercising its intended scenario. Review assumptions and use meaningful reachability or cover checks.
12.A cover goal reaches a state with three outstanding requests. What has it directly established?
Show answer and explanation
- That no request is ever lost
- That all safety properties hold afterward
- Existence of one allowed path to that state
- That every allowed path reaches it
Answer: Existence of one allowed path to that state
Cover evidence demonstrates a witness under the modeled assumptions. It is distinct from universal safety or progress guarantees.
13.A cover goal is not reached within 20 transitions. What is the justified bounded conclusion?
Show answer and explanation
- No witness was found within that bound by the completed check.
- The state is unreachable for all time under every model.
- The design is proven correct.
- Every path must reach it at transition 21.
Answer: No witness was found within that bound by the completed check.
A bounded result has bounded scope unless an additional proof establishes unreachability. Distinguish completed bounded checks from solver timeouts.
14.A bounded safety check exhaustively finds no violation through 12 transitions. What remains unproved without further reasoning?
Show answer and explanation
- The possibility of reporting a bounded result
- Absence of violations in the checked bounded model
- Absence of violations on longer traces
- The fact that the bound was 12
Answer: Absence of violations on longer traces
A bounded proof does not automatically extend to arbitrary execution length. State its initialization, assumptions, and transition bound.
15.An inductive invariant I needs a base case and an inductive step. What must the step show?
Show answer and explanation
- One selected trace eventually reaches I.
- Every legal transition from I preserves I.
- I holds only after exactly ten cycles.
- The final simulation sample satisfies I.
Answer: Every legal transition from I preserves I.
Induction requires initialization in I and closure under all relevant transitions. A few examples do not establish the universal step.
16.A candidate invariant says counter≤7. The transition increments a counter at 7 to 8 with no guard. What happens to the inductive step?
Show answer and explanation
- It succeeds because most states are below 7.
- It fails on that transition.
- It proves the counter never changes.
- It can ignore the transition without justification.
Answer: It fails on that transition.
An invariant must hold after every allowed transition from a state satisfying it. The supplied 7-to-8 step leaves the candidate invariant.
17.An inductive proof fails from a candidate state that is unreachable after reset. What is a legitimate response?
Show answer and explanation
- Assume the desired output property itself as an input constraint.
- Claim the proof succeeded because simulation did not reach the state.
- Strengthen with justified reachable-state invariants.
- Delete the failing transition without a specification reason.
Answer: Strengthen with justified reachable-state invariants.
Induction can include states outside the reachable set. Additional true invariants may exclude spurious starting states while preserving all legal initialized behavior.
18.A proof assumes the exact property it is meant to establish. What flaw does this create?
Show answer and explanation
- Circular reasoning
- Only a larger solver state space
- A stronger independent validation
- A guarantee a short proof is always informative
Answer: Circular reasoning
The conclusion cannot be used as an unproved premise for its own validity. Separate legitimate environment assumptions from the design obligations under review.
19.An input constraint is valid only for one configured operating mode, but the final proof claims all supported modes. What must change?
Show answer and explanation
- Only the displayed property name
- A guarantee mode-specific assumptions apply universally
- Only the random seed
- The proof scope or the mode coverage
Answer: The proof scope or the mode coverage
A proof's claim is limited by its assumptions. Prove the other modes under appropriate conditions or state the narrower scope explicitly.
20.A block's guarantee depends on upstream holding data stable while stalled. What must a composed-system argument establish?
Show answer and explanation
- Only that the downstream block's proof ran quickly.
- Only a matching data width.
- The upstream block actually meets that assumption.
- A guarantee interface labels enforce protocol behavior.
Answer: The upstream block actually meets that assumption.
Assume-guarantee reasoning needs compatible obligations. A local assumption becomes something the surrounding system must provide or justify.
21.Two blocks each assume the other eventually sends first, and each waits before sending. What composition issue should be examined?
Show answer and explanation
- Only arithmetic output precision
- Circular progress assumptions
- A guarantee local liveness claims imply system progress
- Only matching signal polarity
Answer: Circular progress assumptions
Mutually dependent eventuality assumptions can hide deadlock. Establish a sound progress argument with a real initiating condition and justified environmental behavior.
22.A liveness proof assumes downstream is ready infinitely often. Deployment can hold it unready forever. What should the guarantee state?
Show answer and explanation
- Unconditional completion under every deployment trace
- Its dependence on the readiness assumption
- Only the number of solver threads
- A guarantee the assumption enforces the physical environment
Answer: Its dependence on the readiness assumption
Fairness or availability assumptions limit the claim. The system must provide them or accept that progress is conditional.
23.A bounded-latency property assumes downstream is continuously ready. A trace stalls downstream for five edges. What must checker interpretation recognize?
Show answer and explanation
- A guarantee all readiness assumptions are always true.
- The trace may lie outside that property's premise.
- Only the response's data bits matter.
- The DUT is necessarily late under the conditional contract.
Answer: The trace may lie outside that property's premise.
Evaluate a conditional guarantee under its actual premise. Other properties may still apply during stalls, including data stability and eventual recovery.
24.A reset-abort rule cancels outstanding obligations when reset is active. What distinct property can still be needed?
Show answer and explanation
- Only more cycles with reset held forever
- Correct state and interface behavior after reset release
- Only proof that canceled obligations were completed
- A guarantee disabling checks verifies reset recovery
Answer: Correct state and interface behavior after reset release
Aborting one class of obligations does not establish initialization or recovery. Check post-reset behavior and meaningful reset release separately.
25.A harness constrains reset never to assert after initialization, while the product supports runtime reset. What coverage is absent?
Show answer and explanation
- The initial reset sequence by the stated setup
- Only the arithmetic width
- Runtime-reset behavior
- A guarantee startup reset covers every reset scenario
Answer: Runtime-reset behavior
The constraint removes supported later reset events. Add suitable runtime-reset analysis or qualify the proof scope.
26.A temporal check reads the previous cycle's data before any valid previous sample exists. What should the harness define?
Show answer and explanation
- Only the property's display name
- A guarantee previous data is always zero
- Only the length of the final log
- History validity or initial-value semantics
Answer: History validity or initial-value semantics
A past-value expression needs defined behavior at startup. Guard it until history is valid or specify and justify the intended initial interpretation.
27.A bit is required to remain set until an accepted clear. A checker compares it only on cycles with clear. What scenario can escape detection?
Show answer and explanation
- It drops on an intervening no-clear cycle.
- It clears at the permitted event.
- It starts set under the required initialization.
- It stays set until the accepted clear.
Answer: It drops on an intervening no-clear cycle.
Persistence is a relation across the interval before the release event. Check each relevant transition rather than only the event that ends the obligation.
28.A two-bit grant vector must have at most one bit high. Which sampled value is illegal?
Show answer and explanation
- 01
- 10
- 11
- 00
Answer: 11
At-most-one permits zero or one active bit. Binary 11 has two active grants and violates the specified invariant.
29.An arbiter must grant exactly one requester whenever any request is present. What would an at-most-one assertion alone miss?
Show answer and explanation
- No grant while requests are present
- Two simultaneous grants
- The exclusion of value 11
- Only excessive grant count
Answer: No grant while requests are present
At-most-one checks exclusivity but permits zero. A separate existence requirement is needed under the appropriate request and eligibility conditions.
30.A checker for unsigned occupancy computes writes minus reads in a narrow unsigned field. An illegal extra read wraps the result to a large positive value. What should the property assess before wrap obscures it?
Show answer and explanation
- Only the wrapped nonnegative result
- The legality of the decrement and mathematical bounds
- Only the field's display radix
- A guarantee unsigned values cannot underflow semantically
Answer: The legality of the decrement and mathematical bounds
Use sufficient reference width and check transition preconditions. Hardware wrap does not turn an invalid negative mathematical occupancy into a valid queue state.
31.A queue has occupancy 2. Over a reset-free interval it accepts 7 enqueues and 4 dequeues. What conservation invariant predicts the final occupancy?
Show answer and explanation
- 11
- 3
- 9
- 5
Answer: 5
The ledger is initial+enqueues−dequeues=2+7−4=5, assuming these are the only occupancy-changing events.
32.A queue can flush entries. A property asserts occupancy=initial+enqueues−dequeues but omits flush effects. What should be added?
Show answer and explanation
- The specified flush contribution
- Only the number of simulation seeds
- A guarantee conservation laws ignore defined removal events
- Only more queue-depth bits
Answer: The specified flush contribution
A conservation model must include every permitted creation and removal event. Otherwise a legal flush can appear as a DUT accounting error.
33.A proof abstracts a memory as unconstrained read data on every access, ignoring consistency between repeated reads. What kind of counterexample can result?
Show answer and explanation
- A spurious trace impossible for the concrete memory
- A proof repeated reads are always independent in hardware
- Only a shorter proof log
- A guarantee every abstract failure is a real bug
Answer: A spurious trace impossible for the concrete memory
An overapproximation can admit behaviors the implementation cannot produce. Analyze whether a counterexample is realizable and refine the abstraction appropriately.
34.A safety property holds in an abstraction that includes every concrete behavior and possibly more. What follows under a sound mapping?
Show answer and explanation
- All liveness properties hold automatically.
- Every abstract trace must be concrete.
- The mapping requires no justification.
- The property holds for the included concrete behaviors.
Answer: The property holds for the included concrete behaviors.
For a sound overapproximation, universal safety over the larger behavior set implies safety over its concrete subset. The abstraction relation and property correspondence must be established.
35.An abstraction removes some legal concrete inputs to make the proof faster. What must be established before extending its result to all supported inputs?
Show answer and explanation
- A guarantee every smaller model is conservative for safety
- Only the number of abstract state bits
- That the removed behaviors cannot invalidate the claim, or a separate proof covers them
- Only that the solver terminates quickly
Answer: That the removed behaviors cannot invalidate the claim, or a separate proof covers them
Restricting behaviors can hide failures. A proof over a subset does not establish universal safety for omitted legal cases without a sound reduction argument or additional coverage.
36.A counterexample uses an invalid opcode because the harness never constrained the specified input domain. What is the right next step?
Show answer and explanation
- Assume every solver trace is a supported-use hardware bug.
- Constrain the output to be correct.
- Delete the failing assertion without analysis.
- Validate the input contract and harness before classifying the trace.
Answer: Validate the input contract and harness before classifying the trace.
An unconstrained environment may admit unsupported traffic. Add only justified assumptions or check a defined invalid-input requirement; do not simply constrain away an unexplained failure.
37.A counterexample uses a legal rare opcode that the harness author did not expect. What should happen?
Show answer and explanation
- Treat the proof as passed after hiding the opcode.
- Assume it away because it is inconvenient.
- Classify rarity as illegality.
- Investigate it under the actual specification.
Answer: Investigate it under the actual specification.
Formal analysis can expose uncommon legal behavior. Unexpected inputs are not automatically invalid; the contract determines whether the trace is meaningful.
38.A formal run ends with a solver timeout and no completed proof or counterexample. What status should be reported?
Show answer and explanation
- Inconclusive within the resource budget
- Equivalent to an exhaustive bounded pass
- Proven unsafe
- Proven safe
Answer: Inconclusive within the resource budget
No completed conclusion is different from a proof. Record the task, progress, limits, and unresolved status rather than converting lack of a counterexample into success.
39.A proof task is configured to check only one assertion out of twelve. What should its result identify?
Show answer and explanation
- Every assertion in the source tree as proven
- Only the final process exit code
- The properties actually included
- A guarantee all assertions share one proof result
Answer: The properties actually included
Verification scope includes selection, binding, elaboration, assumptions, and engine mode. A passing task does not establish excluded properties.
40.A property file is compiled but never bound to the intended active module. What should a formal setup audit inspect?
Show answer and explanation
- Only the property source's syntax
- The elaborated property instances and connectivity
- A guarantee compiling an assertion checks every relevant instance
- Only whether the file exists
Answer: The elaborated property instances and connectivity
An uninstantiated or misbound property supplies no intended coverage. Inspect elaborated structure and meaningful reachability or activity as appropriate.
41.Two identically named module types exist in separate libraries, and the harness analyzes the wrong one. What artifact identity is important?
Show answer and explanation
- A guarantee matching names mean matching implementations
- The actual elaborated design and source resolution
- Only the repository's total file count
- Only the top module's display name
Answer: The actual elaborated design and source resolution
Source lists, libraries, parameters, defines, and elaboration determine the model being proved. Record and verify the resolved design.
42.A property uses a constant parameter for depth, but the proof elaborates only depth 4. What conclusion is justified without a parameterized argument?
Show answer and explanation
- A guarantee the property is independent of elaboration
- Only depth 1
- Every positive depth automatically
- The checked depth-4 configuration under its assumptions
Answer: The checked depth-4 configuration under its assumptions
A fixed-parameter proof concerns that elaboration. A universal parameter claim needs a sound general argument or the relevant supported configuration evidence.
43.A design supports widths 8 and 16 with modes A, B, and C. All combinations are legal. How many fixed configurations require coverage in a full Cartesian sweep?
Show answer and explanation
- 16
- 3
- 6
- 5
Answer: 6
The matrix contains 2 widths×3 modes=6 configurations. A sweep is not a universal proof for configurations outside the supported matrix.
44.A property over a four-bit counter asserts count<16. What semantic review is warranted?
Show answer and explanation
- It may be tautological for that unsigned representation.
- It proves occupancy matches accepted traffic.
- It proves every increment was legal.
- It proves the count never wraps.
Answer: It may be tautological for that unsigned representation.
An unsigned four-bit value is inherently between 0 and 15. The property can miss overflow or accounting mistakes unless stronger transition and correspondence requirements are checked.
45.A three-bit modulo counter is 7 and increments. What next-state value should a proof using exact bit-vector arithmetic model?
Show answer and explanation
- −1
- 7
- 8
- 0
Answer: 0
Modulo-8 encoding wraps 7+1 to 0. If the intended contract forbids that event, assert the required guard or a wider mathematical bound instead of misrepresenting the arithmetic.
46.A reference proof treats a four-bit signed value 1000 as the mathematical integer 8. What contract mismatch exists?
Show answer and explanation
- Its two's-complement interpretation should be −8.
- Only the display radix changed.
- Signed and unsigned interpretations are always equal.
- Its value must be −1.
Answer: Its two's-complement interpretation should be −8.
For four-bit two's complement, 1000 represents −8. Sign and width conversions are part of the model semantics and can change inequalities or overflow behavior.
47.An equivalence check compares two combinational implementations for every legal input. What does a valid proof establish?
Show answer and explanation
- That their power consumption is equal
- Equal specified outputs over that modeled input domain
- That either implementation matches every external requirement
- That their physical timing is identical
Answer: Equal specified outputs over that modeled input domain
Equivalence proves a relation between implementations under a model. Both can share a specification bug, and functional equivalence does not establish physical metrics.
48.A sequential equivalence proof assumes corresponding initial states. One implementation's reset actually initializes different state. What must be justified?
Show answer and explanation
- A guarantee reset behavior is irrelevant to sequential equivalence
- The initial-state correspondence used in the proof
- Only matching port names
- Only the number of registers
Answer: The initial-state correspondence used in the proof
Sequential behavior depends on initial state and reset. A state relation that excludes actual startup behavior can limit or invalidate the intended equivalence claim.
49.A retimed implementation produces identical values one cycle later. The interface contract requires the original cycle. What relation is insufficient by itself?
Show answer and explanation
- A test that checks the required response edge
- Verification of the original deadline
- Untimed value-sequence equivalence
- Exact cycle-by-cycle output equivalence
Answer: Untimed value-sequence equivalence
Matching values after ignoring latency does not establish a timing-sensitive contract. State whether latency changes are permitted and verify the relevant relation.
50.A proof models asynchronous inputs as arbitrary values sampled at one clock edge but omits analog metastability. What does it not directly establish?
Show answer and explanation
- Physical metastability resolution behavior
- The exact assumptions used in the digital model
- The modeled sampled-value safety result
- Whether the modeled inputs can vary nondeterministically
Answer: Physical metastability resolution behavior
Digital nondeterminism can represent some uncertainties, but an RTL-level model alone does not prove physical analog behavior. CDC and implementation evidence need appropriate methods.
51.A multi-clock harness assumes both clocks always rise together, while deployment permits independent phases. What behavior is removed?
Show answer and explanation
- Legal relative clock interleavings
- A guarantee all independent-clock failures are still represented
- Every possible synchronous transition
- Only the clock names' spelling
Answer: Legal relative clock interleavings
Restricting clock relationships can exclude relevant crossings and races. Model the actual permitted relationships or qualify the proof to the restricted environment.
52.An arbitrary symbolic data value is fixed for an entire proof trace to represent one chosen watched word. What distinction must be clear?
Show answer and explanation
- Only the variable's source-file line
- A guarantee fixed means it equals zero
- A guarantee symbolic values always change at every edge
- Arbitrary-but-fixed versus independently changing every cycle
Answer: Arbitrary-but-fixed versus independently changing every cycle
A symbolic constant can quantify over any one value while retaining consistency through the trace. A fresh unconstrained value each cycle models a different behavior.
53.A watched-data proof tracks one arbitrary word through a FIFO. What additional relation is needed to reason about a specific occurrence when equal values repeat?
Show answer and explanation
- A guarantee repeated values are the same transaction
- Occurrence identity or an appropriate position relation
- Only the chosen word's numerical magnitude
- Only equality of payload bits
Answer: Occurrence identity or an appropriate position relation
Data equality alone does not identify which occurrence was lost, duplicated, or reordered. Use a sound symbolic tracking construction for the property being proved.
54.A proof establishes that output data matches some prior input value but not which request or position. What failure can remain possible?
Show answer and explanation
- Reordering or duplication among equal or selected values
- Only syntax errors in the harness
- A guarantee data membership implies complete FIFO behavior
- Every output having a value never input
Answer: Reordering or duplication among equal or selected values
Membership is weaker than correct correspondence, multiplicity, and order. Verify the protocol's required transaction relationship in addition to value inclusion.
55.A FIFO ordering property compares only the first two accepted items and ignores later items. What should its claim be limited to?
Show answer and explanation
- Every item in every possible trace automatically
- The tracked relationship unless a sound generalization covers all positions
- Only the last item
- A guarantee an example pair proves arbitrary ordering
Answer: The tracked relationship unless a sound generalization covers all positions
A particular tracked pair is not automatically universal. A symbolic or inductive construction needs a justified argument that it represents all required occurrences.
56.A proof removes all data-path bits and checks only handshake control. What class of requirement needs separate evidence?
Show answer and explanation
- Whether the reduced model has request events
- The modeled handshake safety properties
- Payload-value correctness
- The exact control assumptions
Answer: Payload-value correctness
Control abstraction can support useful protocol proofs while omitting data integrity. Match each requirement to an appropriate model and proof.
57.A property requires output data stability while valid is high and ready low. What trace violates it, absent reset?
Show answer and explanation
- Data changes for a new beat after the prior beat is accepted.
- Data stays fixed until a handshake.
- Valid and ready are both high for acceptance.
- Data changes between stalled edges before acceptance.
Answer: Data changes between stalled edges before acceptance.
The payload belongs to the outstanding offered beat until acceptance under this contract. Changing it during a stall violates the specified stability relation.
58.A stability property also constrains data after valid has fallen legally under a cancellation rule. What should be reviewed?
Show answer and explanation
- Only the data's display radix
- A guarantee a checker may invent stronger requirements
- Whether the property overconstrains post-cancellation behavior
- Only the number of sampled edges
Answer: Whether the property overconstrains post-cancellation behavior
An assertion must encode the specified release conditions. Extend obligations only where the contract requires them, including any legitimate cancellation exception.
59.A request and response may legally occur on the same edge for an empty bypass path. A checker insists every response has a request strictly before that edge. What is wrong?
Show answer and explanation
- Only the request's payload width is uncertain.
- The design necessarily responds too early.
- Every response must be delayed by at least one edge.
- The property excludes a legal same-edge match.
Answer: The property excludes a legal same-edge match.
The correspondence property must include all permitted timing, including bypass. Define event ordering and matching at the same sampled edge explicitly.
60.A property proves no two clients receive a grant simultaneously. What separate issue remains for a continuously requesting client?
Show answer and explanation
- Mutual exclusion of grants
- The proven at-most-one requirement
- Whether two grants can be high under the proved model
- Starvation
Answer: Starvation
Mutual exclusion is a safety property. A client may still wait forever unless appropriate fairness or service guarantees are established.
61.A round-robin service bound is claimed only when each granted client releases within two cycles. What must the response-bound proof include?
Show answer and explanation
- Only the grant vector's width
- A guarantee local arbitration forces every client to release
- That release assumption and its system justification
- Only the number of clients
Answer: That release assumption and its system justification
A bounded service claim depends on the time other clients can hold resources. State and discharge those assumptions rather than silently treating them as guaranteed.
62.A liveness proof adds fairness requiring an internal bug flag eventually to clear, but the design has no guarantee it will. What is the concern?
Show answer and explanation
- Only the proof's trace format changed.
- The assumption may exclude the failure being investigated.
- All internal fairness assumptions are physical laws.
- The proof became automatically more realistic.
Answer: The assumption may exclude the failure being investigated.
Fairness assumptions must be justified by the environment or implementation argument. Assuming recovery of the failing condition can make a progress proof circular or too narrow.
63.A bounded response checker counts idle simulation steps rather than the receiver's actual clock edges. What needs alignment?
Show answer and explanation
- The property's time base
- Only the test's random seed
- A guarantee every simulation step equals a receiver cycle
- Only the response data type
Answer: The property's time base
Temporal requirements need a defined clock and event count. Different simulation steps or other-domain edges cannot silently substitute for the specified sampling clock.
64.A proof checks an invariant before applying reset, while the specification allows reset to temporarily invalidate it. What must be made explicit?
Show answer and explanation
- The invariant's reset and observation scope
- Only the number of reset signals
- Only the invariant's name
- A guarantee every invariant applies during every reset phase
Answer: The invariant's reset and observation scope
Distinguish initialization, reset transition, and normal-operation requirements. Guarding or separating properties should follow the contract rather than simply hide failures.
65.A status bit must assert exactly three receiving-clock edges after an event. The event is observed at edge 6. Which edge is required?
Show answer and explanation
- 6
- 8
- 10
- 9
Answer: 9
The explicitly specified offset is three edges, so the obligation targets edge 6+3=9. The event's observation edge is the reference point.
66.A proof assumes two request inputs are never high together, though simultaneous requests are explicitly legal. What should happen?
Show answer and explanation
- Treat simultaneous legal requests as a testbench error.
- Claim arbitration is proven for all legal traffic.
- Keep the assumption because it speeds the solver.
- Remove or justify the unsupported restriction and recheck.
Answer: Remove or justify the unsupported restriction and recheck.
The assumption excludes supported behavior central to arbitration. A complete claim cannot rely on that restriction without an applicable narrower contract.
67.An assertion checks a checksum only when an internal '
check_enable' signal is high. A bug keeps that signal low forever. What check exposes vacuity?Show answer and explanation
- Only the checksum equality assertion's pass status
- Reachability or activity of the intended checking condition
- A guarantee design-controlled enables cannot suppress assertions
- Only the number of checksum bits
Answer: Reachability or activity of the intended checking condition
A property can be disabled by the same faulty implementation it is intended to check. Validate the enabling condition or express the obligation from independent contractual events.
68.A cover trace reaches the assertion's antecedent once. What still needs review for meaningful proof coverage?
Show answer and explanation
- A guarantee every supported mode was exercised by that witness
- Whether assumptions and modeled scenarios cover the intended scope
- A guarantee one cover witness validates every assumption
- Only whether the witness file is large
Answer: Whether assumptions and modeled scenarios cover the intended scope
Nonvacuity evidence is useful but limited. One witness does not establish the completeness or correctness of the environment model and coverage scope.
69.A transition system starts at state 0. Its only transitions are 0→1, 1→2, and 2→2. Which set is reachable?
Show answer and explanation
- {0,1,2}
- {0,1}
- {0,1,2,3}
- {2}
Answer: {0,1,2}
Starting at 0 reaches 1 and then 2, which self-loops. No transition reaches 3. Reachability depends on both initialization and the allowed transitions.
70.A two-bit state variable has four encoded values, but legal initialization and transitions reach only 00 and 01. What does encoded state-space size alone tell us?
Show answer and explanation
- There are four representable encodings, not four reachable states.
- Exactly four cycles are required for a proof.
- The design has no unreachable encodings.
- All four encodings must occur.
Answer: There are four representable encodings, not four reachable states.
Representation capacity and reachable behavior are different. Reachability analysis uses initialization and transition constraints, not just bit width.
71.A state machine starts in A. It can stay in A or move to B. B can only stay in B. Which property is true for all traces?
Show answer and explanation
- A occurs only at the initial step.
- Once in B, it never returns to A.
- Every trace eventually reaches B.
- B is unreachable.
Answer: Once in B, it never returns to A.
The B self-loop makes B persistent once reached. A may self-loop forever, so eventual B is not guaranteed without additional justified progress conditions.
72.A machine alternates A→B→A forever after starting in A. Which eventuality is satisfied from every position?
Show answer and explanation
- The machine eventually stays in B forever.
- A is eventually visited again.
- The machine terminates in A.
- The machine never reaches B.
Answer: A is eventually visited again.
From either state the alternating behavior reaches A within at most two transitions. Recurrence is different from eventually remaining in one state.
73.A machine starts idle. A request moves it to busy. Busy can either self-loop forever or move to done. What is needed to prove unconditional eventual done after a request?
Show answer and explanation
- A justified restriction eliminating infinite busy-only continuation
- Only showing one busy-to-done witness
- Only proving done is a representable state
- A guarantee nondeterministic choice eventually takes every branch
Answer: A justified restriction eliminating infinite busy-only continuation
Existence of a completion path does not force completion on every path. A progress argument must address infinite stalling with assumptions or implementation structure that is actually justified.
74.A counter starts at zero and increments by two on each step. What candidate invariant holds over mathematical integers?
Show answer and explanation
- The counter is at most four.
- The counter is always zero.
- The counter is odd after the first step.
- The counter is even.
Answer: The counter is even.
Zero is even, and adding two preserves evenness. An upper bound of four fails on longer traces unless another transition guard exists.
75.An invariant candidate is 'x=y.' Initialization gives x=y=0. A transition adds one to x and two to y. Which proof obligation fails?
Show answer and explanation
- Equality at the initial state
- Initialization
- Existence of a starting state
- Preservation
Answer: Preservation
After one transition, x=1 and y=2, so the invariant is not preserved. The initial equality alone is insufficient.
76.A proof establishes x≤y and y≤z under the same modeled conditions. What follows by transitivity?
Show answer and explanation
- x<z
- z≤x
- x≤z
- x=z
Answer: x≤z
The two non-strict inequalities imply x≤z. Equality or strict inequality does not follow without additional information.
77.Proof P uses assumption A. Proof Q establishes A only after an initialization phase. What must a composed claim about P handle?
Show answer and explanation
- Only the names P and Q
- Only whether both tools return pass
- A guarantee eventual assumptions hold from the first step
- When A becomes valid and what happens before then
Answer: When A becomes valid and what happens before then
Composition must align temporal scope. A guarantee established after initialization cannot automatically justify an assumption required from the initial state.
78.A proof reports P under assumptions A and B. A later audit shows B is false for one supported environment. What can still be claimed directly?
Show answer and explanation
- P unconditionally for the unsupported environment
- That P is necessarily false everywhere
- That A alone was proven sufficient
- P for environments satisfying both A and B
Answer: P for environments satisfying both A and B
A conditional proof remains conditional. To cover environments violating B, modify the model or establish a separate result with appropriate premises.
79.A checker asserts
output_validis never high during reset, while a separate assumption forcesoutput_validlow during reset. What dependency should be reviewed?Show answer and explanation
- Only whether reset has a recognizable name
- Whether an intended DUT obligation was assumed instead of proved
- Only the number of reset cycles
- A guarantee duplicate constraints strengthen independence
Answer: Whether an intended DUT obligation was assumed instead of proved
Assuming a DUT-controlled output property can make its assertion tautological. Environment assumptions and design guarantees need separate justified roles.
80.An implementation chooses either 0 or 1 nondeterministically. A property says the choice is always 0. A simulator sees only 0, but formal finds 1. What explains the difference?
Show answer and explanation
- Formal explores an allowed choice not sampled by that run.
- The formal result must contradict the model.
- A guarantee one observed run exhausts nondeterminism.
- Simulation proves the other choice impossible.
Answer: Formal explores an allowed choice not sampled by that run.
One simulation trace is a sample of allowed behavior. A valid formal counterexample can expose another behavior within the model.
81.A counterexample is replayed with different reset polarity and no longer fails. What must be aligned before interpreting the discrepancy?
Show answer and explanation
- Only the waveform colors
- Only the simulation seed's spelling
- A guarantee any nonreplay invalidates the formal trace
- The modeled initialization and signal semantics
Answer: The modeled initialization and signal semantics
A replay must represent the same design, assumptions, clocks, reset, and stimulus semantics. Differences can change the experiment rather than refute the original trace.
82.A proof reuses a cached pass from an earlier elaboration after a parameter change. What identity should the cache validate?
Show answer and explanation
- A guarantee a previous pass survives every parameter edit
- Only the property file's basename
- The complete relevant proof-task inputs
- Only the solver's executable name
Answer: The complete relevant proof-task inputs
Proof reuse needs a sound dependency identity including design, properties, parameters, assumptions, tools, and relevant settings. Stale evidence can refer to a different model.
83.A property is proven for a modified design that bypasses an error path. The delivered design retains that path. What must be shown before transferring the proof?
Show answer and explanation
- A guarantee deleting behavior preserves every proof claim for the original
- A sound relation covering the delivered behavior
- Only that bypassing made the proof easier
- Only matching top-level port names
Answer: A sound relation covering the delivered behavior
A reduced implementation can exclude failing behavior. Establish a sound abstraction, equivalence, or separate proof rather than silently transferring the result.
84.A formal cut replaces an internal signal with unconstrained values. Why can a previously passing safety property fail?
Show answer and explanation
- Only the solver's log changed.
- Every unconstrained cut narrows the behavior set.
- The original design must now contain a real bug.
- The cut can introduce extra behaviors.
Answer: The cut can introduce extra behaviors.
An unconstrained cut can overapproximate the concrete design. A failure may be spurious unless the trace is realizable; a sound proof over the larger model can still be useful.
85.A cut-point assumption constrains an internal signal to the desired value without proving that constraint upstream. What obligation remains?
Show answer and explanation
- A guarantee decomposition removes upstream responsibility.
- Only display the downstream pass result.
- Assume internal values obey any convenient constraint.
- Justify the cut-point constraint for the actual system.
Answer: Justify the cut-point constraint for the actual system.
A local proof can be conditional on an interface abstraction. The complete argument needs the corresponding upstream guarantee or another valid justification.
86.A property checks absence of buffer overflow but not whether unread data is overwritten before being marked full. What additional evidence targets the gap?
Show answer and explanation
- Only the full flag's range
- A guarantee no full-flag overflow proves all stored data correct
- Content preservation and state-correspondence properties
- Only a longer run of the same flag check
Answer: Content preservation and state-correspondence properties
A control-bound invariant can hold while data or pointer behavior is wrong. Tie occupancy and ordering to accepted operations and stored content as required.
87.A model has a finite state graph with all legal initial states enumerated. Every reachable transition is exhaustively explored and no safety violation occurs. What distinguishes this from a depth-limited check?
Show answer and explanation
- A guarantee physical implementation behavior is fully analog-modeled
- Only a larger chosen depth number
- Only the absence of random seeds
- Reachable-state exhaustion under the model
Answer: Reachable-state exhaustion under the model
Complete reachable-state exploration can establish the modeled safety property for arbitrary trace length. Its validity still depends on the model and assumptions.
88.A state graph includes a reachable cycle containing no service event for a pending request. What should a liveness analysis examine?
Show answer and explanation
- A guarantee every cycle eventually exits
- Only the number of state names
- Whether that infinite cycle is allowed under the assumptions
- Only whether a service path exists elsewhere
Answer: Whether that infinite cycle is allowed under the assumptions
A reachable nonservicing cycle can witness starvation if it can continue indefinitely. Fairness and other restrictions must be modeled and justified explicitly.
89.A completion proof uses a nonnegative integer ranking function that strictly decreases on every pending-work transition. What condition is critical to its termination argument?
Show answer and explanation
- It only needs to decrease once on one trace.
- It cannot decrease forever while remaining nonnegative.
- It may reset upward arbitrarily while pending.
- It can be a constant on every transition.
Answer: It cannot decrease forever while remaining nonnegative.
A well-founded descending measure supports termination when all relevant pending transitions reduce it under the stated model. Arbitrary increases or indefinite stutters can break that argument.
90.A ranking function decreases on compute steps but an enabled idle self-loop can repeat forever while work is pending. What is missing from the argument?
Show answer and explanation
- Only a bigger initial rank
- Only another proof of nonnegativity
- A justified progress condition addressing infinite idle stuttering
- A guarantee some decreasing steps exist
Answer: A justified progress condition addressing infinite idle stuttering
A decreasing subset of transitions is insufficient if execution can avoid them forever. Handle the stuttering path through implementation structure or justified fairness assumptions.
91.A property says a grant cannot occur without a request. Does it ensure a request cannot remain ungranted forever?
Show answer and explanation
- No; it constrains grants rather than guaranteeing service.
- Yes, if signal names match.
- Yes; both are the same logical implication.
- No property can ever express eventual service.
Answer: No; it constrains grants rather than guaranteeing service.
The direction of implication matters. Legitimate grants and eventual service are separate obligations with different trace requirements.
92.Two properties share the same name in a report, but one checks an active-low reset and the other an active-high reset. What should the evidence index preserve?
Show answer and explanation
- Only the number of passing tasks
- Only the human-readable short name
- Unique identity and exact elaborated property meaning
- A guarantee names uniquely determine semantics
Answer: Unique identity and exact elaborated property meaning
A report must distinguish actual property definitions and configurations. Labels alone can hide materially different claims.
93.A proof assumes the input is stable forever to establish a combinational decoder's correctness, though inputs can change between cycles. What should the claim review consider?
Show answer and explanation
- Only the decoder's output width
- Whether the stability restriction excludes relevant behavior
- A guarantee stable-input correctness implies every transition requirement
- Only whether the result looks plausible
Answer: Whether the stability restriction excludes relevant behavior
For purely combinational value correctness, arbitrary fixed symbolic inputs may suffice under a sound argument. Temporal or transition claims require appropriate changing-input behavior and explicit scope.
94.A design's security property compares two executions differing only in a secret. What must the verification model represent?
Show answer and explanation
- Only one arbitrary output trace
- The relation between the two executions
- Only the number of secret bits
- A guarantee all security properties are ordinary single-trace assertions
Answer: The relation between the two executions
Relational properties such as noninterference concern comparisons across executions. A suitable paired model or equivalent method must encode the allowed differences and observable relation.
95.A proof compares two runs with different secrets but accidentally also permits different public inputs. What needs specification before concluding information leakage?
Show answer and explanation
- Which differences are allowed in the paired executions
- A guarantee all output differences must come from secrets
- Only the number of sampled clocks
- Only the secret's display radix
Answer: Which differences are allowed in the paired executions
An output difference can arise from differing public inputs. Define the relational experiment so the cause and observation criterion match the intended information-flow claim.
96.A constant-time property checks equal completion cycles for two secret values, but ignores secret-dependent memory addresses. What is its direct scope?
Show answer and explanation
- A guarantee equal latency implies identical public behavior
- Every microarchitectural leakage mechanism
- All possible side channels
- The specified completion-time observation
Answer: The specified completion-time observation
A proof covers its observation model. Equal completion time alone does not establish absence of address, power, cache, or other leakage unless separately modeled and proved.
97.A cover goal seeks a secret value in a public output. It finds no exact equality, but outputs may still reveal one secret bit. What broader issue remains?
Show answer and explanation
- Only the number of output ports
- Only whether the secret has a printable format
- Information flow beyond exact value copying
- A guarantee no exact equality means no leakage
Answer: Information flow beyond exact value copying
Leakage can encode partial or transformed information. A property checking one literal disclosure pattern is narrower than a full justified information-flow condition.
98.A formal proof is rerun after a tool version change and returns a different status. What should be retained for investigation?
Show answer and explanation
- Both task artifacts, versions, logs, and model assumptions
- A guarantee changed status always means the RTL changed
- Only the preferred passing screenshot
- Only the new executable's name
Answer: Both task artifacts, versions, logs, and model assumptions
Reproducible evidence supports comparison of models, frontends, engines, and settings. Investigate the discrepancy rather than select a convenient status without explanation.
99.A safety assertion fails only after 40 transitions. Earlier runs explored through 30. What was valid about the earlier completed bounded result?
Show answer and explanation
- It established unbounded correctness because 30 is large.
- It proved the 40-transition failure impossible.
- It excluded failures only within its stated bound.
- It was necessarily fraudulent.
Answer: It excluded failures only within its stated bound.
A later deeper counterexample does not contradict a properly scoped bounded pass. It contradicts an unsupported unbounded claim based on that pass.
100.A proof package includes a pass log but omits the assumptions and top-level harness. What review limitation follows?
Show answer and explanation
- The claim's modeled scope cannot be adequately audited.
- Only the paper's typography can be reviewed.
- The solver must have used no assumptions.
- The design is necessarily unsafe.
Answer: The claim's modeled scope cannot be adequately audited.
Assumptions, initialization, elaboration, properties, and engine scope determine what was proved. A pass log alone is not a complete proof argument.
101.A candidate must explain a formal result to a design team. Which response is strongest?
Show answer and explanation
- Treat all timeouts as passes.
- Promise that an RTL proof covers every physical failure mode.
- Connect the requirement, model, assumptions, proof status, and remaining obligations.
- State only that the tool returned green.
Answer: Connect the requirement, model, assumptions, proof status, and remaining obligations.
A useful explanation makes the actual claim reviewable and identifies what the evidence covers. Proof strength depends on modeling and discharged assumptions as well as solver status.