Graphic command pre-decoding method based on SystemVerilog

A graphic command and command technology, applied in the direction of instruments, data conversion, electrical digital data processing, etc., to achieve the effect of high readability and maintainability

Active Publication Date: 2020-04-17
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the field of computer graphics, in order to verify various application scenarios, it is usually necessary to construct a large number of OpenGL graphics commands. These graphics commands not only require a variety of combinations, but also must be easy to read and maintain; currently there is no reasonable and efficient technical means Method to complete graphics command data generation

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
  • Graphic command pre-decoding method based on SystemVerilog

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with examples. It should be understood that the specific examples described here are only used to explain the present invention, not to limit the present invention.

[0022] The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0023] In one embodiment of the present invention, propose a kind of graphic command data generation method based on Verilog task, comprise the following steps:

[0024] 1) First, according to the classification of the OpenGL graphics command, the format definition and the number of load data, the packet header of the command is generated;

[0025] 2) Configure the payload data for the command packet header. When configuring the payload data, divide the pa...

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 belongs to the field of computer graphics, and particularly relates to a graphic command data generation method based on a Verilog task, which comprises the following steps of: firstly,generating a packet header of a command according to the classification and format definition of an OpenGL graphic command and the number of load data; configuring load data for the command packet header, and dividing the load data into two different configuration modes when the load data is configured, one configuration mode being data generation with fixed word length; and the other mode is datageneration with configurable word length; performing command data splicing on the command packet header configured with the load data in the previous step, storing the data conforming to the width format of the command FIFO into the command FIFO, and writing the command data into the command FIFO when detecting that the command end mark is valid; according to the method, the OpenGL graphic commands can be combined and matched, the graphic commands with any length and random load content can be sent out according to the requirements of a verification scene, the graphic commands with the load content being a specific value can also be sent out, and high readability and maintainability are achieved.

Description

technical field [0001] The invention belongs to the field of computer graphics, in particular to a method for generating graphic command data based on Verilog tasks. Background technique [0002] In the field of computer graphics, in order to verify various application scenarios, it is usually necessary to construct a large number of OpenGL graphics commands. These graphics commands not only require a variety of combinations, but also must be easy to read and maintain; currently there is no reasonable and efficient technical means The method to complete the generation of graphics command data. Contents of the invention [0003] The purpose of the present invention is: [0004] In order to solve the problem that there is no reasonable and efficient technical means in the prior art to complete the method of generating graphic command data, the present invention proposes a method for generating graphic command data for verification which is beneficial for writing test vector...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F5/06
CPCG06F11/3684G06F5/06Y02D10/00
Inventor 郝冲邓艺牛少平韩一鹏魏艳艳
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products