A kind of module level circuit meshwork list emulation mode
Technical field
The present invention relates to a kind of module level circuit meshwork list emulation mode.
Background technology
Along with digital IC scale strengthens, chip area is also increasing, and the circuit elementary cell of digital circuit physical level net table emulation bottom during due to simulation object (such as phase inverter, with door or door etc.), added again the delayed data from the side circuit domain to calculate, the simulation calculating amount is quite huge, common RTL emulation a few minutes just can the complete case of emulation, often needs just can complete in several days in the emulation of net table.So the emulation of net table usually becomes the sizable part of spended time in whole chip checking process, and net table simulated environment build also more complicated, expensive time perhaps.How to reduce the time that the emulation of whole chip net table expends, again very huge meaning.
As shown in Figure 1, current chip is realized normally whole the realization, and whole chip extracts a sdf, all reads in whole chip net table at every turn and carry out emulation when the emulation of net table, and is consuming time huge.As shown in Figure 2, be the chip realization flow schematic diagram of current techniques.It comprises following process: at first read in all RTL codes of design of chip, comprehensively produce the integral net table of chip, then extract the whole sdf file that produces chip, the net table of its generation and sdf file are all for the emulation of netting table.Can find out from this flow process, the emulation of chip net table is all that integral body is carried out, and imitative after chip integral net table, simulation time is very long; And the debugging of chip integral net table environment, task is not suitable for task division.
Net table emulation relatively, RTL emulation (being exactly procedure simulation) is because simulation object is abstract, and not calculating time-delay in side circuit, simulation velocity is a lot of soon, but also because do not comprise the working condition that time-delay in side circuit can not reflect real final chip.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of module level circuit meshwork list emulation mode, reduces the net table quantity of each emulation, and simulation velocity is high; Can be responsible for debugging by many people sub-module when building net table environment, the speed of building is fast; And can directly revise based on the RTL simulated environment, it is convenient to revise, and workload is little.
The present invention is achieved in that a kind of module level circuit meshwork list emulation mode, and it comprises RTL simulation flow and net table simulation flow; Described RTL simulation flow comprises to be built RTL emulation platform step and based on the RTL simulation process of this RTL emulation platform, guarantees the correctness of RTL design by the RTL simulation process; Described net table simulation flow comprises to be built net table emulation platform step and based on the net table simulation process of this net table emulation platform, guarantees the correctness of final chip circuit by the grade simulated step of net table; Wherein, described net table simulation flow delayed data used is all modules of chip to be verified to be carried out independent realization and delayed data extract and get, and the sdf file of the net table emulation module that described net table simulation flow is used is the delayed data of each module of extraction and producing separately in the side circuit domain; And the described net table emulation platform step of building is on the basis of described RTL emulation platform, needs to be netted the RTL module of showing emulation to replace with net table emulation module, and keep other RTL modules, and delayed data is added on the line of each the net table emulation module in net table emulation platform.
Further, described all modules of chip to be verified carry out need arranging in independent implementation procedure the module interface attribute for revising, to keep interface optimised the deleting not between each module.
Further, the described RTL of building emulation platform step comprises:
Step 11, design excitation generation unit, and will encourage generation unit to be connected to the load module of chip;
Step 12, put into all modules of chip to be verified, connect all modules in verification platform, this module is the RTL module;
Step 13, design result are collected inspection unit, are connected to the output module as a result of chip to be verified, are used for collecting simulation result and check the emulation correctness;
The described net table emulation platform step of building comprises:
Step 21, on the basis of RTL emulation platform, the RTL module of needs being netted table emulation replaces with the net table emulation module of this module;
Step 22, connect an input time delay model come transmission delay behavior between analog module before described net table emulation module, to satisfy the sequential demand of net table emulation;
Step 23, be ready to the sdf file of net table emulation module, for being used for to net table reactionary slogan, anti-communist poster sequential when the emulation.
Further, the net table emulation module that the RTL module of needs being netted table emulation in described step 21 replaces with this module is to realize by being converted of design tool, this design tool is Design_Compiler and two instruments of Prime_Time in the eda tool of the EDA synopsys of company, and two instruments of this Design_Compiler and Prime_Time realize that respectively RTL is to the conversion of net table and the extraction of sdf file.
The present invention has following advantage: the present invention combines the characteristics of two kinds of emulation, all chip modules are carried out independent realization and delayed data extraction, module to the needs checking replaces with the net table, other circuit still use RTL, can reduce like this net table quantity of each emulation, significantly improve simulation velocity, reach simultaneously the effect of checking actual chips operation circuit; Can directly revise based on the RTL simulated environment, it is convenient to revise, and workload is little; And can be responsible for debugging by many people sub-module when building net table environment, accelerate the speed of building.
Description of drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the structured flowchart of net table emulation platform of the prior art.
Fig. 2 is the process flow diagram of chip implementation procedure of the prior art.
Fig. 3 is the structured flowchart of the RTL emulation platform in the present invention.
Fig. 4 is the structured flowchart of the net table emulation platform in the present invention.
Fig. 5 is the process flow diagram of the chip implementation procedure in the present invention.
Embodiment
Module level circuit meshwork list emulation mode of the present invention comprises RTL simulation flow and net table simulation flow; Described RTL simulation flow comprises to be built RTL emulation platform step and based on the RTL simulation process of this RTL emulation platform, guarantees the correctness of RTL design by the RTL simulation process; Described net table simulation flow comprises to be built net table emulation platform step and based on the net table simulation process of this net table emulation platform, guarantees the correctness of final chip circuit by the grade simulated step of net table; Wherein, described net table simulation flow delayed data used is all modules of chip to be verified to be carried out independent realization and delayed data extract and get, and the sdf file of the net table emulation module that described net table simulation flow is used is the delayed data of each module of extraction and producing separately in the side circuit domain; And the described net table emulation platform step of building is on the basis of described RTL emulation platform, needs to be netted the RTL module of showing emulation to replace with net table emulation module, and keep other RTL modules, and delayed data is added on the line of each the net table emulation module in net table emulation platform.Wherein, in the process of a secondary net table emulation, can emulation single or a plurality of RTL modules.
As extremely shown in Figure 5 in Fig. 3, in specific embodiment, of the present invention being achieved as follows:
As shown in Figure 3, the described RTL of building emulation platform step can comprise:
Step 11, design excitation generation unit, and will encourage generation unit to be connected to the load module of chip; The load module of the chip that shows in Fig. 3 is modules A;
Step 12, put into all modules of chip to be verified, Fig. 3 comprises modules A, module B and module C, connects all modules in verification platform, makes each module become the RTL module;
Step 13, design result are collected inspection unit, are connected to the output module as a result of chip to be verified, and the load module of the chip that shows in Fig. 3 is module C; Be used for collecting simulation result and check the emulation correctness;
As shown in Figure 4, the described net table emulation platform step of building can comprise:
Step 21, on the basis of RTL emulation platform, the RTL module of needs being netted table emulation replaces with the net table emulation module of this module; Fig. 4 is shown as module B for netting the RTL module of table emulation, is therefore module B net table with its net table emulation module that replaces with this module; Keep simultaneously other RTL modules, namely modules A and module C are the RTL module; The net table emulation module that the RTL module of needs being netted table emulation in this step replaces with this module is to realize by being converted of design tool, this design tool is Design_Compiler and two instruments of Prime_Time in the eda tool of the EDA synopsys of company, and two instruments of this Design_Compiler and Prime_Time realize that respectively RTL is to the conversion of net table and the extraction of sdf file.
Step 22, come transmission delay behavior between analog module at the front connection one input time delay model of described net table emulation module (being module B net table), to satisfy the sequential demand of net table emulation;
Step 23, be ready to the sdf file (being the sdf file of module B net table) of net table emulation module, for being used for to net table reactionary slogan, anti-communist poster sequential when the emulation of net table.
It should be noted that in addition, Fig. 4 is the platform structure situation when netting table emulation as an example of module B example, if net the words of table emulation as example take modules A or module C, to connect an input time delay model before modules A or module C, and make its corresponding sdf file for modules A or module C when the emulation of net table.And in the process of a secondary net table emulation, can emulation single or a plurality of RTL modules, therefore when the emulation of net table, can give different personnel with different modules and be responsible for debugging, compare an original people and debug whole net table simulation and verification platform, the present invention can many people concurrent working, has greatly accelerated verifying speed, and has reduced risk.
From the foregoing, net table emulation platform can be revised a little based on the RTL emulation platform and get final product, but in order to obtain delayed data and the sdf file for net table simulation flow, its chip realization flow is also wanted corresponding adjustment.
As shown in Figure 5, the chip realization flow is:
1. each module realizes separately; Realize respectively as modules A, module B and module C; And the module interface attribute need be set for revising in implementation procedure, to keep interface optimised the deleting not between module;
2. after module realizes separately, each module is read in separately the RTL code of this module, more comprehensively produce the net table of this module, be used for net table simulation process, as reading in respectively the RTL code of modules A, module B and module C, more comprehensively produce the net table of this modules A, module B and module C;
3. each module is extracted separately the sdf file, be used for the independent net table emulation of module; Sdf file as difference abstraction module A, module B and module C.
In sum, the present invention combines the characteristics of two kinds of emulation, all chip modules are carried out independent realization and delayed data extraction, module to the needs checking replaces with the net table, other circuit still use RTL, can reduce like this net table quantity of each emulation, significantly improve simulation velocity, reach simultaneously the effect of checking actual chips operation circuit; Can directly revise based on the RTL simulated environment, it is convenient to revise, and workload is little; And can be responsible for debugging by many people sub-module when building net table environment, accelerate the speed of building.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.