To initiate the Logic Self-Test Operation (LBIST), follow below sequence, using
values available in Device Configuration -> Module Integration -> LBIST.
- Program MMRs to configure LBIST, using values available in Device
Configuration -> Module Integration->LBIST.
- Set LBIST_CTRL register, divide_ratio, dc_def, values appropriate
for block under test
- Clear and set LBIST_CTRL[7] load_div.
- Set LBIST_PATCOUNT scan_pc_def, reset_pc_def, set_pc_def and
static_pc_def to desired value
- Set LBIST_SEEDn, prpg_def value
- Enable self-test isolation of
the IP
- Set LBIST_SPARE[0] to 1.
- Program MMRs to run LBIST.
- Set LBIST_CTRL[31] bist_reset to 1’b0
- Set LBIST_CTRL[15:12] runbist_mode to 1’b1111
- Set LBIST_CTRL[31] bist_reset to 1‘b1
- Set LBIST_CTRL[27:24] bist_run to 4’b1111
- Optional check status by reading LBIST_STAT[15] bist_running.
- Wait for LBIST_STAT[31] bist done interrupt
- Check the MISR signature and compare to expected value.
- Set LBIST_STAT[9:8] lbist_out_mux_ctrl to 2’b1x
- Set LBIST_STAT[7:0] lbist_misr_mux_ctrl to 32’d0 (selects compact
MISR signature)
- Read LBIST_STAT[31:0] to trigger updating of LBIST_MISR
- Read LBIST_MISR[31:0]