Chapter 8 Chapter 8 Basics of SOC Testing Basics of SOC Testing Jin-Fu Li Advanced Reliable Systems (ARES) Lab Advanced Reliable Systems (ARES) Lab Department of Electrical Engineering National Central University National Central University Jhongli, Taiwan
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Chapter 8Chapter 8Basics of SOC TestingBasics of SOC Testing
Jin-Fu LiAdvanced Reliable Systems (ARES) LabAdvanced Reliable Systems (ARES) LabDepartment of Electrical Engineering
National Central UniversityNational Central UniversityJhongli, Taiwan
Outline
IntroductionSOC Test ChallengeSOC Test ChallengeSOC Test Access MechanismsSOC T t C t l A hit tSOC Test Control Architectures
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 2
What is an SOC? Definition
Integration of multiple cores (e.g., microprocessor, digital signal processor, RAM, ROM, flash memory, I/Os, and analog components which make a complete system) onto a single chip complete system) onto a single chip
FPGAADC
DSPCPU
FPGAFlash Memory
UDL
ADC
DSPCPU
DRAM
UDL
MPEG SRAM SRAMDRAM
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 3
What are Cores? Definition
Predefined, pre-verified complex functional blocks, also k IP i l known as IPs, virtual components
ExamplesP C ARM MIPS IBM P PCProcessor Cores: ARM, MIPS, IBM PowerPCPeripherals: MMU, DMA ControllerInterface: PCI USB UARTInterface: PCI, USB, UARTMultimedia: JPEG compression, MPEG decoderNetworking: Ethernet Controller, MAC
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 4
Traditional & Core-Based IC Design
Traditional IC designIC is designed from scratchgReuse of small modules: standard-cell library and memory modules
Core-based IC designReuse of large modules: cores, IP, virtual Reuse of large modules: cores, IP, virtual componentsDivide-and-conquer design methodologyq g gyDefinition of standards to make reuse easyReduce time-to-market
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 5
Difference Between SOB and SOC
IC Design
System-on-Board (SOB)
Core Design
System-on-Chip (SOC)
g
IC Verification
IC M f t i
Core Verification
AnalogyIC Manufacturing
IC Test
AnalogyReuse of predeisgnedcomponents in a system
SOB Design SOC DesignDifference
Cores in SOC are g
SOB Verification
SO f
SOC Verification
SOC M f t i
fabricated and tested inthe final system
SOB Manufacturing
SOB Test
SOC Manufacturing
SOC Test [Zorian, et al.-ITC97]
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 6
What are The Test Challenges? Distributed design and test development
Mixed technologies: logic, processor, memory, g g p yanalog
Need various ATPG/DFT/BIST/other techniques
Multiple hardware description levels for coresNeed test plan for the various levels
Diff t id d SOC t t Different core providers and SOC test developers
Need standard for test integrationNeed standard for test integration
Deeply embedded coresNeed electronic test access mechanismNeed electronic test access mechanism
Core/test reuseN d l d l t t h i
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 7
Need plug-and-play test mechanism
What are The Test Challenges? Hierarchical core reuse
Need hierarchical test management
SOC-level test optimizationTest time can be extremely large
Need parallel testing or test schedulingTest power must be considered
N d l d i t t h d liNeed low-power design or test schedulingTestable design automation
Need new testable design tools and flowNeed new testable design tools and flowTest economic consideration
Need to determine test strategy and overall test planeed to dete e test st ategy a d o e a test p a
SOC yield improvementLarge amount of defect-sensitive memory cores
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 8
Large amount of defect sensitive memory coresNeed cost-effective repair techinques
Generic Test Access Structure
FPGA
Flash MemoryADC
Wrapper
DSPCPU UDL
SinkTAM
DRAM
Source Test Access Mechanism (TAM)TAM
MPEG SRAM SRAMDRAM
[Y. Zorian, et al.-ITC98]
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 9
1500 Test Scalable Structure
User Defined Parallel TAMSourceSource SinkSink
1500 Wrapper
TAMTAM--outoutTAMTAM--inin
1500 Wrapper
TAMTAM--outoutTAMTAM--inin
Core1
1500 Wrapper
CoreN
1500 Wrapper
FinFin FoutFout FinFin FoutFout
WIR WIRWSIWSI WSIWSIWSOWSO WSOWSO
User Defined
WSC
User-Defined Test Controller
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 10
1500 Parallel TAM Configuration
WPC Daisychained TAM
WPI WPO
WPPENA ENA WPP WPPENA
Core Core Core
WrapperWSP
WSOWSIWrapper
WSPWrapper
WSPWSPWSI
WSC
WSP WSP
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 11
Standardized Plug & Play Wrapper Serial Ports
1500 Parallel TAM Configuration
WPC Bussed TAM
WPI WPO
WPPENA ENA WPP WPPENA
Core Core Core
WrapperWSO
Wrapper WrapperWSP
WSOWSI
WSC
WSP WSP
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 12
P1500 Parallel TAM Configuration
Direct Access TAMWPOWPI
WPC
WPIWPC
WPOWPO
WPIWPC
WPI
WPPENA ENA WPP WPPENA
WPI WPI
Core Core Core
WrapperWSO
Wrapper WrapperWSP
WSOWSI
WSC
WSP WSP
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 13
TAM ImplementationsMany TAM implementation have been reportedExamples:p
Multiplexed accessReused system bus (AMBA)TransparencyBoundary ScanScalable TAMs (Test bus, TestRail)
On one SOC, different TAMs may co-exist
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 14
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 15
(a) (b) (c)
Test Shell/TestRail [E. J. Marinissen, ITC98]
Every core is wrapped with a TestShellThe TestShell is the test data transport mechanismTCM is a standardized test control mechanism in h Sh llthe TestShell
The host is the environment in which the core is embeddedembedded
hostTestShell TestShell
TCM TCMTCM
IP A IP BTestRail
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 16
Test Shell/TestRail [E. J. Marinissen, ITC98]
TCMTCMShell
host
Core A
TCM
TestRail 1
1616
16
TCM
Core B
TCM
Core C
16
16
ShellShell
Core B Core C
TCM
16 16
Shell
TCMCore E
TCM
2ShellShell
Core D Core FTestRail 210
810
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 17
SOC Test Control ArchitecturesTAP Linking Module (TLM) architecture
ICB
ICNTC CBSR CBSRCBSR
BSR
CBSR
NTC TAP’ed
Core
TAP’ed
Core
TAP’ed
Core
TAP1
NTC
TAP2 TAP3 TAP4
X Y Z
TAP Linking Module (TLM)
SEL ENA SELSELSEL ENA ENAENA
TDI TCK TMS TRST* TDO
The TLM operates to enable and connect one or more
[Lee Whetsel, ITC97]
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 18
The TLM operates to enable and connect one or more TAPs to be accessed via the IC’s test pins
SOC Test Control ArchitecturesTAP TLM:
TLM architecture TAP TLM:
SEL[Lee Whetsel, ITC97]
TAP1 TAP4TAP3TAP2
M
Enable 1,2,3,4
TDO4 Enable
LC4LC3LC2
3SMU
MUX
TDO4TDO3TDO2TDO1
Enable
SEL1 SEL2 SEL3 SEL4
TLM TAP:
LC
ENA
TAP Linking Module (TLM)
XSEL1 SEL2 SEL3 SEL4
TDO
ENA1 ENA2 ENA3 ENA4
ENA
TDI TCK TMS TRST* TDO
Reset*
TLM-Select
TAPSEL0,1
The TLM communicates with TAPs via select (SEL), enable (ENA) and Link Control (LC). After power up, or test reset, the TLM
TDI TCK TMS TRST* TDO
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 19
( ) p p, ,defaults to connecting TAP1 to the test pins
SOC Test Control ArchitecturesModified state diagram
TMS=1 Test Logic Reset
ENA:TMS=1:0Or TMS=0
ResetData
Register Scan
InstructionRegister
SENA:TMS=0:xENA:TMS=1:1Run Test/
Idle
ScanTMS=1
ScanTMS=1
Select DRS Select IRS
Capture DR
Shift DR Shift IR
Capture IR
Unlinked Stroble
Update DR Update IR
TMS=1ENA:TMS=1:1
Stroble
State
SENA:TMS=1:1
ENA:TMS=1:0Or
TMS 0
Link change state
ENA=0,TAP disableENA=1,TAP enable
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 20
ENA:TMS=0:x TMS=0state
SOC Test Control ArchitecturesCAS-BUS architecture