An external module automatic loading system and method for a simulation accelerator
By introducing expansion cards and controllers into the simulation accelerator, automatically detecting and generating adapter files, the inefficiency problem of manually designing DUTs in the existing technology is solved, and the multi-interface automated management of the simulation accelerator is realized, and the verification efficiency of the simulation accelerator is improved.
Patent Information
- Application Number
- CN202111124001.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2041-09-24
AI Technical Summary
Existing simulation accelerators need to manually design DUTs when verifying multi-interfaces, which is time-consuming and labor-intensive, and it is difficult to efficiently manage the interface types of external modules.
By introducing an expansion card into the simulation accelerator, it contains a controller and a storage unit, and stores the pin mapping information of the simulation accelerator. The controller detects the external module type and reads its pin definition and constraint files, and generates adaptation files to automatically load external modules of multiple interface types.
It realizes that the simulation accelerator automatically loads external modules of multiple interface types during DUT compilation, which improves verification efficiency and automation, and reduces the complexity of manual operations.
Smart Images

Figure CN113868990B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of emulation accelerators, and particularly to an external module automatic loading system and method for an emulation accelerator. Background Art
[0002] Emulation (emulation accelerator) requires a large number of verification interfaces. To fully meet the verification design of all interfaces, thousands of pins need to be led out, which is unrealistic in emulation verification. The general method is to lead out a certain number of interfaces and design different DUTs (Design Under Test) by connecting different physical devices externally to meet the requirements of verifying numerous interfaces. Such operations are time-consuming and laborious. Summary of the Invention
[0003] The purpose of the present invention is to provide an external module automatic loading system and method for an emulation accelerator to address the defects existing in the above-mentioned prior art.
[0004] In an embodiment of the present invention, an external module automatic loading system for an emulation accelerator is proposed, which includes an emulation accelerator and an expansion card connected to the emulation accelerator. The expansion card includes a controller and a storage unit. The storage unit stores the pin mapping information of the emulation accelerator. When an external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definitions and constraint files stored in the storage area of the external module, and then generates an adaptation file that can be automatically loaded when the emulation accelerator performs DUT compilation according to the pin mapping information of the emulation accelerator.
[0005] In an embodiment of the present invention, when the emulation accelerator performs DUT compilation, it selects the external module to be loaded and automatically loads the corresponding adaptation file of the external module.
[0006] In an embodiment of the present invention, after the external module is inserted, the controller detects the power supply level of the inserted external module and outputs a power supply of a specified level to power on the external module.
[0007] In an embodiment of the present invention, after the external module is inserted, the controller polls and detects the pins of the external module to identify the version information of the external module, thereby identifying the type of the external module.
[0008] In an embodiment of the present invention, an external module automatic loading method for an emulation accelerator is also provided, which includes:
[0009] Connect an expansion card to the emulation accelerator. The expansion card includes a controller and a storage unit, and the storage unit stores the pin mapping information of the emulation accelerator.
[0010] When an external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definitions and constraint files stored in the storage area of the external module, and then generates an adaptation file that can be automatically loaded when the simulation accelerator performs DUT compilation according to the pin mapping information of the simulation accelerator.
[0011] Compared with the prior art, in the external module automatic loading system and method of the simulation accelerator of the present invention, an expansion card is connected to the simulation accelerator. The expansion card includes a controller and a storage unit, and the storage unit stores the pin mapping information of the simulation accelerator. When an external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definitions and constraint files stored in the storage area of the external module, and then generates an adaptation file that can be automatically loaded when the simulation accelerator performs DUT compilation according to the pin mapping information of the simulation accelerator, so that when the simulation accelerator performs DUT compilation, the adaptation files of external modules of multiple interface types can be automatically loaded. Brief Description of the Drawings
[0012] Figure 1 is a schematic structural diagram of an external module automatic loading system of a simulation accelerator provided by an embodiment of the present invention.
[0013] Figure 2 is a flowchart of an external module automatic loading method of a simulation accelerator according to an embodiment of the present invention. Detailed Embodiments
[0014] As Figure 1 shown, in an embodiment of the present invention, an external module automatic loading system of a simulation accelerator is proposed, which includes a simulation accelerator 1 and an expansion card 2 connected to the simulation accelerator. The expansion card 2 is used to connect multiple external modules 3. The expansion card includes a controller 21 and a storage unit 22, and the storage unit 22 stores the pin mapping information of the simulation accelerator.
[0015] When the external module 3 is connected to the expansion card 2, the controller 21 detects the type of the external module 3. One external module 3 can be connected at a time, or multiple external modules 3 can be connected at a time. Specifically, after the external module 3 is inserted, the controller 21 first detects the power supply level of the inserted external module 3 and outputs a power supply of a specified level to power on the external module 3; then, the controller 21 polls and detects the pins of the external module 3 to identify the version information of the external module 3, thereby identifying the type of the external module 3. It should be noted that a storage area 31 is usually provided in the external module 3 for storing the version information, pin definitions, and constraint files of the external module. The controller 21 can obtain the version information, pin definitions, and constraint files of the external module by accessing the storage area of the external module.
[0016] After identifying the type of the external module 3, the pin definitions and constraint files of the external module 3 are read from the storage unit 22, and then an adaptor file that can be automatically loaded when the simulation accelerator 1 performs DUT compilation is generated according to the pin mapping information of the simulation accelerator 1. When the simulation accelerator 1 performs DUT compilation, by selecting the adaptor of the external module 3 to be loaded, the corresponding adaptor file of the external module 3 can be automatically loaded through the expansion card 2.
[0017] As Figure 2 shown, the working process of the external module automatic loading system of the simulation accelerator is as follows:
[0018] According to the requirements of DUT verification, insert the external modules required for verification;
[0019] After the system is powered on, perform initialization;
[0020] The controller 21 detects the power supply level and version information of the external module;
[0021] If the external module is detected to be normal, the controller 21 outputs a power supply of a specified level according to the level required by the external module to power on the external module; otherwise, the external module is not powered, and an exception report is output;
[0022] The controller 21 reads the pin mapping information of the simulation accelerator 1, the pin definitions and constraint files of the external module, and generates an adaptor file that can be automatically loaded when the simulation accelerator 1 performs DUT compilation.
[0023] When designing the DUT, the simulation accelerator 1 selects the adaptor of the external module to be verified, and then the adaptor file can be automatically loaded to obtain the specified constraint pins and constraint files, realizing the automatic loading of the adaptor of the external module.
[0024] In summary, for the external module automatic loading system and method of the simulation accelerator of the present invention, an expansion card is connected to the simulation accelerator. The expansion card includes a controller and a storage unit. Multiple pin definitions of external modules and the pin mapping and constraint files of the simulation accelerator are stored in the storage unit. When an external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definition of the external module from the storage unit, and then generates an adaptation file that can be automatically loaded when the simulation accelerator performs DUT compilation according to the pin mapping and constraint files of the simulation accelerator, so that when the simulation accelerator performs DUT compilation, the adaptation files of external modules of multiple interface types can be automatically loaded.
[0025] The foregoing are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. An external module automatic loading system for a simulation accelerator, characterized in that It includes a simulation accelerator and an expansion card connected to the simulation accelerator. The expansion card includes a controller and a storage unit, and the storage unit stores the pin mapping information of the simulation accelerator; A storage area is provided in the external module, and the storage area is used to store the version information, pin definitions, and constraint files of the external module; When the external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definitions and constraint files stored in the storage area of the external module, and then generates an adaptation file that can be automatically loaded when the simulation accelerator performs DUT compilation according to the pin mapping information of the simulation accelerator.
2. The external module automatic loading system of the simulation accelerator according to claim 1, characterized in that, When the simulation accelerator performs DUT compilation, it selects the external module to be loaded and automatically loads the corresponding adaptation file of the external module.
3. The external module automatic loading system of the simulation accelerator according to claim 1, wherein After the external module is inserted, the controller detects the power supply level of the inserted external module and outputs a power supply of a specified level to power on the external module.
4. The external module automatic loading system of the simulation accelerator according to claim 1, characterized in that After the external module is inserted, the controller polls and detects the pins of the external module to identify the version information of the external module, thereby identifying the type of the external module.
5. An automatic loading method for an external module of a simulation accelerator, characterized in that Connect an expansion card to the simulation accelerator. The expansion card includes a controller and a storage unit, and the storage unit stores the pin mapping information of the simulation accelerator; A storage area is provided in the external module, and the storage area is used to store the version information, pin definitions, and constraint files of the external module; When the external module is connected to the expansion card, the controller detects the type of the external module, reads the pin definitions and constraint files stored in the storage area of the external module, and then generates an adaptation file that can be automatically loaded when the simulation accelerator performs DUT compilation according to the pin mapping information of the simulation accelerator.
6. The method for automatically loading an external module of a simulation accelerator according to claim 5, characterized in that, When the simulation accelerator performs DUT compilation, it selects the external module to be loaded and automatically loads the corresponding adaptation file of the external module.
7. The method for automatically loading an external module of a simulation accelerator according to claim 5, wherein After the external module is inserted, the controller detects the power supply level of the inserted external module and outputs a power supply of a specified level to power on the external module.
8. The method for automatically loading an external module of a simulation accelerator according to claim 5, characterized in that, After the external module is inserted, the controller polls and detects the pins of the external module to identify the version information of the external module, thereby identifying the type of the external module.
Citation Information
Patent Citations
Expansion system, communication method, address configuration method, equipment and device
CN103412838A
Hardware simulation accelerator I / O extension device and extension method
CN112363412A