Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Simulation ending mechanism based on UVM verification platform

A verification platform and mechanism technology, applied in special data processing applications, CAD circuit design, etc., can solve problems such as long simulation time, increase the difficulty of problem debugging, and difficult to determine the waiting time, and achieve accurate simulation end control and verification work efficiency. The effect of high and reduced debugging difficulty

Pending Publication Date: 2022-05-06
杭州云合智网技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, the UVM (Universal Verification Methodology) verification methodology is usually used to verify the RTL (Register Transfer Level). When the phase mechanism is used for simulation operation, the user usually controls the UVM simulation process by setting an additional waiting time. Specific as figure 1 As shown, first call the find_by_name method of the phase mechanism in the end_of_elaboration_phase of the test case base class to obtain the target phase, and then call the set_drain_time method in phase_done to set the extra simulation end waiting time of the target phase. However, the DUT (Device under test) component The processing delay of the internal logic is in units of clock cycles, and the extra waiting time for the end of the target phase specified in the prior art is in units of the simulation time of the EDA (Electronic design automation) tool, so the prior art does not have The defect of inaccurate control at the end of the simulation. If the additional waiting time is set too long, then too long meaningless simulation time will be added, which will undoubtedly reduce the efficiency of the verification work. If the additional waiting time is set too short, it may Due to different DUTs, some additional waiting time is sufficient, and some are not enough. It is difficult to determine a unified waiting time. If there is a problem at this time, it will increase the difficulty of debugging the problem.
[0003] Moreover, in the prior art, the extra waiting time for the end of the target phase set by the set_drain_time of the test case base class will be determined in the project compilation phase, but the designs provided by many IP suppliers are provided in a pre-compiled form, which is difficult Require the other party to set the extra waiting time for the end of the target phase that is just right for this project during the pre-compilation period, so in this application scenario, the existing solution becomes no longer feasible

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Simulation ending mechanism based on UVM verification platform
  • Simulation ending mechanism based on UVM verification platform
  • Simulation ending mechanism based on UVM verification platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, and the present invention will be further elaborated.

[0022] First, combine the Figure 2~4 Describe the simulation end mechanism based on the UVM verification platform according to the embodiment of the present invention, which is used to verify mobile phone chips, and has a wide range of application scenarios.

[0023] Such as figure 2 , 4 As shown, the simulation end mechanism based on the UVM verification platform of the embodiment of the present invention includes the following steps:

[0024] In S1, as in figure 2 , 4 As shown, the simulation end control logic is written in the callback method (phase_ready_to_end) in UVM's scoreboard component (scoreboard), so as to achieve the effect of controlling the end of the simulation in the simulation running phase of the project instead of the compilation phase.

[0025] In S2, as in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a simulation ending mechanism based on a UVM verification platform. Simulation ending control logic is written in a callback method in a score board assembly of a UVM; calling a callback method to obtain a target phase; and executing the simulation ending control logic on the target phase, wherein the simulation ending control logic is used for performing simulation ending control on the target phase. According to the method, the defect of inaccurate simulation ending control in the prior art is overcome, the method has the characteristics of accurate simulation ending control and high verification work efficiency, the problem debugging difficulty is reduced, and the simulation operation of the UVM is conveniently controlled.

Description

technical field [0001] The invention relates to the technical field of chip verification, in particular to a simulation end mechanism based on a UVM verification platform. Background technique [0002] In the prior art, the UVM (Universal Verification Methodology) verification methodology is usually used to verify the RTL (Register Transfer Level). When the phase mechanism is used for simulation operation, the user usually controls the UVM simulation process by setting an additional waiting time. Specific as figure 1 As shown, first call the find_by_name method of the phase mechanism in the end_of_elaboration_phase of the test case base class to obtain the target phase, and then call the set_drain_time method in phase_done to set the extra simulation end waiting time of the target phase. However, the DUT (Device under test) component The processing delay of the internal logic is in units of clock cycles, and the extra waiting time for the end of the target phase specified i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F30/33
CPCG06F30/33
Inventor 马骁
Owner 杭州云合智网技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products