A register code file generation method, device and electronic equipment

A technology of code files and registers, which is applied in the fields of register code file generation methods, devices, and electronic equipment, and can solve problems such as high error rate, tediousness, and improvement

Active Publication Date: 2021-02-23
北京东土军悦科技有限公司 +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, when designing the register code in the chip, manual coding is often used, that is, the designer and the verification personnel need to manually write the register design code and the register description code during verification respectively, so there will be the following problems: First, The number of registers in the chip is often relatively large, and each register contains multiple field information, such as length, position, attribute, and initial value, etc. It is cumbersome for designers or verifiers to write codes for each register, and the workload is large and time-consuming. Second, the design and implementation of the registers in the chip and the simulation model are usually carried out by designers and verification personnel respectively, and the number of registers in the chip is relatively large, which will bring a lot of repetitive design and verification work, and the error rate is relatively high. At the same time, the cycle of code stability is longer; moreover, during the chip design process, registers may be increased or decreased, or certain fields in registers may be modified, and when registers are added or decreased or registers are modified, the designer And verification personnel need to rewrite the design code and the description code required by the simulation model, which greatly increases the difficulty of manual coding and later maintenance, and brings a workload to designers and verification personnel

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
  • A register code file generation method, device and electronic equipment
  • A register code file generation method, device and electronic equipment
  • A register code file generation method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as Figure 1a As shown, it is a schematic flowchart of a method for generating a register code file provided in Embodiment 1 of the present invention, which may include the following steps:

[0034] S11. Extract key information corresponding to the register code file of the register to be developed from the register summary file.

[0035] Wherein, the register to be developed may be, but not limited to, a register to be designed and a register to be verified.

[0036] Preferably, there are one or more registers to be developed, and if there are multiple registers to be developed, the multiple registers to be developed belong to the same module.

[0037]Specifically, there may be one or more registers to be developed stored in the register summary file; when there is one register to be developed, it is only necessary to extract the The key information corresponding to the register code file; when the register to be developed is multiple, then extract the key inform...

Embodiment 2

[0085] Based on the same inventive concept, a device for generating a register code file is also provided in the embodiment of the present invention. Since the problem-solving principle of the above-mentioned device is similar to the method for generating a register code file, the implementation of the above-mentioned device can refer to the implementation of the method. No longer.

[0086] Such as image 3 As shown, it is a schematic structural diagram of a device for generating a register code file provided by Embodiment 2 of the present invention, including an extraction unit 31 and a generation unit 32, wherein:

[0087] Extraction unit 31, used to extract from the register summary file, key information corresponding to the register code file of the register to be developed, the register to be developed is one or more, if there are multiple registers to be developed, then multiple The registers to be developed belong to the same module, wherein the register summary file i...

Embodiment 3

[0099] Embodiment 3 of the present application provides a non-volatile computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the method for generating a register code file in any of the above method embodiments.

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 register code file generation method, device and electronic equipment. The method includes: extracting key information corresponding to a register code file of a register to be developed from a register summary file, and the register to be developed is a or multiple, if there are multiple registers to be developed, then multiple registers to be developed belong to the same module, wherein the register summary file is a text file, independent of the register design environment and verification environment, and stores several Register parameter information of a register to be developed; and use a text conversion tool to convert the key information into a register code of the register to be developed and obtain the register code file of the register to be developed. The method provided by the invention not only can automatically generate register code files of a large number of registers according to the register summary file, but also effectively reduces the work burden of code writing and subsequent maintenance of designers and verification personnel.

Description

technical field [0001] The invention relates to the technical field of digital integrated circuit design, in particular to a register code file generation method, device and electronic equipment. Background technique [0002] At present, when designing the register code in the chip, manual coding is often used, that is, the designer and the verification personnel need to manually write the register design code and the register description code during verification, so there will be the following problems: First, The number of registers in the chip is often relatively large, and each register contains multiple field information, such as length, position, attribute, and initial value, etc. It will be cumbersome for designers or verifiers to write codes for each register, and the workload will be large and time-consuming. Second, the design and implementation of registers in the chip and the simulation model are usually carried out by designers and verification personnel separat...

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 Patents(China)
IPC IPC(8): G06F8/73
CPCG06F8/73
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