The DFT team owns insertion and ATPG methodology; the RTL owner makes the design controllable, observable, and safe in test mode. This topic defines that boundary and links detailed DFT mechanisms to the dedicated course.
A dual-clock sensor peripheral is the worked integration. It contains gated functional clocks, asynchronous resets, two SRAMs, external pins, and one analog-status input that can become unknown. Each lesson prepares that same block for scan, memory test, boundary access, and compressed response capture.
Read the diagram top down: who owns clocks and resets (AON), what they control (the two register domains and pins), and what reaches the memories (the TAP).
The instance names and mode artifacts below define the integration contract. AON test control remains powered throughout test; authorized lifecycle entry is an external prerequisite.
3 lessons, about 12 min
Usually no. Synthesis/DFT tools replace and stitch scan cells. RTL supplies scan-friendly clocks, resets, test modes, memories, and controllability/observability.
The whole topic on one page, taken from each lesson's Remember box. Read it before an interview, or print it.
Scan-Ready Coding
Shifting needs controllable repeated pulses; bypass a functional divider with an approved clock wrapper.
Give test control explicit reset ownership, and clamp analog status only in authorised test mode.
Run DFT lint early, and list every non-scan register with the reason it is safe.
Test Clocks, Resets, and Modes
Take ownership of clocks and resets only with clocks stopped and reset asserted, then release resets with legal test clocks.
Asynchronous clock domains get separate chains; lockup latches serve related domains and opposite edges.
Entry and exit acknowledgements need bounded watchdogs and a safe parked error state.
Memory, JTAG, Compression, and Handoff
Map every memory instance exactly once to MBIST and repair policy, and version the instance list.
Find X sources before compression insertion; analog clamp = 0 needs a separate analog test plan.
MBIST completion does not allow functional traffic until reset, configuration and domain readiness finish.
Mini project: the capstone: a resilient streaming peripheral, stage by stage
Code lab: Scan chain stub
Code lab: JTAG tap model
Interview: run a mock interview on this topic