MBIST
MBIST
1 Ashwani DFT
MBIST
1.2 The figure above is a specific mbist controller functional schematic diagram
TAP: ijtag related content, a standard interface.
TMB: Mem bist controller, contains all the signal generators for mem test, one
TMB can control multiple mems.
BAP: bist access port, provides control signals to TMB, collects GO/DONE signals
in TMB. MEM interface can be accessed through BAP.
SIB: Segment insertion bit, similar to a key to open a door, used for signal shift
and update to control the test of certain mems. Increase flexibility.
Mem Interface: As the interface between mem controller and mem, used for
data transmission, each mem will instantiate the corresponding mem interface.
1.3 The following figure shows the principle diagram of TMB and a MEM interface.
The detailed operation steps are as follows:
1. TMB contains FSM, which is turned on by MBIST_EN and configured by
BIST_SETUP. FSM controls SIGNAL GEN signal, one is sent to a non-func port in
mux in mem interface, and the other is data sent to COMP and compared with
data passing through RAM. At the same time, SIGNAL_GEN will feedback signal
to control FSM to perform the next operation.
2. The test data is sent to the interface, then output by SRAM and sent back to
COMP in TMB for comparison with the original data. If the data comparison is
correct, MBIST_GO is pulled high, otherwise if the data comparison is wrong,
MBIST_GO becomes low. At the same time, COMP will send CMP_STAT signal at
the beginning of the comparison.
3. When the FMS controls the corresponding MEM comparison, it outputs the
MBIST_DONE signal.
4. MBIST_GO and MBIST_DONE signals in TMB can be observed during simulation.
They are used for debugging.
2 Ashwani DFT
MBIST
In the MEM interface:Although the gate count is increased, the signal fed back to
the TMB is only a GO signal, which reduces the PR effort.
When in TMB:COMP is shared, reducing gate count. The size of COMP depends on
the maximum width of all mems and increases PR effort.
I. When scan does not include mem, mem is blackbox, which is mem bypass mode
under scan mode:
OBSFF, or observation flip-flop, is needed at this time, because the end of FUNC
ADDR is an SRAM considered black box, and this data cannot be observed, which
will result in the final result not being observed along the FUNC ADDR in scan
mode, which will reduce coverage, so OBSFF is increased.
BYPASSFF works normally at this time, bypassing mem, giving it to the LV_TM
mux and transmitting it out for observation.
II. When the scan includes mem, a special mem lib will be used, which is the mem
no bypass mode under scan mode:
At this time, the BYPASS logic is not needed, the data is read in normally, and
then read out normally, and finally the 0 port is selected after passing through
LV_TM, which is equivalent to a scan test on mem. The mem lib read in at this
time is a special mem lib used for dft.
This will of course increase the scan test time, but it will also improve coverage.
3 Ashwani DFT
MBIST
Overview
Overview flow
The entire flow is divided into the following parts. The general content explanation
can be seen in the description in the figure.
4 Ashwani DFT
MBIST
Elaborate design:
If set_current_design is set before, the elab operation will be automatically
triggered. If only Verilog is read before, the root design needs to be
set.set_current_designIt is set after reading the design and lib.
During the elab process, some designs can be allowed to be missing, but for
those modules that do not contain mem or mem-related elements,
add_black_box needs to be set.
Optional Data:
A controller (TMB) can only contain mem in one power domain, and different mem
in a power domain can be connected to different controllers.
Use upf information to declare the controller, and read the corresponding upf
through read_upf xxx.upf.
If the mem has laid out the floor plan, the controller can be declared by reading in
def. Read it in through read_def xxx.def.
Report command:
report_design_sources can report the design and the read-in library information.
report_memory_instances can report the corresponding mem information.
5 Ashwani DFT
MBIST
DRCs
6 Ashwani DFT
MBIST
When all the above constrants are set, check them through check_design_rules. If
there is no error in DRCs, the sys mode will be set to analysis mode, otherwise it will
return to setup mode.
If there is a problem with DRCs, debug it through analyze_drc_violation .
So far, the content about Load design and specify requirements has been introduced.
The tessent tool will store the process content in ./tsdb_outdir by default, and all
modified designs will be saved in the corresponding directory.
IJTAG ICL and PDL files will also be stored accordingly. As shown in the figure below,
the tsdb_outdir directory basically stores all our DFT-related content.
3. Extract ICL
The BIST logic inserted in the above content is inserted using the IEEE standard
engineering. The ICL step extracts the relevant content as a backup. ICL:
7 Ashwani DFT
MBIST
4. Patterns Specification
The tool generates test patterns for BIST signoff simulation (simulated testbench),
and then ATE test of subsequent chip return. (Simulated testbench and machine
usage files)
5. Simulation Validation
This is the last step in the design flow, which simulates the testbench.
run_testbench_simulations, based on the test case, simulates the generated
pattern
check_testbench_simulations brief summary.
8 Ashwani DFT