CN102955127B - 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 PDFInfo
- Publication number
- CN102955127B CN102955127B CN201110254985.7A CN201110254985A CN102955127B CN 102955127 B CN102955127 B CN 102955127B CN 201110254985 A CN201110254985 A CN 201110254985A CN 102955127 B CN102955127 B CN 102955127B
- Authority
- CN
- China
- Prior art keywords
- fpga
- measured signal
- debugging
- design
- signal
- 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.)
- Active
Links
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
Technical field
The present invention relates to FPGA design field, particularly relate 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, has seemed most important in the debugging in FPGA prototype on the impact of project process.Such as, in a WLAN (wireless local area network) FPGA design, debugging occupies very large ratio, so the debugging accelerated in FPGA prototype effectively can improve project process.
Now, about the debugging in FPGA prototype, also some debugging acid relatively commonly used and methods are had on the market, such as, direct amendment code by need signal assign to external testing pin, Embedded logic analyser, internal signal is guided to external testing pin by FPGA Editor, the dynamic probes etc. that Agilent is released.
Some method needs to re-start FPGA placement-and-routing, can cause the huge waste of time cost.
Some method needs the BRAM resource with FPGA inside, and 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.
Certain methods is also had to can be implemented in the test of a pin to multiple inner measured signal, but need to set grouping in advance, can not realize a pin to the selection of any one inside measured signal, need the software of respective producer to coordinate in addition, testing cost is more expensive.
This invention can be implemented in and do not re-start FPGA placement-and-routing, and main frame realizes an external testing pin by UART interface operation steering logic and tests multiple inner measured signal, and does not need to pre-set grouping.
Summary of the invention
The invention provides a kind of adjustment method be applicable in large-scale F PGA design, fundamental purpose is the debugging efficiency improved in FPGA prototype, reduces testing cost, and can realize an external testing pin to the selection of any one inside measured signal.Cardinal principle is that main frame realizes the connection of inner measured signal and external testing pin by the steering logic of UART interface operation FPGA inside.
First, set inner measured signal in advance, suppose have 2
nindividual signal to be observed, in advance this 2
nindividual signal is set to inner measured signal and is connected to the steering logic of FPGA inside, N be more than or equal to 1 integer; 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, case of external test pin is X altogether, the steering logic of FPGA carries out register configuration by UART, each register bit wide is N, which inner measured signal configurable X register control X external testing pin is connected to, and finally, 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.
An external testing pin can be realized to the selection of any one inside measured signal, not need to pre-set grouping.
Accompanying drawing explanation
Accompanying drawing 1 is the signal wiring figure for the adjustment method in 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, illustrate the present invention.
The invention provides a kind of adjustment method be applicable in large-scale F PGA design, fundamental purpose is the debugging efficiency improved in FPGA prototype, reduces testing cost, and can realize an external testing pin to the selection of any one inside measured signal.Cardinal principle is the connection being realized inner measured signal and external testing pin by the steering logic of main frame UART interface operation FPGA inside.
First, need to set inner measured signal in advance, suppose have 2
nthe individual signal wanting to observe, so to need when designing in advance this 2
nindividual signal is set to the steering logic that inner measured signal is connected to FPGA inside.
Steering logic is input as 2
nindividual inner measured signal, external testing pin is received in output, and suppose that output is received external testing pin and is X altogether, steering logic is similar to and is equivalent to 1 is carried out register configuration MUX selector switch by UART, one total configurable register X is individual, and each register bit wide is N.As can be seen from accompanying drawing 1 and accompanying drawing 2, a configurable X register (sel_0 ~ sel_X-1) is configured by main frame UART, and control X external testing pin (out [0] ~ out [X-1]) is connected to which inner measured signal (test [0] ~ test [2
n-1]), concrete FPGA inside realization is equivalent to a large MUX selector switch, after sel_n is set to a fixed value, external testing pin out [n] is connected to inner measured signal test [sel_n], such as: when sel_0 is set to fixed value 5, so namely out [0] is connected to test [5].It can thus be appreciated that the method external testing pin (out [0] ~ out [X-1]) can be connected to any one of inner measured signal.
Claims (1)
1. for the adjustment method in large-scale F PGA design, it is characterized in that, main frame realizes the connection at inner measured signal and external testing pin by UART interface operation steering logic, and step is as follows:
Set inner measured signal, suppose have 2
nindividual signal to be observed, in advance this 2
nindividual signal is set to inner measured signal and is connected to the steering logic of FPGA inside, N be more than or equal to 1 integer; 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, case of external test pin is X altogether, the steering logic of FPGA carries out register configuration by UART, which inner measured signal configurable X register control X external testing pin is connected to, finally, external testing pin is connected to inner measured signal.
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 CN102955127A (en) | 2013-03-06 |
CN102955127B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN111709201B (en) * | 2020-06-18 | 2023-09-15 | 上海安路信息科技股份有限公司 | FPGA configuration module, realization method and circuit for packet output of test signals thereof |
CN113466671B (en) * | 2021-09-06 | 2021-11-23 | 苏州贝克微电子有限公司 | Chip testing method and device based on chip internal circuit structure reconstruction |
Citations (6)
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) |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6983441B2 (en) * | 2002-06-28 | 2006-01-03 | Texas Instruments Incorporated | Embedding a JTAG host controller into an FPGA design |
-
2011
- 2011-08-31 CN CN201110254985.7A patent/CN102955127B/en active Active
Patent Citations (6)
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) |
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)
Title |
---|
基于FPGA的UART设计与实现及其验证方法;赵延等;《现代电子技术》;20081231(第17期);第162-164页 * |
基于串行通讯的FPGA片上RAM数据下载与系统调试;唐凯等;《中国集成电路》;20100930(第136期);第35-39页 * |
苏漪等.FPGA与DSP接口(UART)的设计实现与验证.《无线电工程》.2009,第39卷(第10期), * |
Also Published As
Publication number | Publication date |
---|---|
CN102955127A (en) | 2013-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7882465B2 (en) | FPGA and method and system for configuring and debugging a FPGA | |
CN104698314A (en) | Device-level automatic testing platform and testing method for SRAM type FPGA | |
CN102955127B (en) | Debugging method for large-scale field programmable gate array (FPGA) design | |
CN103001636B (en) | Single event effect detection method of folding interpolating-type analog-digital conversion device | |
CN102413005A (en) | Fault injection method | |
CN104865518A (en) | CLB dynamic aging configuration method of SRAM type FPGA | |
CN101706762A (en) | Intelligent type signal transfer system | |
CN103412810A (en) | System packaging chip capable of testing internal signals and test method | |
CN103645435B (en) | The software module design for Measurability method of multi-signal model programmable logic device (PLD) | |
CN103472386A (en) | Chip testing device and method based on FPGA | |
CN103267940A (en) | Multi-module parallel test system and multi-module parallel test method | |
CN102353892A (en) | LUT test structure of FPGA based on SRAM and method thereof | |
CN103618551A (en) | Method and device of realizing serial AD sampling based on JESD204 transport protocol | |
CN202534239U (en) | Digital communication designed experimental platform | |
CN203275482U (en) | Data acquisition card of virtual oscilloscope | |
CN203164407U (en) | Ultrahigh-frequency partial discharge state detection instrument calibrating device | |
CN105093001A (en) | Automatic analysis test system for characteristics of high-speed PLL and clock chip | |
CN105606984B (en) | A kind of the multi-parameter parallel test system and method for test semiconductor wafer | |
CN106406286A (en) | Verification method of high-speed digital-analog hybrid circuit of radar signal processor | |
CN202362017U (en) | Test device | |
CN104090226A (en) | Circuit for testing connectivity of chip pins | |
CN102760497A (en) | Chip with JTAG (joint test action group) interface | |
US9804991B2 (en) | High-frequency signal observations in electronic systems | |
US7409469B2 (en) | Multi-chip digital system having a plurality of controllers with input and output pins wherein self-identification signal are received and transmitted | |
CN103091572A (en) | Signal testing device |
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. |