Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

BOUNDARY SCAN.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The IEEE std for mixed-signal test J. M. Martins Ferreira.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
JTAG Course Lecturer: Tomer Rothschild
Lecture 28 IEEE JTAG Boundary Scan Standard
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 301 Lecture 30 IEEE JTAG Analog Test Access Port and Standard n Motivation n Bus overview n.
Liron Cohen Introduction SVF was jointly developed by Texas Instruments and Teradyne in response to a need for the exchange of Boundary Scan.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 291 Lecture 29 IEEE JTAG Advanced Boundary Scan & Description Language (BSDL) n Special scan.
JTAG course - Dolev Eyal 1 JTAG environment Full Chip testing.
Real-Time Systems Design JTAG – testing and programming.
Vishwani D. Agrawal James J. Danaher Professor
Spring 07, Jan 25 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 VLSI System DFT Vishwani D. Agrawal James J. Danaher.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
Guidelines for Chip DFT Based on Boundary Scan Reference to an article by Ben Bannetts By Regev Susid.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Design for Testability
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
Chapter 1_4 Part II Counters
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Design for Testability
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
EET 252 Unit 5 Programmable Logic: FPGAs & HDLs  Read Floyd, Sections 11-5 to  Study Unit 5 e-Lesson.  Do Lab #5.  Lab #5a due next week. 
® ChipScope ILA TM Xilinx and Agilent Technologies.
Design for Test HIBU – Oct. 31st 2006 J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 J. M. Martins Ferreira FEUP / DEEC - Rua Dr.
EEE515J1 ASICs and DIGITAL DESIGN Lecture 8: Testing Ian McCrumRoom 5D03B Tel: voice mail on 6 th ring Web site:
BS Test & Measurement Technique for Modern Semi-con devices & PCBAs.
Introduction to design for test techniques – The IEEE std for mixed-signal test © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The.
Testing of integrated circuits and design for testability J. Christiansen CERN - EP/MIC
LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The Boundary.
Board-level testing and IEEE1149.x Boundary Scan standard
Logic BIST Logic BIST.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
LEONARDO INSIGHT II / TAP-MM ASTEP - Test protocol for BS boards © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Test protocol for BS boards.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
April 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 281 Lecture 28 IEEE JTAG Boundary Scan Standard n Motivation n Bed-of-nails tester n System view.
Sequential logic circuits
LEONARDO INSIGHT II / TAP-MM ASTEP - Introduction to mixed-signal testing using the standard © J. M. Martins Ferreira - University of Porto (FEUP.
Overview for Initialization Process April 27, 2010.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Testing of logic arrayes to be programmed Levels of abstraction While I>k then.. ROM ALU RAM & &1 Behavioural model Functional model Logic level model.
Page 1EL/CCUT T.-C. Huang May 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.
© LATTICE SEMICONDUCTOR CORPORATION 2000 Uudet mikropiirit JTAG February Lattice Confidential Lattice Semiconductor The Leader in ISP TM PLDs Presents.
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
BUILDING BLOCKS designed at IPHC in TOWER JAZZ CMOS Image Sensor 0.18 µm process Isabelle Valin on behalf of IPHC-PICSEL group.
Sequential Logic Design
Class Exercise 1B.
Topics SRAM-based FPGA fabrics: Xilinx. Altera..
VLSI Testing Lecture 14: System Diagnosis
JTAG and Multi-ICE National Taiwan University
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 2)
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
ECE 434 Advanced Digital System L18
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
The Xilinx Virtex Series FPGA
CPE/EE 428/528 VLSI Design II – Intro to Testing
CPE/EE 422/522 Advanced Logic Design L17
Sungho Kang Yonsei University
The Xilinx Virtex Series FPGA
Lecture 26 Logic BIST Architectures
JTAG, Multi-ICE and Angel
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines

Scan and JTAG Principles2 Module Contents *Scan Fundamentals Full and partial scan techniques Level sensitive and edge triggered methods *JTAG and the Test Access Port (TAP) JTAG Interface Signals Test Access Port Controller Test Access Port Instructions

Scan and JTAG Principles3 Scan Basics *Flip-flop elements within a circuit can be connected serially to form a shift register structure. *Access to the scan chain data via 2 pins, Test Data In (TDI) and Test Data Out (TDO). *Data can be applied serially on TDI to set up the system state, while state data can be read serially on TDO.

Scan and JTAG Principles4 Level Sensitive Scan Design *2 basic design principles: Master-slave gated flip-flops form the basic scan element. Each register can be converted to form a serial shift register *Advantages: Hazard Free *Disadvantages Complexity (Size - speed).

Scan and JTAG Principles5 Serial Scan *Uses edge triggered latches to form the scan element. *Lower complexity; higher speed. *Sensitive to clock skew. *May need synchronisation (redundant) opposite edge triggered scan elements to rectify.

Scan and JTAG Principles6 ARM Scan Cell 1D C1 G D C1 G Shift/Load From last cell From logic or pin To next cell Mode To logic or pin UpdateClock

Scan and JTAG Principles7 Scan Nomenclature *Full Scan Connection of all flip-flop elements into a single serial shift register. *Partial Scan Connection of a subset of all flip-flop elements to form a serial shift register. There can be more than one partial scan chain. *Boundary Scan All I/Os are isolated from the core logic by a serial shift register. This shift register can be used to apply system-level stimuli to the core serially.

Scan and JTAG Principles8 System Level Test *Increasing board complxities and use of multichip modules has stretched traditional system test techniques. *Joint Test Action Group (JTAG) to formulate a unified scan-based system test method. *Result was the IEEE 1149 Boundary Scan architecture.

Scan and JTAG Principles9 JTAG System Test

Scan and JTAG Principles10 Extra JTAG Logic

Scan and JTAG Principles11 TAP Pin Descriptions I *Test Clock Input (TCK) Independent of the system clock. Rising edge used to load signals applied at the TAP input pins (TDI,TMS). Falling edge used to clock data out of the TAP data output (TDO). *Test Mode Select (TMS) Test logic operation determined by input sequence on this pin. In undriven state, TMS should be a logic 1. *Test Data Input (TDI) Serial test data applied at this input. Again, should be pulled up to logic 1when undriven.

Scan and JTAG Principles12 TAP Pin Descriptions II *Test Data Output (TDO) Serial data out. When there is no shift activity, TDO is set to a high-impedence state. *Test Reset (TRST) TAP controller can be initialised via TCK and TMS. Optional TRST pin allows reset independently of TCK and TMS. Pulling TRST to 0 asynchronously forces the test logic into its reset state.

Scan and JTAG Principles13 TAP Architecture Device ID Register Bypass register Instruction Decode Instruction Reg. TDI TMS TCK nTRST TDO TAP Controller nTDOEN Test Data Registers

Scan and JTAG Principles14 TAP Control State Machine Select-DR-Scan Capture-DR Shift-DR Exit1-DR Pause-DR Exit2-DR Update-DR Test-Logic Reset Run-Test/Idle Select-IR-Scan Capture-IR Shift-IR Exit1-IR Pause-IR Exit2-IR Update-IR TMS=1 TMS=0 TMS=1 TMS=0 TMS=1 TMS=0 TMS=1 TMS=0 TMS=1 TMS=0 TMS=1 TMS=0 TMS=1 TMS=0

Scan and JTAG Principles15 Controller States I *TEST-LOGIC-RESET Test logic disabled; allows for normal chip operation. *RUN-TEST-IDLE Controller state between scan operations. *SELECT-DR/IR-SCAN Temporary controller states in which all test data registers selected by the current instruction retain their current state. Initiates register scan sequence. *CAPTURE-DR The selected test data register captures its data inputs on the rising edge of TCK.

Scan and JTAG Principles16 Controller States II *CAPTURE-IR The instruction register loads a fixed bit pattern on rising TCK. *SHIFT-DR/IR In these states the test data register (DR) or the instruction register (IR), shifts its data by one stage on each rising edge of TCK. *EXIT1-DR/IR These are temporary controller states. If TMS = 1, then on the next rising TCK, the state machine will enter the Update-DR/IR states. *UPDATE-DR Some test data registers have latched parallel outputs. These outputs are latched on falling TCK

Scan and JTAG Principles17 Controller States III *UPDATE-IR On TCK falling the instruction shifted in during SHIFT-IR is latched into the instruction register. *PAUSE-DR/IR These states allow for the instruction/data shift operations to be halted temporarily. *EXIT2-DR/IR Temporary controller states allowing either resumption of or termination of the current scan instruction.

Scan and JTAG Principles18 TAP Instructions I *SCAN_N (0010) Connects the Scan Path Select Register between TDI and TDO. Selects scan chain for subsequent test operations. *EXTEST (0000) Allows for testing of external logic. During SHIFT-DR scanned-in data is applied immediately to the system. *INTEST (1100) Allows for testing of internal logic.

Scan and JTAG Principles19 TAP Instructions II *IDCODE (1110) Connects device identification register between TDI and TDO. *BYPASS (1111) Connects a single stage shift register between TDI and TDO. Allows testing of individual devices to take place. *CLAMP (0101) Connects a single stage shift register between TDI and TDO. Output signals are defined by values previously loaded into the currently selected scan chain.

Scan and JTAG Principles20 TAP Instructions III *HIGHZ (0111) Connects a single stage shift register between TDI and TDO. All outputs are forced to high impedence state. *CLAMPZ (1001) NB. ARM-SPECIFIC Connects a single stage shift register between TDI and TDO. All tri-state outputs are inactive, but data supplied to outputs is derived from the scan cells. *SAMPLE/PRELOAD (0011) Selects the boundary scan register as DR, and samples or preloads the chip I/Os.

Scan and JTAG Principles21 ARM Implementation Details *ARM7 family cores have *no* boundary scan. *SAMPLE/PRELOAD instructions must not be used. *3 Scan chains are available as test data registers. *JTAG inputs (TDI andTMS) have no internal pullups and must be driven correctly at all times.

Scan and JTAG Principles22 Summary *Serial test methods offer a route towards an automated method of providing test coverage. *IEEE 1149 extends this serial test architecture to cover system level testing. *ARM implements key components of the 1149 standard within its debug-aware cores, but requires external support to completely adhere to the standard.