Scan Insertion Labs Guidelines
Scan Insertion Labs Guidelines
VLSIGuru Confidential 1
VLSIGURU DFT TRAINING SCAN INSERTION LABS
1. LOGIN TO UNIX
Unix commands are very important for DFT labs. Unix commands are case sensitive.
Before scan insertion labs, please go through basic commands of Unix. Please refer
basic VIM editor manual for all unix commands.
IT ADMIN will provide below info and software
• VNC is created for each user and get VNC login id & password from the IT
admin.
• Also get IP address of your VNC
• Install software for putty and VNC viewer from the IT admin
• Whoever want VPN connections, please discuss with institutions head. Need
to install cybercrome.
• VNC user id and password and VPN user id and password are different.
Please find below steps for login VNC Unix
Steps to login into UNIX
Step 1: Click on the putty icon which is saved on the desktop. Please enter ip address
of your VNC. Then enter your user id and password which is shared by the IT Admin.
Pleas find below snapshot for enter your vnc user id and password
Open Putty
Enter Login ID and Password
Now enter vncserver (Lower case). It will give information about your vncserver number.
Please don’t create multiple vncserver. Each time login, vncserver number is different.
Please find below snapshot for vncserver.
VLSIGuru Confidential 2
VLSIGURU DFT TRAINING SCAN INSERTION LABS
Step 2:
Open VNC and enter server number along with desktop number as shown below and
click on continue
After clicking on continue, below window will pop up. Enter password and click on
OK .
VLSIGuru Confidential 3
VLSIGURU DFT TRAINING SCAN INSERTION LABS
Once you login with your password , it will direct you to UNIX desktop as show in
below
VLSIGuru Confidential 4
VLSIGURU DFT TRAINING SCAN INSERTION LABS
VLSIGuru Confidential 5
VLSIGURU DFT TRAINING SCAN INSERTION LABS
3. DIRECTORY STRUCTURE
Please find below directory structure for all test cases. There are twelve testcases in
scan insertion labs exercises
scan_insertion:- parent directory
scan :- subdirectory
case1:- Each test case directory
netlist:- this directory has synthesis netlist which released by the synthesis team.
log:- This directory consists of scan insertion log file. Log file consists of all
commands, warnings, errors. Its mandatory needs to understand competently
dofie:- This directory is consists of scan insertion dofile. Dofile contains set of tool
commands which execute scan 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 Scan inserted netlist, Scan deffile and ATPG Setup
files. Scan inserted netlist is output of the Scan insertion flow and it is used
compression as input file. Scan Def file is required for physical design team. ATPG
Setup files required for the pattern generation
scan_insertion
|
scan
|____ case1
|___netlist
|___log
|___dofile
|___report
|___output
Run file
run_dfta -> run file to invoke the tool.
Problem definition file
VLSIGuru Confidential 6
VLSIGURU DFT TRAINING SCAN INSERTION LABS
4. TOOL USAGE
Mentor Tessent Shell tool is used for Scan insertion flow. Tessent Scan, which is
Tessent Shell operating in “dft -scan” 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
which tessent. It will display tool path on the terminal.
VLSIGuru Confidential 7
VLSIGURU DFT TRAINING SCAN INSERTION LABS
2. ATPG Dofile
It has clocks and resets definitions. Also, it has all scan chains information
3. ATPG Test proc
It has all procedures like test_setup, shift, load_unload
4. SCAN DEF
It has scan chain information as per Physical design requirements
VLSIGuru Confidential 8
VLSIGURU DFT TRAINING SCAN INSERTION LABS
5. Reports
Design Rules Checking (C1, C2, S1, S2, D5, D6)
Scan chain reports and Scan cells reports
6. Logs
Please go through complete log file and note all points. Analyse all warnings
DRC and Errors
VLSIGuru Confidential 9
VLSIGURU DFT TRAINING SCAN INSERTION LABS
VLSIGuru Confidential 10
VLSIGURU DFT TRAINING SCAN INSERTION LABS
7. TOOLS COMMANDS
Invoke Tessent Shell
Read in Verilog source file (Netlist), assign library file and assign log file.
All these switches are defined in the run file
tessent -shell -verilog netlist.v -lib tsmc.mdt -log case.log
Specify clocks
Clocks are primary input signals that change the state of sequential logic
elements. Adds scan or non-scan clocks to the clock list for proper scan operation.
Declares a pin or a port as a clock. The defined clock may be of type source or a
generated source.
Resets are primary input signals that reset the state of sequential logic
elements. Bases on the design it may active low or active high.
Setup> add_clocks 0 clk
Setup> add_clocks 1 reset
General Rules
Procedure Rules
Scan Chain Trace Rules
Scan Cell Data Rules
Clock Rules
Ram Rules
BIST Rules
EDT Rules
Timing Rules
VLSIGuru Confidential 11
VLSIGURU DFT TRAINING SCAN INSERTION LABS
9. OBSERVATIONS
VLSIGuru Confidential 12