CN101793941B - Creation method of FPGA (Field Programmable Gate Array ) configuration file - Google Patents

Creation method of FPGA (Field Programmable Gate Array ) configuration file Download PDF

Info

Publication number
CN101793941B
CN101793941B CN200910200706.1A CN200910200706A CN101793941B CN 101793941 B CN101793941 B CN 101793941B CN 200910200706 A CN200910200706 A CN 200910200706A CN 101793941 B CN101793941 B CN 101793941B
Authority
CN
China
Prior art keywords
fpga
configuration file
file
bit stream
design
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
Application number
CN200910200706.1A
Other languages
Chinese (zh)
Other versions
CN101793941A (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.)
Sino IC Technology Co Ltd
Original Assignee
Sino IC Technology 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 Sino IC Technology Co Ltd filed Critical Sino IC Technology Co Ltd
Priority to CN200910200706.1A priority Critical patent/CN101793941B/en
Publication of CN101793941A publication Critical patent/CN101793941A/en
Application granted granted Critical
Publication of CN101793941B publication Critical patent/CN101793941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a creation method of an FPGA configuration file, comprising the following steps of: (1) establishing a new design file by using a software tool; (2) manually realizing at least one logic design of a configurable logic module or an input and output module; (3) creating a bit stream file of the configurable logic module or the input and output module; and (4) extracting and shifting the bit stream file in step (3) into the FPGA configuration file by using special software for analyzing bit stream data. The invention avoids a test configuration design from being limited by some design rules and directly processes the configuration file to achieve the purpose of rapidly creating the test configuration file.

Description

The generation method of FPGA configuration file
Technical field
The present invention relates to the method for testing of a kind of field programmable gate array (Field Programmable Gate Array is called for short FPGA), be specifically related to a kind of generation method of FPGA configuration file of testing.
Background technology
FPGA field programmable device is widely used in the fields such as communication, automobile, aviation, national defence.(when FPGA starts, needs read configuration data from outside to use the product of FPGA exploitation finally all can generate the bitstream configuration file with specific function, this file comprising configuration data is referred to as configuration file), configuration file is downloaded in FPGA when system starts, and makes FPGA have specific function desired by us.The generation of configuration file is the key of FPGA product development.The performance history of FPGA product generally has: several flow processs such as the generation of design input, emulation, comprehensive, automatic placement and routing, configuration file.Completing of this series of actions needs by means of dedicated development tool system, as the development system such as IspLever of the ISE of Xilinx company, QuartusII, Lattice company of altera corp.
FPGA is a kind of electric erasable, electrically rewritable device, although similar with standard gate array, has special architecture and logical block, and the method for testing of general DLC (digital logic circuit) is not suitable for the test of fpga chip.FPGA electric erasable, the architecture that electrically rewritable device is special, the integrity test of circuit and fault analysis, assessment of failure is made to become more complicated, because its internal structure has high reproducibility, thus measurability is very strong, but high fault coverage test to be completed by limited test configurations there is very high difficulty, precise design configuration must be carried out to test file, make each test profile have the highest testing efficiency.The limitation that conventional automatic placement and routing is subject to FPGA design rule can not meet this designing requirement, must seek a kind of FPGA test profile generation method efficiently.
As shown in Figure 1, the design of traditional F PGA configuration file generates, need according to test request first through design input repeatedly, functional simulation, amendment optimization, then carry out design synthesis, design realizes processes such as (automatic placement and routings), thus generating configuration file, carry out FPGA test.The place that in this flow process, workload is maximum is exactly design input, constantly error message can be there is in simulation process, need to optimize amendment step by step, each step in process all must meet the various rules of FPGA design, once violate these rules, just cannot proceed, this rule has limited to the design of FPGA test profile, the design of test profile is the logical design carried out for fpga chip selftest, instead of application design.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of generation method of FPGA configuration file, and it does not need the quick generation that can be realized configuration file by the complicated approach of tradition, is mainly used in the generation of the test profile of fpga chip.
In order to solve above technical matters, the invention provides a kind of generation method of FPGA configuration file, comprising the steps:
(1) new design document is set up with Software tool;
(2) logical design of at least one configurable logic blocks (CLB) or input/output module (IO) is manually realized;
(3) bit stream file of described configurable logic blocks or input/output module is generated;
(4) with bit stream data dedicated analysis software, the bit stream file described in step (3) is extracted and moves in described FPGA configuration file.
Preferably, the generation method of FPGA configuration file of the present invention, step (4) is the mapping relations according to data and resource, is undertaken extracting and moving by the mode copied, and makes each resource in FPGA meet test request.
Preferably, the generation method of FPGA configuration file of the present invention, described configuration file is test profile.
Present invention, avoiding the restriction that some design rules design test configurations, directly configuration file is processed, reach the object generating test profile fast.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Fig. 1 is the process flow diagram that prior art generates FPGA configuration file;
Fig. 2 is the process flow diagram of the generation method of FPGA configuration file of the present invention;
Fig. 3 is the schematic diagram setting up new design document in embodiments of the invention with FPGA edit tool;
Fig. 4 is the schematic diagram of the logical design manually realizing CLB in embodiments of the invention;
Fig. 5 is the schematic diagram generating CLB bit stream file in embodiments of the invention;
Fig. 6 is the schematic diagram carrying out CLB configuration extraction in embodiments of the invention with bit stream data dedicated analysis software;
Fig. 7 carries out CLB with bit stream data dedicated analysis software in embodiments of the invention to configure the schematic diagram moved;
Fig. 8 is the schematic diagram preserving final test configuration file in embodiments of the invention.
Embodiment
In order to improve test failure coverage rate and the calculating being convenient to fault coverage, modular arrangements mode is taked in the design of FPGA test configurations, in a configuration file, the configuration module of design at least one CLB or IO, such configuration module (we know that FPGA comprises the identical CLB matrix of many structures and IO matrix) is repeated in whole FPGA, the test coverage of the configurable resource of each CLB or IO is easy to through calculating, and the test coverage of the configurable resource of so whole FPGA is also easy to calculate.This technology is by extracting the configuration data of one or a few CLB or IO in configuration file, moved under the help of bit stream data dedicated analysis software in CLB module that FPGA specifies arbitrarily and re-constructed FPGA configuration file, new test configurations can be generated fast like this.
Be illustrated in figure 2 and of the present inventionly design and develop flow process, mainly comprise: analytical test requires to set up configuration file; Manually carry out the modular design such as CLB, IO; Carry out data to extract and move (will carry out according to the mapping relations of data and resource), complete configuration file, finally can carry out FPGA test as required.
Present method avoids the restriction that some design rules design test configurations, reach the object generating test profile fast.Directly test request manual realization in FPGA edit tool (EDITOR) is connected and generates the configuration data of CLB or I/O module, the means of moving are copied by bit stream data dedicated analysis software, obtain the test profile of all configurable resources in FPGA, and generate test patterns.
Refer to the specific embodiment of shown in Fig. 3 to Fig. 8.Comprise the steps:
(1) set up with FPGA EDITOR the design document (as Fig. 3) that new name is called XC2S100.
(2) logical design (as Fig. 4) of CLB is manually realized.
(3) generate CLB bit stream file, this file name is CLBR1C15.Bit (as Fig. 5).
(4) carry out CLB configuration extraction with bit stream data dedicated analysis software and move.Specifically comprise:
Open the step (as Fig. 6) of CLBR1C15.Bit bit stream file;
CLB data field is chosen in click, according to the mapping relations of data and resource, extracts or moves CLB data, make each resource in FPGA meet the step (as Fig. 7) of the requirement of expectation by the mode of copy.
(5) preserve definitive document and generate new test profile test-bitstream.bit (as Fig. 8).
The present invention has following characteristics:
(1) careful design CLB configuration module;
(2) mapping relations of CLB module and I/O module and configuration file have been taken into full account.
(3) avoid the restriction that some design rules design test configurations, directly configuration file is processed, reach the object generating test profile fast.

Claims (3)

1. a generation method for FPGA configuration file, is characterized in that, comprise the steps:
(1) new design document is set up with Software tool;
(2) logical design of at least one configurable logic blocks or input/output module is manually realized;
(3) bit stream file of described configurable logic blocks or input/output module is generated;
(4) with bit stream data dedicated analysis software the bit stream file described in step (3) extracted and move in described FPGA configuration file, wherein, step (4) is the mapping relations according to data and resource, one or a few configurable logic blocks in extraction configuration file, i.e. described bit stream file or the configuration data of input/output module, described configuration data is moved on configurable logic blocks that FPGA specifies arbitrarily and construct described FPGA configuration file, generate new test configurations.
2. the generation method of FPGA configuration file as claimed in claim 1, it is characterized in that, step (4) is the mapping relations according to data and resource, is undertaken extracting and moving by the mode copied, and makes each resource in FPGA meet test request.
3. the generation method of FPGA configuration file as claimed in claim 1 or 2, it is characterized in that, described configuration file is test profile.
CN200910200706.1A 2009-12-24 2009-12-24 Creation method of FPGA (Field Programmable Gate Array ) configuration file Active CN101793941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910200706.1A CN101793941B (en) 2009-12-24 2009-12-24 Creation method of FPGA (Field Programmable Gate Array ) configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910200706.1A CN101793941B (en) 2009-12-24 2009-12-24 Creation method of FPGA (Field Programmable Gate Array ) configuration file

Publications (2)

Publication Number Publication Date
CN101793941A CN101793941A (en) 2010-08-04
CN101793941B true CN101793941B (en) 2015-04-01

Family

ID=42586746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910200706.1A Active CN101793941B (en) 2009-12-24 2009-12-24 Creation method of FPGA (Field Programmable Gate Array ) configuration file

Country Status (1)

Country Link
CN (1) CN101793941B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156789B (en) * 2011-04-27 2013-01-02 迈普通信技术股份有限公司 System and method for automatically generating constraint file of field programmable gate array (FPGA)
CN102288870B (en) * 2011-05-16 2013-07-03 中国电子科技集团公司第五十八研究所 Testing method for FPGA (field programmable gate array) single long wire and directly connected switch
CN102253329B (en) * 2011-06-17 2013-04-17 中国电子科技集团公司第五十八研究所 Method for testing field programmable gate array (FPGA) single-long line slant switches
CN102445636B (en) * 2011-09-02 2013-11-13 中国电子科技集团公司第五十八研究所 Method for testing Hex lines and diagonal interconnect switches thereof in FPGA (field-programmable gate array)
CN103164228B (en) * 2013-03-29 2015-12-23 北京经纬恒润科技有限公司 A kind of generation method of field programmable gate array program and device
CN106777729A (en) * 2016-12-26 2017-05-31 中核控制系统工程有限公司 A kind of algorithms library simulation and verification platform implementation method based on FPGA
CN107895087B (en) * 2017-11-29 2021-02-26 中科亿海微电子科技(苏州)有限公司 Method and system for automatically generating module-level simulation configuration code of programmable logic circuit
CN111123083B (en) * 2019-12-06 2022-04-29 国家电网有限公司 Test system and method for FPGA PLL IP core
CN111142013B (en) * 2019-12-31 2021-12-07 无锡市同飞科技有限公司 MAX7000 series CPLD (Complex programmable logic device) based logic reduction method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246510A (en) * 2008-02-28 2008-08-20 复旦大学 Programmable logic device hard structure universal modeling method
CN101363900A (en) * 2007-09-30 2009-02-11 北京华大泰思特半导体检测技术有限公司 Method for testing FPGA device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8036240B2 (en) * 2007-12-14 2011-10-11 Microsoft Corporation Software defined cognitive radio

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101363900A (en) * 2007-09-30 2009-02-11 北京华大泰思特半导体检测技术有限公司 Method for testing FPGA device
CN101246510A (en) * 2008-02-28 2008-08-20 复旦大学 Programmable logic device hard structure universal modeling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邢虹.FPGA位流生成及其压缩.《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》.2009,(第3期),摘要,14-54页. *

Also Published As

Publication number Publication date
CN101793941A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
CN101793941B (en) Creation method of FPGA (Field Programmable Gate Array ) configuration file
CN103678745B (en) Cross-platform multi-level integrated design system for FPGA
Lavin et al. Rapid prototyping tools for FPGA designs: RapidSmith
CN104515947A (en) Rapid configuration and test method for programmable logic device in system programming
CN104865518B (en) A kind of CLB dynamic collocation methods of SRAM type FPGA
CN101153892B (en) Verification method for field programmable gate array input/output module
CN1521830A (en) Technical method for integrated circuit design, test and measurement integration
CN104698314A (en) Device-level automatic testing platform and testing method for SRAM type FPGA
US8661378B2 (en) Asychronous system analysis
CN101169466A (en) On-spot programmable gate array configurable logic block validation method and system
CN106771962A (en) A kind of Fault of Integrated Circuits injection attacks analogy method based on partial scan
CN114818575A (en) Digital-analog hybrid simulation method and system of CIS chip
US6240543B1 (en) Integration of manufacturing test of multiple system on a chip without substantial simulation
US8893068B1 (en) Techniques to generate a more accurate simulation model
CN105574219B (en) The method of non-standard cell library logic unit automatic placement and routing
CN116681029A (en) Intelligent testing method for Yimen-level FPGA interconnection resources
CN104615837A (en) FPGA (field programmable gate array) physical implementation method and device
Wang et al. Development and Optimization Design of Digital Logic device based on FPGA
Nasreddine et al. Wireless sensors networks emulator implemented on a FPGA
Liu Model based design workflow for FPGA compliance with DO-254 standard
CN112034331A (en) Circuit module testing method based on FPGA
CN111274750A (en) FPGA simulation verification system and method based on visual modeling
Khan et al. Access network generation for efficient debugging of FPGAs
CN118261106A (en) Analysis library construction method, design layout method, system and storage medium
US7979818B1 (en) Packet processing validation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 201203 Shanghai Zhangjiang road 351 GuoShouJing No. 2 No. 1 floor

Applicant after: Shanghai Hualing Integrated Circuit Technology Co., Ltd.

Address before: 201203 Shanghai Zhangjiang road 351 GuoShouJing No. 2 No. 1 floor

Applicant before: Shanghai Hualing Integrated Circuit Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANGHAI HUALING INTEGRATED CIRCUIT CO., LTD. TO: SHANGHAI HUALING INTEGRATED CIRCUIT TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant