Code generation method and device based on C language, electronic equipment and storage medium

A code generation and C language technology, applied in the computer field, can solve the problems of high labor cost and high maintenance cost, and achieve the effects of reducing the cost of manual operation and code maintenance, improving efficiency and optimizing the effect

Pending Publication Date: 2021-12-17
AXERA TECH (BEIJING) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, the driver engineer can manually edit the relevant configuration parameters based on the language environment used in the verification environment, and transmit them to the verification engineer through the setting method. The verification engineer verifies the performance of the chip based on the configuration parameters. higher cost

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
  • Code generation method and device based on C language, electronic equipment and storage medium
  • Code generation method and device based on C language, electronic equipment and storage medium
  • Code generation method and device based on C language, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0036] The C language-based code generation method, device, electronic device, and storage medium of the embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0037] figure 1 It is a schematic flow chart of a code generation method based on C language in an embodiment of the present application, such as figure 1 As shown, the method includes:

[0038] S101. Generate an SV language data packet, and generate a corresponding C language data packet according to the mapping...

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 provides a code generation method and device based on a C language, electronic equipment and a storage medium, and the method comprises the steps: generating an SV language data packet, and generating a corresponding C language data packet according to the mapping of the SV language data packet, the C language data packet comprising an operation mode and address information; under the driving of a C language driver and an SV language driver, according to the operation mode and the address information, obtaining write-in data of the operation mode corresponding to the to-be-verified code; writing the write-in data in the running mode into the to-be-verified code and running the to-be-verified code to obtain to-be-verified data; acquiring a reference code, running the reference code according to the write-in data, and generating reference data; and according to the to-be-verified data and the reference data, generating a target code. According to the chip verification method and device, the related configuration information of the to-be-verified code can be transmitted autonomously, the manual operation cost and the code maintenance cost are reduced, the chip verification efficiency is effectively improved, and the chip verification effect is optimized.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a C language-based code generation method, device, electronic equipment, and storage medium. Background technique [0002] With the development of technology, in order to realize the working scenarios of various chips, it is necessary to verify the performance of various functions of the chip. [0003] In related technologies, the driver engineer can manually edit the relevant configuration parameters based on the language environment used in the verification environment, and transmit them to the verification engineer through the setting method. The verification engineer verifies the performance of the chip based on the configuration parameters. higher cost. Contents of the invention [0004] The purpose of this application is to solve one of the technical problems in the above-mentioned technologies at least to a certain extent. [0005] This application prop...

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): G06F8/30G06F30/3308
CPCG06F8/315G06F30/3308
Inventor 索健王正
Owner AXERA TECH (BEIJING) CO LTD
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