Electrical engineer: Digital Electronics and Interfaces
Original technical interview practice in digital arithmetic, timing, coherent transfers, electrical interfaces, serial protocols, 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.
Calculations state their ideal-model assumptions. Bench scenarios concern simulated or isolated low-energy circuits and do not authorize work on hazardous equipment.
1.A 9-bit two's-complement datapath adds 231 and 54, retaining nine result bits. Which result and signed-overflow flag should its checker expect?
Show answer and explanation
- −227 without signed overflow
- −227 with signed overflow
- 285 without signed overflow
- −29 with signed overflow
Answer: −227 with signed overflow
The exact sum is 285, above the signed maximum 255. Keeping nine bits gives 285 − 512 = −227. Two positive operands produced a negative result, so signed overflow is asserted.
2.An unsigned 10-bit accumulator contains 955 and adds 90. It reports the retained ten bits and a separate carry-out. What pair is correct?
Show answer and explanation
- 21, carry-out 1
- 21, carry-out 0
- 1045, carry-out 0
- 1023, carry-out 1
Answer: 21, carry-out 1
The exact sum is 1045 = 1024 + 21. A wrapping ten-bit result retains 21 and reports the bit beyond that width as carry-out. This is not saturating arithmetic.
3.The byte 0xD6 represents an 8-bit two's-complement sample. It must retain its value when widened to a 12-bit signed field. Which hexadecimal field is correct?
Show answer and explanation
- 0x1D6
- 0xF26
- 0xFD6
- 0x0D6
Answer: 0xFD6
0xD6 represents 214 − 256 = −42. Sign extension copies its leading one into the four added positions. The result 0xFD6 represents 4054 − 4096 = −42.
4.An 8-bit two's-complement register holds −29. Hardware shifts it right by two places, replicating the sign bit and discarding the low bits. What signed value remains?
Show answer and explanation
- −7
- −8
- 56
- −116
Answer: −8
The original pattern is 11100011. Two sign-preserving shifts produce 11111000, which is −8. An arithmetic right shift rounds this negative noninteger quotient toward negative infinity.
5.A sample processor uses signed 8-bit saturation, not wraparound. Its exact subtraction gives −110 − 40. What value should reach the output register?
Show answer and explanation
- −150
- −127
- −128
- 106
Answer: −128
The exact result −150 lies below the signed 8-bit minimum of −128. Saturating arithmetic clips to that minimum; wrapping arithmetic would instead retain 106.
6.A fixed-point field has six total bits, uses two's-complement signed storage, and places two bits after the binary point. What value does the pattern 110110 represent?
Show answer and explanation
- −2.5
- −10
- −1.25
- 13.5
Answer: −2.5
As a signed integer, 110110 is 54 − 64 = −10. With two fractional bits the scale is 1/4, so the represented value is −10/4 = −2.5.
7.A multiplier must store the exact product of any two signed 8-bit two's-complement integers in a signed two's-complement result. What minimum result width covers all inputs?
Show answer and explanation
- 14 bits
- 17 bits
- 16 bits
- 15 bits
Answer: 16 bits
The endpoint product (−128)(−128) is +16384. A signed 15-bit field tops out at +16383, while a signed 16-bit field covers every possible product.
8.A 4-bit adder produces 1010 when adding 0101 and 0101, with carry-out zero. Both inputs are interpreted as signed two's-complement values. Which flag interpretation is correct?
Show answer and explanation
- The result is +10 with no signed overflow
- Zero carry-out proves the signed sum fits
- Signed overflow occurred despite zero carry-out
- Carry-out must be one whenever the sign changes
Answer: Signed overflow occurred despite zero carry-out
Both operands are +5, but 1010 represents −6 in four signed bits. Carry-out describes unsigned range; signed overflow tests whether the signed result fits its own range.
9.Three unsigned 10-bit sensor counts are added without losing information. No negative values or later scaling are involved. What minimum unsigned width is needed for the sum?
Show answer and explanation
- 12 bits
- 10 bits
- 13 bits
- 11 bits
Answer: 12 bits
Each input can be 1023, so the largest sum is 3069. Eleven unsigned bits reach only 2047; twelve reach 4095. Operand count, rather than operand width alone, sets the sum width.
10.A fixed-point converter rounds −1.375 to the nearest multiple of 0.25. Exactly halfway cases select the result whose integer multiple of 0.25 is even. What value is emitted?
Show answer and explanation
- −1.375
- −1.75
- −1.25
- −1.5
Answer: −1.5
The neighboring representable values are −1.5 = −6×0.25 and −1.25 = −5×0.25. Both are equally near; the even-multiple rule selects −6×0.25.
11.A diagnostic trace reports the binary word 10110. The encoder defines reflected Gray code as g = b XOR (b shifted right one bit, with zero fill). What Gray word should be logged?
Show answer and explanation
- 01011
- 11101
- 11011
- 10111
Answer: 11101
Zero-filled right shift gives 01011. XOR with 10110 gives 11101. The bit ordering and conversion rule are specified, so no implementation-specific encoding convention is needed.
12.A two-bit controller uses 00, 01, and 10. Its output decoder drives a benign idle output for 11, but next-state logic maps 11 back to 11. What does this implementation establish?
Show answer and explanation
- Benign outputs, but no escape from state 11
- An unreachable state due to its unused encoding
- Benign outputs and recovery on the next edge
- Automatic upset logging by the output decoder
Answer: Benign outputs, but no escape from state 11
Output decoding and state recovery are separate properties. Mapping 11 to itself makes it a persistent state even though the chosen outputs are benign. Recovery requires an explicit transition or other mechanism.
13.A two-level AND-OR implementation uses F = AB + (NOT A)C. Only A changes, while B = C = 1. Which redundant product can bridge a static-one hazard without changing the Boolean function?
Show answer and explanation
- (NOT B)C
- A(NOT C)
- A(NOT A)
- BC
Answer: BC
BC remains true throughout this particular transition and is the consensus term. It preserves the steady-state truth table while covering a momentary gap caused by unequal delays in the A and NOT A paths.
14.Two gate-level implementations have identical steady-state truth tables. One glitches when two inputs change with unequal arrival times. Which extra evidence is needed to assess that behavior?
Show answer and explanation
- Transition ordering and internal path delays
- Only total gate count and output polarity
- Only settled input/output agreement
- Transition ordering with every path delay ignored
Answer: Transition ordering and internal path delays
A truth table describes settled outputs, not the sequence during a transition. Arrival ordering, internal delays, and which input transitions are allowed determine whether a transient pulse can occur.
15.A grant block must select exactly one requester, choosing the highest numbered asserted input among 0 through 7. Only requests 2 and 5 are high. Which output meets this contract?
Show answer and explanation
- Grants 2 and 5 are both high
- Only grant 2 is high
- Only grant 5 is high
- No grant is high because two requests conflict
Answer: Only grant 5 is high
A priority selector resolves simultaneous requests according to the stated order. The highest asserted request is 5, and the exactly-one requirement excludes passing through both requests.
16.A clock is high when an asynchronous enable changes from zero to one. The design simply ANDs that enable with the clock. What waveform risk follows from this implementation?
Show answer and explanation
- The AND gate automatically rejects mid-phase enable changes
- The change waits for a full pulse
- The output can only change when the clock itself changes
- The output pulse can start during the high phase
Answer: The output pulse can start during the high phase
With the clock already high, the AND output follows the enable transition immediately. A design needing full clock pulses must control when the enable may change, using an appropriate gating arrangement and timing checks.
17.For one register path, launch occurs at 0 ns and the next capture edge arrives at 10.4 ns. Maximum clock-to-Q plus logic delay is 8.7 ns; capture setup is 0.6 ns. With no other uncertainty, what is setup slack?
Show answer and explanation
- −1.1 ns
- +2.3 ns
- +0.7 ns
- +1.1 ns
Answer: +1.1 ns
The latest allowed data arrival is 10.4 − 0.6 = 9.8 ns. Actual latest arrival is 8.7 ns, leaving 1.1 ns. Capture-edge arrival, rather than nominal period alone, belongs in this check.
18.A same-cycle hold check has launch edge 0 ns, capture edge 0.45 ns, minimum clock-to-Q 0.12 ns, minimum data delay 0.18 ns, and hold time 0.20 ns. What is hold slack with no other uncertainty?
Show answer and explanation
- −0.05 ns
- +0.35 ns
- +0.10 ns
- −0.35 ns
Answer: −0.35 ns
New data can reach the input at 0.12 + 0.18 = 0.30 ns. The old data must remain through 0.45 + 0.20 = 0.65 ns. Slack is 0.30 − 0.65 = −0.35 ns.
19.A timing change delays only the capture clock by 0.25 ns relative to launch. The same next-cycle setup and same-cycle hold checks still apply, with data delays unchanged. What happens to their slacks?
Show answer and explanation
- Both slacks remain unchanged because the period is fixed
- Setup loses 0.25 ns; hold gains 0.25 ns
- Setup gains 0.25 ns; hold loses 0.25 ns
- Both setup and hold gain 0.25 ns
Answer: Setup gains 0.25 ns; hold loses 0.25 ns
A later capture edge provides more time before the next setup deadline. It also extends the same-cycle hold deadline, making early new data more problematic. Capture skew affects the two checks in opposite directions.
20.A synchronous path passes setup but fails a same-edge hold check. Lowering clock frequency changes only the period; all edge skew and minimum path delays stay fixed. Which prediction is justified?
Show answer and explanation
- The same-edge hold violation persists
- The longer cycle converts the hold check into a setup check
- The destination hold time scales down with clock frequency
- The extra period fixes hold
Answer: The same-edge hold violation persists
This hold check compares the earliest new data with the same capture edge. Increasing time to the following edge does not move that deadline. A frequency change alone does not fix the specified minimum-delay problem.
21.A designer marks a register path as taking two cycles because the destination uses it only on alternate cycles. What must justify the exception beyond a timing-tool command?
Show answer and explanation
- The absence of tool warnings after the change
- Negative slack in the original single-cycle check
- A setup exception that eliminates all hold constraints
- A functional timing contract, including hold checks
Answer: A functional timing contract, including hold checks
A multicycle exception asserts actual allowed sampling behavior. The enable/phase contract must support it, and its hold interpretation must be reviewed. Suppressing a report is not evidence that the circuit follows that contract.
22.A source-synchronous interface launches on a clock's falling edge and captures on its next rising edge. Period is 12 ns; high time is 8 ns and low time is 4 ns. Ignoring skew, what launch-to-capture time is available?
Show answer and explanation
- 8 ns
- 4 ns
- 12 ns
- 6 ns
Answer: 4 ns
The interval from a falling edge to the following rising edge is the low phase, here 4 ns. A half-cycle path does not automatically receive half the nominal period when duty cycle is unequal.
23.A positive-level latch is transparent from 0 to 5 ns. Its input becomes valid at 2 ns and stays valid; propagation delay is 0.3 ns. In this simplified model, when can its output reflect the new value?
Show answer and explanation
- Only at the next opening instant
- At 2.3 ns, during transparency
- At 0.3 ns, before valid input arrives
- Only at the 5 ns closing instant
Answer: At 2.3 ns, during transparency
A transparent latch can pass a changing input during its open interval. The stated delay makes 2.3 ns possible. Latch timing must therefore consider transparency, not treat the element as a rising-edge flip-flop.
24.A receiving register's setup deadline is 19.2 ns. Latest data arrival is 18.8 ns, and a separate 0.5 ns uncertainty budget must be subtracted from slack. What final setup slack results?
Show answer and explanation
- −0.1 ns
- −0.9 ns
- +0.9 ns
- +0.4 ns
Answer: −0.1 ns
Raw slack is 19.2 − 18.8 = 0.4 ns. Subtracting the additional 0.5 ns uncertainty leaves −0.1 ns. The stated deadline does not already include that separate budget.
25.A reset can assert asynchronously, but its release is required to meet a register's recovery and removal limits relative to the local clock. What analysis is missing if only data-input setup and hold are checked?
Show answer and explanation
- Only average reset assertion duty cycle
- Reset-release timing at the affected registers
- A combinational truth table for the reset signal
- Only the register's unsigned arithmetic width
Answer: Reset-release timing at the affected registers
Asynchronous control release has its own timing relationship to the clock. Data-input timing reports do not establish that relationship. The reset architecture must make release behavior and its constraints explicit.
26.A designer inserts a flip-flop into a long arithmetic path to raise clock frequency. The surrounding protocol previously expected the result one cycle after launch. Which consequence needs explicit handling?
Show answer and explanation
- Latency and alignment of the associated control
- Removal of all downstream hold checks
- The output threshold of the inserted register
- Preserved latency whenever the arithmetic is unchanged
Answer: Latency and alignment of the associated control
Pipelining changes which cycle carries a result. Valid bits, tags, and dependent operations must remain aligned with it. A shorter combinational delay does not by itself preserve the original interface latency.
27.A path is declared false because its destination clock is stopped in one operating mode. Another supported mode runs both clocks and enables transfer. What is the review concern?
Show answer and explanation
- Clock inactivity proves exclusion in every mode
- Timing exceptions apply to arithmetic only
- The constraint itself isolates the restarted clocks
- It can hide a real path in the second mode
Answer: It can hide a real path in the second mode
Timing exceptions must match every mode where they apply. Inactivity in one mode does not justify excluding a path that can transfer data in another. Mode-specific constraints or an independently proven functional exclusion are needed.
28.A synchronous valid/ready link accepts a word on an edge only when both signals are high. Valid remains high for four edges, while ready is 0, 1, 0, 1. The source advances data only after acceptance. How many transfers occur?
Show answer and explanation
- 3
- 1
- 2
- 4
Answer: 2
Both signals are high at the second and fourth edges. Each is a separate acceptance. Holding valid high does not make the entire four-edge interval one transaction or permit transfers when ready is low.
29.A valid/ready transmitter presents a word with valid high, but ready stays low for three edges. Under a contract requiring persistence until acceptance, what must the transmitter do?
Show answer and explanation
- Treat the first valid edge as acceptance regardless of ready
- Pulse valid once, then discard the word
- Keep valid high but replace the word during each stalled edge
- Hold valid and the word until acceptance
Answer: Hold valid and the word until acceptance
The receiver has accepted nothing while ready is low. The source must preserve the offered item until an edge with both signals high. This stability rule prevents a stalled transaction from silently changing meaning.
30.A receiver waits to assert ready until it sees valid. A source waits to assert valid until it sees ready. Both begin low, and no other rule changes either signal. What execution is possible?
Show answer and explanation
- An inherent valid/ready timeout response
- Automatic transfer after one cycle of waiting
- Transfer when either signal is high alone
- Permanent deadlock with both signals low
Answer: Permanent deadlock with both signals low
The two waiting conditions form a cycle: neither side initiates. The protocol needs an initiator rule or independent readiness behavior. No clock frequency choice removes the logical circular wait in the stated system.
31.A destination detects an event by observing a synchronized toggle bit. The source toggles twice between two destination observations, and no queue or acknowledgment exists. What can the destination observe?
Show answer and explanation
- At least one event must be observed
- Two stored pulses must appear at the receiver
- Both events can disappear from the sample
- Both events can be counted from final polarity
Answer: Both events can disappear from the sample
Two toggles restore the original bit value. A sampled toggle encodes parity of unseen events, not their count. Spacing guarantees, acknowledgment, or a suitable event-counting mechanism are necessary for reliable event delivery.
32.A four-phase request/acknowledge crossing follows request-up, acknowledge-up, request-down, acknowledge-down. When may the source start the next transaction under this contract?
Show answer and explanation
- As soon as it drives request high
- As soon as it observes acknowledge high
- After one local cycle regardless of acknowledge
- After observing acknowledge low again
Answer: After observing acknowledge low again
The return-to-zero portion completes the handshake. Starting another request while acknowledge still represents the previous transaction can merge transactions. The source must observe completion of the full stated sequence.
33.A bundled-data crossing holds a 24-bit word stable, synchronizes a request, and lets the destination capture that word. Which condition must the implementation establish besides request synchronization?
Show answer and explanation
- Matching average clock frequencies alone
- A fixed word width without a data-hold rule
- Data settling and hold through the capture
- Independent per-bit synchronizers alone
Answer: Data settling and hold through the capture
Synchronizing the control does not individually synchronize every data bit. The timing contract must give the complete held word enough settling margin and prevent the source from overwriting it before the destination has captured it.
34.One asynchronous status level fans out to two independent synchronizer chains. Their outputs feed logic that assumes both copies change on the same destination edge. What failure remains possible?
Show answer and explanation
- Different-cycle recognition can cause disagreement
- Two stages imply exactly two cycles on every event
- A shared source forces identical chain latency
- Independent chains ensure simultaneous recognition
Answer: Different-cycle recognition can cause disagreement
Each chain can delay recognition differently. Reconverging separately synchronized copies can therefore violate a same-cycle agreement assumption. A single synchronized copy distributed within the destination domain avoids that particular divergence.
35.A synchronizer's first-stage output drives both its second stage and a destination control decoder. The second-stage output is otherwise used correctly. What is the critical review finding?
Show answer and explanation
- Logic can see unresolved first-stage output
- Same-domain fanout makes the first stage safe
- More fanout guarantees faster resolution
- The decoder inherits second-stage protection
Answer: Logic can see unresolved first-stage output
The first stage may be metastable following an asynchronous transition. Letting ordinary control logic observe it defeats the intended isolation. The later stage's improved reliability does not retroactively protect this bypass path.
36.A characterized synchronizer model gives MTBF proportional to
exp(Tresolve/τ)/(fclock×fevent). Only resolution time increases by 3τ. What MTBF multiplier does this model predict?Show answer and explanation
- exp(3), about 20
- 3
- 1/3
- exp(−3), about 0.05
Answer: exp(3), about 20
All other factors cancel in the ratio. Increasing resolution time by 3τ multiplies the exponential by exp(3). This is a relative result under the supplied model, not an absolute field-reliability guarantee.
37.An event crossing has no finite upper bound on the number of source events while the destination clock may stop indefinitely. Storage is finite and the source cannot be stalled. Which lossless guarantee is feasible?
Show answer and explanation
- Losslessness with one unacknowledged toggle bit
- No finite storage suffices for unbounded arrivals
- Losslessness using a sufficiently deep finite FIFO
- Losslessness from adding synchronizer stages
Answer: No finite storage suffices for unbounded arrivals
Unbounded arrivals during an unbounded service outage can exceed any finite storage. A lossless design needs a bound, backpressure, or another explicit assumption; changing the synchronizer alone cannot supply missing capacity.
38.A depth-eight circular FIFO adds one wrap bit to each three-bit address pointer. With correct local pointers, how can equal address bits be distinguished as empty versus full?
Show answer and explanation
- The address bits alone distinguish both cases
- A longer data word automatically distinguishes them
- The distinction requires reserving all eight locations unused
- The wrap bits distinguish zero separation from eight entries
Answer: The wrap bits distinguish zero separation from eight entries
The extra pointer bit tracks wrap history. Matching addresses can mean no queued entries or a complete buffer's worth of separation. The wrap relationship separates these states in the stated pointer scheme.
39.For a reflected-Gray asynchronous FIFO pointer, a source increment is guaranteed to change only one bit at the source registers. Why still constrain physical delays or skew on the crossing bus?
Show answer and explanation
- Successive source changes can overlap on arrival
- A one-bit source change removes timing constraints
- The receiver must sample every intermediate count
- Gray encoding makes any route-delay spread safe
Answer: Successive source changes can overlap on arrival
The one-bit property describes adjacent source states. Excessive route-delay spread can let changes from different increments arrive together or out of order. The crossing's physical timing assumptions still need enforcement.
40.An asynchronous FIFO writer uses a safely synchronized but delayed read pointer to decide whether space remains. All crossing assumptions hold. What is the usual effect of that delay?
Show answer and explanation
- An increase in actual queue storage capacity
- Permission to overwrite a newly read slot immediately
- The writer may retain full after space is freed
- Prediction of read completions before they occur
Answer: The writer may retain full after space is freed
The writer sees an older read position, so it can conservatively believe the FIFO is full after the reader has freed space. This costs availability briefly; it should not license overwriting occupied entries.
41.A FIFO has capacity 16 words and occupancy 9. Its writer adds one word on each of six consecutive edges; its reader removes none during that interval. What occupancy remains and does capacity overflow?
Show answer and explanation
- 15 words, no overflow
- 15 words, overflow
- 16 words, no overflow
- 3 words, no overflow
Answer: 15 words, no overflow
With no reads, occupancy rises by six, from nine to fifteen. This remains within sixteen. Pointer encoding or synchronization delay is not part of the arithmetic scenario specified here.
42.A FIFO receives one word every 8 ns indefinitely and can retire at most one word every 10 ns. There is no backpressure or dropping. What long-run conclusion follows for any fixed finite depth?
Show answer and explanation
- The sustained rate deficit eventually fills any finite FIFO
- Clock alignment periodically empties the queue
- The 2 ns period gap bounds occupancy growth
- A deep enough fixed FIFO stays bounded forever
Answer: The sustained rate deficit eventually fills any finite FIFO
Arrival rate is 125 million words/s and maximum service is 100 million words/s. The positive average excess accumulates without bound. Finite depth can absorb a bounded burst, not a permanent rate deficit.
43.A binary event counter is read through a coherent snapshot protocol. It wraps modulo 256. Between snapshots there may be 300 events. Can subtraction modulo 256 uniquely recover the count?
Show answer and explanation
- Yes; coherence counts wraps
- Yes; 44 and 300 give distinct modulo differences
- No; modulo differences can alias
- No; coherent snapshots corrupt binary values
Answer: No; modulo differences can alias
Coherence preserves a sampled value but not unbounded history. For example, 44 and 300 events produce the same modulo difference. A count bound, wider counter, or explicit wrap information is needed.
44.A bundled-data bridge holds its word until acknowledgment. Worst-case data settling is 13 ns after launch; earliest destination capture is 16 ns. Capture setup is 1 ns and additional uncertainty is 0.5 ns. What setup margin does this supplied model leave?
Show answer and explanation
- 3.0 ns
- −1.5 ns
- 2.5 ns
- 1.5 ns
Answer: 1.5 ns
The latest permissible settled-data time is 16 − 1 − 0.5 = 14.5 ns. Actual worst-case settling is 13 ns, leaving 1.5 ns. The hold-until-acknowledgment condition addresses overwrite separately.
45.A handshake bridge resets only its source. The destination retains acknowledge high for the old request, while the source restarts assuming acknowledge low. What must the reset design address?
Show answer and explanation
- Treating retained acknowledge as a new completion
- A defined reset and rejoin sequence
- Only source data initialization
- Only equal asynchronous reset pulse widths
Answer: A defined reset and rejoin sequence
Reset affects protocol history. Independently restarted endpoints can disagree about which transaction an acknowledge belongs to. The design needs a documented reset/rejoin sequence and a policy for any in-flight item.
46.An ideal sampler takes observations every 20 ns. A signal stays high continuously for 45 ns, with neither endpoint coinciding with an observation. Across arbitrary relative phase, how many high observations can occur?
Show answer and explanation
- Exactly three for every phase
- Either zero or one
- Either two or three
- Exactly two for every phase
Answer: Either two or three
The high interval is longer than two sample periods but shorter than three. Depending on phase, it contains two or three observation instants. This assumes ideal sampling and counts observations, not independently delivered events.
47.An async FIFO's empty flag is generated in the read domain and synchronized to a monitoring processor. The processor treats it as proof that no writes are occurring now. What is wrong with that inference?
Show answer and explanation
- It cannot prove all writers are idle
- Flag synchronization prevents further writes
- The monitor sees an instantaneous global state
- Empty proves global idle
Answer: It cannot prove all writers are idle
The read-domain flag reflects local knowledge, and the monitoring copy adds latency. A concurrent or newly arriving write can make the actual state differ. Quiescence requires an explicit producer/consumer coordination protocol.
48.An event counter uses a one-bit pending flag. Hardware sets it on an event; software clears it after servicing. A set and clear coincide. To preserve a newly arriving event, which specified priority is appropriate?
Show answer and explanation
- Set wins, retaining a pending indication
- Clear wins, preserving the coincident event
- Either priority retains a separate event record
- Toggle wins, independent of old flag state
Answer: Set wins, retaining a pending indication
A set-dominant update retains notice of the event arriving during the clear. A one-bit flag still cannot count arbitrarily many events, so this priority addresses the stated race rather than proving a lossless event queue.
49.A driver guarantees VOH ≥ 2.65 V at the specified load. Its receiver requires VIH ≥ 2.10 V. At those conditions, what guaranteed high-level DC noise margin follows before other voltage offsets?
Show answer and explanation
- 0.75 V
- 0.55 V
- 2.10 V
- 4.75 V
Answer: 0.55 V
The high-level margin is the guaranteed minimum output-high voltage minus the receiver's minimum recognized-high threshold: 2.65 − 2.10 = 0.55 V. Loading and reference offsets must be treated separately if present.
50.A receiver guarantees low for input ≤ 0.65 V and high for input ≥ 1.75 V. Its input is held at 1.20 V. Which digital reading is guaranteed by these limits alone?
Show answer and explanation
- High, using the midpoint
- Neither logic level is guaranteed
- A stable third logic state representing the midpoint
- Low, because it is below 1.75 V
Answer: Neither logic level is guaranteed
The input lies between the guaranteed low and high regions. Its interpreted state is unspecified by these limits and need not be consistent across devices or conditions. A midpoint rule cannot be inferred.
51.An otherwise unloaded input is pulled to 3.0 V through 120 kΩ. Its worst-case leakage draws 8 µA from the node to return. With an ideal resistor and that leakage bound, what minimum node voltage results?
Show answer and explanation
- 3.96 V
- 2.04 V
- 2.88 V
- 2.992 V
Answer: 2.04 V
The leakage drop is 8 µA × 120 kΩ = 0.96 V, leaving 2.04 V. The worst-case direction matters: this question specifies leakage pulling the node downward.
52.Two enabled push-pull outputs disagree. Model the high driver as 3.0 V through 15 Ω and the low driver as 0 V through 10 Ω. What current flows between drivers in this simplified DC model?
Show answer and explanation
- 12 mA
- 300 mA
- 120 mA
- 200 mA
Answer: 120 mA
The opposing sources are connected through 15 + 10 = 25 Ω. Current is 3.0/25 = 0.12 A. This supplied model quantifies contention; it is not a permissible operating-current specification.
53.An old bus driver disables within 7 ns after command. A new driver can enable 2 ns after its command. The new command is delayed by Δ after the old disable command. Ignoring all other skew, what minimum Δ avoids overlap in the worst case?
Show answer and explanation
- 7 ns
- 9 ns
- 2 ns
- 5 ns
Answer: 5 ns
The earliest new drive is Δ + 2 ns; the latest old release is 7 ns. Requiring Δ + 2 ≥ 7 gives Δ ≥ 5 ns. A practical design would also budget uncertainty beyond this ideal boundary.
54.A bus receiver remains powered while the attached transmitter is off. The transmitter's pad has a diode to its unpowered supply and no specified powered-off isolation. What issue needs checking before allowing the receiver's pull-up to stay active?
Show answer and explanation
- Guaranteed isolation from stopped logic
- Universal translation through the pad diode
- Back-powering through the pad path
- Only powered-on output timing
Answer: Back-powering through the pad path
Powered-off behavior is an electrical property, not implied by stopped logic. A pad protection path can inject current and partially power a rail. The interface needs appropriate powered-off ratings or isolation under the stated sequence.
55.A differential receiver accepts differential input of at least +0.10 V, but its permitted common-mode range is 0.4–1.6 V. Its pins sit at 2.2 V and 1.8 V. What conclusion follows?
Show answer and explanation
- Both pass because the pin difference is large
- Both fail because differential voltage is too small
- Differential passes; common mode fails
- Common mode is half the pin difference
Answer: Differential passes; common mode fails
The pin difference is 0.4 V, but their mean is 2.0 V. That exceeds the specified common-mode maximum. A valid differential amplitude does not independently establish valid absolute input conditions.
56.A lossless 60 Ω transmission line ends in a 90 Ω load. With voltage reflection coefficient Γ = (ZL − Z0)/(ZL + Z0), what coefficient occurs at that load?
Show answer and explanation
- +0.50
- +0.20
- −0.50
- −0.20
Answer: +0.20
Substitution gives (90 − 60)/(90 + 60) = 30/150 = +0.20. Positive polarity means the reflected voltage step has the same sign as the incident step in this model.
57.An ideal 2.4 V step source with 60 Ω series resistance drives a previously uncharged, lossless 60 Ω line. Before any reflection returns, what voltage step launches onto the line?
Show answer and explanation
- 4.8 V
- 2.4 V
- 0.6 V
- 1.2 V
Answer: 1.2 V
Before reflections return, the line presents its characteristic impedance. The 60 Ω source and 60 Ω line form a divider, launching 2.4×60/(60 + 60) = 1.2 V.
58.In a lossless line model, a +0.7 V incident step reaches an ideal open-circuit load with initially zero voltage. What load-voltage change results at its first arrival?
Show answer and explanation
- −0.7 V
- +1.4 V
- +0.7 V
- 0 V
Answer: +1.4 V
An open circuit has voltage reflection coefficient +1. The arriving incident and reflected voltage steps add at the load, making a 1.4 V first step. Later source reflections depend on source termination.
59.A source-series-terminated point-to-point line has its only receiver at the far end. A second receiver is added near the source. Why must its waveform be assessed separately?
Show answer and explanation
- The identical first-arrival waveform as the far end
- Zero travel time due to the added high impedance
- Immediate full source amplitude
- A plateau before a returning reflection
Answer: A plateau before a returning reflection
Source termination is commonly arranged around a far-end reflection establishing the final voltage. A nearby tap can initially see the launched divider voltage. Topology and threshold timing matter when adding receivers.
60.A simplified time-domain reflectometry model has one isolated discontinuity. Its echo arrives back at the source 10 ns after the launched edge. Propagation speed is 0.16 m/ns, with instrument delays removed. How far from the source is the discontinuity?
Show answer and explanation
- 3.20 m
- 0.40 m
- 0.80 m
- 1.60 m
Answer: 0.80 m
The echo travels to the discontinuity and back. One-way travel time is 10/2 = 5 ns, so distance is 5×0.16 = 0.80 m. The stated model excludes additional echoes and fixture delay.
61.A returning current pulse shares 2 nH of inductance with a receiver reference. In a supplied lumped model, current rises by 0.18 A in 0.6 ns. What inductive voltage magnitude does L×di/dt predict?
Show answer and explanation
- 0.06 V
- 0.006 V
- 6.0 V
- 0.60 V
Answer: 0.60 V
The current slope is 0.18/(0.6×10⁻⁹) = 3×10⁸ A/s. Multiplying by 2×10⁻⁹ H gives 0.60 V. Real geometry and current distribution determine whether this simple shared-inductance model applies.
62.A line's ringing crosses a receiver's input threshold three times during one intended transition. A slow logic-analyzer display shows only the final state. What evidence best tests whether the receiver saw extra edges?
Show answer and explanation
- An analog capture at the receiving pins
- A transmitting-pin average edge-rate measurement
- More final-byte decodes
- Only decoding data before the interconnect
Answer: An analog capture at the receiving pins
The relevant waveform is the voltage relative to the receiver's reference near the threshold crossings. An analog capture with adequate bandwidth and a controlled probe connection can reveal behavior omitted by a settled-state display.
63.A passive probe contributes 9 pF at a digital node whose existing lumped capacitance is 3 pF. With the same ideal source resistance, how does attaching the probe change the RC time constant?
Show answer and explanation
- It becomes one quarter of the original value
- It remains unchanged because the probe is passive
- It becomes three times the original value
- It becomes four times the original value
Answer: It becomes four times the original value
The total capacitance rises from 3 pF to 12 pF. At fixed resistance, the time constant scales with capacitance, giving a factor of four. Passive measurement equipment can materially load a fast node.
64.A digital input's recommended range is satisfied in steady state, but an analog capture shows brief excursions beyond its allowed transient limits. What should a design review conclude?
Show answer and explanation
- Truth-table agreement proves stress is acceptable
- Every brief excursion is exempt from pad limits
- Only the average input voltage needs checking
- Pin stress remains unverified despite correct settled logic
Answer: Pin stress remains unverified despite correct settled logic
Logic interpretation and electrical stress are separate checks. Transient allowances, if any, come from the interface's specified conditions. A correct decoded value does not establish compliance with the stated transient limit.
65.A simulated serial eye is wide at a single nominal condition. The interface requirement covers supply, temperature, channel loss, and timing uncertainty. What evidence would support the claimed operating envelope?
Show answer and explanation
- Coverage of required bounds and uncertainties
- A longer run at unchanged nominal conditions
- A threshold chosen to maximize the nominal eye
- More transmitted bits without receiver bounds
Answer: Coverage of required bounds and uncertainties
A nominal waveform addresses one case. Supporting the full claim requires bounding the relevant conditions and uncertainties, including receiver thresholds and sampling timing. Longer nominal simulation alone does not cover omitted corners.
66.A synchronous serial contract says the receiver samples on rising clock edges and the transmitter changes data on falling edges. Clock idles high, and data bit zero is prepared before the first sampling edge. Which is the first sampling edge after selection?
Show answer and explanation
- The first falling edge
- The first rising edge
- The second falling edge
- The select edge
Answer: The first rising edge
From an idle-high state, the first clock transition is falling and is not a sampling edge under the stated contract. The following rising edge samples the already prepared bit. Explicit edge rules avoid reliance on ambiguous mode labels.
67.A serial transmitter changes data on a falling edge at 0 ns. Data arrives at the receiver after at most 7 ns. The sampling rising edge arrives there at 10 ns and setup is 2 ns. What setup margin remains, ignoring other uncertainty?
Show answer and explanation
- 1 ns
- 5 ns
- −1 ns
- 3 ns
Answer: 1 ns
Data must arrive by 10 − 2 = 8 ns. The specified latest arrival is 7 ns, leaving 1 ns. Both the data and clock timing are expressed at the receiver for this calculation.
68.A device returns the result of command N only during transaction N+1. The host sends one command, immediately reads that transaction's returned bits, and labels them result N. Which interface issue is most directly implicated?
Show answer and explanation
- Contention necessarily corrupting every frame
- A clock-idle mismatch proven by the frame offset
- The host assigned an earlier result to the current command
- An inherent inability to transfer in both directions
Answer: The host assigned an earlier result to the current command
A full-duplex shift can send the new command while returning an earlier result. The host must align results with the contract's transaction latency. Clock polarity cannot be inferred merely from this bookkeeping error.
69.A serial peripheral latches its command only when chip-select rises. A host sends two eight-bit commands while holding select continuously low, then raises select once. What behavior cannot be assumed from the stated contract?
Show answer and explanation
- A final select-rising boundary after the bits
- Two separately committed commands
- Sixteen clocked bit periods during selection
- One continuous chip-select assertion interval
Answer: Two separately committed commands
The contract identifies the select boundary as the command-latch event. One continuous selection interval does not establish two separate commits. The device's defined framing must determine how the sixteen received bits are interpreted.
70.A half-duplex serial exchange switches a shared data wire from controller drive to target drive. Both sides agree on bit rate and bit order. Which additional timing contract is essential?
Show answer and explanation
- Nonoverlap inferred from equal bit rates alone
- An explicit release/enable schedule for shared-wire drive
- Direction inferred solely from payload value
- Continuous drive by both ends during turnaround
Answer: An explicit release/enable schedule for shared-wire drive
Matching bit interpretation does not prevent electrical contention. The protocol must specify release and acquisition of the shared wire, including timing bounds. Each side must know when it may drive and when it must receive.
71.A custom asynchronous frame contains one start bit, seven data bits, one parity bit, and two stop bits. At 250 kbit/s with no gap, how long is one complete frame?
Show answer and explanation
- 40 µs
- 48 µs
- 44 µs
- 32 µs
Answer: 44 µs
There are 1 + 7 + 1 + 2 = 11 bit periods. At 250000 bits/s, each lasts 4 µs, so the complete frame occupies 44 µs. Payload bits alone do not give frame duration.
72.A receiver ideally identifies the start at t = 0 and samples the tenth bit at 9.5 of its own bit periods. Its bit period is 2% longer than the transmitter's; ignore all other error. How late is that sample in transmitter bit-period units?
Show answer and explanation
- 1.90 bit periods
- 0.19 bit periods
- 0.95 bit periods
- 0.02 bit periods
Answer: 0.19 bit periods
The receiver samples at 9.5×1.02 = 9.69 transmitter periods. The ideal corresponding point is 9.5, so the accumulated lateness is 0.19 periods. Frequency mismatch creates growing within-frame phase error.
73.A custom link appends one even-parity bit to each data word. Two data bits flip during transfer and the parity bit does not. What can the parity check conclude for that word?
Show answer and explanation
- It can identify and correct both changed data bits
- The two flips preserve parity, so the check can pass
- It proves the data word arrived in the correct order
- It must flag every nonzero number of bit flips
Answer: The two flips preserve parity, so the check can pass
Flipping two bits preserves the parity of the total number of ones. A single parity bit detects odd numbers of flips across its protected codeword, but does not detect every even-numbered corruption.
74.A link verifies a CRC on each received frame. A receiver accepts the same valid frame twice after a retry. Which mechanism directly distinguishes the duplicate from a new transaction?
Show answer and explanation
- Sequence identity with duplicate handling
- Byte-order agreement without history tracking
- A longer payload CRC
- Repeated calculation of the same frame CRC
Answer: Sequence identity with duplicate handling
A valid CRC addresses the protected bits' consistency under its error model. Replaying an intact frame preserves its CRC. Distinguishing a retry requires transaction identity and receiver state defining duplicate handling.
75.Two controllers arbitrate on a conventional open-drain I2C data bit while SCL is high. One releases SDA intending one, but reads SDA low because the other drives zero. What should the first controller infer?
Show answer and explanation
- Its released one overrides the driven zero
- The target acknowledged the entire message
- It lost arbitration on the shared data line
- It should force a high to defend its intended bit
Answer: It lost arbitration on the shared data line
In this arbitration situation, a controller sending one observes whether the shared data line agrees. A low means another controller is asserting zero. Driving high is incompatible with the stated open-drain arbitration mechanism.
76.During a conventional I2C byte acknowledgment, the transmitting controller keeps SDA driven low instead of releasing it for the receiver's response. Why is its observed low not valid evidence of receiver acknowledgment?
Show answer and explanation
- Its own driver can be holding SDA low
- Acknowledge is valid even if the sender drives low
- Any driven-low bit proves target presence
- The response uses SCL instead of SDA
Answer: Its own driver can be holding SDA low
The receiver's response can be observed only if the transmitter relinquishes SDA for that bit. A transmitter holding it low masks whether the receiver actually asserts acknowledgment.
77.A conventional I2C controller releases SCL to request a high period, but another permitted participant continues holding SCL low. What must a controller supporting clock stretching use for timing the high phase?
Show answer and explanation
- Its own release command, even while SCL is low
- The observed line transition from low to high
- An SDA edge substituted for observing SCL
- Only the scheduled internal clock instant
Answer: The observed line transition from low to high
Releasing an open-drain clock line does not prove it has risen. A participant can extend the low phase. A controller supporting this behavior must observe the actual line and use defined timeout/error handling as applicable.
78.A conventional I2C transaction uses a repeated START between a register-address write and a data read, rather than issuing STOP first. What protocol property does this preserve?
Show answer and explanation
- Permission to omit any later read/write bit
- Bus ownership across the combined transfer
- Automatic payload CRC protection
- An atomic internal sensor snapshot across all bytes
Answer: Bus ownership across the combined transfer
A repeated START begins the next phase while retaining the combined bus transaction. It does not define every target's internal register semantics, create error-detection bits, or make a multi-byte sensor snapshot inherently atomic.
79.An interface explicitly uses a seven-bit I2C target address of binary 0101101. Its first address byte places those seven bits above a least-significant direction bit, where read is one. Which first byte requests a read?
Show answer and explanation
- 0x2D
- 0xAD
- 0x5A
- 0x5B
Answer: 0x5B
The seven-bit address is 0x2D. Shifting it left once gives 0x5A; setting the low read bit gives 0x5B. The address value itself must not be confused with the complete address-plus-direction byte.
80.A device returns a 16-bit unsigned count as low byte first, then high byte. The host receives 0x34 followed by 0x12. Which count follows this specified byte order?
Show answer and explanation
- 0x3412
- 0x0034
- 0x1234
- 0x1246
Answer: 0x1234
Low byte 0x34 contributes 52 and high byte 0x12 contributes 18×256. Their combined value is 0x1234. Wire bit order within each byte is separate from the stated order of the two bytes.
81.A status bit clears whenever its register is read. Both an interrupt handler and a diagnostic task read that register independently. What race should the design review consider?
Show answer and explanation
- Each reader gets a saved copy
- The diagnostic task can consume the event
- A read changes returned data, never status state
- The handler reconstructs a cleared flag by address
Answer: The diagnostic task can consume the event
A read changes the underlying status state. One reader can therefore remove evidence intended for another. Ownership, a single reader with software distribution, or different hardware semantics are needed to preserve the required event handling.
82.A free-running 16-bit counter exposes separate high and low byte reads, with no snapshot latch. The host reads high just before 0x12FF becomes 0x1300, then reads low just afterward. What assembled value can it obtain?
Show answer and explanation
- 0x1200, a value from neither counter instant
- 0x13FF, because both bytes increment independently
- 0x1300, guaranteed by the byte read order
- 0x12FF, guaranteed by the first read
Answer: 0x1200, a value from neither counter instant
The first read can return high byte 0x12 and the second low byte 0x00. Combining them gives 0x1200, an incoherent observation. A hardware snapshot or a suitably validated retry protocol is needed.
83.A control register mixes ordinary writable bits with write-one-to-clear event flags. Firmware reads the whole register, changes one ordinary bit, then writes the whole value back. What unintended effect is possible?
Show answer and explanation
- Ordinary fields disable adjacent clear actions
- Copying a one preserves the corresponding flag
- Hardware detects that software merely copied bits
- Copied ones perform clear actions on set event flags
Answer: Copied ones perform clear actions on set event flags
Writing a one to a write-one-to-clear flag performs an action, even if software merely copied that one from a read. Register access code must respect field semantics rather than assume whole-register read-modify-write is neutral.
84.A memory-mapped peripheral acknowledges that it accepted a command into a queue. Its contract reports completion later using a separate done flag. What may the host infer immediately from the acknowledgment?
Show answer and explanation
- Completion of the commanded physical operation
- Acceptance, with completion still pending
- Proof that the operation cannot later fail
- Completion of all previously queued commands
Answer: Acceptance, with completion still pending
Acceptance and completion are distinct protocol events. A queue acknowledgment supports only the stated acceptance claim. The host must use the documented completion/error mechanism before depending on the operation's result.
85.A bit-banged serial interface has a minimum high time of 0.8 µs. Measurements show occasional 0.55 µs highs when interrupts preempt one branch of its timing code. Which remedy needs validation?
Show answer and explanation
- Receiver decoding that rounds short pulses upward
- Pulse timing bounded under permitted scheduling interruptions
- Compliance inferred from average loop frequency
- Average high time exceeding the required minimum
Answer: Pulse timing bounded under permitted scheduling interruptions
The requirement applies to individual pulse widths. Software scheduling and execution paths must preserve the minimum under permitted interruptions. Average rate or display rounding cannot establish that bound.
86.An asynchronous input changes twice within 1 ns, but a digital simulation samples it only every 5 ns. No timing model or analog model is enabled. What does a clean waveform establish?
Show answer and explanation
- Rejection of all physical pulses below 5 ns
- A real 5 ns glitch filter built into the input
- A measured analog metastability resolution bound
- The behavior represented at the modeled observation instants
Answer: The behavior represented at the modeled observation instants
A discrete observation schedule can omit transitions between samples. Without a relevant circuit/timing model, the result does not prove physical pulse rejection or metastability behavior. The verification model must represent the claimed property.
87.A local reset-release circuit requires two complete rising clock edges before it deasserts reset. The clock period is 10 ns and resumes at t = 7 ns, then 17 ns. Reset was requested for release at t = 1 ns. When does this model first release local reset?
Show answer and explanation
- 1 ns
- 7 ns
- 17 ns
- 11 ns
Answer: 17 ns
The two qualifying edges after the request occur at 7 ns and 17 ns. Reset release waits for the second edge. An asynchronous release request is not itself a local clock edge.
88.A domain's reset can assert without its clock, but deasserts only through clocked synchronization. The clock remains stopped after the external reset request is removed. What behavior should the system expect?
Show answer and explanation
- The synchronizer generates its own clock to finish release
- The absent clock makes reset timing automatically irrelevant
- Local reset may remain asserted until the clock resumes
- Local reset must disappear immediately with the request
Answer: Local reset may remain asserted until the clock resumes
Clocked release requires actual clock edges. The surrounding startup sequence must permit the clock to run before relying on local reset being released. Asynchronous assertion does not imply asynchronous deassertion.
89.A switched-off digital domain drives an always-powered receiver through isolation cells. During power-up, when is releasing isolation justified by the interface contract?
Show answer and explanation
- On power-enable, before the supply is established
- Before ramping power to expose startup transitions
- After the required power/reset/valid sequence
- On any first clock edge, regardless of reset
Answer: After the required power/reset/valid sequence
Isolation should cover the interval when the source's outputs are not guaranteed meaningful. The actual release condition must follow the documented power/reset/valid sequence, rather than rely solely on the command initiating that sequence.
90.Two domains leave reset using separate local synchronizers. A consumer assumes the producer is ready exactly two of the consumer's cycles after global reset removal. The clocks have arbitrary phase and may pause. What is missing?
Show answer and explanation
- Equal stage counts without clock-liveness bounds
- A fixed delay based only on two local stages
- A readiness handshake or equivalent agreement
- A shorter reset pulse to align arbitrary clocks
Answer: A readiness handshake or equivalent agreement
Local release latencies need not align in time or consumer cycles. An explicit readiness or initialization handshake can establish the producer's actual state. Counting a fixed number of unrelated clock cycles is insufficient under the stated assumptions.
91.Two free-running clocks have unrelated phase. A designer ORs them and calls the result a glitch-free clock switch. What must be addressed before making that claim?
Show answer and explanation
- Only a settled OR-gate truth-table check
- Keeping at least one source high at all times
- Equal printed frequencies, regardless of phase
- Pulse and edge integrity through a controlled source handoff
Answer: Pulse and edge integrity through a controlled source handoff
An OR of unrelated clocks can produce irregular pulses and edges rather than select one clean source. A validated switching mechanism must control handoff and meet the downstream clock requirements across the allowed phase relationships.
92.A watchdog is meant to detect stalled command processing. A periodic timer interrupt feeds it even when the command task is deadlocked. What does this reveal about the monitoring design?
Show answer and explanation
- Timer feeds prove command-task completion
- The feed can continue despite the command task being deadlocked
- Two feeds prove recovery of a deadlocked task
- Periodic feeding makes progress deadlines unnecessary
Answer: The feed can continue despite the command task being deadlocked
The feed condition must correspond to the progress being monitored. A timer can continue while the relevant task is stuck. The watchdog's time base and feed logic need a documented relationship to the required liveness property.
93.A peripheral increments a hardware counter whenever it accepts a command. The host times out after acceptance but before receiving completion, then retries without a transaction identifier. What error can follow?
Show answer and explanation
- Exactly-once operation because the frame CRC passed
- Both accepted copies can increment the hardware counter
- Proof that the first command never executed
- Cancellation of the first command by its retry
Answer: Both accepted copies can increment the hardware counter
A missing response leaves uncertainty about whether the operation happened. Repeating a non-idempotent command can repeat its effect. Exactly-once intent requires suitable identity, deduplication, or an explicit recovery protocol.
94.An interrupt controller records an event in a sticky flag, then delivers an interrupt. Firmware clears the flag before recording the event in persistent software state, and resets before the record is written. What can be lost?
Show answer and explanation
- No evidence, since a cleared flag can be reread
- All future events after any processor reset
- Only the interrupt timestamp, with the event safe
- The event can lack both a hardware flag and a software record
Answer: The event can lack both a hardware flag and a software record
Clearing the hardware evidence before creating the required software evidence leaves a vulnerable interval. Reset can erase the incomplete software work. The ordering and persistence policy must match the event-retention requirement.
95.A queue checker tracks accepted writes W, accepted reads R, and initial occupancy Q0. Rejected attempts do not modify storage. Which invariant expresses its occupancy Q before any counter wrap?
Show answer and explanation
- Q = W − R, regardless of initial contents
- Q = Q0 + W + R, with 0 ≤ Q ≤ capacity
- Q = Q0 + W − R, with 0 ≤ Q ≤ capacity
- Q = Q0 − W + R, with 0 ≤ Q ≤ capacity
Answer: Q = Q0 + W − R, with 0 ≤ Q ≤ capacity
Only accepted transfers change occupancy. Conservation gives Q0 plus writes minus reads, and the bounds express no underflow or overflow. Counting attempted transactions would misdescribe behavior during stalls or rejection.
96.A test for a valid/ready source must verify persistence during stalls. Which trace most directly violates that contract?
Show answer and explanation
- Changing data during an offered stall
- Keeping valid high across accepted words
- Changing data with valid low
- Advancing data after an accepted transfer
Answer: Changing data during an offered stall
With valid high and ready low, the offered item is pending and must remain stable under the stated persistence contract. Data changes when no item is offered or after an acceptance can be legal.
97.A formal check says every accepted request eventually receives a response. It passes, but the environment assumptions prevent any request from ever being accepted. What additional check exposes the weak evidence?
Show answer and explanation
- A repeated proof with the same assumptions
- Only a higher count of passing assertions
- A wider response field under the same assumptions
- A cover check demonstrating an accepted request is reachable
Answer: A cover check demonstrating an accepted request is reachable
An implication can hold vacuously when its trigger is unreachable. Demonstrating a meaningful accepted request under the assumed environment tests whether the proof actually exercises the intended protocol behavior.
98.A zero-delay RTL simulation passes all asynchronous-crossing tests. What physical property does that result fail to establish by itself?
Show answer and explanation
- Physical reliability of the metastability-resolution interval
- The selected simulated logical responses
- The simulated valid/ready transaction sequence
- Arithmetic results in the exercised test cases
Answer: Physical reliability of the metastability-resolution interval
Ordinary RTL values and zero-delay events do not model the analog resolution tail used in synchronizer reliability analysis. Architecture, implementation constraints, and characterized timing parameters are separate evidence.
99.A link experiment sees zero corruptions in 10 million independent trials, each with the same unknown error probability p. Using the stated approximation
p_upper≈ 3/N for a 95% upper bound, what bound is obtained?Show answer and explanation
- About 3×10⁻⁷ per trial under that model
- About 3×10⁻³ per trial under that model
- A guaranteed maximum of three errors per future million trials
- Exactly zero error probability for all future operation
Answer: About 3×10⁻⁷ per trial under that model
Substituting N = 10⁷ gives 3×10⁻⁷. This is an approximate statistical upper bound under the independence and constant-p assumptions, not a deterministic guarantee or proof of zero risk.
100.A protocol proof requires every accepted request eventually to complete. Its receiver may legally hold ready low forever; no other completion path exists. What is needed before claiming unconditional eventual completion?
Show answer and explanation
- A timing exception without a changed protocol
- More finite buffering with the same stalled receiver
- A stronger CRC without receiver-service assumptions
- An environment service guarantee or enforced completion path
Answer: An environment service guarantee or enforced completion path
If the environment may stall forever, an accepted request can remain pending forever. A liveness claim needs a justified fairness/service assumption or a mechanism that guarantees progress or terminates the operation under the specified contract.
101.A four-state RTL simulation reaches a branch with its control equal to X. One conditional coding style chooses a deterministic output and hides the uncertainty. What verification concern does this illustrate?
Show answer and explanation
- A simulation branch can mask an uncertain hardware control
- A real third stable voltage represented by X
- A defined hardware startup value proven by simulation
- Mandatory X propagation in every conditional style
Answer: A simulation branch can mask an uncertain hardware control
Simulation semantics can resolve an unknown condition more optimistically than actual uncertain hardware behavior. Initialization, conflicting drivers, and X propagation need deliberate verification; X is a modeling value, not a separate stable hardware logic level.