CN105868114A - FPGA software system and all module testing system and method thereof - Google Patents

FPGA software system and all module testing system and method thereof Download PDF

Info

Publication number
CN105868114A
CN105868114A CN201610199882.8A CN201610199882A CN105868114A CN 105868114 A CN105868114 A CN 105868114A CN 201610199882 A CN201610199882 A CN 201610199882A CN 105868114 A CN105868114 A CN 105868114A
Authority
CN
China
Prior art keywords
test
module
modules
software
script
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
CN201610199882.8A
Other languages
Chinese (zh)
Other versions
CN105868114B (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.)
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 CN201610199882.8A priority Critical patent/CN105868114B/en
Publication of CN105868114A publication Critical patent/CN105868114A/en
Application granted granted Critical
Publication of CN105868114B publication Critical patent/CN105868114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention belongs to the technical field of an integrated circuit, and particularly relates to an FPGA software system and an all module test system and method thereof. The FPGA software system and the all module test system comprise a software test platform, a whole script file, script files of all modules and test cases; the method comprises the steps that the test platform is constructed, and a test environment needed by running the script files is set up; all the modules of the FPGA software design flow are connected in series according to the sequence through the script files; a test circuit is run continually, and testing on the FPGA software system and all the modules is achieved. According to the FPGA software system and the all module test system and method thereof, testing on the FPGA software can be well completed, and the advantages of being low in test cost, good in portability, high in universality and the like are achieved.

Description

FPGA Software system and each module test system thereof and method
Technical field
The invention belongs to technical field of integrated circuits, be specifically related to a kind of FPGA software testing system and method.
Background technology
Field programmable gate array FPGA(Field Programmable Gate Array) it is the product developed further on the basis of the programming devices such as PAL, GAL, CPLD.It is to occur as a kind of semi-custom circuit in special IC (ASIC) field.Fpga chip is the main hardware platform of current Design of Digital System, and its main feature is exactly completely can be configured by software by user and program, thus completes certain specific function, and can be the most erasable.When amendment and upgrading, it is not required to change extraly hardware designs, the most on computers amendment and more new procedures, makes hardware designs work become software development work, shorten the cycle of system design, improve the motility of realization and reduce cost.
FPGA software design flow process uses top down design method, the module such as whole design cycle is followed successively by comprehensively, packing, layout, wiring, static timing analysis, bit stream generation by Module Division.Its input usually hardware configuration describes language (Hardware Description Language, HDL) or circuit design drawing (Schematic).Integration module is responsible for user-in file comprehensively for the basic hardware unit of FPGA.Packetization module is responsible for being bundled in the programmable logic resource that granularity is thicker multiple basic logic units.Circuit meshwork list after layout modules is responsible for packing is placed on the rational position of chip, and makes it meet given constraint.Interconnection module utilizes programmable interconnection resource, determines the concrete connection mode between pin.Static timing analysis module is responsible for calculating the maximum operation frequency that on FPGA, configuration circuit can reach.Bit stream generation module is responsible for net meter file after wiring is converted to bit stream file.
At present FPGA scale is increasing, which is embedded various IP kernel, and such as DSP, BRAM, CPU etc., the complexity of cad tools is more and more higher, software overall operation time and final on the most increasing in the impact of circuit realiration performance.This is accomplished by test FPGA software system and modules easily, to improve software performance.Domestic and foreign literature is relatively fewer for the research of FPGA software test at present.The most at low cost, carrying out FPGA software test easily is a good problem to study.
Summary of the invention
It is an object of the invention to provide that a kind of portability is good, the system and method testing FPGA software system and each module thereof of low cost, highly versatile.
The present invention proposes FPGA software system and each module test system thereof, and its block diagram is as it is shown in figure 1, include: software test platform, overall script file, the script file of modules and test case;Wherein, software test platform is used for providing test run environment;Overall script file is according to the order of FPGA software flow, series connection modules, and provides the operational factor needed for modules, and the connected mode of module and order can be as shown in Figure 3;The script file of modules respectively specifies that respective execution program, command line parameter inspection, daily record generation etc.;Test case provides the information of all test circuit under test platform.
Described module script file, including: integration module script, packetization module script, layout modules script, interconnection module script, bit stream generation module, static timing analysis module, etc..
The present invention proposes FPGA software system and each module test method thereof, is to utilize software test platform, first, by the script file of modules, determines that respective execution program, command line parameter inspection, daily record generate;Then, it is determined that test case list, provide the information of all test circuit under test platform;Finally, by overall script file, all modules of FPGA software flow are connected in order, and provides the operational factor of modules successively, it is achieved the automatic test of batch testing circuit, complete the test to FPGA software system.
The present invention can complete the test to FPGA software system, the content of test includes: the function of modules, interface testing, the test of software system allomeric function, software system runs the performance tests such as time, memory consumption, resource utilization, maximum operation frequency.
Compared to traditional single FPGA software test, the present invention can be after configuration operation environment, carry out the automatic test of batch example, significantly decrease human cost and the time cost of test, and correlation report can be given for software analysis, there is the features such as portable good, low cost, highly versatile.
Accompanying drawing explanation
Fig. 1 is FPGA software testing system block diagram.
Fig. 2 is one of interface of test system.
One of connected mode of Fig. 3 module and order.
Detailed description of the invention
The system of the present invention realizes block diagram as shown in Figure 1 substantially.
Software test platform is by running Microsoft The computer of Windows operating system, the structure of test platform can have various ways, such as, use the tcl script test platform that Cygwin builds, and Cygwin is a class UNIX simulated environment run on windows platform here, is cygnus The free software of solutions company exploitation.The shell environment of a similar linux can be obtained after running Cygwin, tcl script can be run afterwards.And tcl(Tool Command Language) it is a kind of general script, it is often used in the aspect such as Script Programming and test.The interface of system is tested as shown in Figure 2 in the case of so.
Overall script file is the core of whole test platform, and it is responsible for all modules of FPGA software flow to connect in order, and provides the operational factor of modules.The most all modules and order can have various ways, if Fig. 3 is one of them, are i.e. followed successively by: integration module script, packetization module script, layout modules script, interconnection module script, bit stream generation module and static timing analysis module.The output file of each module is the input file of next module, can generate the bit stream file that can be used for FPGA program downloads after software system end of run.The most each module can export the journal file of correspondence, correlation output information in logging software running.
The script file of modules specifies the execution program of separate modular in FPGA software flow, command line parameter inspection, daily record to generate successively, and called and execution in overall script file.
Test case list provides the absolute path of all test examples under test platform, different scales, difference in functionality and different resource service condition during wherein example covers FPGA.
Testing process: open test platform, enters under the catalogue of associated documents, uses above-mentioned test script and test case to carry out automatic test.Test platform can perform next test case after having performed a test case automatically, until all examples in the test list specified all have run.After end of run, test platform counts the example number being successfully tested with test crash, i.e. Total pass/fail, and provide the information such as operation time, memory consumption, resource utilization, maximum operation frequency, convenient function and performance to software carries out improving and promoting.
The present invention is the most convenient to the realization of FPGA software test, has the features such as testing cost good, highly versatile low, portable.

Claims (3)

1. a FPGA software system and each module test system thereof, it is characterised in that including: software test platform, overall script file, the script file of modules and test case;Wherein, software test platform is used for providing test run environment;Overall script file is according to the order of FPGA software flow, series connection modules, and provides the operational factor needed for modules, module and the connected mode of order;The script file of modules respectively specifies that respective execution program, command line parameter inspection, daily record generate;Test case provides the information of all test circuit under test platform with tabular form;
Described module script file, including: integration module script, packetization module script, layout modules script, interconnection module script, bit stream generation module, static timing analysis module.
FPGA software system the most according to claim 1 and each module test system thereof, it is characterized in that the content of test includes: the function of modules, interface testing, the test of software system allomeric function, software system runs time, memory consumption, resource utilization, the test of maximum operation frequency.
3. FPGA software system based on test system described in claim 1 or 2 and each module test method thereof, it is characterised in that concretely comprise the following steps:
It is to utilize software test platform, first, by the script file of modules, determines that respective execution program, command line parameter inspection, daily record generate;Then, it is determined that test case list, provide the information of all test circuit under test platform;Finally, by overall script file, all modules of FPGA software flow are connected in order, and provides the operational factor of modules successively, it is achieved the automatic test of batch testing circuit, complete the test to FPGA software system.
CN201610199882.8A 2016-03-31 2016-03-31 FPGA software systems and its each module test system and method Active CN105868114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610199882.8A CN105868114B (en) 2016-03-31 2016-03-31 FPGA software systems and its each module test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610199882.8A CN105868114B (en) 2016-03-31 2016-03-31 FPGA software systems and its each module test system and method

Publications (2)

Publication Number Publication Date
CN105868114A true CN105868114A (en) 2016-08-17
CN105868114B CN105868114B (en) 2019-04-05

Family

ID=56627866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610199882.8A Active CN105868114B (en) 2016-03-31 2016-03-31 FPGA software systems and its each module test system and method

Country Status (1)

Country Link
CN (1) CN105868114B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977312A (en) * 2017-11-21 2018-05-01 北京临近空间飞行器***工程研究所 A kind of software system test verification method based on complex interface sequential
CN109614339A (en) * 2018-12-27 2019-04-12 四川新网银行股份有限公司 A kind of automatic extending method based on more set test environment
CN109885438A (en) * 2019-02-27 2019-06-14 苏州浪潮智能科技有限公司 A kind of FPGA method for testing reliability, system, terminal and storage medium
CN110750462A (en) * 2019-10-29 2020-02-04 西安奇维科技有限公司 FPGA white box test platform
CN111123084A (en) * 2019-12-11 2020-05-08 中国电子科技集团公司第二十研究所 TCL language-based digital circuit rapid test method
CN111338326A (en) * 2020-04-07 2020-06-26 华北水利水电大学 FPGA general IO interface test device and method
CN111428431A (en) * 2020-02-28 2020-07-17 中科亿海微电子科技(苏州)有限公司 Method and system for supporting automatic test and recording of EDA (electronic design automation) software
CN113435149A (en) * 2021-06-25 2021-09-24 无锡中微亿芯有限公司 Test case automatic generation method for optimizing FPGA comprehensive effect
CN114661615A (en) * 2022-04-11 2022-06-24 成都迪真计算机科技有限公司 FPGA software testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020066077A1 (en) * 2000-05-19 2002-05-30 Leung Wu-Hon Francis Methods and apparatus for preventing software modifications from invalidating previously passed integration tests
KR101019166B1 (en) * 2009-11-30 2011-03-04 재단법인대구경북과학기술원 Automated testing method and system for embedded software
CN102346235A (en) * 2011-07-11 2012-02-08 北京北大众志微***科技有限责任公司 Automatic test system and method for hardware device function
CN102375778A (en) * 2010-08-17 2012-03-14 中兴通讯股份有限公司 Method and system for automatically testing digital signal processor (DSP)
CN103678745A (en) * 2012-09-18 2014-03-26 中国科学院微电子研究所 Cross-platform multilevel integrated design system for FPGA (field programmable gate array)
CN105117513A (en) * 2015-07-24 2015-12-02 北京空间机电研究所 FPGA (Field Programmable Gate Array) layout and wiring delay characteristic testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020066077A1 (en) * 2000-05-19 2002-05-30 Leung Wu-Hon Francis Methods and apparatus for preventing software modifications from invalidating previously passed integration tests
KR101019166B1 (en) * 2009-11-30 2011-03-04 재단법인대구경북과학기술원 Automated testing method and system for embedded software
CN102375778A (en) * 2010-08-17 2012-03-14 中兴通讯股份有限公司 Method and system for automatically testing digital signal processor (DSP)
CN102346235A (en) * 2011-07-11 2012-02-08 北京北大众志微***科技有限责任公司 Automatic test system and method for hardware device function
CN103678745A (en) * 2012-09-18 2014-03-26 中国科学院微电子研究所 Cross-platform multilevel integrated design system for FPGA (field programmable gate array)
CN105117513A (en) * 2015-07-24 2015-12-02 北京空间机电研究所 FPGA (Field Programmable Gate Array) layout and wiring delay characteristic testing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王驰等: ""一种新型的FPGA配置位流压缩算法"", 《复旦学报(自然科学版)》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977312B (en) * 2017-11-21 2020-07-14 北京临近空间飞行器***工程研究所 Software system test verification method based on complex interface time sequence
CN107977312A (en) * 2017-11-21 2018-05-01 北京临近空间飞行器***工程研究所 A kind of software system test verification method based on complex interface sequential
CN109614339A (en) * 2018-12-27 2019-04-12 四川新网银行股份有限公司 A kind of automatic extending method based on more set test environment
CN109885438A (en) * 2019-02-27 2019-06-14 苏州浪潮智能科技有限公司 A kind of FPGA method for testing reliability, system, terminal and storage medium
CN110750462A (en) * 2019-10-29 2020-02-04 西安奇维科技有限公司 FPGA white box test platform
CN111123084A (en) * 2019-12-11 2020-05-08 中国电子科技集团公司第二十研究所 TCL language-based digital circuit rapid test method
CN111428431A (en) * 2020-02-28 2020-07-17 中科亿海微电子科技(苏州)有限公司 Method and system for supporting automatic test and recording of EDA (electronic design automation) software
CN111428431B (en) * 2020-02-28 2024-02-02 中科亿海微电子科技(苏州)有限公司 Automatic test and recording method and system supporting EDA software
CN111338326A (en) * 2020-04-07 2020-06-26 华北水利水电大学 FPGA general IO interface test device and method
CN111338326B (en) * 2020-04-07 2022-11-11 华北水利水电大学 FPGA general IO interface test device and method
CN113435149A (en) * 2021-06-25 2021-09-24 无锡中微亿芯有限公司 Test case automatic generation method for optimizing FPGA comprehensive effect
CN113435149B (en) * 2021-06-25 2023-08-18 无锡中微亿芯有限公司 Test case automatic generation method for optimizing FPGA comprehensive effect
CN114661615A (en) * 2022-04-11 2022-06-24 成都迪真计算机科技有限公司 FPGA software testing method and device
CN114661615B (en) * 2022-04-11 2024-01-30 成都迪真计算机科技有限公司 FPGA software testing method and device

Also Published As

Publication number Publication date
CN105868114B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN105868114A (en) FPGA software system and all module testing system and method thereof
US8997034B2 (en) Emulation-based functional qualification
US10354042B2 (en) Selectively reducing graph based analysis pessimism
US11726899B2 (en) Waveform based reconstruction for emulation
CN100458731C (en) Method for checking IC design with hardware logic
US20150276871A1 (en) Integrated circuit and method for establishing scan test architecture in integrated circuit
CN116663462B (en) Assertion verification method, assertion verification platform, electronic device and readable storage medium
CN105279345B (en) A kind of soft IP kernel evaluating method of spacecraft numeral
CN103376340A (en) Adapter plate, a multi-platform serial test system and method
US6449750B1 (en) Design verification device, method and memory media for integrated circuits
CN103049361A (en) FPGA (Field Programmable Gata Array) with embedded logical analysis function and logical analysis system
CN112067978A (en) FPGA screening test system and method based on FPGA
CN109164378B (en) Design and test method of boundary scan test link
CN107784185B (en) Method and device for extracting pseudo path in gate-level netlist and terminal equipment
CN101763453B (en) Standardized IP core evaluating method and system
CN101470149B (en) Jitter amount estimating method, method for calculating correlation between amount of simultaneously operating signal noise and jitter amount
US8943457B2 (en) Simulating scan tests with reduced resources
Taher et al. A machine learning based hard fault recuperation model for approximate hardware accelerators
US9098637B1 (en) Ranking process for simulation-based functional verification
Hung et al. Faster FPGA debug: Efficiently coupling trace instruments with user circuitry
US8516322B1 (en) Automatic test pattern generation system for programmable logic devices
US10268786B2 (en) System and method for capturing transaction specific stage-wise log data
CN105512381A (en) Clock delay verification method
Park et al. Method of rtl debugging when using hls for hw design: Different simulation result of verilog & vhdl
Akpan Model-based FPGA embedded-processor systems design methodologies: Modeling, syntheses, implementation and validation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant