System and method for quickly and efficiently generating cache consistency test C program
A consistent and efficient technology, applied in the field of computer programs, can solve problems such as few test cases, complex cache consistency scenarios, and difficult coverage, and achieve the effect of efficient and convenient construction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] This embodiment discloses as figure 1 The system for quickly and efficiently generating a cache conformance test C program includes a UVM test platform, in which an action component, a cfg component, a scenario component, and a scheduler component module are set in the UVM test platform. After the script parses the yaml file, it notifies the office In the UVM test platform, the UVM generates a scene file after obtaining the basic parameter configuration, and outputs and generates a target file after a script scheduling simulation.
[0040] The cfg component is used to initialize configuration parameters. The scenario component is a collection module of random scenes or directional scenes.
[0041] The scheduler component is used for unified scheduling scenarios, and output and generate target files. The Action component is a random element that contains information such as data, address, thread id, dependency, and attributes.
[0042] The action component can extend read and...
Embodiment 2
[0046] This embodiment discloses as figure 2 A method for quickly and efficiently generating a cache consistency test C program is shown. The method uses the first aspect of the system for quickly and efficiently generating a cache consistency test C program when executed, and is characterized in that the method includes the following steps:
[0047] The S1 system is powered on and the script gets the yaml file;
[0048] The S2 script parses the yaml file and informs the UVM test platform;
[0049] The UVM test platform of S3 generates n scenes from the action pool and merges them into a program sequence, and outputs a Cfile / coverage / trace file;
[0050] The S4 script dispatches the VCS simulation tool, and outputs the target file.
[0051] In S3, under the SV constraint mechanism, random or user-interested cache consistency scenarios can be easily constructed from the action pool.
[0052] In S3, while generating the structure scene, the scene coverage file and trace file are generated...
Embodiment 3
[0055] This embodiment discloses an SV / UVM architecture based on the cct.py python script to control the flow of the entire device.
[0056] 1. First, the script will eat a yaml file with basic case configuration, including case name, scene selection, simulation parameter configuration, etc.
[0057] 2. After the script parses the yaml file, it notifies the UVM test platform. In this way, UVM gets the basic parameter configuration.
[0058] 3. In the UVM environment, there are component modules such as action / cfg / scenario / scheduler.
[0059] The component cfg is the initialization of various configuration parameters;
[0060] The component scenario is a collection module of random scenes or directional scenes;
[0061] The component scheduler is used to unify the scheduling scenario and output the target file.
[0062] Core point 1: Action component is the core part of this device, which contains various random elements, such as data, address, thread id, dependency relationship, attribut...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com