Ch5_Altera_JTAG(4).ppt

上传人:bao****ty 文档编号:144950038 上传时间:2020-09-14 格式:PPT 页数:84 大小:3.69MB
返回 下载 相关 举报
Ch5_Altera_JTAG(4).ppt_第1页
第1页 / 共84页
Ch5_Altera_JTAG(4).ppt_第2页
第2页 / 共84页
Ch5_Altera_JTAG(4).ppt_第3页
第3页 / 共84页
Ch5_Altera_JTAG(4).ppt_第4页
第4页 / 共84页
Ch5_Altera_JTAG(4).ppt_第5页
第5页 / 共84页
点击查看更多>>
资源描述

《Ch5_Altera_JTAG(4).ppt》由会员分享,可在线阅读,更多相关《Ch5_Altera_JTAG(4).ppt(84页珍藏版)》请在金锄头文库上搜索。

1、PLD,JTAG interface,Reference,AN 39: JTAG Boundary-Scan Testing in Altera Devices Altera Co. AN 88: Using the Jam Language for ISP & ICR via an Embedded Processor Altera Co. IEEE Standard Test Access Port and Boundary-Scan Architecture IEEE Std 1149.1-2001 (Revision of IEEE Std 1149.1-1990),What is J

2、TAG?,JTAG Joint Test Action Group BST A standard Boundary-Scan Testing interface,Why JTAG?,A uniform interface for device testing Daisy chain structure to testing multiple IC from one testing interface On-line testing and programming Provides extra function such as CPU debugging and board bus contro

3、l,History of JTAG,1985 Joint European Test Action Group(JETAG) was formed in Europe 1986 The group expanded to include members from both Europe and North America and was renamed the Joint Test Action Group (JTAG). 1988 JTAG Version 2.0was offered to the IEEE Testability Bus Standards Committee (P114

4、9) 1993 IEEE Std 1149.1a-1993,Boundary-scan Testing,Feature of BST,Offers the capability to efficiently test components on PCBs with tight lead spacing. Test pin connections without using physical test probes and capture functional data while a device is operating normally. Force signals onto pins,

5、or capture data from pin or core logic signals. Forced test data is serially shifted into the boundary-scan cells. Captured data is serially shifted out and externally compared to expected results.,BST Pins for Altera MAX7000A,Description of BST Pins,Functional Model IEEE Std. 1149.1 Circuitry,Regis

6、ters of BST,Boundary-scan Register which is a shift register composed of all the boundary-scan cells of the device. Bypass Register which is a 1-bit-long data register used to provide a minimum-length serial path between TDI and TDO Instruction Register which is used to determine the action to be pe

7、rformed and the data register to be accesse,Test clock input pin (TCK),Many parts of the test logic perform operations in response to the rising or falling edge of TCK Be driven by a free-running clock with a nominal 50% duty cycle May vary significantly in frequency from one component to the anothe

8、r,Test mode select input (TMS),The signal received at TMS is decoded by the TAP controller to control test operations. TMS shall be sampled by the test logic on the rising edge of TCK. Change the signal driven to the TMS inputs of connected components on the falling edge of TCK. Design TMS pin caref

9、ully to avoid entering test mode by a voltage on un-driven TMS pin. A pull-up resistor is recommended,Test data input (TDI),Serial test instructions and data are received by the test logic at TDI. Signal presented at TDI shall be sampled into the test logic on the rising edge of TCK. The bus master

10、will change the signal driven to the TDI input on the falling edge of TCK. The design of the circuitry should ensure that an un-driven input produces a logic 1. (Pull-up resistor),Test data output (TDO),TDO is the serial output for test instructions and data from the test logic Changes in the state

11、of the signal driven through TDO occurs on the falling edge of TCK. External logic sample TDO on the rising edge of TCK.,Test reset input (TRST),Optional Provides for asynchronous initialization of the TAP controller TMS should be held at 1 while the signal applied at TRST changes from 0 to 1. Undri

12、ven input produces a logical response identical to the application of a logic 1. (Pull-up resistor),Pull-up Registers For TAP Controller,Reset of JTAG,Test Access Port,TAP controller is controlled by 5 pins TMS TRST TCK,TAP FSM,Boundary-scan Register (1),Boundary-scan Register in Alter Devices (1),B

13、oundary-scan Register in Alter Devices (2),Boundary-scan Register Cell of Altera MAX7000 (IO),Boundary-scan Register Cell of Altera MAX7000 (IN),TAP FSM,Timing of Actions in a Controller State,Waveform for Instruction Scan,Waveform for Data Scan,TEST_LOGIC/RESET State,The BST circuitry is disabled T

14、he device is in normal operation The instruction register is initialized. Initial instruction is IDCODE or BYPASS (if IDCODE is not supported). Enter TEST_LOGIC/RESET Mode device power-up Can be forced to the TEST_LOGIC/RESET state by holding TMS high for five TCK clock cycles holding the TRST pin l

15、ow (if the optional TRST pin is supported.),How to reach SHIFT_IR state?,SHIFT_IR state,Shift in the instruction code into “instruction register” TDO pin It is activated at the first falling edge of TCK after entering shift states and is tri-stated at the first falling edge of TCK after leaving shif

16、t states. When shift data in SHIFT_IR state, the initial state of the instruction register is shifted out on the falling edge of TCK while new instruction is shifted in from TDI pin TDI pin Instruction code is entered by shifting data on the TDI pin on the rising edge of TCK The last bit of the opcode must be clocked at the same time that the next state, EXIT1_IR, is activated The circuits exit “SHIFT_IR” state by entering EXIT1_IR state,EXIT1_IR State,EXIT1_IR is entered at the end

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号