A multi-FPGA simulation verification method and system for network-centric architecture
Through the multi-FPGA simulation verification method of network center architecture, the problem of contradiction between simulation scale and performance in the existing technology is solved, the simulation scale is expanded and the performance is stable, the FPGA resource and connection complexity is reduced, and powerful debugging is ensured. ability.
Patent Information
- Application Number
- CN202411163966.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-23
AI Technical Summary
There are contradictions in the improvement of simulation scale and the stability of simulation performance of existing hardware simulation verification systems, and it is difficult to maintain stable simulation performance and emphasize debugging capabilities while expanding in scale.
Multi-FPGA simulation verification method using network center architecture, all FPGAs are connected to the simulation interconnect network, the simulation server obtains available resources, divides the design to be verified and maps it to multiple FPGAs, and uses high-speed SerDes ports for communication to realize cross-FPGA signals. Transfer and simulate verification by debugging the sampling network configuration trigger conditions.
It realizes scalability of simulation scale, while ensuring the stability of simulation performance, reducing the use of FPGA pin resources and wiring complexity, making full use of FPGA's high-speed Serdes bandwidth, and ensuring strong debugging capabilities.
Smart Images

Figure CN118690695B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electronic design automation, and in particular relates to a multi-FPGA simulation verification method and system of a network-centric architecture. Background Art
[0002] With the improvement of chip manufacturing technology and the mature application of stacked 3D packaging technology, the scale of chips is increasing. The scale of NVDIA's DGX B200 chip released in 2024 has reached 208 billion transistors, which is equivalent to 50 billion logic gates, based on the average of 1 logic gate consisting of 4 transistors. The simulation scale of a single FPGA (AMD Xilinx VU19P) is calculated as 50 million logic gates, and the resource utilization rate is calculated as 70%. It takes 1,500 FPGAs to realize the simulation verification of the chip design. The continuous trend of increasing chip scale has posed greater challenges to the scale and performance of the simulation verification environment required for chip verification. There is an urgent need for a simulation verification environment with sustainable scale expansion, higher simulation performance, and stronger debugging capabilities to support chip pre-tape verification, so that the verification process is efficient and sufficient enough to discover design problems in advance and reduce the risk of tape-out failure.
[0003] The existing hardware simulation verification system has always had a contradiction between the simulation scale improvement and the stability of simulation performance. It is difficult to maintain stable simulation performance while expanding the scale. How to ensure the stability of simulation performance while achieving scalable simulation scale and ensuring a certain debugging capability has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of the above technical problems, the present invention provides a multi-FPGA simulation verification method and system for a network-centric architecture.
[0005] The technical solution adopted by the present invention to solve the technical problem is:
[0006] A multi-FPGA simulation verification method for a network-centric architecture, the method comprising the following steps:
[0007] S100: All FPGAs are connected to the simulation interconnection network, and the simulation server obtains available FPGA resources in the network through the management configuration network;
[0008] S200: reading and compiling the DUT design to be verified, and dividing and mapping it to different FPGAs available in the network, and the divided blocks communicate with each other through the physical connection between multiple high-speed SerDes ports of the FPGA;
[0009] S300: inserting the debug sampling logic and communication port logic that are pre-parameterized and configured into each FPGA;
[0010] S400: The simulation server manages and configures the simulation system through a management configuration network based on the partition mapping result;
[0011] S500: Start the simulation. The signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters by debugging the sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered. The internal signal state of the DUT to be verified is sampled and stored in the corresponding storage device. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds it back to the user interface to complete the simulation verification.
[0012] Preferably, S100 includes:
[0013] All FPGAs are connected to the simulation interconnection network. The simulation server checks the system status through the management configuration network. The system status includes the number of all FPGAs in the network and their working status. When the working status of the FPGA is idle, it is an available FPGA resource, and then obtains the available FPGA resources in the network.
[0014] Preferably, S200 includes:
[0015] S210: DUT design is described using HDL language, and after synthesis, a logic netlist is obtained, which includes complete resource information and communication information;
[0016] S220: Divide and map the DUT design to be verified according to the resource information and the communication information, the total amount of resources in each divided block does not exceed the resource threshold that the corresponding FPGA can provide, and the communication volume is lower than the preset threshold.
[0017] Preferably, the high-speed SerDes port of the FPGA includes at least one of a GTH port, a GTX port, a GTY port, a GTP port, a GTZ port and a GTM port.
[0018] Preferably, the debugging sampling logic in S300 includes setting the trigger signal and the sampling signal, and the communication port logic includes configuring the time division multiplexing ratio of the signal, the port rate, and associating the corresponding signal with the port according to the corresponding relationship between the DUT signal and the port logic.
[0019] Preferably, S400 includes:
[0020] According to the partitioning and mapping results, the system simulation parameters are configured, the routing network is configured, the corresponding bitstream file is downloaded to the FPGA, and the system status is monitored.
[0021] Preferably, the storage device in S500 includes a storage server, a disk array and a distributed storage body.
[0022] A multi-FPGA simulation verification system with a network-centric architecture includes FPGA, simulation interconnection network, management configuration network, debugging sampling network and simulation server.
[0023] All FPGAs are connected to the simulation interconnection network, and the simulation server obtains the available FPGA resources in the network through the management configuration network;
[0024] The simulation server is used to read and compile the DUT design to be verified, and divide and map it to different FPGAs available in the network. The divided blocks communicate with each other through the physical connection between multiple high-speed SerDes ports of the FPGA.
[0025] Insert pre-parameterized debug sampling logic and communication port logic into each FPGA;
[0026] The simulation server manages and configures the simulation system through the management configuration network based on the partition mapping result;
[0027] Start the simulation, and the signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters by debugging the sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered to sample the internal signal state of the DUT to be verified. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds it back to the user interface to complete the simulation verification.
[0028] Preferably, it also includes external devices and external interfaces, the external devices include external storage bodies and external communication devices, and the external interfaces access the simulation verification system through a simulated Internet network, wherein the peripheral interfaces include 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.
[0029] Preferably, the simulation interconnection network, the management configuration network and the debugging sampling network can be independent of each other or integrated.
[0030] The above-mentioned multi-FPGA simulation verification method and system with a network-centric architecture is a network-centric system architecture, which is no longer sensitive to the number of pins of a single-chip FPGA and transfers the communication pressure to the network. The FPGA only needs to ensure that all signals are connected to the simulation interconnection network through the FPGA high-speed SerDes port, making full use of the bandwidth resources of the FPGA's high-speed SerDes, and realizing communication with other multiple FPGA nodes through the network. On the one hand, it saves FPGA pin resources and makes full use of the high-speed SerDes port. On the other hand, it reduces the complexity of FPGA connections and realizes communication between different FPGAs through network configuration. In addition, through the network, the scale of system simulation can be continuously expanded; while realizing the scalability of simulation scale, the stability of simulation performance is guaranteed, and a certain debugging capability is ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flowchart of a multi-FPGA simulation verification method of a network-centric architecture in one embodiment of the present invention;
[0032] Figure 2 It is a schematic diagram of multi-FPGA simulation verification of a network-centric architecture in one embodiment of the present invention. DETAILED DESCRIPTION
[0033] 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.
[0034] In one embodiment, Figure 1 As shown, a multi-FPGA simulation verification method for a network-centric architecture includes the following steps:
[0035] S100: All FPGAs are connected to the simulation interconnection network, and the simulation server obtains available FPGA resources in the network by managing the configuration network.
[0036] In one embodiment, S100 includes:
[0037] All FPGAs are connected to the simulation interconnection network. The simulation server checks the system status through the management configuration network. The system status includes the number of all FPGAs in the network and their working status. When the working status of the FPGA is idle, it is an available FPGA resource, and then obtains the available FPGA resources in the network.
[0038] Specifically, the management configuration server checks the system status, including the number of all FPGAs in the network and their working status, through the management configuration network, and obtains available FPGA resources in the network.
[0039] S200: Read and compile the DUT design to be verified, and divide and map it to different FPGAs available in the network. The divided blocks communicate with each other through physical connections between multiple high-speed SerDes ports of the FPGA.
[0040] In one embodiment, S200 includes:
[0041] S210: DUT design is described using HDL language, and after synthesis, a logic netlist is obtained, which includes complete resource information and communication information;
[0042] S220: Divide and map the DUT design to be verified according to the resource information and the communication information, the total amount of resources in each divided block does not exceed the resource threshold that the corresponding FPGA can provide, and the communication volume is lower than the preset threshold.
[0043] In one embodiment, the high-speed SerDes port of the FPGA includes at least one of a GTH port, a GTX port, a GTY port, a GTP port, a GTZ port, and a GTM port.
[0044] Specifically, DUT (Design Under Test) refers to the ASIC design that the user wants to simulate and verify with the prototype verification system, and to verify whether the function of the design meets its design specifications through simulation. The multi-FPGA simulation verification system maps the user design (DUT) to be verified to the FPGA for operation to verify whether the function and performance of the design meet expectations. The typical scenario is that the scale of the DUT is relatively large, and one FPGA cannot accommodate the complete DUT design. At this time, the DUT needs to be divided into multiple partitions and mapped to different FPGAs in the system respectively. The partitions need to communicate through physical connections between FPGAs. In the present invention, the communication connection between FPGAs is collectively referred to as a simulation interconnection network. The traditional method is to directly connect the FPGAs that need to communicate with each other through cables or PCB routing. The present invention proposes to communicate in a network manner, that is, all FPGAs are connected to the simulation interconnection network, and the DUT communication signals between FPGAs communicate through the simulation interconnection network.
[0045] S300: inserting the debugging sampling logic and communication port logic that are pre-parameterized and configured into each FPGA.
[0046] In one embodiment, the debugging sampling logic in S300 includes setting a trigger signal and a sampling signal, and the communication port logic includes configuring the time division multiplexing ratio of the signal, the port rate, and associating the corresponding signal with the port according to the correspondence between the DUT signal and the port logic.
[0047] Specifically, before the simulation is started, the software tool configures the debug sampling logic according to the partition mapping result and the debug sampling signal selected by the user, and then directly inserts it.
[0048] S400: The simulation server manages and configures the simulation system through a management configuration network based on the partition mapping result.
[0049] In one embodiment, S400 includes:
[0050] According to the partitioning and mapping results, the system simulation parameters are configured, the routing network is configured, the corresponding bitstream file is downloaded to the FPGA, and the system status is monitored.
[0051] Specifically, the working status of the system refers to whether each subsystem is working normally or whether there are any abnormalities, including power-on status, temperature status, networking status, etc.
[0052] S500: Start the simulation. The signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters by debugging the sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered. The internal signal state of the DUT to be verified is sampled and stored in the corresponding storage device. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds it back to the user interface to complete the simulation verification.
[0053] In one embodiment, the storage device in S500 includes a storage server, a disk array, and a distributed storage body.
[0054] Specifically, during the simulation process, it is necessary to sample the internal signal state of the DUT under certain specific conditions, and this process is called debug sampling. The present invention proposes to connect all FPGAs to a debug sampling network directly or indirectly, and at the same time, a simulation server cluster is also connected to the debug sampling network to receive the sampled data generated during the simulation process through the network.
[0055] like Figure 2 As shown, a multi-FPGA simulation verification system with a network-centric architecture includes FPGA, simulation interconnection network, management configuration network, debugging sampling network and simulation server.
[0056] All FPGAs are connected to the simulation interconnection network, and the simulation server obtains the available FPGA resources in the network through the management configuration network;
[0057] The simulation server is used to read and compile the DUT design to be verified, and divide and map it to different FPGAs available in the network. The divided blocks communicate with each other through the physical connection between multiple high-speed SerDes ports of the FPGA.
[0058] Insert pre-parameterized debug sampling logic and communication port logic into each FPGA;
[0059] The simulation server manages and configures the simulation system through the management configuration network based on the partition mapping result;
[0060] Start the simulation, and the signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters by debugging the sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered to sample the internal signal state of the DUT to be verified. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds it back to the user interface to complete the simulation verification.
[0061] In one embodiment, it also includes external devices and external interfaces, the external devices include external storage bodies and external communication devices, and the external interfaces are connected to the simulation verification system through a simulated Internet network, wherein the peripheral interfaces include 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.
[0062] In one embodiment, the simulation interconnection network, the management configuration network, and the debugging sampling network can be independent of each other or integrated.
[0063] In a detailed embodiment, the entire simulation verification process is as follows: the user designs a DUT; it is assumed that the DUT is divided into three blocks according to resource usage, namely DUT1, DUT2, and DUT3; DUT1 is mapped to FPGA1, DUT2 is mapped to FPGA2, and DUT3 is mapped to FPGA3; it is assumed that the user sets the debug signals to a, b, c, and d; among them, a and b are trigger signals, c and d are sampling signals, and the trigger condition is "a=1&b=1"; the software tool inserts the debug logic into the design according to the debug signal configured by the user, and after starting the simulation, sets the trigger condition. When the trigger condition is met, the sampling is started, and the sampling signal is stored in the corresponding storage body. The host side reads the waveform of the sampling signal from the storage body to form a waveform file, and displays it on the waveform interface of the client for analysis.
[0064] The present invention is centered on the network, and the server, FPGA, peripheral resources and other equipment in the system can be connected to the simulation verification system through the network, which can realize the continuous expansion of the system simulation scale.
[0065] The network-centric system architecture is no longer sensitive to the number of pins of a single FPGA, and the communication pressure is transferred to the network. The FPGA only needs to ensure that all signals are connected to the simulation interconnection network through the FPGA high-speed SerDes port, making full use of the bandwidth resources of the FPGA's high-speed SerDes, and realizing communication with multiple other FPGA nodes through the network. The transmission bandwidth of a high-speed SerDes port can reach 25Gbps, while the transmission bandwidth of ordinary differential IO is only 1.6Gbps. An FPGA has multiple high-speed SerDes ports, which can meet the bandwidth requirements of the FPGA for cross-FPGA communication signal transmission during the simulation process. On the one hand, this solution saves the pin resources of the FPGA and makes full use of the high-speed SerDes port. On the other hand, it reduces the complexity of FPGA wiring and realizes communication between different FPGAs through network configuration.
[0066] The above is a detailed introduction to a multi-FPGA simulation verification method and system for a network-centric architecture provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention, and 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, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A multi-FPGA simulation verification method for a network-centric architecture, characterized in that: The method comprises the following steps: S100: All FPGAs are connected to the simulation interconnection network, and the simulation server obtains available FPGA resources in the network through the management configuration network; S200: reading and compiling the DUT design to be verified, and dividing and mapping it to different FPGAs available in the network, and the divided blocks communicate with each other through the physical connection between multiple high-speed SerDes ports of the FPGA; S300: inserting the pre-parameterized debug sampling logic and communication port logic into each FPGA; the debug sampling logic in S300 includes setting the trigger signal and the sampling signal, and the communication port logic includes configuring the time division multiplexing ratio of the signal, the port rate, and associating the corresponding signal with the port according to the corresponding relationship between the DUT signal and the port logic; S400: The simulation server manages and configures the simulation system through a management configuration network based on the partition mapping result; S500: Start the simulation. The signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters through the debugging sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered. The internal signal state of the DUT to be verified is sampled and stored in the corresponding storage device. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds back to the user interface to complete the simulation verification. Among them, the simulation interconnection network, the management configuration network and the debugging sampling network are set independently of each other.
2. The method according to claim 1, characterized in that S100 includes: All FPGAs are connected to the simulation interconnection network. The simulation server checks the system status through the management configuration network. The system status includes the number of all FPGAs in the network and their working status. When the working status of the FPGA is idle, it is an available FPGA resource, and then obtains the available FPGA resources in the network.
3. The method according to claim 2, characterized in that S200 includes: S210: DUT design is described using HDL language, and after synthesis, a logic netlist is obtained, which includes complete resource information and communication information; S220: Divide and map the DUT design to be verified according to the resource information and the communication information, the total amount of resources in each divided block does not exceed the resource threshold that the corresponding FPGA can provide, and the communication volume is lower than the preset threshold.
4. The method according to claim 3, characterized in that The high-speed SerDes port of the FPGA includes at least one of a GTH port, a GTX port, a GTY port, a GTP port, a GTZ port, and a GTM port.
5. The method according to claim 4, characterized in that S400 includes: According to the partition mapping results, the system simulation parameters are configured, the routing network is configured, the corresponding bit stream file is downloaded to the FPGA, and the system status is monitored.
6. The method according to claim 5, characterized in that The storage devices in S500 include storage servers, disk arrays and distributed storage bodies.
7. A multi-FPGA simulation verification system with a network-centric architecture, characterized in that: It includes FPGA, simulation interconnection network, management configuration network, debugging sampling network and simulation server, wherein the simulation interconnection network, management configuration network and debugging sampling network are independently set; All FPGAs are connected to the simulation interconnection network, and the simulation server obtains the available FPGA resources in the network through the management configuration network; The simulation server is used to read and compile the DUT design to be verified, and divide and map it to different FPGAs available in the network. The divided blocks communicate with each other through the physical connection between multiple high-speed SerDes ports of the FPGA. Insert the pre-parameterized debug sampling logic and communication port logic into each FPGA; the debug sampling logic includes setting the trigger signal and the sampling signal, and the communication port logic includes configuring the time division multiplexing ratio of the signal, the port rate, and associating the corresponding signal with the port according to the corresponding relationship between the DUT signal and the port logic; The simulation server manages and configures the simulation system through the management configuration network based on the partition mapping result; Start the simulation, and the signals transmitted across the FPGA communicate through the simulation interconnection network. The simulation server configures the trigger conditions and corresponding parameters by debugging the sampling network. When the preset sampling trigger conditions are met, the sampling process is triggered to sample the internal signal state of the DUT to be verified. The simulation server reads the waveform data from the storage device through the debugging sampling network and feeds it back to the user interface to complete the simulation verification.
8. The system according to claim 7, characterized in that It also includes external devices and external interfaces, the external devices include external storage bodies and external communication devices, the peripheral interfaces are connected to the simulation verification system through a simulated Internet network, wherein the peripheral interfaces include 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.
