CN107463473A - Chip software and hardware simulated environment based on UVM and FPGA - Google Patents

Chip software and hardware simulated environment based on UVM and FPGA Download PDF

Info

Publication number
CN107463473A
CN107463473A CN201710783768.4A CN201710783768A CN107463473A CN 107463473 A CN107463473 A CN 107463473A CN 201710783768 A CN201710783768 A CN 201710783768A CN 107463473 A CN107463473 A CN 107463473A
Authority
CN
China
Prior art keywords
module
fpga
uvm
dut
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710783768.4A
Other languages
Chinese (zh)
Other versions
CN107463473B (en
Inventor
洪灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Core Semiconductor Co Ltd
Original Assignee
Zhuhai Core Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Core Semiconductor Co Ltd filed Critical Zhuhai Core Semiconductor Co Ltd
Priority to CN201710783768.4A priority Critical patent/CN107463473B/en
Publication of CN107463473A publication Critical patent/CN107463473A/en
Application granted granted Critical
Publication of CN107463473B publication Critical patent/CN107463473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a kind of chip software and hardware simulated environment based on UVM and FPGA.The simulated environment includes FPGA verification platforms, UVM verification platforms and IP master patterns.IP master patterns are connected with FPGA verification platforms, and driving FPGA carries out simulating, verifying, and is sent to UVM verification platforms using the result of FPGA checkings as site environment configuration.UVM verification platforms are connected with IP master patterns, and the result for calling the algorithm in IP master patterns to verify FPGA carries out UVM simulating, verifyings.The present invention connects FPGA verification platforms and UVM verification platforms by IP master patterns, has made a software and hardware simulating, verifying environment that can carry out FPGA checkings and UVM checkings simultaneously.Chip application layer is absorbed in FPGA checkings, completes the checking that chip code is directed to a large amount of arbitrary excitation scenes;Chip bottom is absorbed in UVM checkings, and the result that FPGA is verified further is verified by directly invoking the algorithm in IP master patterns;Two kinds of checkings cooperate, and accelerate the cycle of chip checking, improve the quality of chip checking.

Description

Chip software and hardware simulated environment based on UVM and FPGA
Technical field
The present invention relates to chip emulation to verify field, more particularly to a kind of chip software and hardware emulation based on UVM and FPGA Environment.
Background technology
In recent years, as the appearance of extensive SOC and multi core design, special integrated chip (ASIC) design more and more multiple Miscellaneous, the function complexity of chip greatly increases so that the checking of chip requires more and more higher.How chip is completed in a short time Functional verification, ensure that logic function is correct, higher requirement is proposed to the completeness of verification environment, automation and reusability.
FPGA checkings write test case using hardware description language to design to be measured, and synthesis goes out netlist simultaneously after simple simulation Download on Target Board and debugged, judge whether designed function is correct by observing output waveform.Traditional FPGA Checking constructs test case, workload is big, always someone will to slip, difficult one by one using orientation test for all function points To accomplish all standing, relatively it is adapted to the chip checking large-scale, complexity is low.Although in view of the above-mentioned problems, FPGA accidental validations Appearance chip code can be allowed to travel through more scenes.But FPGA accidental validations are verified primarily directed to application layer, The content of chip bottom can not be captured, it is impossible to some information of chip internal are obtained, if code coverage, scene composition feelings Condition, performance statistics etc.), the problem of can not existing to chip, positions.
Verified compared to FPGA, UVM checkings have OOP, constraint arbitrary excitation, the inspection of Power coverage rate, asserted Deng attribute, it is easier to carry out positioning problems.Verification environment and verification methodology based on UVM can create it is solid, reusable, Automation, easy care, the testing process component for having interoperability, have obtained industry and have generally approved and use.But due to emulation Limited speed, UVM checkings can not travel through too many scene, be adapted to small-sized, complicated chip checking.
The content of the invention
The purpose of the present invention aims to provide a kind of chip software and hardware simulated environment based on UVM and FPGA, accelerates chip and tests The cycle of card, the efficiency and quality for improving chip checking.
In order to realize the purpose of the present invention, this invention takes following technical scheme:
A kind of chip software and hardware simulated environment based on UVM and FPGA, including FPGA verification platforms, UVM verification platforms;Its It is characterised by:The simulated environment also includes IP master patterns;The IP master patterns are connected with FPGA verification platforms, driving FPGA carries out simulating, verifying, and is sent to UVM verification platforms using the result of FPGA checkings as site environment configuration;The UVM Verification platform is connected with IP master patterns, and the result for calling the algorithm in IP master patterns to verify FPGA carries out UVM emulation and tested Card.
Further, the IP master patterns include control module, print module, algorithm model, excitation generator, first Bus driver;The control module is bi-directionally connected with algorithm model, the first bus driver respectively, and is produced with print module, excitation Raw device, UVM verification platforms unidirectionally connect;The print module is connected with algorithm model;It is described excitation generator respectively with algorithm Model, the connection of the first bus driver;First bus driver is bi-directionally connected with FPGA verification platforms;
The control module control excitation generator produces pumping signal, and control algolithm model is generated according to chip to be measured and calculated Pumping signal is sent to FPGA verification platforms by method, the first bus driver of control, and control print module is set in algorithm model Error print point, that is, print breakpoint;The print module by algorithm model set printing breakpoint, problem of implementation it is quick Positioning;Pumping signal is transmitted directly to algorithm model and emulated by the excitation generator, and simulation result is sent into control Molding block;Pumping signal is sent to FPGA verification platforms by the first bus driver and emulated by the excitation generator, and Simulation result is sent to control module by the first bus driver;
The simulation result that the control module exports FPGA verification platforms and the simulation result of algorithm model output are carried out Compare, and the result that comparative result is FPGA checkings is sent to UVM verification platforms as site environment configuration.
Further, the FPGA verification platforms include fpga chip and the second bus driver;Second bus is driven It is dynamic to be bi-directionally connected respectively with the first bus driver, fpga chip;Second bus driver is received by the first bus driver to swash The pumping signal of generator output is encouraged, and pumping signal is sent to fpga chip;The fpga chip is according to the excitation of input Signal is emulated, and simulation result is sent into the first bus driver by the second driving bus, and then is sent to control mould Block.
Further, the FPGA verification platforms also include hardware external equipment;The hardware external equipment and FPGA cores Piece is bi-directionally connected, and receives FPGA driving, and result is fed back into fpga chip.
Further, the UVM verification platforms include test case module, test case configuration module, data configuration module, Reference model, scoring board, DUT (design under testbench, design to be measured) modules (as follows) and the first monitoring Device;The test case module is connected with control module, test case configuration module;The test case configuration module respectively with Reference model, DUT module connection;The data configuration module is connected with reference model, DUT module respectively;The reference model It is connected with algorithm model, scoring board;The DUT module is sequentially connected with the first monitor, scoring board;
The result of the FPGA checkings of the test case module receive and control module output simultaneously produces random test use-case hair Give test case configuration module;The random test use-case of the test case configuration module storage test case module output is simultaneously Random test use-case is respectively configured to reference model and DUT module;The data configuration module produce random data and by this A little random data are respectively configured to reference model and DUT module;
The algorithm that the reference model is directly invoked in algorithm model is imitated the random data under random test use-case Very, and by simulation result it is sent to scoring board;The random data that the DUT module is directed under random test use-case is emulated, And simulation result is sent to the first monitor;First monitor says that the simulation result of DUT module output is sent to score Plate;The simulation result that the DUT module that the scoring board gathers the first monitor exports and the simulation result of reference model output It is compared, and is printed comparative result as the UVM results verified.
Further, the data configuration module includes random data generator, the second driver and the 3rd monitor; The random data generator is sequentially connected with the second driver, DUT module;The random data generator produces random number According to random data is sent into DUT module by the second driver and drives DUT module to be emulated;The random data production Raw device is sequentially connected with the second driver, the 3rd monitor, reference model;3rd monitor is received by the second driver The random data of random data generator output, and random data is sent to reference model under the driving of the second driver and entered Row emulation.
Further, the test case module includes arbitrary excitation and random sequence generator;The arbitrary excitation with Control module, random sequence generator connection, the result of the FPGA checkings of receive and control module output simultaneously produce arbitrary excitation field Scape is sent to random sequence generator;The random sequence generator is concurrent according to arbitrary excitation scene generation random test use-case Give test case configuration module.
Further, the test case configuration module includes random sequence scheduler, the first driver, the second monitoring Device;The random sequence scheduler is connected with random sequence generator, is received and is stored the random of random sequence generator output Test case;The random sequence scheduler is sequentially connected with the first driver, DUT module, will be random by the first driver Test case is sent to DUT module and drives DUT module to be emulated;The random sequence scheduler and the first driver, Two monitors and reference model are sequentially connected;Second monitor is defeated by the first driver reception random sequence scheduler The random test use-case gone out, and random test use-case is sent to reference model under the driving of the first driver and emulated.
Further, the test case configuration module also includes coverage rate statistical module;The coverage rate statistical module It is connected with the first driver, the random test use-case of random sequence scheduler output is received by the first driver, is surveyed to random The coverage rate of example on probation is counted.
Further, the DUT module includes DUT and virtual interface;The virtual interface and the first driver, DUT connect Connect, receive the random test use-case of the first driver output and be sent to DUT;The virtual interface and the second driver, DUT connect Connect, receive the random data of the second driver output and be sent to DUT;The DUT connects successively with virtual interface, the first monitor Connect, emulated for the random data under random test use-case and simulation result is sent to the first monitoring by virtual interface Device, and then it is sent to scoring board.
Further, the UVM verification platforms also include top-level module;The top-level module includes emulation script, control Platform, assert, memory;The console is sequentially connected with emulation script, DUT, loading emulation scripted code, by the various of encapsulation Configuration parameter is output to whole UVM verification platforms;The console is connected with memory, and the order for receiving emulation script is completed to deposit The initialization of reservoir;The memory is bi-directionally connected with DUT, and data interaction is carried out with DUT;It is described to assert and console and virtual Interface is connected, and the order of emulation script is received by console, monitors virtual interface in real time.
Further, the top-level module also includes performance test module, Debug test modules;The console and property Energy test module, the connection of Debug test modules, performance test is carried out to whole UVM verification platforms and Debug is tested;The property Energy test module is for judging whether the performance of system meets expection;The Debug test modules, that is, eliminate fault test mould Block, whether completed for the elimination of detecting system failure.
Further, the UVM verification platforms also include self-defined library file;The self-defined library file respectively with reference Model, scoring board and the connection of test case configuration module, all global variables, event, the print control of encapsulation are sent to Reference model, scoring board and test case configuration module.
Beneficial effect of the present invention:
From above technical scheme, the present invention connects FPGA verification platforms and UVM verification platforms by IP master patterns, A software and hardware simulating, verifying environment that can carry out FPGA checkings and UVM checkings is simultaneously made.Wherein, FPGA checkings are absorbed in Chip application layer, complete the checking that chip code is directed to a large amount of arbitrary excitation scenes;IP master patterns drive FPGA verification platforms Simulating, verifying is carried out, and UVM verification platforms are sent to using the result of FPGA checkings as site environment configuration;UVM checkings are absorbed in In chip bottom, the result that FPGA is verified further is verified by directly invoking the algorithm in IP master patterns;Two kinds Checking cooperates, and accelerates the cycle of chip checking, improves the quality of chip checking.Meanwhile the present invention in IP by marking Error print point is set using print module in quasi-mode type, it is possible to achieve the fast positioning of problem;The present invention in UVM by verifying The collection of coverage rate can be realized in platform using coverage rate statistical module.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, simple Jie is done to the required accompanying drawing used in embodiment below Continue.Drawings in the following description are only the embodiment in the present invention, for one of ordinary skill in the art, are not being paid On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the general structure block diagram of the present invention;
Embodiment
Below in conjunction with the accompanying drawings, the present invention will be described in detail.
In order that the purpose of the present invention, technical scheme, advantage are more clearly understood, below in conjunction with drawings and Examples to this Invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, not For limiting the present invention.
As shown in figure 1, a kind of chip software and hardware simulated environment based on UVM and FPGA, including FPGA verification platforms, UVM Verification platform, IP master patterns.IP master patterns are connected with FPGA verification platforms, and driving FPGA carries out simulating, verifying, and will The result of FPGA checkings is sent to UVM verification platforms as site environment configuration.UVM verification platforms are connected with IP master patterns, The algorithm in IP master patterns is called to carry out simulating, verifying.Due to algorithm model from FPGA checking and UVM checking in solely It is vertical to come out, now only need to modify to the algorithm in algorithm model, you can complete to different DUT (design under Testbench, design to be measured) (as follows) simulating, verifying.If mistake occur in FPGA checkings, UVM verification platforms can utilize Wrong scene list in site environment configuration, problem emulation positioning is carried out, then carry out batch recurrence, it is ensured that the solution of problem.
As shown in figure 1, IP master patterns include control module, print module, algorithm model, excitation generator, first total Line drives.Control module is bi-directionally connected with algorithm model, the first bus driver respectively, and with print module, excitation generator, UVM verification platforms unidirectionally connect.Print module is connected excitation generator with algorithm model and driven respectively with algorithm model, the first bus Dynamic connection.First bus driver is bi-directionally connected with FPGA verification platforms.
Control module control excitation generator produces pumping signal, control algolithm model according to chip generating algorithm to be measured, Control the first bus driver that pumping signal is sent into FPGA verification platforms, control print module sets mistake in algorithm model Print point, that is, print breakpoint.IP master patterns set in algorithm model printing breakpoint by print module, problem of implementation it is fast Speed positioning.Pumping signal is transmitted directly to algorithm model and emulated by excitation generator, and simulation result is sent into control Module.Meanwhile encourage generator that pumping signal is sent into FPGA verification platforms by the first bus driver and emulated, and will Simulation result is sent to control module by the first bus driver.Simulation result that control module exports FPGA verification platforms with The simulation result of algorithm model output is compared, and the result that comparative result is FPGA checkings is configured as site environment and sent out Give UVM verification platforms.
In the present embodiment, then algorithm model is controlling first by C model or MATLAB model construction master patterns In the presence of module, master pattern is rewritten according to the implementation of actual chips, obtains accurate algorithm.
In the present embodiment, the FPGA results verified are allocated to UVM verification platforms by control module by way of printing.
As shown in figure 1, FPGA verification platforms include fpga chip, the second bus driver and hardware external equipment.Second Bus driver is bi-directionally connected with the first bus driver, fpga chip respectively, and it is defeated to receive actuation generator by the first bus driver The pumping signal gone out, and pumping signal is sent to fpga chip;Fpga chip is emulated according to the pumping signal of input, and Simulation result is sent to the first bus driver by the second driving bus, and then is sent to control module.Hardware external equipment It is bi-directionally connected with fpga chip, receives FPGA driving, and result is fed back into fpga chip.
As shown in figure 1, UVM verification platforms include test case module, test case configuration module, data configuration module, Reference model, scoring board, DUT module, the first monitor, top-level module and self-defined library file.Test case module and control Molding block, the connection of test case configuration module.Test case configuration module is connected with reference model, DUT module respectively.Data are matched somebody with somebody Module is put to be connected with reference model, DUT module respectively.Reference model is connected with algorithm model, scoring board.DUT module and first Monitor, scoring board are sequentially connected.Top-level module is connected with DUT module.Self-defined library file respectively with reference model, scoring board And test case configuration module connection.
The result of the FPGA checkings of test case module receive and control module output simultaneously produces random test use-case and is sent to Test case configuration module.The random test use-case of test case configuration module storage test case module output will simultaneously be surveyed at random Example on probation is respectively configured to reference model and DUT module.Data configuration module produces random data and divides these random data Reference model and DUT module are not allocated to it.
The algorithm that reference model is directly invoked in algorithm model emulates to the random data under random test use-case, and Simulation result is sent to scoring board.The random data that DUT module is directed under random test use-case is emulated, and emulation is tied Fruit is sent to the first monitor.First monitor says that the simulation result of DUT module output is sent to scoring board.Scoring board is by first The simulation result of the DUT module output of monitor collection will compare knot compared with the simulation result that reference model exports Fruit is printed as the UVM results verified.Scoring board can confirm that whether emulation is correct first according to the result of printing, then Error print point in reference model can problem of implementation positioning.
Self-defined library file by all global variables, event, the print control of encapsulation be sent to reference model, scoring board and Test case configuration module.Now UVM verification platforms can directly invoke the code in self-defined library file, and it is unnecessary to reduce Size of code, and directly modifications and extensions self-defined library files can be changed with the bottom completed to whole UVM verification platforms.
As shown in figure 1, test case module includes arbitrary excitation and random sequence generator.Arbitrary excitation and control mould Block, random sequence generator connection, the result of the FPGA checkings of receive and control module output simultaneously produce the transmission of arbitrary excitation scene To random sequence generator.Random sequence generator produces random test use-case according to arbitrary excitation scene and is sent to test and uses Example configuration module.
As shown in figure 1, test case configuration module includes random sequence scheduler, the first driver, the second monitor, covered Lid rate statistical module.Random sequence scheduler is connected with random sequence generator, is received and is stored random sequence generator output Random test use-case.Random sequence scheduler is sequentially connected with the first driver, DUT module, will be with by the first driver Machine test case is sent to DUT module and drives DUT module to be emulated.Random sequence scheduler and the first driver, second Monitor and reference model are sequentially connected.Second monitor by the first driver receive that random sequence scheduler exports with Machine test case, and random test use-case is sent to reference model under the driving of the first driver and emulated.Coverage rate Statistical module is connected with the first driver, and the random test use-case of random sequence scheduler output is received by the first driver, The coverage rate of test case is counted.
As shown in figure 1, data configuration module includes random data generator, the second driver and the 3rd monitor.With Machine data producer is sequentially connected with the second driver, DUT module.Random data generator produces random data, passes through second Random data is sent to DUT module and drives DUT module to be emulated by driver.Random data generator and the second driving Device, the 3rd monitor, reference model are sequentially connected.3rd monitor receives random data generator by the second driver and exported Random data, and random data is sent to reference model under the driving of the second driver and emulated.
As shown in figure 1, DUT module includes DUT and virtual interface.Virtual interface is connected with the first driver, DUT, is received The random test use-case of first driver output is simultaneously sent to DUT.Virtual interface is connected with the second driver, DUT, receives second The random data of driver output is simultaneously sent to DUT.DUT is sequentially connected with virtual interface, the first monitor, for random test Random data under use-case is emulated and simulation result is sent into the first monitor by virtual interface, and then is sent to meter Scoreboard.
As shown in figure 1, top-level module includes emulation script, console, asserted, memory, performance test module, Debug Test module.Console is sequentially connected with emulation script, DUT, loading emulation scripted code, and the various configuration parameters of encapsulation are defeated Go out to whole UVM verification platforms.Console is connected with memory, and the initialization of memory is completed in the order for receiving emulation script. Memory is bi-directionally connected with DUT, and data interaction is carried out with DUT.Assert and be connected with console and virtual interface, connect by console The order of emulation script is received, monitoring virtual interface in real time simultaneously can fast positioning interface problem.Console and performance test module, Debug test modules are connected, and performance test is carried out to whole UVM verification platforms and Debug is tested.Performance test module be for Judge whether the performance of system meets expection.Debug test modules, that is, fault test module is eliminated, be for detecting system event Whether the elimination of barrier is completed.
Described above is only the preferred embodiments of the present invention, and protection scope of the present invention is not limited merely to above-mentioned implementation Example, all technical schemes belonged under thinking of the present invention belong to protection scope of the present invention.It should be pointed out that for the art Those of ordinary skill for, some improvements and modifications without departing from the principles of the present invention, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (13)

1. a kind of chip software and hardware simulated environment based on UVM and FPGA, including FPGA verification platforms, UVM verification platforms;It is special Sign is:The simulated environment also includes IP master patterns;The IP master patterns are connected with FPGA verification platforms, drive FPGA Simulating, verifying is carried out, and UVM verification platforms are sent to using the result of FPGA checkings as site environment configuration;The UVM checkings Platform is connected with IP master patterns, and the result for calling the algorithm in IP master patterns to verify FPGA carries out UVM simulating, verifyings.
A kind of 2. chip software and hardware simulated environment based on UVM and FPGA according to claim 1, it is characterised in that:
The IP master patterns include control module, print module, algorithm model, excitation generator, the first bus driver;It is described Control module is bi-directionally connected with algorithm model, the first bus driver respectively, and flat with print module, excitation generator, UVM checkings Platform unidirectionally connects;The print module is connected with algorithm model;The excitation generator drives with algorithm model, the first bus respectively Dynamic connection;First bus driver is bi-directionally connected with FPGA verification platforms;
Control module control excitation generator produces pumping signal, control algolithm model according to chip generating algorithm to be measured, Control the first bus driver that pumping signal is sent into FPGA verification platforms, control print module sets mistake in algorithm model Print point, that is, print breakpoint;The print module by setting printing breakpoint in algorithm model, determine by the quick of problem of implementation Position;Pumping signal is transmitted directly to algorithm model and emulated by the excitation generator, and simulation result is sent into control Module;Pumping signal is sent to FPGA verification platforms by the first bus driver and emulated by the excitation generator, and will Simulation result is sent to control module by the first bus driver;
The control module by the simulation result that FPGA verification platforms export compared with the simulation result that algorithm model exports, And the result that comparative result is FPGA checkings is sent to UVM verification platforms as site environment configuration.
A kind of 3. chip software and hardware simulated environment based on UVM and FPGA according to claim 2, it is characterised in that:Institute Stating FPGA verification platforms includes fpga chip and the second bus driver;Second bus driver is driven with the first bus respectively Dynamic, fpga chip is bi-directionally connected;Second bus driver receives the excitation of excitation generator output by the first bus driver Signal, and pumping signal is sent to fpga chip;The fpga chip is emulated according to the pumping signal of input, and will be imitative True result is sent to the first bus driver by the second driving bus, and then is sent to control module.
A kind of 4. chip software and hardware simulated environment based on UVM and FPGA according to claim 3, it is characterised in that:Institute Stating FPGA verification platforms also includes hardware external equipment;The hardware external equipment is bi-directionally connected with fpga chip, receives FPGA Driving, and result is fed back into fpga chip.
A kind of 5. chip software and hardware simulated environment based on UVM and FPGA according to claim 2, it is characterised in that:
The UVM verification platforms include test case module, test case configuration module, data configuration module, reference model, meter Scoreboard, DUT module and the first monitor;The test case module is connected with control module, test case configuration module;Institute Test case configuration module is stated to be connected with reference model, DUT module respectively;The data configuration module respectively with reference model, DUT module connects;The reference model is connected with algorithm model, scoring board;The DUT module and the first monitor, scoring board It is sequentially connected;
The result of the FPGA checkings of test case module receive and control module output simultaneously produces random test use-case and is sent to Test case configuration module;The random test use-case of test case configuration module storage test case module output simultaneously will be with Machine test case is respectively configured to reference model and DUT module;The data configuration module produce random data and by these with Machine data are respectively configured to reference model and DUT module;
The algorithm that the reference model is directly invoked in algorithm model emulates to the random data under random test use-case, and Simulation result is sent to scoring board;The random data that the DUT module is directed under random test use-case is emulated, and will be imitative True result is sent to the first monitor;The simulation result that DUT module exports is sent to scoring board by first monitor;It is described Scoring board is compared the simulation result that the simulation result that the DUT module that the first monitor gathers exports exports with reference model Compared with, and printed comparative result as the UVM results verified.
A kind of 6. chip software and hardware simulated environment based on UVM and FPGA according to claim 5, it is characterised in that:Institute Stating data configuration module includes random data generator, the second driver and the 3rd monitor;The random data generator It is sequentially connected with the second driver, DUT module;The random data generator produces random data, will by the second driver Random data is sent to DUT module and drives DUT module to be emulated;The random data generator and the second driver, Three monitors, reference model are sequentially connected;3rd monitor receives random data generator by the second driver and exported Random data, and random data is sent to reference model under the driving of the second driver and emulated.
A kind of 7. chip software and hardware simulated environment based on UVM and FPGA according to claim 6, it is characterised in that:Institute Stating test case module includes arbitrary excitation and random sequence generator;The arbitrary excitation produces with control module, random sequence Raw device connection, the result of the FPGA checkings of receive and control module output simultaneously produce arbitrary excitation scene and are sent to random sequence generation Device;The random sequence generator produces random test use-case according to arbitrary excitation scene and is sent to test case configuration mould Block.
A kind of 8. chip software and hardware simulated environment based on UVM and FPGA according to claim 7, it is characterised in that:Institute Stating test case configuration module includes random sequence scheduler, the first driver, the second monitor;The random sequence scheduler It is connected with random sequence generator, receives and store the random test use-case of random sequence generator output;The random sequence Scheduler is sequentially connected with the first driver, DUT module, and random test use-case is sent into DUT module by the first driver And DUT module is driven to be emulated;The random sequence scheduler and the first driver, the second monitor and reference model according to Secondary connection;The random test use-case that second monitor is exported by the first driver reception random sequence scheduler, and Random test use-case is sent into reference model under the driving of first driver to be emulated.
A kind of 9. chip software and hardware simulated environment based on UVM and FPGA according to claim 8, it is characterised in that:Institute Stating test case configuration module also includes coverage rate statistical module;The coverage rate statistical module is connected with the first driver, is led to The random test use-case that the first driver receives the output of random sequence scheduler is crossed, the coverage rate of random test use-case is united Meter.
10. a kind of chip software and hardware simulated environment based on UVM and FPGA according to claim 7 or 8, its feature exist In:The DUT module includes DUT and virtual interface;The virtual interface is connected with the first driver, DUT, receives the first driving The random test use-case of device output is simultaneously sent to DUT;The virtual interface is connected with the second driver, DUT, receives the second driving The random data of device output is simultaneously sent to DUT;The DUT is sequentially connected with virtual interface, the first monitor, for random test Random data under use-case is emulated and simulation result is sent into the first monitor by virtual interface, and then is sent to meter Scoreboard.
A kind of 11. chip software and hardware simulated environment based on UVM and FPGA according to claim 10, it is characterised in that: The UVM verification platforms also include top-level module;The top-level module includes emulation script, console, asserted, memory;Institute State console to be sequentially connected with emulation script, DUT, loading emulation scripted code, the various configuration parameters of encapsulation are output to whole Individual UVM verification platforms;The console is connected with memory, and the initialization of memory is completed in the order for receiving emulation script;Institute State memory to be bi-directionally connected with DUT, data interaction is carried out with DUT;Described assert is connected with console and virtual interface, passes through control Platform processed receives the order of emulation script, monitors virtual interface in real time.
A kind of 12. chip software and hardware simulated environment based on UVM and FPGA according to claim 11, it is characterised in that: The top-level module also includes performance test module, Debug test modules;The console is surveyed with performance test module, Debug Die trial block is connected, and performance test is carried out to whole UVM verification platforms and Debug is tested;The performance test module is for sentencing Whether the performance of disconnected system meets expection;The Debug test modules, that is, fault test module is eliminated, is for detecting system Whether the elimination of failure is completed.
A kind of 13. chip software and hardware simulated environment based on UVM and FPGA according to claim 10, it is characterised in that: The UVM verification platforms also include self-defined library file;The self-defined library file respectively with reference model, scoring board and survey Example configuration module connection on probation, by all global variables, event, the print control of encapsulation be sent to reference model, scoring board and Test case configuration module.
CN201710783768.4A 2017-09-01 2017-09-01 Chip software and hardware simulation environment based on UVM and FPGA Active CN107463473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710783768.4A CN107463473B (en) 2017-09-01 2017-09-01 Chip software and hardware simulation environment based on UVM and FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710783768.4A CN107463473B (en) 2017-09-01 2017-09-01 Chip software and hardware simulation environment based on UVM and FPGA

Publications (2)

Publication Number Publication Date
CN107463473A true CN107463473A (en) 2017-12-12
CN107463473B CN107463473B (en) 2023-06-27

Family

ID=60551839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710783768.4A Active CN107463473B (en) 2017-09-01 2017-09-01 Chip software and hardware simulation environment based on UVM and FPGA

Country Status (1)

Country Link
CN (1) CN107463473B (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984945A (en) * 2018-08-03 2018-12-11 北京智芯微电子科技有限公司 The simulation and verification platform of design is verified based on multi-core associative simulation
CN108984991A (en) * 2018-09-20 2018-12-11 西安微电子技术研究所 A kind of reusable emulation verification method for low power dissipation design
CN109101355A (en) * 2018-06-26 2018-12-28 天津飞腾信息技术有限公司 A kind of processor debugging method for extracting wrong presence feature test and excitation
CN109472061A (en) * 2018-10-17 2019-03-15 北京广利核系统工程有限公司 A kind of reusable simulation and verification platform and emulation verification method
CN109726061A (en) * 2019-01-07 2019-05-07 上海琪埔维半导体有限公司 A kind of verification method of SoC chip
CN109740250A (en) * 2018-12-29 2019-05-10 湖北航天技术研究院总体设计所 The acquisition methods and system of FPGA software verification result simulation waveform based on UVM
CN109739705A (en) * 2018-12-29 2019-05-10 西安智多晶微电子有限公司 A kind of real-time debugging system of FPGA on piece and method
CN110377475A (en) * 2019-07-03 2019-10-25 福州数据技术研究院有限公司 A kind of large scale memory read-write verification platform and its method based on UVM
CN110598309A (en) * 2019-09-09 2019-12-20 电子科技大学 Hardware design verification system and method based on reinforcement learning
CN110991129A (en) * 2019-12-18 2020-04-10 山东华翼微电子技术股份有限公司 Full-automatic simulation verification method of password coprocessor based on FPGA
CN111143144A (en) * 2019-12-26 2020-05-12 山东方寸微电子科技有限公司 Chip verification method and verification platform with error injection and portability
CN111460759A (en) * 2020-03-19 2020-07-28 华南理工大学 Python language-based EDA (electronic design automation) verification platform and use method thereof
CN111523284A (en) * 2020-03-30 2020-08-11 眸芯科技(上海)有限公司 Method and device for converting EDA (electronic design automation) simulation configuration of chip and application
CN111950212A (en) * 2020-08-13 2020-11-17 湖南进芯电子科技有限公司 Efficient multi-mode verification platform and method
CN112084802A (en) * 2020-08-12 2020-12-15 广州芯世物科技有限公司 RFID tag chip verification system
CN112306882A (en) * 2020-11-06 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 Chip algorithm module verification method and system based on C algorithm model
CN112416686A (en) * 2020-12-02 2021-02-26 海光信息技术股份有限公司 Chip verification method, chip verification device and storage medium
CN112433900A (en) * 2020-12-03 2021-03-02 海光信息技术股份有限公司 Method, system, device and storage medium for chip verification
CN112559264A (en) * 2020-12-08 2021-03-26 北京京航计算通讯研究所 Simulation test method for realizing FPGA (field programmable Gate array) universal serial port by verification platform based on UVM (Universal verification Module)
CN112560393A (en) * 2020-12-17 2021-03-26 中科芯云微电子科技有限公司 Comparison verification method and device of EDA software tool
CN113032195A (en) * 2021-03-24 2021-06-25 上海西井信息科技有限公司 Chip simulation verification method, system, equipment and storage medium
CN113157269A (en) * 2021-06-10 2021-07-23 上海齐感电子信息科技有限公司 Verification system and verification method thereof
CN113297073A (en) * 2021-05-20 2021-08-24 山东云海国创云计算装备产业创新中心有限公司 Verification method, device and equipment of algorithm module in chip and readable storage medium
CN113407393A (en) * 2021-05-25 2021-09-17 鹏城实验室 Chip verification method, terminal device, verification platform and storage medium
CN113705140A (en) * 2021-07-19 2021-11-26 深圳市紫光同创电子有限公司 Chip verification method, system, device and storage medium
CN114896931A (en) * 2022-05-12 2022-08-12 北京联盛德微电子有限责任公司 Bluetooth transceiving path verification method and system based on handshake mechanism
CN115345102A (en) * 2022-08-31 2022-11-15 沐曦科技(北京)有限公司 Universal chip verification device for hardware acceleration
CN116827522A (en) * 2023-08-25 2023-09-29 珠海星云智联科技有限公司 UVM-based AES-GCM function verification method and related equipment
CN117436391A (en) * 2023-12-21 2024-01-23 四川思凌科微电子有限公司 Method for joint simulation of algorithm and hardware
CN117749640A (en) * 2024-02-20 2024-03-22 井芯微电子技术(天津)有限公司 Ethernet exchange chip UVM and FPGA prototype verification method and upper computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455672A (en) * 2013-08-29 2013-12-18 上海北大方正科技电脑系统有限公司 Automatic regression method of FPGA (Field Programmable Gate Array) simulation test cases
CN104065536A (en) * 2014-07-02 2014-09-24 浪潮集团有限公司 Ethernet switch FPGA verification method based on UVM verification method
CN105718344A (en) * 2016-01-19 2016-06-29 中国电子科技集团公司第三十八研究所 Verification method of FPGA universal configurable UART protocol based on UVM
CN106021044A (en) * 2016-05-10 2016-10-12 中国电子科技集团公司第三十八研究所 Reusable SPI (Serial Peripheral Interface) bus protocol module verification environment platform and verification method thereof
WO2017020590A1 (en) * 2015-08-05 2017-02-09 深圳市中兴微电子技术有限公司 Chip validation method and device, equipment, and data storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455672A (en) * 2013-08-29 2013-12-18 上海北大方正科技电脑系统有限公司 Automatic regression method of FPGA (Field Programmable Gate Array) simulation test cases
CN104065536A (en) * 2014-07-02 2014-09-24 浪潮集团有限公司 Ethernet switch FPGA verification method based on UVM verification method
WO2017020590A1 (en) * 2015-08-05 2017-02-09 深圳市中兴微电子技术有限公司 Chip validation method and device, equipment, and data storage medium
CN105718344A (en) * 2016-01-19 2016-06-29 中国电子科技集团公司第三十八研究所 Verification method of FPGA universal configurable UART protocol based on UVM
CN106021044A (en) * 2016-05-10 2016-10-12 中国电子科技集团公司第三十八研究所 Reusable SPI (Serial Peripheral Interface) bus protocol module verification environment platform and verification method thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"基于UVM的软硬件协同验证平台设计" *
吕欣欣;刘淑芬;: "FPGA通用验证平台建立方法研究", 微电子学与计算机, no. 05 *
夏欢: "基于APB的UART IP核设计与UVM验证", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
夏欢: "基于APB的UART IP核设计与UVM验证", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 3, 15 March 2016 (2016-03-15) *

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101355A (en) * 2018-06-26 2018-12-28 天津飞腾信息技术有限公司 A kind of processor debugging method for extracting wrong presence feature test and excitation
CN108984945A (en) * 2018-08-03 2018-12-11 北京智芯微电子科技有限公司 The simulation and verification platform of design is verified based on multi-core associative simulation
CN108984991A (en) * 2018-09-20 2018-12-11 西安微电子技术研究所 A kind of reusable emulation verification method for low power dissipation design
CN108984991B (en) * 2018-09-20 2022-09-13 西安微电子技术研究所 Reusable simulation verification method for low-power-consumption design
CN109472061A (en) * 2018-10-17 2019-03-15 北京广利核系统工程有限公司 A kind of reusable simulation and verification platform and emulation verification method
CN109472061B (en) * 2018-10-17 2022-10-14 北京广利核系统工程有限公司 Reusable simulation verification platform and simulation verification method
CN109739705A (en) * 2018-12-29 2019-05-10 西安智多晶微电子有限公司 A kind of real-time debugging system of FPGA on piece and method
CN109740250B (en) * 2018-12-29 2022-03-18 湖北航天技术研究院总体设计所 Method and system for acquiring simulation waveform of FPGA software verification result based on UVM
CN109740250A (en) * 2018-12-29 2019-05-10 湖北航天技术研究院总体设计所 The acquisition methods and system of FPGA software verification result simulation waveform based on UVM
CN109726061B (en) * 2019-01-07 2022-07-05 上海琪埔维半导体有限公司 SoC chip verification method
CN109726061A (en) * 2019-01-07 2019-05-07 上海琪埔维半导体有限公司 A kind of verification method of SoC chip
CN110377475A (en) * 2019-07-03 2019-10-25 福州数据技术研究院有限公司 A kind of large scale memory read-write verification platform and its method based on UVM
CN110377475B (en) * 2019-07-03 2022-05-17 福州数据技术研究院有限公司 Large-scale memory read-write verification platform based on UVM and method thereof
CN110598309A (en) * 2019-09-09 2019-12-20 电子科技大学 Hardware design verification system and method based on reinforcement learning
CN110598309B (en) * 2019-09-09 2022-11-04 电子科技大学 Hardware design verification system and method based on reinforcement learning
CN110991129A (en) * 2019-12-18 2020-04-10 山东华翼微电子技术股份有限公司 Full-automatic simulation verification method of password coprocessor based on FPGA
CN110991129B (en) * 2019-12-18 2023-09-08 山东华翼微电子技术股份有限公司 FPGA-based full-automatic simulation verification method for password coprocessor
CN111143144A (en) * 2019-12-26 2020-05-12 山东方寸微电子科技有限公司 Chip verification method and verification platform with error injection and portability
CN111460759A (en) * 2020-03-19 2020-07-28 华南理工大学 Python language-based EDA (electronic design automation) verification platform and use method thereof
CN111523284B (en) * 2020-03-30 2023-05-26 眸芯科技(上海)有限公司 Method, device and application for converting chip EDA simulation configuration
CN111523284A (en) * 2020-03-30 2020-08-11 眸芯科技(上海)有限公司 Method and device for converting EDA (electronic design automation) simulation configuration of chip and application
CN112084802A (en) * 2020-08-12 2020-12-15 广州芯世物科技有限公司 RFID tag chip verification system
CN111950212B (en) * 2020-08-13 2024-04-26 湖南进芯电子科技有限公司 Efficient multi-mode verification platform and method
CN111950212A (en) * 2020-08-13 2020-11-17 湖南进芯电子科技有限公司 Efficient multi-mode verification platform and method
CN112306882B (en) * 2020-11-06 2023-04-25 山东云海国创云计算装备产业创新中心有限公司 Chip algorithm module verification method and system based on C algorithm model
CN112306882A (en) * 2020-11-06 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 Chip algorithm module verification method and system based on C algorithm model
CN112416686A (en) * 2020-12-02 2021-02-26 海光信息技术股份有限公司 Chip verification method, chip verification device and storage medium
CN112433900A (en) * 2020-12-03 2021-03-02 海光信息技术股份有限公司 Method, system, device and storage medium for chip verification
CN112433900B (en) * 2020-12-03 2023-03-14 海光信息技术股份有限公司 Method, system, device and storage medium for chip verification
CN112559264B (en) * 2020-12-08 2021-08-06 北京京航计算通讯研究所 Simulation test method for realizing FPGA (field programmable Gate array) universal serial port by verification platform based on UVM (Universal verification Module)
CN112559264A (en) * 2020-12-08 2021-03-26 北京京航计算通讯研究所 Simulation test method for realizing FPGA (field programmable Gate array) universal serial port by verification platform based on UVM (Universal verification Module)
CN112560393A (en) * 2020-12-17 2021-03-26 中科芯云微电子科技有限公司 Comparison verification method and device of EDA software tool
CN113032195A (en) * 2021-03-24 2021-06-25 上海西井信息科技有限公司 Chip simulation verification method, system, equipment and storage medium
CN113297073A (en) * 2021-05-20 2021-08-24 山东云海国创云计算装备产业创新中心有限公司 Verification method, device and equipment of algorithm module in chip and readable storage medium
CN113407393A (en) * 2021-05-25 2021-09-17 鹏城实验室 Chip verification method, terminal device, verification platform and storage medium
CN113157269A (en) * 2021-06-10 2021-07-23 上海齐感电子信息科技有限公司 Verification system and verification method thereof
CN113157269B (en) * 2021-06-10 2023-11-17 上海齐感电子信息科技有限公司 Verification system and verification method thereof
CN113705140A (en) * 2021-07-19 2021-11-26 深圳市紫光同创电子有限公司 Chip verification method, system, device and storage medium
CN114896931A (en) * 2022-05-12 2022-08-12 北京联盛德微电子有限责任公司 Bluetooth transceiving path verification method and system based on handshake mechanism
CN114896931B (en) * 2022-05-12 2023-09-01 北京联盛德微电子有限责任公司 Verification method and system for Bluetooth transceiving path based on handshake mechanism
CN115345102B (en) * 2022-08-31 2023-03-24 沐曦科技(北京)有限公司 Universal chip verification device for hardware acceleration
CN115345102A (en) * 2022-08-31 2022-11-15 沐曦科技(北京)有限公司 Universal chip verification device for hardware acceleration
CN116827522A (en) * 2023-08-25 2023-09-29 珠海星云智联科技有限公司 UVM-based AES-GCM function verification method and related equipment
CN116827522B (en) * 2023-08-25 2023-11-17 珠海星云智联科技有限公司 UVM-based AES-GCM function verification method and related equipment
CN117436391A (en) * 2023-12-21 2024-01-23 四川思凌科微电子有限公司 Method for joint simulation of algorithm and hardware
CN117436391B (en) * 2023-12-21 2024-03-26 四川思凌科微电子有限公司 Method for joint simulation of algorithm and hardware
CN117749640A (en) * 2024-02-20 2024-03-22 井芯微电子技术(天津)有限公司 Ethernet exchange chip UVM and FPGA prototype verification method and upper computer
CN117749640B (en) * 2024-02-20 2024-04-26 井芯微电子技术(天津)有限公司 Ethernet exchange chip UVM and FPGA prototype verification method and upper computer

Also Published As

Publication number Publication date
CN107463473B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN107463473A (en) Chip software and hardware simulated environment based on UVM and FPGA
CN110046387B (en) SM2 module verification platform and verification method based on UVM
CN104536303B (en) A kind of fault filling method
CN106021044B (en) Reusable spi bus protocol module verification environment platform and its verification method
CN111931445B (en) Method, emulator and storage medium for debugging logic system design
CN102169846B (en) Method for writing multi-dimensional variable password in parallel in process of testing integrated circuit wafer
CN109472061B (en) Reusable simulation verification platform and simulation verification method
CN109684672A (en) A kind of SOC chip whole-system verification system and method
CN101499937A (en) Software and hardware collaborative simulation verification system and method based on FPGA
CN102681924A (en) Software-hardware co-verification platform
CN105893202A (en) Function testing method and function testing system of storage controller based on UVM (Universal Verification Methodology)
CN113297017A (en) SOC verification system and method based on UVM
CN115719047B (en) Waveform GPU-based joint simulation system
CN113157269B (en) Verification system and verification method thereof
CN110109794A (en) A kind of bus verification method based on UVM
CN115686655B (en) Combined simulation system for GPU IP verification
CN201522707U (en) Software and hardware cooperated simulation verification system based on FPGA
CN108983077A (en) A kind of circuit board testing system and test method based on JTAG link
CN107608846A (en) A kind of debugging link and adjustment method that TAP interfaces are embedded for FPGA
CN114036013A (en) UVM-based transponder chip multi-module synchronous verification platform and verification method
CN115688676A (en) TLM-based GPU joint simulation system
CN111752772A (en) Storage device simulation test system and method
CN111443338A (en) Active phased array radar array surface fault injection equipment and method
CN102565683B (en) Generation and verification method of test vector
CN115618800B (en) GPU joint simulation system based on DPI

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20171212

Assignee: Hengqin Financial Investment International Finance Leasing Co.,Ltd.

Assignor: ZHUHAI HUGE-IC Co.,Ltd.

Contract record no.: X2023980043826

Denomination of invention: Chip Software and Hardware Simulation Environment Based on UVM and FPGA

Granted publication date: 20230627

License type: Exclusive License

Record date: 20231018

EE01 Entry into force of recordation of patent licensing contract
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Chip Software and Hardware Simulation Environment Based on UVM and FPGA

Effective date of registration: 20231020

Granted publication date: 20230627

Pledgee: Hengqin Financial Investment International Finance Leasing Co.,Ltd.

Pledgor: ZHUHAI HUGE-IC Co.,Ltd.

Registration number: Y2023980062066

PE01 Entry into force of the registration of the contract for pledge of patent right