A design verification system and method for wireless communication chip
Through the design verification system of wireless communication chips, the automated verification of simulation models and hardware logic models is solved, and efficient and accurate design verification is achieved.
Patent Information
- Application Number
- CN202010872805.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-08-26
AI Technical Summary
In the prior art, the design verification of communication-related integrated circuits is cumbersome, time-consuming and unable to cover all situations due to the high complexity and diversity of modes, resulting in repeated operations and errors that are not fully covered.
A wireless communication chip design verification system is designed, including functional design modules, hardware design modules and functional verification modules. Through the automated verification of simulation models and hardware logic models, automated verification of multiple modes is achieved, reducing the duplication of manual verification. operate.
Automation of design verification is realized, saving time for development verification personnel, improving verification efficiency and accuracy, and reducing errors that are not fully covered.
Smart Images

Figure CN111985179B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuit design verification, and in particular to a design verification system and method for a wireless communication chip. Background Art
[0002] At present, the verification of communication-related integrated circuits basically adopts a single mode to verify and check one by one, and then establish different application scenarios one by one for verification. As the circuit complexity of integrated circuits in today's world becomes higher and higher, the scale becomes larger and larger, and the level becomes more and more complex, the complexity of design verification has increased dramatically, and the mode methods of projects have become more and more. In actual design verification, for large-scale chips, when designers do communication-related verification, sometimes there may be up to thousands of modes, and if the length information is traversed, there will be more modes. The method of using a single manual mode for verification wastes a lot of time for development and verification personnel, and many repeated operations may not be able to verify comprehensively. This is the shortcoming of the existing technology.
[0003] Therefore, there is an urgent need for a technical solution that can solve the defects of single manual verification in multiple modes, which causes the verification work to be cumbersome, time-consuming, and not comprehensive. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a design verification system for a wireless communication chip, which specifically includes:
[0005] A function design module, used for designing a simulation model according to the communication principle of the wireless communication chip, wherein the simulation model includes a plurality of preset configuration sets, each of which includes a basic configuration information and a corresponding first transmission data;
[0006] A hardware design module, connected to the functional design module, for designing a hardware logic model according to the simulation model;
[0007] A function verification module is connected to the function design module and the hardware design module respectively, and the function verification module includes:
[0008] A data importing unit, used for sequentially importing each of the configuration sets of the simulation model into the hardware logic model;
[0009] A first verification unit, connected to the data import unit, and configured to compare a parsing result of the hardware logic model compiling and parsing the first transmission data with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip;
[0010] A second verification unit is connected to the data import unit and is used to compare a second sending data generated by the hardware logic model according to the basic configuration information with the first sending data to obtain a second verification result representing the sending performance of the wireless communication chip.
[0011] Preferably, the function design module uses a matlab algorithm to design the simulation model.
[0012] Preferably, it also includes a model verification module, which is connected to the functional design module and the hardware design module respectively, and is used to perform function and performance verification on the simulation model according to the communication principle of the wireless communication chip;
[0013] The hardware design module designs the hardware logic model according to the simulation model that has passed function and performance verification.
[0014] Preferably, the hardware design module uses Verilog language to design the hardware logic model.
[0015] Preferably, the communication principle includes a modulation mode of the wireless communication chip, and the modulation mode is orthogonal modulation, or frequency shift keying modulation, or orthogonal frequency division multiplexing modulation, or phase shift keying modulation, or orthogonal amplitude modulation, or spread spectrum modulation.
[0016] Preferably, the function verification module includes:
[0017] A result output unit is connected to the first verification unit and the second verification unit respectively, and is used to send the basic configuration information and the corresponding first verification result and the second verification result as the functional verification result of the configuration set to the functional design module for storage.
[0018] Preferably, the functional design module includes a data export unit, which is used to export the next configuration set from the simulation model and send it to the functional verification module after receiving the functional verification result indicating that the verification of the current configuration set is completed, until all configuration sets are fully verified.
[0019] A design verification method for a wireless communication chip is applied to the design verification system for the wireless communication chip, and the design verification method comprises the following steps:
[0020] Step S1, the design verification system designs a simulation model according to the communication principle of the wireless communication chip, the simulation model includes a plurality of preset configuration sets, each of the configuration sets includes a basic configuration information and a corresponding first transmission data;
[0021] Step S2, the design verification system designs a hardware logic model according to the simulation model;
[0022] Step S3, the design verification system sequentially imports each of the configuration sets of the simulation model into the hardware logic model;
[0023] Step S4, the design verification system compares the analysis result of compiling and parsing the first transmission data by the hardware logic model with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip; and
[0024] A second sending data generated by the hardware logic model according to the basic configuration information is compared with the first sending data to obtain a second verification result representing the sending performance of the wireless communication chip.
[0025] Preferably, before executing step S2, a model verification process is also included, which specifically includes:
[0026] The design verification system performs function and performance verification on the simulation model according to the communication principle of the wireless communication chip;
[0027] In step S3, the design verification system designs the hardware logic model according to the simulation model that has passed function and performance verification.
[0028] Preferably, after executing step S4, a result output process is also included, which specifically includes:
[0029] After receiving the functional verification result indicating that the verification of the current configuration set is complete and includes the basic configuration information and the corresponding first verification result and the second verification result, the design verification system saves the functional verification result, and derives the next configuration set from the simulation model based on the functional verification result, and then returns to step S3 until all configuration sets are fully verified.
[0030] The above technical solution has the following advantages or beneficial effects: the design verification process is simple to operate and reliable to execute, and can achieve fully automated verification, saving valuable time of development and verification personnel, reducing errors caused by incomplete coverage, and has strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a structural schematic diagram of a design verification system for a wireless communication chip in a preferred embodiment of the present invention;
[0032] Figure 2 The figure is a flow chart of a design verification method of a wireless communication chip in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0033] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.
[0034] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a design verification system for a wireless communication chip is provided. Figure 1 As shown, specifically including:
[0035] Functional design module 1, used for designing a simulation model according to the communication principle of the wireless communication chip, the simulation model includes a plurality of preset configuration sets, each configuration set includes a basic configuration information and a corresponding first transmission data;
[0036] The hardware design module 2 is connected to the function design module 1 and is used to design a hardware logic model according to the simulation model;
[0037] The function verification module 3 is connected to the function design module 1 and the hardware design module 2 respectively. The function verification module includes:
[0038] A data import unit 31 is used to import each configuration set of the simulation model into the hardware logic model in sequence;
[0039] The first verification unit 32 is connected to the data importing unit 31, and is used to compare the analysis result of the hardware logic model compiling and parsing the first transmission data with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip;
[0040] The second verification unit 33 is connected to the data importing unit 31 and is used to compare a second transmission data generated by the hardware logic model according to the basic configuration information with the first transmission data to obtain a second verification result representing the transmission performance of the wireless communication chip.
[0041] Specifically, in this embodiment, the present invention pre-configures each basic configuration information and the corresponding first sending data of the simulation model of the wireless communication chip, and designs a hardware logic model based on the simulation model of the wireless communication chip, and imports each basic configuration information of the simulation model and the corresponding first sending data into the hardware logic model in sequence for verification. All basic configuration information, i.e., the first sending data, can be automatically traversed without the need for testers to manually verify one by one, thereby effectively improving the design verification efficiency and accuracy.
[0042] More specifically, after receiving the basic configuration information and the corresponding first transmission data, the hardware logic model compiles and analyzes the first transmission data. If the result of the compilation and analysis is consistent with the first transmission data, it means that the wireless communication chip reception performance verification has passed. If the result of the compilation and analysis is inconsistent with the first transmission data, it means that the wireless communication chip reception performance verification has failed. The above-mentioned reception performance verification result can be viewed intuitively through the first verification result. At the same time, the hardware logic model can also generate a second transmission data based on the received basic configuration information. If the second transmission data is consistent with the first transmission data corresponding to the basic configuration information, it means that the wireless communication chip transmission performance verification has passed. If the second transmission data is inconsistent with the first transmission data corresponding to the basic configuration information, it means that the wireless communication chip transmission performance verification has failed. The above-mentioned transmission performance verification result can be viewed intuitively through the second verification result.
[0043] As a preferred embodiment, the simulation model runs on the matlab algorithm platform, and the hardware logic model runs on the EDA verification environment. Specifically, the preset configuration set of the simulation model can be written to a file using the fprintf function of the Matlab software, and saved in txt format, and can be configured and assigned by the fscanf function. When each configuration set is designed and verified, it is necessary to first export and run the EDA verification environment from the simulation model, and automatically exit the EDA verification environment after the configuration set is completed. The above-mentioned simulation model export and the operation of the EDA verification environment can be implemented using matlab encapsulation functions fprintf and system. The configuration set import of the hardware logic model can be read and written by the fscanf function, and the frequency of reading and writing can be controlled by a preset sampling clock, and the RTL operation information is written by the fwrite function. When the EDA verification environment is established, the fopen function can be used to open the basic configuration information and the first transmission data in the configuration set. After each configuration set is verified, the save function can be used to save the corresponding basic configuration information and the first verification result and the second verification result.
[0044] In a preferred embodiment of the present invention, the function design module 1 uses a matlab algorithm to design a simulation model.
[0045] In a preferred embodiment of the present invention, a model verification module 4 is also included, which is connected to the function design module 1 and the hardware design module 2 respectively, and is used to verify the function and performance of the simulation model according to the communication principle of the wireless communication chip;
[0046] The hardware design module 2 designs the hardware logic model according to the simulation model that has passed the function and performance verification.
[0047] In a preferred embodiment of the present invention, the hardware design module 2 uses Verilog language to design the hardware logic model. After the hardware logic model is designed, it also includes using NC-Verilog software to compile and confirm that there are no grammatical problems and that the basic functions can be completed.
[0048] In a preferred embodiment of the present invention, the communication principle includes a modulation mode of a wireless communication chip, and the modulation mode is orthogonal modulation, or frequency shift keying modulation, or orthogonal frequency division multiplexing modulation, or phase shift keying modulation, or orthogonal amplitude modulation, or spread spectrum modulation. Since the simulation model is designed using the matlab algorithm, the simulation model can be designed for different modulation modes of the wireless communication chip through the communication packaging function provided by matlab.
[0049] In a preferred embodiment of the present invention, the function verification module 3 includes:
[0050] The result output unit 34 is connected to the first verification unit 32 and the second verification unit 33 respectively, and is used to send the basic configuration information and the corresponding first verification result and the second verification result as the function verification result of the configuration set to the function design module 1 for storage.
[0051] Specifically, in this embodiment, by saving the basic configuration information and the corresponding first verification result and the second verification result as the functional verification result of the configuration set, when the first verification result indicates that the receiving performance verification of the wireless communication chip fails or the second verification result indicates that the sending performance verification of the wireless communication chip fails, the design verification personnel can quickly locate the basic configuration information corresponding to the functional verification result, and then adjust the basic configuration information. Preferably, the functional verification result can be saved in an Excel spreadsheet, and each row in the Excel spreadsheet stores the functional verification result of a configuration set.
[0052] In a preferred embodiment of the present invention, the functional design module 1 includes a data export unit 11, which is used to export the next configuration set from the simulation model and send it to the functional verification module 3 after receiving the functional verification result indicating that the current configuration set verification is completed, until all configuration sets are fully verified.
[0053] Specifically, in this embodiment, the received function verification result of the current configuration set is used as an identification of the completion of the configuration set verification. The function design module 1 derives the first configuration set for verification according to the identification, thereby realizing the continuity and automatic traversal of the verification process.
[0054] A design verification method for a wireless communication chip is applied to the design verification system for the wireless communication chip, such as Figure 2 As shown, the design verification method includes the following steps:
[0055] Step S1, the design verification system designs a simulation model according to the communication principle of the wireless communication chip, the simulation model includes a plurality of preset configuration sets, each configuration set includes a basic configuration information and a corresponding first transmission data;
[0056] Step S2, the design verification system designs a hardware logic model according to the simulation model;
[0057] Step S3, the design verification system imports each configuration set of the simulation model into the hardware logic model in sequence;
[0058] Step S4, the design verification system compares the analysis result of the hardware logic model compiling and parsing the first transmission data with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip; and
[0059] A second transmission data generated by the hardware logic model according to the basic configuration information is compared with the first transmission data to obtain a second verification result representing the transmission performance of the wireless communication chip.
[0060] In a preferred embodiment of the present invention, before executing step S2, a model verification process is also included, which specifically includes:
[0061] The design verification system verifies the function and performance of the simulation model based on the communication principle of the wireless communication chip;
[0062] In step S3, the design verification system designs a hardware logic model based on the simulation model that has passed the function and performance verification.
[0063] In a preferred embodiment of the present invention, after executing step S4, a result output process is also included, which specifically includes:
[0064] After receiving the functional verification result indicating that the current configuration set has been verified, which includes basic configuration information and the corresponding first verification result and second verification result, the design verification system saves the functional verification result, and derives the next configuration set from the simulation model based on the functional verification result, and then returns to step S3 until all configuration sets have been verified.
[0065] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.
Claims
1. A design verification system for a wireless communication chip, It is characterized in that Specifically include: A function design module, used for designing a simulation model according to the communication principle of the wireless communication chip, wherein the simulation model includes a plurality of preset configuration sets, each of which includes a basic configuration information and a corresponding first transmission data; A hardware design module, connected to the functional design module, for designing a hardware logic model according to the simulation model; A function verification module is connected to the function design module and the hardware design module respectively, and the function verification module includes: A data importing unit, used for sequentially importing each of the configuration sets of the simulation model into the hardware logic model; A first verification unit, connected to the data import unit, and configured to compare a parsing result of the hardware logic model compiling and parsing the first transmission data with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip; A second verification unit, connected to the data import unit, for comparing a second transmission data generated by the hardware logic model according to the basic configuration information with the first transmission data to obtain a second verification result representing the transmission performance of the wireless communication chip; The function verification module comprises: A result output unit, connected to the first verification unit and the second verification unit respectively, for sending the basic configuration information and the corresponding first verification result and the second verification result as the function verification result of the configuration set to the function design module for storage; The function verification results are stored in the form of an Excel table, and each row stores the function verification result of one configuration set; The functional design module includes a data export unit, which is used to export the next configuration set from the simulation model and send it to the functional verification module after receiving the functional verification result indicating that the verification of the current configuration set is completed, until all configuration sets are fully verified.
2. The design verification system for a wireless communication chip according to claim 1, It is characterized in that The function design module uses matlab algorithm to design the simulation model.
3. The design verification system for a wireless communication chip according to claim 1, It is characterized in that It also includes a model verification module, which is connected to the functional design module and the hardware design module respectively, and is used to perform function and performance verification on the simulation model according to the communication principle of the wireless communication chip; The hardware design module designs the hardware logic model according to the simulation model that has passed function and performance verification.
4. The design verification system for a wireless communication chip according to claim 1, It is characterized in that The hardware design module uses Verilog language to design the hardware logic model.
5. The design verification system for a wireless communication chip according to claim 1, It is characterized in that The communication principle includes a modulation mode of the wireless communication chip, and the modulation mode is orthogonal modulation, or frequency shift keying modulation, or orthogonal frequency division multiplexing modulation, or phase shift keying modulation, or orthogonal amplitude modulation, or spread spectrum modulation.
6. A design verification method for a wireless communication chip, It is characterized in that Applied to the design verification system of the wireless communication chip according to any one of claims 1 to 5, the design verification method comprises the following steps: Step S1, the design verification system designs a simulation model according to the communication principle of the wireless communication chip, the simulation model includes a plurality of preset configuration sets, each of the configuration sets includes a basic configuration information and a corresponding first transmission data; Step S2, the design verification system designs a hardware logic model according to the simulation model; Step S3, the design verification system sequentially imports each of the configuration sets of the simulation model into the hardware logic model; Step S4, the design verification system compares the analysis result of compiling and parsing the first transmission data by the hardware logic model with the first transmission data to obtain a first verification result representing the receiving performance of the wireless communication chip; and A second sending data generated by the hardware logic model according to the basic configuration information is compared with the first sending data to obtain a second verification result representing the sending performance of the wireless communication chip.
7. The design verification method of the wireless communication chip according to claim 6, It is characterized in that Before executing step S2, a model verification process is also included, which specifically includes: The design verification system performs function and performance verification on the simulation model according to the communication principle of the wireless communication chip; In the step S2, the design verification system designs the hardware logic model according to the simulation model that has passed the function and performance verification.
8. The design verification method of the wireless communication chip according to claim 6, It is characterized in that After executing step S4, a result output process is also included, which specifically includes: After receiving the functional verification result indicating that the verification of the current configuration set is complete and includes the basic configuration information and the corresponding first verification result and the second verification result, the design verification system saves the functional verification result, and derives the next configuration set from the simulation model based on the functional verification result, and then returns to step S3 until all configuration sets are fully verified.
