Home › Practice › RTL Design › Memory BIST stuck-at detector

Memory BIST stuck-at detector

MediumDFTRTLFSM

Build a built-in self-test (BIST) controller for a 4-word by 4-bit memory. It writes all-0s, reads them back to catch bits stuck at 1, writes all-1s, and reads them back to catch bits stuck at 0.

Concept first. Memories on a chip are too dense to wire every address and data line out to package pins. Instead, a small state machine right beside the memory generates test patterns, checks the readback, and reports pass or fail on two wires: done and fault. Writing and checking both 0 and 1 at every bit detects any bit line or cell stuck at either value.

What to build.

Solve in your browser →

No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.

More in this track

← Scan chain: shift and captureMemory spare-row repair wrapper →