Multi-person synergy is verified the method for complicated IP circuit and the construction method of verification platform
[technical field]
The present invention relates to a kind of IP technology, particularly relate to a kind of IP Circuit verification technology.
[background technology]
Develop rapidly along with microelectric technique; The integrated circuit scale rapidly improves according to Moore's Law (integrated transistor size doubled in per 18 months on the microchip); SOC(system on a chip) (System On Chip is called for short SOC) technology becomes the development trend of international VLSI (very large scale integrated circuits).In the SOC system design, for formation product that can be quick, stable, accumulation of IP (intellectual property) nuclear and multiplex technique become the first-selection of each chip manufacturer gradually.Under such background, IP circuit multiplexer technology becomes an important branch of IC design, much designs manufacturer in the IP kernel of other company of purchase, also more and more payes attention to the IP kernel design and the accumulation of our company.
In IP circuit accumulation, design and checking are most important two parts, and complicated day by day along with IP circuit design function and structure, and the workload of checking and difficulty are especially with the speed rising of geometric series.Checking is exactly through various emulation; Data relatively wait means to prove the process of the correctness of design; Owing to will in proof procedure, need the proof design in all condition of work scopes of definition, mistake can not occur; So the workload of checking is huger with respect to design, in the R&D process of the complicated IP circuit of part, time of checking even accounted for more than 80% of T.T..
Along with the rising of IP Circuit verification workload, the checking work of a complicated IP circuit also is difficult to accomplished by a checking slip-stick artist, and common way is the checking work that an IP circuit is accomplished in a plurality of checking slip-stick artist cooperation.In the checking work of multiple person cooperational, each checking slip-stick artist can be responsible for a part of submodule wherein;
The challenge of current complicated IP Circuit verification: because the circuit in the concrete structure of IP circuit has precedence relationship when work; So when checking; Usually can only serial verify, the submodule that is in output terminal all will be waited for usually after the submodule of prime verifies and just can verify.The process of the complicated IP Circuit verification of existing many people is generally: at first divide task, after each checking slip-stick artist's task division finished, the submodule that begins from the IP circuit input end began checking earlier; After the submodule checking of previous stage can guarantee that basic function is correct; The submodule of next stage could begin checking; The order of checking submodule is from being input to output; Each submodule all wants oneself to build an independently verification platform, and this verification platform comprises submodule at the corresponding levels all modules before and the outgoing inspection of this submodule; After each submodule checking basic verification is passed through; Use the verification platform of a new entire I P circuit; This platform comprises all submodules of entire I P circuit, from the input end adding excitation information of IP circuit, and then the correctness of the output terminal of IP circuit inspection output; In co-verification process; If problem; The submodule that needs each submodule all to get back to reuse in the individual authentication platform of oneself same case emulation to confirm that once which slip-stick artist is responsible for is out of joint, and the time course of this orientation problem ownership usually spends great amount of time.
[summary of the invention]
The technical matters that the present invention will solve is to provide a kind of multi-person synergy to verify the method for complicated IP circuit and the construction method of verification platform, and it can improve verification efficiency, reduces the proving time.
A kind of multi-person synergy of the present invention verifies that the method for complicated IP circuit is achieved in that
The present invention specifically comprises the steps:
Step 10, the data stream of using the simulation behavior model to produce; Carry out the individual authentication of each sub-module; Each submodule output terminal is provided with data collecting model and is used for gathering and record data stream, and whether judgment data stream is correct, if correctly then get into next step; After if mistake is then revised, continue individual authentication;
Step 20, use real data stream, carry out the co-verification of each sub-module, gather the overall operational data of IP circuit, judge whether overall operational data is correct, if mistake then gets into next step through the output data collection model; If correct, then finish checking;
Step 30, the stream of the data collecting model image data through above-mentioned each submodule output; Based on the position of traffic error find out the submodule that might make mistakes carry out individual authentication; If authentication error then revises, up to the submodule that might make mistakes all verify correctly;
Step 40, all submodules are added the co-verification platform again carry out co-verification, get back to step 20.
A kind of multi-person synergy of the present invention verifies that the construction method of the verification platform of complicated IP circuit is achieved in that
IP circuit according to the invention comprises a plurality of submodules; Said IP circuit comprises a plurality of submodules; The input end of said IP circuit is provided with excitation information and produces model, and the output terminal of said IP circuit is provided with the output data collection model, all is provided with a data collecting model between per two sub-module; Be provided with a simulation behavior model between per two sub-module; Also be connected with a path selector switch between per two sub-module, an input end and the output terminal of said path selector switch are used to be connected the raw data circulation flow path, and another input end connects the corresponding simulating behavior model; Data collecting model between said per two sub-module is connected in the output terminal of last submodule, is used to gather the data message of last submodule to back one submodule; Simulation behavior model between said per two sub-module is used to simulate the behavior of last submodule to back one submodule.
The present invention has following advantage:
1. the present invention uses the path selector switch to realize the switching of the data stream of True Data stream and simulation behavior model; The verification platform of submodule individual authentication and co-verification is united; Do not need the different verification platform of two covers, significantly reduced the time of repeatedly setting for this platform thus and reduced the risk that switching makes the mistake between the different platform;
2. the present invention has used the simulation behavior model; Need all not build new verification platform again to the checking of each IP circuit; Each checking slip-stick artist is to the checking work of the own submodule beginning that can walk abreast; The checking that need not wait for the previous stage submodule is passed through basically, has reduced total proving time greatly;
3. the present invention is when co-verification; The submodule output terminal of being responsible for each slip-stick artist is provided with data collecting model; And cooperate with reference to correct data, can be through the interface document of deriving in the simulation process rapid orientation problem position, omitted the flow process that each slip-stick artist oneself checks own module correctness earlier; Significantly reduce the work of repetition, reduced the proving time;
4. the present invention can make each checking slip-stick artist have oneself independently emulation platform environment at the checking initial stage; When needing co-verification, can carry out collaborative simulation to each module fast integration to identical platform, obtain the module output of the derived data that oneself needs flexibly to the checking later stage; Carry out case study; During the division task, the interface between enforceable each participant of clear definition has improved designing quality indirectly.
[description of drawings]
Combine embodiment that the present invention is further described with reference to the accompanying drawings.
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is the synoptic diagram of structure of the present invention.
Fig. 3 is the synoptic diagram of one embodiment of the invention individual authentication.
Fig. 4 is the synoptic diagram of one embodiment of the invention co-verification.
[embodiment]
See also Fig. 1 to shown in Figure 4, embodiments of the invention are carried out detailed explanation.
Like Fig. 1, a kind of method of the present invention, the data flow that comprises the steps: step 10, uses the simulation behavior model to produce; Carry out the individual authentication of each sub-module, each submodule output is provided with data collecting model and is used for gathering and record data stream, is used for comparing with correct result; Whether judgment data stream is correct; If correctly then get into next step,, continue individual authentication if after mistake has then been revised; Step 20, use real data flow; Carry out the co-verification of each sub-module; All submodules are formed whole IP circuit, and collaborative work situation that can emulation entire I P circuit each sub-module in practical application is gathered the overall operational data of IP circuit through the output data collecting model; Judge whether overall operational data is correct, if mistake then gets into next step; If correct, then finish checking; Step 30, the stream of the data collecting model image data through above-mentioned each submodule output; Based on the position of traffic error find out the submodule that might make mistakes carry out individual authentication; If authentication error then revises, up to the submodule that might make mistakes all verify correctly; Step 40, during the submodule correction problem of mistake; Other submodules use the simulation behavior model of this submodule to substitute this submodule; Carry out the individual authentication of oneself with this, all submodules are added the co-verification platform again carry out co-verification, get back to step 20.
Like Fig. 2; A kind of construction method of the present invention, said IP circuit comprises a plurality of submodules, like modules A, module B, module C; The input end of said IP circuit is provided with excitation information and produces model; The output terminal of said IP circuit is provided with the output data collection model, all is provided with a data collecting model between per two sub-module, is provided with a simulation behavior model between per two sub-module; Also be provided with a path selector switch between per two sub-module; One input end and the output terminal of said path selector switch are used to be connected the raw data circulation flow path, and another input end connects the corresponding simulating behavior model, and the data collecting model between said per two sub-module is used to gather the data message of last submodule to back one submodule.Data collecting model between said per two sub-module is used to gather the data message of last submodule to back one submodule, like A->B data collecting model, is responsible for the data of acquisition module A to the data stream of module B.Simulation behavior model between said per two sub-module is used to simulate the behavior of last submodule to back one submodule, like simulation A->B behavior model, is responsible for the behavior of analog module A to module B.Said path selector switch is realized the selection between the data stream that actual submodule or simulation behavior model produce through macro switch.Present embodiment; The excitation information that connects successively produces model, modules A, A->B path selector switch, module B, B->C path selector switch, module C, output data collection model; The output terminal of said modules A also connects A->B data collecting model, A->C data collecting model, and is connected to module C through one A->C path selector switch.Said module B output terminal connects B->C data collecting model.The input end of said A->B path selector switch connects simulation A->B behavior model, and the input end of said B->C path selector switch connects simulation B->C behavior model, and the input end of said A->C path selector switch connects simulation A->C behavior model.
Like Fig. 3,, make excitation information produce model, modules A, A->C data collecting model, A->B data collecting model composition individual authentication platform with the data stream that individual path selector switch selects the simulation behavior model to produce; Simulation A->B behavior model, module B, B->C data collecting model are formed the individual authentication platform; Simulation B->C behavior model, simulation A->C behavior model, module C, output data collection model are formed the individual authentication platform, can not interact between each module.
As shown in Figure 4, after above-mentioned each sub-module checking finished, the synergistic combinations checking of beginning subordinate phase in the co-verification stage, selected all to be adjusted into the data stream of using actual module output with the path of path selector switch; At this Qualify Phase, all submodules are formed whole IP circuit, collaborative work situation that can emulation entire I P circuit each sub-module in practical application; In when checking the data collecting model of the output terminal of all submodules is opened; Finish the back data collecting model in emulation like this and can export the traffic logging on this interface, should write down and compare the interface that finds all to make mistakes with reference to correct result; The orientation problem position, it is necessarily wrong to occur wrong submodule the earliest; During the submodule correction problem of mistake; Other submodules can use the simulation behavior model of this submodule to substitute this submodule; Carry out the individual authentication of oneself with this; After the problem correction of the submodule of mistake, add the co-verification platform again and carry out co-verification, carry out the co-verification of a new round.
The above is merely preferred embodiment of the present invention, so can not limit the scope that the present invention implements according to this, the equivalence of promptly doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that the present invention contains.