CN109542492A - A kind of method, system and the equipment of FPGA board online updating - Google Patents

A kind of method, system and the equipment of FPGA board online updating Download PDF

Info

Publication number
CN109542492A
CN109542492A CN201811463889.1A CN201811463889A CN109542492A CN 109542492 A CN109542492 A CN 109542492A CN 201811463889 A CN201811463889 A CN 201811463889A CN 109542492 A CN109542492 A CN 109542492A
Authority
CN
China
Prior art keywords
fpga
fpga board
configuration file
flash
update
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.)
Pending
Application number
CN201811463889.1A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811463889.1A priority Critical patent/CN109542492A/en
Publication of CN109542492A publication Critical patent/CN109542492A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of methods of FPGA board online updating, comprising: the FPGA board for receiving input updates request;Request configuration file is updated according to FPGA board to deposit to FPGA Flash;Wherein, FPGA Flash carry is on CPLD;The PFL IP kernel triggering FPGA board of CPLD is called to reconfigure, so that FPGA board loading configuration file is completed to update.Technical solution provided herein does not need to be updated after opening server enclosure by external burning device, but greatly simplifies the more new technological process of FPGA board by carrying out online updating, saves renewal time, improves update efficiency.The application additionally provides system, equipment and the computer readable storage medium of a kind of FPGA board online updating simultaneously, has above-mentioned beneficial effect.

Description

A kind of method, system and the equipment of FPGA board online updating
Technical field
This application involves FPGA board field, in particular to a kind of method of FPGA board online updating, system, equipment and Computer readable storage medium.
Background technique
It is emerging rapidly by the In-system programmable technology of representative of FPGA board, as the quickening and complexity of speed mention For seeing to the chip demand with processor, embedded memory and other advanced functions on plate and rising, new technology is constantly introduced into Into the design of FPGA board, one of outstanding feature is exactly FPGA board manufacturer by PCIE, and to be that stone is embedded into programmable In device.
On the server, the common downloading mode of FPGA board is JTAG mode, needs external burning device to be updated, JTAG Mode need to be updated using downloader, and when update need to open server enclosure, inconvenient.
Therefore, how to simplify the more new technological process of FPGA board is that the technology that those skilled in the art need to solve at present is asked Topic.
Summary of the invention
The purpose of the application is to provide the method for FPGA board online updating a kind of, system, equipment and computer-readable deposits Storage media, for simplifying the more new technological process of FPGA board.
In order to solve the above technical problems, the application provides a kind of method of FPGA board online updating, this method comprises:
The FPGA board for receiving input updates request;
Request configuration file is updated according to the FPGA board to deposit to FPGA Flash;Wherein, the FPGA Flash carry is on CPLD;
It calls the PFL IP kernel of the CPLD to trigger FPGA board to reconfigure, so as to match described in FPGA board load File is set to complete to update.
Optionally, request configuration file is updated according to the FPGA board to deposit to FPGA Flash, comprising:
CPU connects the FPGA Flash by jtag interface, and the configuration file is deposited to the FPGA Flash.
Optionally, this method further include:
After the FPGA board, which loads the configuration file, to be completed to update, output updates the prompt information completed.
Optionally, after the FPGA board loads the configuration file completion update, further includes:
Renewal time, configuration file version information and update times are recorded.
The application also provides a kind of system of FPGA board online updating, which includes:
Receiving module, FPGA board for receiving input update request;
Module is obtained, is deposited for updating request configuration file according to the FPGA board to FPGAFlash;Wherein, The FPGA Flash carry is on CPLD;
Calling module is reconfigured for calling the PFL IP kernel of the CPLD to trigger FPGA board, so that the FPGA Board loads the configuration file and completes to update.
Optionally, the acquisition module includes:
Sub-module stored connects the FPGA Flash by jtag interface for CPU, and by the configuration file deposit to The FPGA Flash.
Optionally, the system further include:
Output module, for after the FPGA board load configuration file is completed to update, output to update completion Prompt information.
Optionally, the system further include:
Logging modle, for renewal time, matching after the FPGA board loads the configuration file completion update It sets file version information and update times is recorded.
The application also provides a kind of FPGA board online updating equipment, which includes:
Memory, for storing computer program;
Processor, realizing the FPGA board online updating as described in any of the above-described when for executing the computer program The step of method.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium Machine program realizes the method for the FPGA board online updating as described in any of the above-described when the computer program is executed by processor The step of.
The method of FPGA board online updating provided herein, comprising: the FPGA board for receiving input updates request;Root Request configuration file is updated according to FPGA board to deposit to FPGA Flash;Wherein, FPGA Flash carry is on CPLD;It calls The PFL IP kernel triggering FPGA board of CPLD reconfigures, so that FPGA board loading configuration file is completed to update.
Technical solution provided herein, by updating request configuration file according to the FPGA board received, And deposit to carry in the FPGA Flash of CPLD, recall CPLD PFL IP kernel triggering FPGA board reconfigure so that FPGA board loading configuration file is completed to update, so that not needing to carry out more after opening server enclosure by external burning device Newly, the more new technological process that FPGA board but is greatly simplified by carrying out online updating, saves renewal time, improves more New efficiency.The application additionally provides system, equipment and the computer readable storage medium of a kind of FPGA board online updating simultaneously, With above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the method for FPGA board online updating provided by the embodiment of the present application;
Fig. 2 is a kind of structure chart of the system of FPGA board online updating provided by the embodiment of the present application;
Fig. 3 is the structure chart of the system of another kind FPGA board online updating provided by the embodiment of the present application;
Fig. 4 is a kind of structure chart of FPGA board online updating equipment provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide the method for FPGA board online updating a kind of, system, equipment and computer-readable deposits Storage media, for simplifying the more new technological process of FPGA board.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of process of the method for FPGA board online updating provided by the embodiment of the present application Figure.
It specifically comprises the following steps:
S101: the FPGA board for receiving input updates request;
Based in the prior art, on the server, the common downloading mode of FPGA board is JTAG mode, needs external burning Device is updated, and JTAG mode need to be updated using downloader, and when update need to open server enclosure, inconvenient;This Shen A kind of method of FPGA board online updating please be provide, for solving the above problems.
S102: request configuration file is updated according to FPGA board and is deposited to FPGA Flash;
After the FPGA board for receiving input updates request, corresponding configuration file is determined according to the request, by this Configuration file is deposited to FPGA Flash, and the FPGA Flash carry is on CPLD;
Preferably, mentioned herein, request configuration file is updated according to FPGA board and is deposited to FPGAFlash, tool Body can connect FPGA Flash by jtag interface for CPU, and the configuration file read is deposited to FPGA Flash, with reality The downloading of existing configuration file.
S103: it calls the PFL IP kernel of CPLD to trigger FPGA board and reconfigures, so that FPGA board loading configuration file It completes to update.
After depositing the configuration file to FPGA Flash, the PFL IP kernel of CPLD is called to trigger the reconfiguration of FPGA board It sets, i.e., when powering on, CPLD reads the configuration file in FPGA Flash, is loaded on FPGA board, loads in FPGA board After the completion, CPLD is fed back to, then executes other operations.
Preferably, after FPGA board loading configuration file is completed to update, the prompt information for updating and completing can also be exported, To facilitate user that corresponding program is arranged in the FPGA board;
It preferably, can also be to renewal time, configuration file version after FPGA board loading configuration file is completed to update This information and update times are recorded, so that user inquires.
Based on the above-mentioned technical proposal, the method for a kind of FPGA board online updating provided herein is connect by basis The FPGA board received updates request configuration file, and deposits to carry in the FPGA Flash of CPLD, recalls CPLD PFL IP kernel triggering FPGA board reconfigure so that FPGA board loading configuration file complete update so that do not need beat It is updated after opening server enclosure by external burning device, but greatly simplifies FPGA board by carrying out online updating More new technological process, save renewal time, improve update efficiency.
Referring to FIG. 2, Fig. 2 is a kind of structure of the system of FPGA board online updating provided by the embodiment of the present application Figure.
The system may include:
Receiving module 100, FPGA board for receiving input update request;
Module 200 is obtained, is deposited for updating request configuration file according to FPGA board to FPGAFlash;Wherein, FPGA Flash carry is on CPLD;
Calling module 300 is reconfigured for calling the PFL IP kernel of CPLD to trigger FPGA board, so that FPGA board adds Configuration file is carried to complete to update.
Referring to FIG. 3, Fig. 3 is the structure of the system of another kind FPGA board online updating provided by the embodiment of the present application Figure.
The acquisition module 200 may include:
Sub-module stored connects FPGA Flash by jtag interface for CPU, and configuration file is deposited to FPGA Flash;
The system can also include:
Output module, for after FPGA board loading configuration file is completed to update, output to update the prompt information completed.
The system can also include:
Logging modle was used for after FPGA board loading configuration file is completed to update, to renewal time, configuration file version This information and update times are recorded.
Each component part in system above can be applied in embodiment below:
The FPGA board that receiving module receives input updates request;CPU connects FPGA Flash by jtag interface, and will Configuration file is deposited to FPGA Flash;Calling module calls the PFL IP kernel triggering FPGA board of CPLD to reconfigure, so that FPGA board loading configuration file is completed to update;
After FPGA board loading configuration file is completed to update, output module output updates the prompt information completed;? FPGA board loading configuration file is completed after updating, logging modle, for renewal time, configuration file version information and more New number is recorded.
Referring to FIG. 4, Fig. 4 is a kind of structure chart of FPGA board online updating equipment provided by the embodiment of the present application.
The FPGA board online updating equipment 400 can generate bigger difference because configuration or performance are different, can wrap One or more processors (central processing units, CPU) 422 is included (for example, at one or more Manage device) and memory 432, one or more store storage medium 430 (such as one of application programs 442 or data 444 Or more than one mass memory unit).Wherein, memory 432 and storage medium 430 can be of short duration storage or persistent storage. The program for being stored in storage medium 430 may include one or more modules (diagram does not mark), and each module can wrap It includes to the series of instructions operation in device.Further, central processing unit 422 can be set to logical with storage medium 430 Letter executes the series of instructions operation in storage medium 430 in FPGA board online updating equipment 400.
FPGA board online updating equipment 400 can also include one or more power supplys 424, one or more Wired or wireless network interface 450, one or more input/output interfaces 458, and/or, one or more operations System 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in the method for FPGA board online updating described in above-mentioned Fig. 1 is by FPGA board online updating equipment base It is realized in the structure shown in Fig. 4.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device, device and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or module or Communication connection can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment The whole of (can be personal computer, funcall device or the network equipment etc.) execution each embodiment method of the application Or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
Above to a kind of method of FPGA board online updating provided herein, system, equipment and computer-readable Storage medium is described in detail.Specific case used herein explains the principle and embodiment of the application It states, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that for this skill For the those of ordinary skill in art field, under the premise of not departing from the application principle, several change can also be carried out to the application Into and modification, these improvement and modification also fall into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.

Claims (10)

1. a kind of method of FPGA board online updating characterized by comprising
The FPGA board for receiving input updates request;
Request configuration file is updated according to the FPGA board to deposit to FPGA Flash;Wherein, the FPGA Flash is hung It is loaded on CPLD;
It calls the PFL IP kernel of the CPLD to trigger FPGA board to reconfigure, so that the FPGA board loads the configuration text Part is completed to update.
2. the method according to claim 1, wherein updating request configuration file according to the FPGA board It deposits to FPGA Flash, comprising:
CPU connects the FPGA Flash by jtag interface, and the configuration file is deposited to the FPGA Flash.
3. the method according to claim 1, wherein further include:
After the FPGA board, which loads the configuration file, to be completed to update, output updates the prompt information completed.
4. according to the method described in claim 3, being completed more it is characterized in that, loading the configuration file in the FPGA board After new, further includes:
Renewal time, configuration file version information and update times are recorded.
5. a kind of system of FPGA board online updating characterized by comprising
Receiving module, FPGA board for receiving input update request;
Module is obtained, is deposited for updating request configuration file according to the FPGA board to FPGA Flash;Wherein, described FPGA Flash carry is on CPLD;
Calling module is reconfigured for calling the PFL IP kernel of the CPLD to trigger FPGA board, so that the FPGA board The configuration file is loaded to complete to update.
6. system according to claim 5, which is characterized in that the acquisition module includes:
Sub-module stored connects the FPGA Flash by jtag interface for CPU, and the configuration file is deposited to described FPGA Flash。
7. system according to claim 5, which is characterized in that further include:
Output module, for after the FPGA board loads the configuration file completion and updates, output to update the prompt completed Information.
8. system according to claim 7, which is characterized in that further include:
Logging modle, for renewal time, configuring text after the FPGA board loads the configuration file completion update Part version information and update times are recorded.
9. a kind of FPGA board online updating equipment characterized by comprising
Memory, for storing computer program;
Processor realizes that FPGA board is online more as described in any one of Claims 1-4 when for executing the computer program The step of new method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the FPGA board online updating as described in any one of Claims 1-4 when the computer program is executed by processor Method the step of.
CN201811463889.1A 2018-12-03 2018-12-03 A kind of method, system and the equipment of FPGA board online updating Pending CN109542492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811463889.1A CN109542492A (en) 2018-12-03 2018-12-03 A kind of method, system and the equipment of FPGA board online updating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463889.1A CN109542492A (en) 2018-12-03 2018-12-03 A kind of method, system and the equipment of FPGA board online updating

Publications (1)

Publication Number Publication Date
CN109542492A true CN109542492A (en) 2019-03-29

Family

ID=65852661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811463889.1A Pending CN109542492A (en) 2018-12-03 2018-12-03 A kind of method, system and the equipment of FPGA board online updating

Country Status (1)

Country Link
CN (1) CN109542492A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493055A (en) * 2019-08-23 2019-11-22 苏州浪潮智能科技有限公司 FPGA card configuration method, device, system and readable storage medium storing program for executing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867353Y (en) * 2005-04-11 2007-02-07 北京航空航天大学 Receiver of satellite navigation general digital signal processing platform
JP2008052389A (en) * 2006-08-23 2008-03-06 Alaxala Networks Corp Programmable logic circuit update device, update method, data processor and network equipment
CN101207382A (en) * 2007-12-03 2008-06-25 福建星网锐捷网络有限公司 Data collocation system, method and related apparatus
CN102360302A (en) * 2011-10-13 2012-02-22 福建星网锐捷网络有限公司 On-line upgrading method and device of configuration file of field-programmable gate array (FPGA)
CN103530164A (en) * 2013-10-30 2014-01-22 广东威创视讯科技股份有限公司 Method and device for remote updating of field programmable gate array (FPGA) configuration files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867353Y (en) * 2005-04-11 2007-02-07 北京航空航天大学 Receiver of satellite navigation general digital signal processing platform
JP2008052389A (en) * 2006-08-23 2008-03-06 Alaxala Networks Corp Programmable logic circuit update device, update method, data processor and network equipment
CN101207382A (en) * 2007-12-03 2008-06-25 福建星网锐捷网络有限公司 Data collocation system, method and related apparatus
CN102360302A (en) * 2011-10-13 2012-02-22 福建星网锐捷网络有限公司 On-line upgrading method and device of configuration file of field-programmable gate array (FPGA)
CN103530164A (en) * 2013-10-30 2014-01-22 广东威创视讯科技股份有限公司 Method and device for remote updating of field programmable gate array (FPGA) configuration files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SUNHONGZ: "intelfpga并行闪存加载器ip内核用户指南", 《HTTPS://MAX.BOOK118.COM/HTML/2018/0403/159890615.SHTM》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493055A (en) * 2019-08-23 2019-11-22 苏州浪潮智能科技有限公司 FPGA card configuration method, device, system and readable storage medium storing program for executing
CN110493055B (en) * 2019-08-23 2022-11-04 苏州浪潮智能科技有限公司 FPGA card configuration method, device and system and readable storage medium

Similar Documents

Publication Publication Date Title
CN103064742B (en) A kind of automatic deployment system and method for hadoop cluster
CN102541606B (en) Collocation method and the device of BIOS is remotely managed based on UEFI
CN106775946B (en) A kind of virtual machine Method of Creation Process
CN108733459A (en) A kind of method of distributed timing, server and system
CN109471896A (en) Data source information dynamic altering method and device
CN109634718A (en) The method and system of cloud platform creation mirror image
CN112486491A (en) Page generation method and device, computer equipment and storage medium
CN107168813A (en) Task processing method and system
CN104618136A (en) Configuration management method and device for blade server
CN109542492A (en) A kind of method, system and the equipment of FPGA board online updating
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN109634630A (en) Application program update method, apparatus, electronic equipment and storage medium
CN113885971A (en) State management method and device based on self-adaptive platform system
CN109191078A (en) A kind of traffic flow modeling method, device and equipment
CN112333672B (en) Method and device for opening UPF network element of 5G core network
CN109617950A (en) A kind of data-updating method, device, equipment and readable storage medium storing program for executing
CN113449031A (en) Data synchronization management method and device and server
CN110851166A (en) User-unaware application program updating method and device and computer equipment
CN110716690B (en) Data recovery method and system
CN110795118A (en) Cloud platform upgrading tool and upgrading method
CN109361554A (en) The method and apparatus of the customized management page and default configuration
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN111740869B (en) Physical network card-based kubernets network implementation method, system, equipment and medium
CN110071834B (en) Cloud management platform switching method and device
CN105049476B (en) The startup method and terminal of a kind of audio frequency apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329