CN104598354B - High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework - Google Patents

High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework Download PDF

Info

Publication number
CN104598354B
CN104598354B CN201510080649.3A CN201510080649A CN104598354B CN 104598354 B CN104598354 B CN 104598354B CN 201510080649 A CN201510080649 A CN 201510080649A CN 104598354 B CN104598354 B CN 104598354B
Authority
CN
China
Prior art keywords
software
data
fpga
logic
debugging
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
CN201510080649.3A
Other languages
Chinese (zh)
Other versions
CN104598354A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510080649.3A priority Critical patent/CN104598354B/en
Publication of CN104598354A publication Critical patent/CN104598354A/en
Priority to PCT/CN2016/076022 priority patent/WO2016127953A1/en
Application granted granted Critical
Publication of CN104598354B publication Critical patent/CN104598354B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Abstract

The invention provides a kind of high-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework, relate to high-end computer design field. Obtain the Debugging message needing by the debug logic of Host Computer Software Platform control FPGA, and logic function is configurable, crawl information can dynamically show in software. The debug logic of the FPGA signal that configuration captures needs according to upper computer software is organized into specific format, stores in FPGA internal RAM, and the interface section of debug logic packs the data to the packet that communications protocol specifies, sends to USB interface. The packet that upper computer software receives debug logic transmission unpacks, and stores in MySQL database, is dynamically shown to the interface of software simultaneously. Software and hardware communication is carried out communication according to special communications protocol. Obtain than the better analytical effect of logic analyser, and greatly improve the availability of system, reduce debugging risk.

Description

High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework
Technical field
The present invention relates to high-end computer design field, be specifically related to a kind of high-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework.
Background technology
Along with the develop rapidly of computer technology, in order to meet the needs of socio-economic development, high performance computer system becomes one of bottleneck of restriction social development key area. The key areas such as finance, telecommunications are high to the performance requirement of computer system, therefore need to build huge multichannel computer system, to better adapt to the application demand in current each field, but high-end computer system stability and a system debug difficult problem are also absorbed on the other hand, high-end computer system need to be used a large amount of fpga chips, and the stability of the internal logic of chip and robustness are most important to stablizing of whole high-end computer system. Therefore, better the internal logic of FPGA Debugging seems even more important more easily, is build and safeguard one of effective ways of highly reliable computer system.
Summary of the invention
In order to address this problem, the invention provides a kind of high-end fault-tolerant computer FPGA Special debugging method based on soft or hard framework, the fpga chip debugging feature using for high-end fault-tolerant computer, adopts soft or hard framework to carry out dynamic configurable debugging. Adopt this framework can obtain than the better analytical effect of logic analyser, and save substantial contribution. More economical in the maintenance of debug system, convenient, and greatly improve the availability of system, reduce debugging risk. Software and hardware architecture refers to, and obtain the Debugging message of needs, and logic function is configurable by the debug logic of Host Computer Software Platform control FPGA, and crawl information can dynamically show in software. The debug logic of the FPGA signal that configuration captures needs according to upper computer software is organized into specific format, stores in FPGA internal RAM, and the interface section of debug logic packs the data to the packet that communications protocol specifies, sends to USB interface. The packet that upper computer software receives debug logic transmission unpacks, and stores in MySQL database, is dynamically shown to the interface of software simultaneously. Software and hardware communication is carried out communication according to special communications protocol.
The present invention also provides a kind of high-end fault-tolerant computer FPGA Special debugging device based on soft or hard framework, comprising:
1) software platform, based on VC6.0+MySQL platform development, friendly interface, can be according to host-host protocol, extracts different messages and dynamically shows. Historical information stores local data base into, can review by the data of database the ruuning situation of system under line.
2), hardware logic, logical gate and fpga logic are simultaneously comprehensive, in fpga chip, move, and carry out transfer of data by USB interface and software platform. The information that hardware logic extracts needs stores local RAM into according to agreement form, and canned data is transferred to software platform according to communications protocol.
3), communications protocol, software and hardware carries out communication by USB interface, adopts self-designed communications protocol in application layer, agreement comprises control message, data message two classes. Control message and be mainly used to carry out the definition of data format, the definition of valid data etc.; Data message is mainly used to transmit Debugging message. Message is by packet header, data, checking data, bag tail composition.
The present invention is directed to the debugging feature of high-end fault-tolerant computer FPGA, utilize software and hardware framework to substitute logic analyser, the fund of having saved has improved again the debugging efficiency of FPGA, and the extracted amount of information is several times as much as again logic analyser simultaneously. It is many that the feature of high-end fault-tolerant computer fpga chip is that logical resource takies, and the utilization rate of IO is higher, and the resource of leaving debugging for is little. Meanwhile, due to code logic complexity, system is in operation and inevitably occurs BUG, can find rapidly in time problem place, has become the difficult point of high-end fault-tolerant computer fpga chip debugging. The present invention utilizes software and hardware architecture platform, has well solved the problems referred to above.
Brief description of the drawings
Fig. 1 is system construction drawing.
Fig. 2 is software system structure figure.
Fig. 3 is software interface figure.
Fig. 4 is hardware logic structure figure.
Fig. 5 is hardware logic control section structure chart.
Fig. 6 is hardware logic hop structure chart.
Fig. 7 is host-host protocol structure chart.
Detailed description of the invention
With reference to the accompanying drawings, design content of the present invention is described.
As described in summary of the invention, in the present invention, mainly comprise: software platform (1), hardware logic (2), communications protocol (3).
1) software platform, based on VC6.0+MySQL platform development, friendly interface, can be according to host-host protocol, extracts different messages and dynamically shows. Historical information stores local data base into, can review by the data of database the ruuning situation of system under line.
2), hardware logic, logical gate and fpga logic are simultaneously comprehensive, in fpga chip, move, and carry out transfer of data by USB interface and software platform. The information that hardware logic extracts needs stores local RAM into according to agreement form, and canned data is transferred to software platform according to communications protocol.
3), communications protocol, software and hardware carries out communication by USB interface, adopts self-designed communications protocol in application layer, agreement comprises control message, data message two classes. Control message and be mainly used to carry out the definition of data format, the definition of valid data etc.; Data message is mainly used to transmit Debugging message. Message is by packet header, data, checking data, bag tail composition.
According to the feature of high-end fault-tolerant computer FPGA application system, adopt soft or hard framework to debug. The features such as this framework has configurable, uses flexibly, and use cost is low.
Debug system is used, and first needs upper computer software system to be configured the operation of hardware logic, sends configuration message by usb bus, and hardware logic carries out the renewal of corresponding information, the configuration of the pattern of finishing the work according to configuration information. The operation of whole system shop, detect logic and carry out the crawl of Debugging message, and according to configuration mode, Debugging message is packaged, store in RAM according to the form of packet, the interface section of hardware logic, read RAM message, send datagram and process to host computer according to communications protocol regulation.
Upper computer software, receives the data message that hardware platform sends, and separates package operation, and data are stored and shown in interface according to pre-configured pattern. Commissioning staff can real-time detecting system ruuning situation. Historical data in can reading database under line is carried out the analysis of problem.

Claims (3)

1. the high-end fault-tolerant computer FPGA Special debugging method based on soft or hard framework, is characterized in that,
Adopt soft or hard framework to carry out dynamic configurable debugging; Software and hardware architecture refers to by the debug logic of Host Computer Software Platform control FPGA and obtains the Debugging message needing, and logic function is configurable, and crawl information can dynamically show in software; The debug logic of the FPGA signal that configuration captures needs according to upper computer software is organized into specific format, stores in FPGA internal RAM, and the interface section of debug logic packs the data to the packet that communications protocol specifies, sends to USB interface; The packet that upper computer software receives debug logic transmission unpacks, and stores in MySQL database, is dynamically shown to the interface of software simultaneously; Software and hardware communication is carried out communication according to communications protocol.
2. the high-end fault-tolerant computer FPGA Special debugging device based on soft or hard framework, is characterized in that, comprising:
1) software platform, based on VC6.0+MySQL platform development, can be according to host-host protocol, extract different messages and dynamically show; Historical information stores local data base into, can review by the data of database the ruuning situation of system under line;
2), hardware logic, logical gate and fpga logic are simultaneously comprehensive, in fpga chip, move, and carry out transfer of data by USB interface and software platform; The information that hardware logic extracts needs stores local RAM into according to agreement form, and canned data is transferred to software platform according to communications protocol;
3), communications protocol, software and hardware carries out communication by USB interface, application layer adopt communications protocol, agreement comprises control message, data message two classes; Control message and be mainly used to carry out the definition of data format, the definition of valid data; Data message is mainly used to transmit Debugging message.
3. device according to claim 2, is characterized in that, message is by packet header, data, checking data, bag tail composition.
CN201510080649.3A 2015-02-15 2015-02-15 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework Active CN104598354B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510080649.3A CN104598354B (en) 2015-02-15 2015-02-15 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework
PCT/CN2016/076022 WO2016127953A1 (en) 2015-02-15 2016-03-10 Debugging method specifically for fpga of high-end fault-tolerant computer based on software-hardware architecture, and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080649.3A CN104598354B (en) 2015-02-15 2015-02-15 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework

Publications (2)

Publication Number Publication Date
CN104598354A CN104598354A (en) 2015-05-06
CN104598354B true CN104598354B (en) 2016-05-25

Family

ID=53124167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080649.3A Active CN104598354B (en) 2015-02-15 2015-02-15 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework

Country Status (2)

Country Link
CN (1) CN104598354B (en)
WO (1) WO2016127953A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598354B (en) * 2015-02-15 2016-05-25 浪潮电子信息产业股份有限公司 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework
CN106708717B (en) * 2015-07-17 2019-10-22 腾讯科技(北京)有限公司 A kind of exploitation adjustment method and device
WO2018209673A1 (en) * 2017-05-19 2018-11-22 深圳配天智能技术研究院有限公司 Field programmable gate circuit and online testing method therefor
CN114024878A (en) * 2021-11-18 2022-02-08 芯翼信息科技(上海)有限公司 Data transmission method, device, medium and equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7475303B1 (en) * 2003-12-29 2009-01-06 Mips Technologies, Inc. HyperJTAG system including debug probe, on-chip instrumentation, and protocol
CN102103186A (en) * 2009-12-18 2011-06-22 上海贝尔股份有限公司 Debug method of FPGA and equipment thereof
CN101770424B (en) * 2010-01-05 2011-11-30 天津七一二通信广播有限公司 Data acquisition and emulation system suitable for underlying protocol stack of digital communication terminal
CN102495359B (en) * 2011-12-13 2014-04-23 曙光信息产业(北京)有限公司 System and method for debugging FPGA (field programmable gate array)
CN203101586U (en) * 2011-12-15 2013-07-31 李进 Exploiting and debugging device
CN102929829B (en) * 2012-11-19 2015-10-07 江苏大学 A kind of information transfer device for computer hardware experiment
US9810729B2 (en) * 2013-02-28 2017-11-07 Advantest Corporation Tester with acceleration for packet building within a FPGA block
US9594655B2 (en) * 2013-07-25 2017-03-14 Altera Corporation Cache debug system for programmable circuits
CN204117407U (en) * 2014-09-30 2015-01-21 西安邮电大学 A kind of image procossing simulation teching experimental facilities
CN104598354B (en) * 2015-02-15 2016-05-25 浪潮电子信息产业股份有限公司 High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework

Also Published As

Publication number Publication date
WO2016127953A1 (en) 2016-08-18
CN104598354A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104598354B (en) High-end fault-tolerant computer FPGA Special debugging method and device thereof based on soft or hard framework
US10540196B2 (en) Techniques to enable live migration of virtual environments
CN105793822B (en) Dynamic shuffle reconfiguration
CN105450588A (en) RDMA-based data transmission method and RDMA network cards
CN102891796A (en) Mining intelligent transmission gateway
CN103064748A (en) Method for processing communication among multiple processes in Linux system
CN105068947A (en) Method for processing serial port communication based on driver layer
CN104657224A (en) Inter-process communication method and device
CN109298839A (en) Storage controller, storage device, system and method based on PIS
CN103117878A (en) Design method of Nagios-based distribution monitoring system
CN205540723U (en) Information retrieval system based on cloud calculates
CN105279123A (en) Serial port conversion structure and method of dual-redundancy 1553B bus
CN111831540A (en) Debugging information processing method, processing device and storage medium
CN105407150A (en) Remote control method of application program
US10579308B2 (en) Hardware system for data conversion and storage device
CN103415085A (en) Automatic generation method of general MAC protocol processor
CN106934187B (en) Debugging method and system for improving verification efficiency of chip FPGA prototype
CN102301333A (en) System and method for remotely operating a wireless device using a server and client architecture
CN109144853A (en) A kind of software-defined radio SoC chip debugging system
CN104615271A (en) Processing method for KVM (Kernel-based Virtual Machine) and processing device for KVM
CN209044575U (en) Storage controller, storage device and system based on PIS
Xu et al. Towards high-speed real-time http traffic analysis on the tilera many-core platform
CN113765819A (en) Resource access method, device, electronic equipment and storage medium
CN104361079A (en) Method and system for automatically extracting duplicate data
CN104158847A (en) Method and system for realizing dynamic sharing of data through simulation

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