CN102955127A - Debugging method for large-scale field programmable gate array (FPGA) design - Google Patents

Debugging method for large-scale field programmable gate array (FPGA) design Download PDF

Info

Publication number
CN102955127A
CN102955127A CN2011102549857A CN201110254985A CN102955127A CN 102955127 A CN102955127 A CN 102955127A CN 2011102549857 A CN2011102549857 A CN 2011102549857A CN 201110254985 A CN201110254985 A CN 201110254985A CN 102955127 A CN102955127 A CN 102955127A
Authority
CN
China
Prior art keywords
fpga
measured signal
debugging
design
external testing
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.)
Granted
Application number
CN2011102549857A
Other languages
Chinese (zh)
Other versions
CN102955127B (en
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.)
Beijing CEC Huada Electronic Design Co Ltd
Original Assignee
Beijing CEC Huada Electronic Design Co Ltd
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 Beijing CEC Huada Electronic Design Co Ltd filed Critical Beijing CEC Huada Electronic Design Co Ltd
Priority to CN201110254985.7A priority Critical patent/CN102955127B/en
Publication of CN102955127A publication Critical patent/CN102955127A/en
Application granted granted Critical
Publication of CN102955127B publication Critical patent/CN102955127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a debugging method for large-scale field programmable gate array (FPGA) design, and mainly aims to provide a relatively general debugging method. By the debugging method, the time of debugging an FPGA prototype is saved, and the efficiency of debugging the FPGA prototype is improved. The main theory is that a redundant control logic is designed; and a main machine end configures a corresponding register of the control logic through operation of a universal asynchronous receiver/transmitter (UART), so that an external test pin is selectively connected to a signal to be tested in a certain FPGA chip. By the method, the structure is simple; the method is easy to implement; the external test pin can test a plurality of inner signals to be tested of the FPGA chips; and during test, the inner signals to be tested of certain FPGA chips can be freely selected, and the signals are not required to be grouped in advance.

Description

A kind of adjustment method for large-scale F PGA design
Technical field
The present invention relates to the FPGA design field, relate in particular to the adjustment method in a kind of FPGA design.
Background technology
In recent years, along with the scale of FPGA design is increasing, the scale of fpga chip is also increasing, and the impact on project process in the debugging on the FPGA prototype has seemed most important.For example, in a WLAN (wireless local area network) FPGA design, debugging occupies very large ratio, so the debugging of accelerating on the FPGA prototype can the Effective Raise project process.
Now, about the debugging on the FPGA prototype, some debugging acid and methods relatively more commonly used are also arranged on the market, such as, directly the modification code arrives the external testing pin with the signal assign of needs, Embedded logic analyser, FPGA Editor guides to the external testing pin with internal signal, the dynamic probes that Agilent is released etc.
Some method need to re-start FPGA placement-and-routing, can cause the huge waste of time cost.
Some method need to be with the BRAM resource of FPGA inside, and the data acquisition storage depth is limited, sometimes needs the signal time observed longer in the debugging of large-scale F PGA design, and these class methods also have its limitation.
Also have certain methods can realize in the test of a pin to a plurality of inner measured signals, but need to set in advance grouping, can not realize a pin to the selection of any one inside measured signal, need in addition the separately software cooperation of producer, testing cost is more expensive.
This invention can realize not re-starting FPGA placement-and-routing, and main frame is tested a plurality of inner measured signals by external testing pin of UART interface operation steering logic realization, and does not need to pre-set grouping.
Summary of the invention
The invention provides a kind of adjustment method that is applicable in the large-scale F PGA design, fundamental purpose is the debugging efficiency that improves on the FPGA prototype, reduces testing cost, and can realize that an external testing pin is to the selection of any one inside measured signal.Cardinal principle is that steering logic that main frame passes through UART interface operation FPGA inside realizes being connected of inner measured signal and external testing pin.
At first, set in advance inner measured signal, suppose to have 2 NIndividual signal to be observed, in advance this 2 NIndividual signal is made as inner measured signal and is connected to the steering logic of FPGA inside, and N is the integer more than or equal to 1; The steering logic of FPGA inside be input as 2 NIndividual inner measured signal, the external testing pin of FPGA is received in the output of FPGA, the case of external test pin is X altogether, the steering logic of FPGA is carried out register configuration by UART, each register bit wide is N, which inner measured signal X external testing pin of configurable X register control is connected to, and final, the external testing pin is connected to inner measured signal.
The advantage of the method:
Do not need to re-start FPGA placement-and-routing, reduce time cost.
Can realize that an external testing pin to the selection of any one inside measured signal, does not need to pre-set grouping.
Description of drawings
Accompanying drawing 1 is the hardware connection layout for the adjustment method of large-scale F PGA design.
Accompanying drawing 2 is this adjustment method FPGA inner control logic schematic diagrams.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
The invention provides a kind of adjustment method that is applicable in the large-scale F PGA design, fundamental purpose is the debugging efficiency that improves on the FPGA prototype, reduces testing cost, and can realize that an external testing pin is to the selection of any one inside measured signal.Cardinal principle is that the steering logic by main frame UART interface operation FPGA inside realizes being connected of inner measured signal and external testing pin.
At first, need to set in advance inner measured signal, suppose to have 2 NIndividually want the signal observed, so need to be when design in advance this 2 NIndividual signal is made as the steering logic that inner measured signal is connected to FPGA inside.
Steering logic is input as 2 NIndividual inner measured signal, export and receive the external testing pin, suppose that the external testing pin is received in output individual for X altogether, steering logic is similar to and is equivalent to 1 MUX selector switch that can carry out by UART register configuration, one total configurable register X is individual, and each register bit wide is N.Can be found out by accompanying drawing 1 and accompanying drawing 2, a configurable X register (sel_0~sel_X-1) is by main frame UART configuration, control X external testing pin (out[0]~out[X-1]) be connected to which inner measured signal (test[0]~test[2 N-1]), the inner realization of concrete FPGA is equivalent to a large MUX selector switch, after sel_n is made as a fixed value, external testing pin out[n] be connected to inner measured signal test[sel_n], for example: when sel_0 is made as fixed value 5, be out[0 so] be connected to test[5].Hence one can see that, and the method external testing pin (out[0]~out[X-1]) can be connected to any one of inner measured signal.

Claims (1)

1. an adjustment method that is used for large-scale F PGA design is characterized in that, main frame realizes that by UART interface operation steering logic step is as follows in being connected of inner measured signal and external testing pin:
Set inner measured signal, suppose to have 2 NIndividual signal to be observed, in advance this 2 NIndividual signal is made as inner measured signal and is connected to the steering logic of FPGA inside, and N is the integer more than or equal to 1; The steering logic of FPGA inside be input as 2 NIndividual inner measured signal, the external testing pin of FPGA is received in the output of FPGA, the case of external test pin is X altogether, the steering logic of FPGA is carried out register configuration by UART, which inner measured signal X external testing pin of configurable X register control is connected to, finally, the external testing pin is connected to inner measured signal.
CN201110254985.7A 2011-08-31 2011-08-31 Debugging method for large-scale field programmable gate array (FPGA) design Active CN102955127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110254985.7A CN102955127B (en) 2011-08-31 2011-08-31 Debugging method for large-scale field programmable gate array (FPGA) design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110254985.7A CN102955127B (en) 2011-08-31 2011-08-31 Debugging method for large-scale field programmable gate array (FPGA) design

Publications (2)

Publication Number Publication Date
CN102955127A true CN102955127A (en) 2013-03-06
CN102955127B CN102955127B (en) 2015-04-22

Family

ID=47764186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110254985.7A Active CN102955127B (en) 2011-08-31 2011-08-31 Debugging method for large-scale field programmable gate array (FPGA) design

Country Status (1)

Country Link
CN (1) CN102955127B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472387A (en) * 2013-09-04 2013-12-25 北京控制工程研究所 General on-line test system and test method suitable for antifuse type FPGA
CN111709201A (en) * 2020-06-18 2020-09-25 上海安路信息科技有限公司 FPGA configuration module and implementation method and circuit for test signal grouping output thereof
WO2023030069A1 (en) * 2021-09-06 2023-03-09 苏州贝克微电子股份有限公司 Semiconductor chip, test method, test apparatus, storage medium, and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001432A1 (en) * 2002-06-28 2004-01-01 Douglas Albert Wescott Embedding a JTAG host controller into an FPGA design
US6760898B1 (en) * 2002-02-22 2004-07-06 Xilinx, Inc. Method and system for inserting probe points in FPGA-based system-on-chip (SoC)
CN1828325A (en) * 2005-03-01 2006-09-06 松下电器产业株式会社 Test equipment for semiconductor
CN101158708A (en) * 2007-10-23 2008-04-09 无锡汉柏信息技术有限公司 Multiple chips automatic test method based on programmable logic device
CN101446988A (en) * 2007-11-27 2009-06-03 上海摩波彼克半导体有限公司 Device for automated testing universal asynchronous receiver-transmit based on software and method thereof
CN201637820U (en) * 2009-12-31 2010-11-17 芯通科技(成都)有限公司 Low-cost programmable logic array logic analyzing device
CN102025676A (en) * 2009-09-11 2011-04-20 中兴通讯股份有限公司 Method and device for realizing 1536-point FFT/IFFT

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760898B1 (en) * 2002-02-22 2004-07-06 Xilinx, Inc. Method and system for inserting probe points in FPGA-based system-on-chip (SoC)
US20040001432A1 (en) * 2002-06-28 2004-01-01 Douglas Albert Wescott Embedding a JTAG host controller into an FPGA design
CN1828325A (en) * 2005-03-01 2006-09-06 松下电器产业株式会社 Test equipment for semiconductor
CN101158708A (en) * 2007-10-23 2008-04-09 无锡汉柏信息技术有限公司 Multiple chips automatic test method based on programmable logic device
CN101446988A (en) * 2007-11-27 2009-06-03 上海摩波彼克半导体有限公司 Device for automated testing universal asynchronous receiver-transmit based on software and method thereof
CN102025676A (en) * 2009-09-11 2011-04-20 中兴通讯股份有限公司 Method and device for realizing 1536-point FFT/IFFT
CN201637820U (en) * 2009-12-31 2010-11-17 芯通科技(成都)有限公司 Low-cost programmable logic array logic analyzing device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
唐凯等: "基于串行通讯的FPGA片上RAM数据下载与系统调试", 《中国集成电路》, no. 136, 30 September 2010 (2010-09-30) *
苏漪等: "FPGA与DSP接口(UART)的设计实现与验证", 《无线电工程》, vol. 39, no. 10, 31 October 2009 (2009-10-31) *
赵延等: "基于FPGA的UART设计与实现及其验证方法", 《现代电子技术》, no. 17, 31 December 2008 (2008-12-31) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472387A (en) * 2013-09-04 2013-12-25 北京控制工程研究所 General on-line test system and test method suitable for antifuse type FPGA
CN103472387B (en) * 2013-09-04 2015-11-25 北京控制工程研究所 A kind of gpio line test macro and method of testing being applicable to anti-fuse type FPGA
CN111709201A (en) * 2020-06-18 2020-09-25 上海安路信息科技有限公司 FPGA configuration module and implementation method and circuit for test signal grouping output thereof
CN111709201B (en) * 2020-06-18 2023-09-15 上海安路信息科技股份有限公司 FPGA configuration module, realization method and circuit for packet output of test signals thereof
WO2023030069A1 (en) * 2021-09-06 2023-03-09 苏州贝克微电子股份有限公司 Semiconductor chip, test method, test apparatus, storage medium, and program product

Also Published As

Publication number Publication date
CN102955127B (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN102944831B (en) Method for expanding in/out (I/O) channel in automated testing
CN104698314A (en) Device-level automatic testing platform and testing method for SRAM type FPGA
CN101996687A (en) Built-in system test method of multiple static random access memory (SRAM) based on scanning test
CN102541707A (en) Multiplex JTAG (Joint Test Action Group) interface-based FPGA (Field Programmable Gate Array) on-chip logic analyzer system and method
CN102955127B (en) Debugging method for large-scale field programmable gate array (FPGA) design
CN102288903B (en) Test structure and method for interconnect resources in field programmable gate array (FPGA)
CN104865518A (en) CLB dynamic aging configuration method of SRAM type FPGA
CN102413005A (en) Fault injection method
CN103001636B (en) Single event effect detection method of folding interpolating-type analog-digital conversion device
CN102305907A (en) Test method and system for multichip encapsulating structure
CN104950241A (en) Integrated circuit and method for establishing scanning test framework in integrated circuit
CN105808843A (en) Construction method of mixed signal verification platform
CN109426594A (en) A kind of chip debugging apparatus, method and computer readable storage medium
CN103267940A (en) Multi-module parallel test system and multi-module parallel test method
CN103618551A (en) Method and device of realizing serial AD sampling based on JESD204 transport protocol
CN203423697U (en) FPGA (field programmable gate array) based simple digital signal transmission performance analyzer
CN105510663A (en) Automatic acquisition and testing method for high-amplitude differential signal
CN202534239U (en) Digital communication designed experimental platform
CN105093001A (en) Automatic analysis test system for characteristics of high-speed PLL and clock chip
CN103645428A (en) A system and a method for raising the efficiency of a WAT test
CN106406286A (en) Verification method of high-speed digital-analog hybrid circuit of radar signal processor
CN104090226B (en) Circuit for testing connectivity of chip pins
CN102340304B (en) TAP (test access port) interface optimization circuit
CN201562036U (en) Adapter plate and testing machine
CN102760497A (en) Chip with JTAG (joint test action group) interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 102209 Beijing, Beiqijia, the future of science and technology in the south area of China electronic network security and information technology industry base C building,

Patentee after: Beijing CEC Huada Electronic Design Co., Ltd.

Address before: 100102 Beijing City, Chaoyang District Lize two Road No. 2, Wangjing science and Technology Park A block five layer

Patentee before: Beijing CEC Huada Electronic Design Co., Ltd.