Multi-FPGA hardware simulation acceleration system based on optical switching
Non-direct communication between FPGAs is realized through optical switches and high-speed serial transceivers, which solves the problems of high latency and low data exchange efficiency of traditional FPGA hardware communication links, and achieves low-latency, efficient communication between FPGAs and high-speed communication. Bandwidth data processing.
Patent Information
- Application Number
- CN202411014749.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional FPGA hardware communication links have high latency and require manual plugging and unplugging of lines, resulting in low data exchange efficiency.
A multi-FPGA hardware simulation acceleration system based on optical switching is used to realize indirect communication between FPGAs through optical switches and high-speed serial transceivers. Signal conversion cards are used to establish optical networks to achieve dynamic link reconfiguration and efficient data exchange.
It achieves low-latency and efficient communication between FPGAs, avoids manual plugging and unplugging operations, improves data exchange efficiency, and can process high-bandwidth simulation data.
Smart Images

Figure CN118713752A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of FPGA hardware systems, and in particular relates to a multi-FPGA hardware simulation acceleration system based on optical switching. Background Art
[0002] In traditional technology, in order to ensure that the latency of the communication link between FPGAs is as low as possible, most of them use direct connection, such as using coaxial cable or optical fiber. However, each use may require re-plugging the line, resulting in low data exchange efficiency.
[0003] With the development of the optical communication field, optical switch technology has emerged. This technology can directly exchange optical signals without the need for electro-optical-photoelectric conversion. By utilizing optical switching technology, dynamic link reconfiguration can be achieved while ensuring low latency, without the need to re-plug and reconnect cables, thereby greatly improving the efficiency of data exchange.
[0004] Based on this, a multi-FPGA hardware simulation acceleration system based on optical switching is proposed. Summary of the invention
[0005] In view of the above technical problems, the present invention provides a multi-FPGA hardware simulation acceleration system based on optical switching.
[0006] The technical solution adopted by the present invention to solve the technical problem is:
[0007] A multi-FPGA hardware simulation acceleration system based on optical switching includes a processing system, an optical switch, a signal conversion card and a simulation accelerator. The simulation accelerator includes multiple circuit boards and multiple high-speed serial transceivers. Multiple FPGAs are placed in each circuit board. Multiple FPGAs in the same circuit board are directly connected to the board through cables or wiring in the circuit board through an LVDS interface. FPGAs between different circuit boards are connected through an optical switch and multiple high-speed serial transceivers. Multiple FPGAs in the same circuit board are indirectly connected to the board through the optical switch and the high-speed serial transceiver. Communication between the optical network and the processing system is established through the signal conversion card.
[0008] Preferably, the processing system interacts with the simulation accelerator for data flow and control flow through a signal conversion card and an optical switch. The processing system receives user instructions, user preset parameters, user preset timed and non-timed tasks, compressed and non-compressed data generated during the simulation process, and sampled and non-sampled data during the simulation process, and performs analysis, calculation, matching, inspection, verification, storage, transmission, and presentation to obtain binary verification results and matching results, decompress and restore compressed and sampled data, and restore data integrity. The control flow includes the processing system controlling the start and stop states of the simulation accelerator, the simulation accelerator notifying the processing system of execution process events generated, and the processing system's read and write operations on the memory in the simulation accelerator.
[0009] Preferably, the processing system includes an online / offline computing system, a software simulation system, a debugging system and a data storage system.
[0010] The software simulation system is used to send data to the optical network and receive data information from the optical network under set trigger conditions; the data includes simulation signal data, control data and routing data; the set trigger conditions include time trigger, event trigger and user operation;
[0011] The debugging system is used to control and modify the data status and value of the simulated object in the software simulation system and the hardware simulation system;
[0012] The online / offline computing system is used to process the raw data from the optical network, and after real-time or parallel completion, the raw data is processed into content that can be directly read by other third-party systems; the raw data includes waveform sampling data, conditional trigger data and memory mirror data;
[0013] The data storage system is used to save simulation images, simulation snapshots, and simulation waveforms.
[0014] Preferably, the software simulation system includes a software simulation program, a hardware circuit verification program, an excitation vector generation program, and a waveform display program; the debugging system includes: a simulation logic download program, a hardware simulator activity control program, a simulation framework module value reading and modification program, and a tested design value reading and modification program; the online / offline computing system includes: a compressed waveform recovery program and signal extraction within a snapshot.
[0015] Preferably, the online / offline computing system, software simulation system, debugging system and data storage system are on the same hardware platform; or
[0016] The online / offline computing system, software simulation system, debugging system and data storage system are on different hardware platforms; wherein the hardware platform is based on a processor or a programmable logic device.
[0017] Preferably, the online / offline computing system, the software simulation system, the debugging system and the data storage system can communicate arbitrarily through software interfaces, software protocols, hardware interfaces and hardware protocols.
[0018] Preferably, establishing communication between the optical network and the computing system through a signal conversion card includes:
[0019] Output to one or more devices through a signal conversion card to establish communication between the optical network and the computing system; or
[0020] The output is sent to one or more devices through multiple signal conversion cards to establish communication between the optical network and the computing system.
[0021] Preferably, the signal conversion card is a PCI, USB, FMC, GPIO protocol or interface, used to convert the GTH optical signal into PCIe.
[0022] Preferably, the FPGAs between different circuit boards are connected via an optical switch and the multi-channel high-speed serial transceiver, including:
[0023] The FPGA of a circuit board card is connected to the optical switch through different high-speed serial transceivers, and then connected to the FPGA of another circuit board card through different high-speed serial transceivers.
[0024] Preferably, the peripheral interface can be connected to the optical network through an additional optical switch, or directly connected to any layer of optical switches connected to the simulation accelerator, or directly connected to any FPGA chip through an interface on a circuit board.
[0025] The above-mentioned multi-FPGA hardware simulation acceleration system based on optical switching uses optical switching for high-speed interconnection between FPGAs, which has greater flexibility than direct connection through optical fiber. Circuit communication reconfiguration can be completed without manually plugging and unplugging optical fibers. The optical switching delay is lower than that of traditional message switching equipment, and can process signals that need to arrive in a single cycle during the simulation process. Optical communication with large bandwidth can better collect GB to TB simulation data generated by hardware simulators. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 The structure block diagram of a multi-FPGA hardware simulation acceleration system based on optical switching in one embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0028] In one embodiment, Figure 1As shown, a multi-FPGA hardware simulation acceleration system based on optical switching includes a processing system, an optical switch, a signal conversion card and a simulation accelerator. The simulation accelerator includes multiple circuit boards and multiple high-speed serial transceivers. Multiple FPGAs are placed in each circuit board. Multiple FPGAs in the same circuit board are directly connected to the board through cables or wiring inside the circuit board through LVDS interfaces. FPGAs between different circuit boards are connected through optical switches and multiple high-speed serial transceivers. Multiple FPGAs in the same circuit board are indirectly connected to the board through optical switches and high-speed serial transceivers. Communication between the optical network and the processing system is established through the signal conversion card.
[0029] In one embodiment, the processing system interacts with the simulation accelerator through a signal conversion card and an optical switch for data flow and control flow. The processing system receives user instructions, user preset parameters, user preset timed and non-timed tasks, compressed and non-compressed data generated during the simulation process, and sampled and non-sampled data during the simulation process, and performs analysis, calculation, matching, inspection, verification, storage, transmission, and presentation to obtain binary verification results and matching results, decompress and restore compressed and sampled data, and restore data integrity. The control flow includes the processing system controlling the start and stop states of the simulation accelerator, the simulation accelerator notifying the processing system of execution process events generated, and the processing system performing read and write operations on the memory in the simulation accelerator.
[0030] In one embodiment, FPGAs between different circuit boards are connected via an optical switch and the multi-channel high-speed serial transceiver, including:
[0031] The FPGA of a circuit board card is connected to the optical switch through different high-speed serial transceivers, and then connected to the FPGA of another circuit board card through different high-speed serial transceivers.
[0032] In one embodiment, the plurality of FPGAs in the same circuit board are connected indirectly within the board through the optical switch and the high-speed serial transceiver, including:
[0033] Any FPGA on the same circuit board is connected to the optical switch through a corresponding high-speed serial transceiver, and then connected to other FPGAs on the same circuit board through other different high-speed serial transceivers.
[0034] In one embodiment, the high-speed serial transceiver includes at least one of a GTH port, a GTX port, a GTY port, a GTP port, a GTZ port, and a GTM port.
[0035] Specifically, GTH, GTX, GTY, GTP, GTZ, GTM ports: GT, Gigabyte Transceiver, G-bit transceiver, usually called Serdes, high-speed transceiver, GT, etc. GTH, GTX, GTY, GTP, GTZ, GTM are different high-speed serial transceivers developed according to different processes and requirements in Xilinx FPGA series, and are sorted by the highest line rate supported, GTP <GTX<GTH<GTZ<GTY<GTM。
[0036] In one embodiment, FPGAs between different circuit boards can also be directly connected using cables through reserved LVDS-based ports.
[0037] Specifically, LVDS (Low-Voltage Differential Signaling) is a differential signal technology with low power consumption, low bit error rate, low crosstalk and low radiation.
[0038] In one embodiment, the optical switch is a line switch of an all-optical switch, and the implementation method of the optical switching includes single-channel interconnection and multi-channel binding interconnection.
[0039] Specifically, the optical switching in the present invention uses a line switch of an all-optical switch, rather than a packet switch, and is characterized in that after the interconnection relationship of each endpoint is determined, a point-to-point direct connection is realized, and the specific implementation methods include single-channel interconnection and multi-channel binding interconnection. The system can be expanded through an optical switch to realize a larger-scale FPGA hardware simulation acceleration system, and the number of channels between switches can be configured as needed.
[0040] In one embodiment, the peripheral interface can be connected to the hardware system through the optical switch, wherein the peripheral interface includes at least one of an I2C interface, a UART interface, an SPI interface, a QSPI interface, a JTAG interface, a GPIO interface, an HDMI interface, an SRIO interface, an Ethernet interface, a PCIE interface and a DDR interface.
[0041] Specifically, based on the optical switch, a rich set of peripheral interfaces can be connected to the hardware system to realize a peripheral resource pool, which is convenient for scheduling and management of the hardware simulation cloud platform, including low-speed peripherals such as I2C interface, UART interface, SPI interface, QSPI interface, JTAG interface and GPIO interface, as well as some high-speed peripherals such as HDMI, SRIO, Ethernet, PCIE, DDR, etc.
[0042] Furthermore, I2C is also called IIC. The I2C bus is a simple, bidirectional, two-wire synchronous serial bus developed by Philips. It only needs two wires to transmit information between devices connected to the bus. UART (Universal Asynchronous Receiver / Transmitter) is a universal serial data bus used for asynchronous communication. The bus has bidirectional communication and can achieve full-duplex transmission and reception. SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous communication bus. QSPI: Queued SPI is an extension of the SPI interface launched by Motorola. On the basis of the SPI protocol, Motorola has enhanced its functions, added a queue transmission mechanism, and launched a queue serial peripheral interface protocol (i.e., QSPI protocol), which is generally used to connect single, dual or quad (data lines) SPI Flash storage media. JTAG (Joint Test Action Group) is an international standard test protocol (IEEE 1149.1 compatible), mainly used for chip internal testing. Most advanced devices now support the JTAG protocol, such as DSP, FPGA devices, etc. The standard JTAG interface is 4-wire: TMS, TCK, TDI, TDO, which are mode selection, clock, data input and data output lines respectively. GPIO (General-purpose input / output) has functions similar to P0-P3 of 8051. Its pins can be used freely by users through program control. The PIN pins can be used as general-purpose input (GPI) or general-purpose output (GPO) or general-purpose input and output (GPIO) according to practical considerations, such as clk generator, chip select, etc.
[0043] HDMI (High Definition Multimedia Interface) is a fully digital video and sound transmission interface that can send uncompressed audio and video signals. RapidIO: RapidIO interconnect architecture is compatible with most popular integrated communication processors, processing system processors and network digital signal processors. It is a high-performance, packet-switched interconnect technology. SRIO (Serial RapidIO) is a RapidIO standard that uses serial differential analog signal transmission at the physical layer. It can meet the needs of high-performance embedded industries for reliability, increased bandwidth, and faster bus speeds in system internal interconnection. Ethernet: Ethernet is a computer local area network technology. The IEEE 802.3 standard organized by the IEEE has established the technical standard for Ethernet, which specifies the content including physical layer connections, electronic signals and media access control. PCIE: Peripheral Component Interconnect Express is a high-speed serial computer expansion bus standard. Its original name was "3GIO". It was proposed by Intel in 2001 to replace the old PCI, PCI-X and AGP bus standards. DDR: Double Data Rate SDRAM, Chinese name is "Double Data Rate SDRAM", is a memory name, meaning double data rate synchronous dynamic random access memory, is one of the memory.
[0044] In one embodiment, parameters are set in the management interface of the optical switch to control the connection relationship between ports and complete the reconfiguration of circuit communication.
[0045] In one embodiment, the processing system includes an online / offline computing system, a software simulation system, a debugging system, and a data storage system.
[0046] The software simulation system is used to send data to the optical network and receive data information from the optical network under set trigger conditions; the data includes simulation signal data, control data and routing data; the set trigger conditions include time trigger, event trigger and user operation;
[0047] The debugging system is used to control and modify the data status and value of the simulated object in the software simulation system and the hardware simulation system;
[0048] The online / offline computing system is used to process the raw data from the optical network, and after real-time or parallel completion, the raw data is processed into content that can be directly read by other third-party systems; the raw data includes waveform sampling data, conditional trigger data and memory mirror data;
[0049] The data storage system is used to save simulation images, simulation snapshots, and simulation waveforms.
[0050] In one embodiment, the software simulation system includes a software simulation program, a hardware circuit verification program, an excitation vector generation program, and a waveform display program; the debugging system includes: a simulation logic download program, a hardware simulator activity control program, a simulation framework module value reading and modification program, and a tested design value reading and modification program; the online / offline computing system includes: a compressed waveform recovery program and signal extraction within a snapshot.
[0051] Specifically, the software simulation system will send data to the optical network when it deems it necessary. In the entire workflow, the software simulation system and the hardware simulation system work together. The software simulation system processes and calculates the received data, and then delivers the data through the optical network under a specific trigger condition. The hardware simulation system does the same. Trigger conditions refer to: time trigger, event trigger, user operation, etc. The optical network is a necessary foundation for building large-scale systems. There are multiple simulation accelerator terminals in the network. The terminals exchange data through the optical network, and the processing system and each terminal also exchange data through the optical network.
[0052] The debugging system views, controls, and modifies specific or non-specific targets based on instructions manually or automatically issued by the user, preset scripts, and preset tasks. The debugging system is not only used to control and modify data states and values in software simulation systems, but also supports modifying data states and values in hardware simulation systems. The simulated object may run in a software simulator or in a simulation accelerator. For users, in order to achieve specific purposes, including debugging, verification, testing, and research, they will need to use the debugging system to observe and modify the simulated object.
[0053] Furthermore, the online / offline computing system is used to process the raw data from the optical network, and after real-time or parallel completion, the raw data is processed into content that can be directly read by other third-party systems, wherein real-time means that the simulation accelerator passes the data to the computing system, and the simulation accelerator continues to run after the computing system completes the processing; parallel means that the simulation accelerator passes the data to the computing system and continues to run without waiting for the computing system to complete the processing.
[0054] In one embodiment, the online / offline computing system, the software simulation system, the debugging system, and the data storage system are on the same hardware platform; or
[0055] The online / offline computing system, software simulation system, debugging system and data storage system are on different hardware platforms; wherein the hardware platform is based on a processor or a programmable logic device.
[0056] Specifically, the above four systems can be on the same hardware platform or on different hardware platforms. The hardware platform can be based on a processor or on a programmable logic device such as FPGA / CPLD.
[0057] In one embodiment, the online / offline computing system, the software simulation system, the debugging system, and the data storage system may communicate with each other via software interfaces, software protocols, hardware interfaces, and hardware protocols.
[0058] In one embodiment, establishing communication between an optical network and a computing system through a signal conversion card includes:
[0059] Output to one or more devices through a signal conversion card to establish communication between the optical network and the computing system; or
[0060] The output is sent to one or more devices through multiple signal conversion cards to establish communication between the optical network and the computing system.
[0061] Specifically, the signal conversion card used for performing optical signal conversion can be one card outputting to one or more devices, or multiple cards outputting to one or more devices, and there is no corresponding relationship in quantity.
[0062] In one embodiment, the signal conversion card is a PCI, USB, FMC, GPIO protocol or interface, used to convert the GTH optical signal into PCIe.
[0063] In one embodiment, the peripheral interface can be connected to the optical network through an additional optical switch, or directly connected to any layer of optical switches connected to the simulation accelerator, or directly connected to any FPGA chip through an interface on a circuit board.
[0064] The above-mentioned multi-FPGA hardware simulation acceleration system based on optical switching uses optical switching for high-speed interconnection between FPGAs, which has greater flexibility than direct connection through optical fiber. Circuit communication reconfiguration can be completed without manually plugging and unplugging optical fibers. The optical switching delay is lower than that of traditional message switching equipment, and can process signals that need to arrive in a single cycle during the simulation process. Optical communication with large bandwidth can better collect GB to TB simulation data generated by hardware simulators.
[0065] The above is a detailed introduction to a multi-FPGA hardware simulation acceleration system based on optical switching provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A multi-FPGA hardware simulation acceleration system based on optical switching, characterized in that: It includes a processing system, an optical switch, a signal conversion card and a simulation accelerator. The simulation accelerator includes multiple circuit boards and multi-channel high-speed serial transceivers. Multiple FPGAs are placed in each circuit board. Multiple FPGAs in the same circuit board are directly connected to the board through cables or wiring inside the circuit board through an LVDS interface. FPGAs between different circuit boards are connected through optical switches and multi-channel high-speed serial transceivers. Multiple FPGAs in the same circuit board are non-directly connected to the board through optical switches and high-speed serial transceivers. Communication between the optical network and the processing system is established through the signal conversion card.
2. The system according to claim 1, characterized in that The processing system interacts with the simulation accelerator for data flow and control flow through a signal conversion card and an optical switch. The processing system receives user instructions, user preset parameters, user preset timed and non-timed tasks, compressed and non-compressed data generated during the simulation process, and sampled and non-sampled data during the simulation process, and performs analysis, calculation, matching, inspection, verification, storage, transmission, and presentation to obtain binary verification results and matching results, decompress and restore compressed and sampled data, and restore data integrity. The control flow includes the processing system controlling the start and stop states of the simulation accelerator, the simulation accelerator notifying the processing system of execution process events generated, and the processing system's read and write operations on the memory in the simulation accelerator.
3. The system according to claim 2, characterized in that The processing system includes online / offline computing system, software simulation system, debugging system and data storage system. The software simulation system is used to send data to the optical network and receive data information from the optical network under set trigger conditions; the data includes simulation signal data, control data and routing data; the set trigger conditions include time trigger, event trigger and user operation; The debugging system is used to control and modify the data status and value of the simulated object in the software simulation system and the hardware simulation system; The online / offline computing system is used to process the raw data from the optical network, and after real-time or parallel completion, the raw data is processed into content that can be directly read by other third-party systems; the raw data includes waveform sampling data, conditional trigger data and memory mirror data. The data storage system is used to save simulation images, simulation snapshots, and simulation waveforms.
4. The system according to claim 3, characterized in that The software simulation system includes a software simulation program, a hardware circuit verification program, an excitation vector generation program, and a waveform display program; the debugging system includes: a simulation logic download program, a hardware simulator activity control program, a simulation framework module value reading and modification program, and a tested design value reading and modification program; the online / offline computing system includes: a compressed waveform recovery program and signal extraction within a snapshot.
5. The system according to claim 4, characterized in that Online / offline computing system, software simulation system, debugging system and data storage system are on the same hardware platform; or The online / offline computing system, software simulation system, debugging system and data storage system are on different hardware platforms; wherein the hardware platform is based on a processor or a programmable logic device.
6. The system according to claim 5, characterized in that Online / offline computing systems, software simulation systems, debugging systems, and data storage systems can communicate arbitrarily through software interfaces, software protocols, hardware interfaces, and hardware protocols.
7. The system according to claim 6, characterized in that Communication between optical network and computing system is established through signal conversion card, including: Output to one or more devices through a signal conversion card to establish communication between the optical network and the computing system; or The output is sent to one or more devices through multiple signal conversion cards to establish communication between the optical network and the computing system.
8. The system according to claim 7, characterized in that The signal conversion card is PCI, USB, FMC, GPIO protocol or interface, used to convert GTH optical signal to PCIe.
9. The system according to claim 8, characterized in that The FPGAs between different circuit boards are connected via an optical switch and the multi-channel high-speed serial transceivers, including: The FPGA of a circuit board card is connected to the optical switch through different high-speed serial transceivers, and then connected to the FPGA of another circuit board card through different high-speed serial transceivers.
10. The system according to claim 9, characterized in that The peripheral interface can be connected to the optical network through an additional optical switch, or directly connected to any layer of optical switches connected to the simulation accelerator, or directly connected to any FPGA chip through an interface on the circuit board.
Citation Information
Cited By
Circuit board
CN120315534A
circuit boards
CN120315534B
Low-delay data exchange method for real-time simulation system and related device
CN122372530A
