Documente Academic
Documente Profesional
Documente Cultură
2. DIRECTORY STRUCTURE
3. TOOL USAGE
5. EDT FLOW
6. TOOLS COMMANDS
7. OBSERVATIONS
Vlsiguru Confidential 1
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
STEPS
Step2: - cd /home/<user_name>/compression/case1
Step 7: - cp /home/<user_name>/scan_insertion/case1/output/case1_scan.v .
Step 9 : - cp /home/<user_name>/scan_insertion/case1/output/case1.dofile .
Step 10 : - cp /home/<user_name>/scan_insertion/case1/output/case1.testproc .
Before change
After change
Vlsiguru Confidential 2
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
Synthesis :
Step 15 : - cd /home/<user_name>/compression/case1/SYNTHESIS
Step 16 : - cp /home/<user_name>/compression/case1/
EDT_RTL_GENERATION/output/DmaWr_dc_script.scr .
read_db $target_library
## Ends Here
Example :
Vlsiguru Confidential 3
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
dc_shell -f DmaWr_dc_script.scr
EDT INSERTION
• Longer Scan chains converted to Smaller scan chains based on the compression ratio
• Analyze how many channels are available for each blocks and top level.
• Analyze EDT IP RTL files and understand Each file what contains data and its functionality
• Also Analyze mask shift registers, mask hold registers, X-OR logic, bypass logic muxes and
scan chains inputs and scan chains out output.
Vlsiguru Confidential 4
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
NOTES
Note1:- Above steps for case1 test cases. Same steps should be repeat for remaining test cases
Vlsiguru Confidential 5
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
2. DIRECTORY STRUCTURE
Please find below directory structure for all test cases. There are twelve testcases in EDTinsertion
labs exercises
netlist:- This directory has Scan inserted netlist which is output from scan insertion stage .
log:- This directory consists of EDT insertion log file. Log file consists of all commands, warnings,
errors. Its mandatory needs to understand completely
dofie:- This directory is consists of EDT insertion dofile. Dofile contains set of tool commands which
execute EDT insertion flow. Dofile is always vary from all different test cases
report:- This directory consists of all report files which are dumped by the tool. It is mandatory to
understand all report files
output:- This directory consists of EDT inserted netlist and ATPG setup files for both EDT and EDT
BYPASS modes. EDT dofile should not modify because it is generated by the tool.
Compression
|____ case1
|___netlist
|___log
|___dofile
|___report
|___output
Run file
Vlsiguru Confidential 6
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
3. TOOL USAGE
Mentor Tessent Shell tool is used for EDT insertion flow. Tessent Scan, which is Tessent Shell
operating in “dft -edt” context
Please find below command is used for source tessent shell tool
source /home/tools/mentor/cshrc_mentor
after sourcing above command, need to check tool is sourced or not. Please use below command
Please find below command is used for source Synopsys Design compiler tool
source /home/tools/mentor/cshrc_synopsys
after sourcing above command, need to check tool is sourced or not. Please use below command
Vlsiguru Confidential 7
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
INPUTS
Scan inserted netlist is input to EDT insertion. Scan inserted netlist has Scan Flip-Flops with scan
chains based on the maximum chain length. During scan insertion time should think about
compression ratio and Number of channels available
2. Library cells
It is in .mdt format. Standard cells library is released by the Standard Cell Design team. Standard cells
are based on the technologies like 22nm, 14nm, 7nm, 5nm. It has all combinational and sequential
logic gates. Observe DFF flops with cells and SDFF flops with cells with primitives
3. Tools commands
Define clocks
Define reset
As per design add tool commands. Please refer tshell_ref documents for all commands and DRC
rules.
OUTPUTS
It is EDT inserted netlist. This netlist has decompressor, Compactor logic blocks, Bypass logic and EDT
controller logic. Also observe how many internal scan chains are present in the netlist.
2. ATPG Dofile
It has clocks and resets definitions. Also, it has all compression scan structures
Vlsiguru Confidential 8
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
4. SCAN DEF
It has scan chain information file as per Physical design tool requirements
5. Reports
Report_pin_constraints
Also dump necessary reports based on the test cases and project wise
6. Logs
Please go through complete log file and note all points. Analyse all warnings DRC and Errors
Vlsiguru Confidential 9
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
Step1 :-Generate EDT IP RTL along with Scan inserted netlist. Create EDT insertion setup. Scan
inserted netlist, library models, ATPG setup dofile from scan insertion step as inputs to the step1.
Create case1_edt.dofile as per the problem definition. Provide proper set up of input set of scan
channels and based on the compression ratio, decide how many internal scan channels are
requires respective test cases. It generates EDT IP RTL for Decompressor, Compactor, Bypass logic
and EDT controller logic. Also observe EDT signals like edt_clock, edt_update and edt_bypass.
Analyse edt mask shift register, mask hold registers and X-OR Logic inside Compactor.
STEP2 :-Synthesize EDT IP RTL. Synthesize standalone EDT IP RTL using tool dumped dc script with
Synopsys Design compiler tool. We convert EDT IP RTL to gate level synthesis RTL format
STEP3 :- Concatenate synthesized EDT IP RTL and Scan inserted netlist. EDT top module is present
in the Scan inserted netlist. So need to do concatenate EDT top module synthesized RTL with scan
inserted netlist. Then it is EDT Inserted netlist
Vlsiguru Confidential 10
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
6. TOOL COMMANDS
Vlsiguru Confidential 11
VLSIGURU DFT TRAINING COMPRESSION LAB OBSERVATIONS
7. OBSERVATIONS
3) Analyze Decompressor logic, Compactor logic, EDT bypass logic with Muxes and Mask
hold/Shift registers.
4) Trace Connections between Scan input channel and internal scan chains
5) Load EDT inserted netlist to Mentor Visualizer and cross verify physical connections with
Decompressor and compactor.
8) Additional cycles
Vlsiguru Confidential 12