[go: up one dir, main page]

CN101923135A - Scan chain circuit for FPGA interpolation interconnection test - Google Patents

Scan chain circuit for FPGA interpolation interconnection test Download PDF

Info

Publication number
CN101923135A
CN101923135A CN 201010282779 CN201010282779A CN101923135A CN 101923135 A CN101923135 A CN 101923135A CN 201010282779 CN201010282779 CN 201010282779 CN 201010282779 A CN201010282779 A CN 201010282779A CN 101923135 A CN101923135 A CN 101923135A
Authority
CN
China
Prior art keywords
scan
scan chain
fpga
programmable logic
row
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010282779
Other languages
Chinese (zh)
Inventor
王元
陈星�
陈利光
来金梅
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fudan University
Original Assignee
Fudan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fudan University filed Critical Fudan University
Priority to CN 201010282779 priority Critical patent/CN101923135A/en
Publication of CN101923135A publication Critical patent/CN101923135A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The invention relates to a scanning chain circuit for an FPGA (Field Programmable Gate Array) interpolating and interconnecting test, belonging to the FPGA technical field. By using triggers of programmable logic parts in a chip, the programmable logic parts of an FPGA are mutually serially connected to form a scanning chain which is specially used for testing an interconnecting wire and controlled by using a scanning mode signal; meanwhile, according to the requirements, the scanning chain is segmented into a plurality of sections by using IO to improve the flexibility of the scanning chain. Because of multiplexing the triggers, the area added because of inserting the scanning chain is very little, and the difficulty of the interconnecting test can be greatly reduced.

Description

FPGA内插互连测试用扫描链电路 Scan chain circuit for FPGA interpolation interconnection test

技术领域technical field

本发明属于FPGA技术领域,具体涉及一种FPGA内插互连测试扫描链电路。The invention belongs to the technical field of FPGA, in particular to an FPGA interpolation interconnection test scan chain circuit.

背景技术Background technique

在现场可编程门阵列FPGA的设计实现中,互连(Interconnect)的测试一直是比较难以解决的问题。互连线和互连开关很多而且在芯片内部,通常要耗费很多时间和配置文件来定位到出问题的互连线或互联开关的位置。通常测试的方法是在芯片内选定好一条互连路径,将这条路径接到IO上,从输入IO加入激励,在输出IO观察输出是否与输入一样。这种方法的缺陷就在于,如果把互连路径拉得很长,那么一旦路径上有错,要去定位这个错误就比较困难;而如果路径很短,则需要编写大量的配置文件来覆盖整个芯片。In the design and implementation of Field Programmable Gate Array FPGA, the test of interconnection (Interconnect) has always been a relatively difficult problem to solve. There are many interconnect lines and interconnect switches inside the chip, and it usually takes a lot of time and configuration files to locate the problematic interconnect lines or interconnect switches. The usual test method is to select an interconnection path in the chip, connect this path to the IO, add excitation from the input IO, and observe whether the output is the same as the input at the output IO. The disadvantage of this method is that if the interconnection path is stretched very long, once there is an error on the path, it will be more difficult to locate the error; and if the path is very short, it is necessary to write a large number of configuration files to cover the entire chip.

为了降低互连线和互连开关的测试难度,节省测试时间。本发明在我们设计的FPGA芯片中利用可编程逻辑单元中的触发器作为扫描用的触发器,在芯片中插入互连测试专用的扫描链,并设置扫描模式用来测试互连线和互连开关。由于我们复用了触发器的,所以因插入扫描链而增加的面积微乎其微,但同时却可以大幅降低互连测试的难度。In order to reduce the difficulty of testing interconnection wires and interconnection switches and save test time. The present invention utilizes the flip-flop in the programmable logic unit as the flip-flop for scanning in the FPGA chip we designed, inserts the special-purpose scan chain of interconnection test in the chip, and sets the scan mode to be used for testing interconnection line and interconnection switch. Since we reuse the flip-flops, the area increased by inserting scan chains is minimal, but at the same time it can greatly reduce the difficulty of interconnection testing.

发明内容Contents of the invention

本发明的目的在于提供一种改进的FPGA中的可编程逻辑电路,以降低互连测试难度 The purpose of the present invention is to provide an improved programmable logic circuit in FPGA to reduce the difficulty of interconnection testing .

针对FPGA中互连结构复杂,难以测试的缺点,本发明在FPGA的可编程逻辑部分,插入互连测试用扫描链。具体是利用芯片中可编程逻辑部分的触发器,相互串联形成一条扫描链,专门用于互连线的测试,并用一个扫描模式信号进行控制;同时,可以根据需要,通过IO将扫描链分割成几段,这也可以提高扫描链的灵活性。Aiming at the shortcomings of complex interconnection structure and difficult testing in FPGA, the invention inserts scan chains for interconnection testing into the programmable logic part of FPGA. Specifically, the flip-flops in the programmable logic part of the chip are used to form a scan chain in series, which is specially used for the test of the interconnection line, and is controlled by a scan mode signal; at the same time, the scan chain can be divided into Several segments, which can also improve the flexibility of the scan chain.

整个芯片中的扫描链电路如图1所示,每一列可编程逻辑块中扫描链是从顶部串连到底部,然后再反穿回顶部。整个芯片中各列扫描链的数据端和扫描控制信号的可以相互串连起来,可配置成从左向右传输或者从右向左传输。每一列的扫描链的扫描输入可以从两边的扫描链输出来,或者从该列顶部的IO来,扫描结果也可以从该列的可编程逻辑块的顶部IO输出,也可以向左右两边扫描链输出。The scan chain circuit in the entire chip is shown in Figure 1. The scan chains in each column of programmable logic blocks are connected in series from the top to the bottom, and then reversed back to the top. The data terminals and scan control signals of each column scan chain in the entire chip can be connected in series, and can be configured to be transmitted from left to right or from right to left. The scan input of the scan chain of each column can be output from the scan chains on both sides, or from the IO at the top of the column, and the scan result can also be output from the top IO of the programmable logic block of the column, or can be sent to the left and right scan chains output.

技术效果technical effect

采用了改内插扫描链技术后,对于互连测试的效率和错误定位的效率、准确性都有了很大程度的提高。在以前没有扫描链的时候,对互连的测试只能采用遍历测试的方法,即将许多互连线连接起来,看看线路是否畅通。这个方法不能精确定位到错误的位置,而有了扫描链之后,对错误定位就变得很容易了。After adopting the improved interpolation scan chain technology, the efficiency of interconnection testing and the efficiency and accuracy of error positioning have been greatly improved. When there was no scan chain in the past, the test of interconnection can only use the method of traversal test, which is to connect many interconnection lines to see if the line is smooth. This method cannot accurately locate the wrong position, but with the scan chain, it becomes very easy to locate the error.

附图说明Description of drawings

图1为扫描链电路整体示意图。FIG. 1 is an overall schematic diagram of a scan chain circuit.

图2为一个可编程逻辑块内的扫描链示意图。Figure 2 is a schematic diagram of a scan chain within a programmable logic block.

图3为扫描控制信号选通电路示意图。FIG. 3 is a schematic diagram of a scanning control signal gating circuit.

图4为每个SLICE内部的扫描路径示意图。FIG. 4 is a schematic diagram of the scanning path inside each SLICE.

具体实施方式Detailed ways

图2中的se信号即Scan Enable信号,此信号用于控制扫描链进入扫描模式,每个可编程逻辑块中的扫描链都是通过sil信号从左上角的SLICE1进入,然后进入左下角的SLICE2,再从左下角的sol穿出,进入下一个SLICE的左上角,这样一直穿到芯片底部,然后再穿到右下角的SLICE,再往上穿回来进入SLICE3、SLICE4往上穿出,每一列可编程逻辑块的扫描链都可以从其顶部的IO输出,这样可以将整个扫描链按列分段,在定位互连错误的时候可以节省扫描时间,提高查错效率。The se signal in Figure 2 is the Scan Enable signal. This signal is used to control the scan chain to enter the scan mode. The scan chain in each programmable logic block enters from SLICE1 in the upper left corner through the sil signal, and then enters SLICE2 in the lower left corner. , and then go out from the sol in the lower left corner, and enter the upper left corner of the next SLICE, so that it goes all the way to the bottom of the chip, and then goes to the SLICE in the lower right corner, and then goes up and back into SLICE3, and SLICE4 goes up and out, each column The scan chain of the programmable logic block can be output from the IO on the top, so that the entire scan chain can be segmented by column, which can save scanning time and improve the efficiency of error detection when locating interconnection errors.

为了提高扫描链的灵活性,我们设定扫描链可以按列从左向右扫描或者从右向左扫描。每个顶部IO中都有一个多路选通器专门负责控制扫描链方向,就是图1中的这个多路选通器MUX。这个多路选通器可以输出从右边一列可编程逻辑块输入的扫描数据流,或者从左边一列可编程逻辑块输出的扫描数据流。In order to improve the flexibility of the scan chain, we set the scan chain to scan from left to right or from right to left by column. There is a multiplexer in each top IO that is responsible for controlling the direction of the scan chain, which is the multiplexer MUX in Figure 1. This multiplexer can output the scan data stream input from the right column of programmable logic blocks, or the scan data stream output from the left column of programmable logic blocks.

另外为了配合扫描链的分列和双向性,我们增加了扫描控制信号se的选择用多路选择器,就是图3中这些多路选择器。本列的se信号默认配置是0,在扫描模式开启后,可以选择从PAD由外部给予,或者由左边或右边一列扫描链的se信号传过来。同样本列的se信号也会传到左边和右边的一列扫描链上去。In addition, in order to cooperate with the separation and bidirectionality of the scan chain, we have added multiplexers for the selection of the scan control signal se, which are the multiplexers in Figure 3. The default configuration of the se signal in this column is 0. After the scan mode is turned on, you can choose to give it from the outside of the PAD, or transmit it from the se signal of the scan chain on the left or right. Similarly, the se signal of this column will also be transmitted to the scan chains on the left and right.

由图4可见,每个SLICE中有两个D触发器,在非scan mode时,数据由两个MUX的其他输入端进入触发器锁存。在scan mode时,se信号开启,数据依次由s_data_in端通过D1、D2两级触发器送入传过该SLICE,由s_data_out端传进下一个SLICE或者PAD。由此图可见,每个CLB有四个SLICE,所以每个CLB每次可以测8条互连线或8个互连开关。It can be seen from Figure 4 that there are two D flip-flops in each SLICE. In non-scan mode, data enters the flip-flop latch from the other input terminals of the two MUXs. In the scan mode, the se signal is turned on, and the data is sequentially sent from the s_data_in terminal through the D1 and D2 two-level flip-flops to pass through the SLICE, and then transmitted to the next SLICE or PAD from the s_data_out terminal. It can be seen from this figure that each CLB has four SLICEs, so each CLB can measure 8 interconnection lines or 8 interconnection switches at a time.

参考文献:references:

[1] 欧阳一鸣 刘娟 梁华国 陈田,“一种基于选择出发的低功耗扫描链结构”, 计算机工程与应用, 2010 46(1).[1] Ouyang Yiming, Liu Juan, Liang Huaguo, and Chen Tian, "A low-power scan chain structure based on selection", Computer Engineering and Applications, 2010 46(1).

[2] 于薇 来金梅 孙承绶 童家榕,“FPGA芯片中边界扫描电路的设计实现”,计算机工程 2007 13.[2] Yu Weilai, Jinmei Sun Chengshou, Tong Jiarong, "Design and Implementation of Boundary Scan Circuit in FPGA Chip", Computer Engineering 2007 13.

[3] 马晓骏 童家榕,“应用于FPGA芯片的边界扫描电路”, 微电子学 2004 3.[3] Ma Xiaojun Tong Jiarong, "A Boundary Scan Circuit Applied to FPGA Chip", Microelectronics 2004 3.

Claims (4)

1. FPGA interpolating and interconnecting test scan chain circuits, it is characterized in that the FPGA (Field Programmable Gate Array) part at FPGA, utilize the trigger of FPGA (Field Programmable Gate Array) part in the chip, series connection forms a scan chain mutually, be specifically designed to the test of interconnection line, and control with a scan pattern signal; Simultaneously, as required, scan chain is divided into several sections, to improve the dirigibility of scan chain by IO.
2. FPGA interpolating and interconnecting test scan chain circuits according to claim 1 is characterized in that scan chain is to be connected in series to bottom and then the anti-portion of returning back to top of wearing from the top in each row programmable logic block; The data terminal of each column scan chain and scan control signal are contacted mutually in the entire chip, can be configured to transmit from left to right or transmission from right to left; The scanning input of the scan chain of each row comes from the scan chain output on both sides, and perhaps the IO output from this row top comes, and scanning result is from the top IO output of the programmable logic block of these row, perhaps scan chain output to the left and right sides.
3. FPGA interpolating and interconnecting test scan chain circuits according to claim 2 is characterized in that
All be provided with a multi-channel gating device among each each programmable logic block top IO, be responsible for the gated sweep chain direction specially, the scan data stream of this multi-channel gating device output one row programmable logic block input, the perhaps scan data stream of one row programmable logic block output from the left side from the right.
4. FPGA interpolating and interconnecting test scan chain circuits according to claim 3 is characterized in that
Be provided with scan control signal se and select to use MUX; This MUX is 0 to the scan control signal se signal default configuration of these row, after scan pattern is opened, selects to be given by the outside from PAD, is perhaps passed by the scan control signal se of the left side or the right one column scan chain and comes.
CN 201010282779 2010-09-16 2010-09-16 Scan chain circuit for FPGA interpolation interconnection test Pending CN101923135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010282779 CN101923135A (en) 2010-09-16 2010-09-16 Scan chain circuit for FPGA interpolation interconnection test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010282779 CN101923135A (en) 2010-09-16 2010-09-16 Scan chain circuit for FPGA interpolation interconnection test

Publications (1)

Publication Number Publication Date
CN101923135A true CN101923135A (en) 2010-12-22

Family

ID=43338183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010282779 Pending CN101923135A (en) 2010-09-16 2010-09-16 Scan chain circuit for FPGA interpolation interconnection test

Country Status (1)

Country Link
CN (1) CN101923135A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104749515A (en) * 2015-03-31 2015-07-01 中国人民解放军国防科学技术大学 Low power scan testing method and device based on sequential equal segmentation
CN105911461A (en) * 2016-04-26 2016-08-31 湖北理工学院 Test structure of ring chain time division multiplexing test port
CN106597250A (en) * 2016-11-24 2017-04-26 深圳市紫光同创电子有限公司 Programmable logic device (PLD) test method and device
CN107450516A (en) * 2017-08-03 2017-12-08 爱普(福建)科技有限公司 A kind of closed loop test method based on element
CN111722097A (en) * 2020-07-01 2020-09-29 无锡中微亿芯有限公司 Multi-die FPGA with interconnection test function
CN113377587A (en) * 2021-06-01 2021-09-10 珠海昇生微电子有限责任公司 System and method for testing scan chain circuit based on FPGA chip
CN115469214A (en) * 2022-10-31 2022-12-13 南京邮电大学 A low-power scan test circuit based on scan chain segmentation control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550843A (en) * 1994-04-01 1996-08-27 Xilinx, Inc. Programmable scan chain testing structure and method
US7227364B1 (en) * 2004-12-16 2007-06-05 Xilinx, Inc. Test circuit for and method of identifying a defect in an integrated circuit
US7451369B1 (en) * 2006-08-03 2008-11-11 Xilinx, Inc. Scalable columnar boundary scan architecture for integrated circuits
CN101464494A (en) * 2009-01-19 2009-06-24 北京大学 Interconnection line test circuit used in field programmable gate array device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550843A (en) * 1994-04-01 1996-08-27 Xilinx, Inc. Programmable scan chain testing structure and method
US7227364B1 (en) * 2004-12-16 2007-06-05 Xilinx, Inc. Test circuit for and method of identifying a defect in an integrated circuit
US7451369B1 (en) * 2006-08-03 2008-11-11 Xilinx, Inc. Scalable columnar boundary scan architecture for integrated circuits
CN101464494A (en) * 2009-01-19 2009-06-24 北京大学 Interconnection line test circuit used in field programmable gate array device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104749515A (en) * 2015-03-31 2015-07-01 中国人民解放军国防科学技术大学 Low power scan testing method and device based on sequential equal segmentation
CN105911461A (en) * 2016-04-26 2016-08-31 湖北理工学院 Test structure of ring chain time division multiplexing test port
CN106597250A (en) * 2016-11-24 2017-04-26 深圳市紫光同创电子有限公司 Programmable logic device (PLD) test method and device
CN107450516A (en) * 2017-08-03 2017-12-08 爱普(福建)科技有限公司 A kind of closed loop test method based on element
CN107450516B (en) * 2017-08-03 2019-09-20 爱普(福建)科技有限公司 A kind of closed loop test method based on element
CN111722097A (en) * 2020-07-01 2020-09-29 无锡中微亿芯有限公司 Multi-die FPGA with interconnection test function
CN113377587A (en) * 2021-06-01 2021-09-10 珠海昇生微电子有限责任公司 System and method for testing scan chain circuit based on FPGA chip
CN115469214A (en) * 2022-10-31 2022-12-13 南京邮电大学 A low-power scan test circuit based on scan chain segmentation control
CN115469214B (en) * 2022-10-31 2023-02-14 南京邮电大学 A low-power scan test circuit based on scan chain segment control

Similar Documents

Publication Publication Date Title
CN101923135A (en) Scan chain circuit for FPGA interpolation interconnection test
CN102944831B (en) Method for expanding in/out (I/O) channel in automated testing
JP2994666B2 (en) Boundary scanning test cell
KR101006822B1 (en) Transparent test method and scan flip flop
CN102288903B (en) Test structure and method for interconnect resources in field programmable gate array (FPGA)
CN102970013B (en) Resetting method and resetting control device of register inside chip based on scanning chain
CN101865977B (en) Based on the traversal method of testing of the FPGA programmable logic cells of look-up table configuration
JP4808051B2 (en) Semiconductor integrated circuit device and test method thereof
US10895598B2 (en) At-speed test access port operations
US20230160958A1 (en) 3d tap & scan port architectures
CN102621483A (en) Multi-link parallel boundary scanning testing device and method
JP2011502267A (en) Method for analyzing a scan chain and method for determining the number or location of hold time faults in a scan chain
JP4388903B2 (en) JTAG test method
TW201409054A (en) On-chip probe circuit for detecting faults in an FPGA
CN103487747A (en) Scanning subchain type test structure and method capable of conforming to boundary scan standards
CN107300666A (en) The test of embedded IP stone accesses isolation structure on a kind of SOC pieces
CN104569792A (en) Scan systems and methods
KR101062759B1 (en) Semiconductor memory device and its data reading method
JP4437719B2 (en) Semiconductor integrated circuit, scan circuit design method, test pattern generation method, and scan test method
CN202217036U (en) Distributed test node chain and its multi-chain system
WO2007143220A2 (en) Reconfigurable scan array structure
Guo et al. A novel configurable boundary-scan circuit design of SRAM-based FPGA
JP4187728B2 (en) Test integrated semiconductor integrated circuit and test method thereof
US11639962B1 (en) Scalable scan architecture for multi-circuit block arrays
JP3588052B2 (en) Boundary scan test circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101222