TLM model for GPU geometric primitive start mark management in plane clipping based on SystemC

A technology of starting markers and geometric primitives, which is used in electrical digital data processing, CAD circuit design, special data processing applications, etc. Realize the effect of short cycle, reduced design cycle and fast simulation speed

Active Publication Date: 2020-06-05
西安翔腾微电子科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, my country is independently developing a domestic graphics processor chip (Graphic Processing Unit, GPU), but because the country has been using foreign imported commercial or military GPU chips before this, there is a lack of design experience in the independent development of GPU chips, and it is necessary to develop GPU chips. Exploration and development of core technologies
[0004] The scale of GPU chip hardware logic is huge, and it is a long project from writing the system architecture document to register transfer level circuit (Register Transfer Level, rtl) design and implementation; and even after the rtl design is completed, the verification of functional performance will require a lot of time, greatly increased the entire design cycle and the design process of the auxiliary graphics processor, and reduced the progress and reliability of the self-developed graphics processor project

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
  • TLM model for GPU geometric primitive start mark management in plane clipping based on SystemC
  • TLM model for GPU geometric primitive start mark management in plane clipping based on SystemC
  • TLM model for GPU geometric primitive start mark management in plane clipping based on SystemC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] See figure 1 , figure 1 A schematic structural diagram of a TLM model for the management of the start tag of the GPU geometric primitive in the SystemC-based plane clipping provided by the embodiment of the present invention.

[0042] The TLM model (TLM microstructure) includes a geometric primitive storage unit, a primitive command parsing unit, a first primitive clipping unit and a primitive output control unit. Wherein, the geometric primitive storage unit receives and stores the first primitive vertex command output in the previous stage through the TLM port, and the first primitive vertex command includes a primitive vertex packet of the first primitive vertex in the geometric primitive. The primitive command parsing unit is configured to set the first clipping flag according to the first start flag in the primitive vertex packet. The first primitive clipping unit is used to determine the relationship between each first line segment in the basic primitive and the...

Embodiment 2

[0074] On the basis of Example 1, please refer to Image 6 , Image 6 A schematic flow diagram of a method for managing the start tag of GPU geometric primitives in a SystemC-based plane clipping provided by an embodiment of the present invention, the management method includes steps:

[0075] S1. Set currentNum to record the number of vertices of the first primitive received, and initialize currentNum to 0.

[0076] S2. Obtain a vertex packet of the first primitive, and add 1 to the current number of vertices of the first primitive, that is, currentNum++.

[0077] S3. Analyze the start flag information psFlag in the vertex packet of the first primitive, and judge whether psFlag is 1. If psFlag is 1, set psFlagClipped=0. If psFlag is 0, it is not necessary to set psFlagClipped.

[0078] S4. Judging whether the current basic primitive has been received: judge the relationship between the currentNum value and the number of vertices corresponding to the currently processed basi...

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 relates to a TLM model for GPU geometric primitive start mark management in SystemC-based plane clipping, and the model comprises a geometric primitive storage unit which is used for storing a primitive vertex package of a first primitive vertex in a geometric primitive; a primitive command parsing unit which is used for setting a first cutting mark according to a first starting markin the primitive vertex packet; a first primitive clipping unit which is used for judging the relationship between each first line segment in the basic primitives and the cutting plane according to the intersection relationship between the basic primitives formed by the vertexes of the plurality of first primitives and the cutting plane during plane cutting, and then updating the first cutting mark as a second cutting mark or reserving the first cutting mark according to the relationship between each first line segment and the cutting plane; and a primitive output control unit which is used for setting initial mark information of a second primitive vertex in the geometric primitive obtained by cutting according to the second cutting mark when judging that all the first line segments in the basic primitive are processed. According to the TLM model, the design period of the GPU is greatly shortened through transaction-level modeling.

Description

technical field [0001] The invention belongs to the technical field of computer hardware modeling, and in particular relates to a TLM model for the management of the start mark of GPU geometric primitives in Plane Clipping based on SystemC. Background technique [0002] Transaction Level Modeling (TLM) is an advanced digital system modeling method that can quickly build a system model in the early stages of a project. It combines the details of communication between models with the details of functional units or communication architectures. separated. The communication mechanism is modeled as a channel, and transaction requests generally occur when calling the interface functions of these channel models, and the interface functions encapsulate the underlying details of information exchange. At the level of things, TLM puts more emphasis on the function of data transmission itself - the content of data and the start and end points of transmission, and involves as little as p...

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): G06F30/392G06F115/10G06T1/20
CPCG06T1/20
Inventor 刘莎李冲周艺璇杨洋张佩范飞虎
Owner 西安翔腾微电子科技有限公司
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