An asynchronous reset needs to stay inactive while a scan chain shifts. The choice of signal used to hold it inactive determines what ATPG can observe on the next capture clock. In this three-flop design, one OR gate driven by test_se protects shift and lets ATPG exercise the reset logic during capture.
Where the unknown reset comes from
Two scan flops feed a NOR2X1 inside u_reset_logic. Its output drives the active-low asynchronous reset pin RN on u_target_reg, the last flop in the scan chain. In mission mode, reset clears both source flops. With both Q outputs low, the NOR drives RN high and releases the target.
During scan shift, those same Q outputs carry scan data. If either source holds a one, the target clears asynchronously. With both sources unknown, the NOR output is also unknown. The original testcase was reported to trigger Tessent T3 and T5, with T5 flagging an X on the target reset pin.
u_reset_logic. Follow target_reset_n from the NOR output to the target’s RN pin.The two masks differ on the capture cycle
The Liberty model for SDFFRX1 specifies clear : "!RN". The safe shift value is therefore one. An OR2X1 after the NOR forces that value even when the functional reset is X. Adding a third input to the NOR would drive RN low when the test control goes high and hold the target in reset.
target_reset_n = ~(a_q | b_q)
u_target_reg/RN = target_reset_n | test_se
| Phase | test_mode | test_se | RN with test_mode mask | RN with test_se mask |
|---|---|---|---|---|
| Mission | 0 | 0 | Functional NOR | Functional NOR |
| Scan shift | 1 | 1 | 1 (released) | 1 (released) |
| ATPG capture | 1 | 0 | 1 (released) | Functional NOR |
In this protocol, test_mode stays high through capture. If it drives the OR, a change at either NOR input cannot propagate through the target’s reset pin. Faults on those input branches can consequently fall into Tessent’s AU.TC category under the test constraints. With test_se driving the OR, dropping shift enable restores the propagation path.
A clock gate offers a second example. Driving its test-enable pin with scan shift enable opens the gate for shifting. When shift enable falls, the functional enable determines whether a capture clock reaches the downstream flops. A fault in that enable logic can then affect the captured response. An ATPG-mode override held high through capture would keep the gate open and mask that effect. The related GOF case traces a clock gate’s SE pin to a zero tie-off and reconnects it to scan_en. Read the clock-gating ECO case study.
u_target_shift_mask, and test_se enters pin B. The OR output drives u_target_reg/RN.A fault the target can now observe
Consider a stuck-at-one fault on the A input pin of the NOR. Shift zeros into both source flops. Hold data_a=0 and data_b=0 so those flops stay at zero across the capture edge. Drive data_target=1, lower test_se, let the reset settle, then pulse clk.
scan_out.| Mask control | Good circuit after capture | NOR A stuck at 1 | Observed at scan_out |
|---|---|---|---|
test_se | RN = 1, target Q = 1 | RN = 0, target Q = 0 | 1 vs. 0 |
test_mode | RN = 1, target Q = 1 | RN = 1, target Q = 1 | 1 in both circuits |
The target’s Q directly drives scan_out, so the difference is visible before the next shift edge. The same pattern also distinguishes a stuck-at-one fault on the B input. This is the coverage opportunity gained by limiting the mask to shift.
Applying and grading the ECO
The GOF script inserts the OR at the target pin, using the existing functional reset net and the top-level shift enable.
change_pin('u_target_reg/RN', 'OR2X1', 'u_target_shift_mask',
'target_reset_n,test_se');
The GOF captures establish the wiring, and the stuck-at example establishes observability for the stated pattern. A numerical coverage gain and the exact AU.TC assignments require a Tessent fault-grading run. To measure the difference, grade both mask variants with the same scan protocol, fault model and constraints, then compare the detected and AU.TC faults at u_reset_logic/u_nor.
