Register-code-file generating method and device and electronic device

A code file and register technology, applied in the field of register code file generation method, device and electronic equipment, can solve the problems of cumbersome, long code stabilization period and high error rate

Active Publication Date: 2017-12-05
北京东土军悦科技有限公司 +1
View PDF7 Cites 19 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
  • Register-code-file generating method and device and electronic device
  • Register-code-file generating method and device and electronic device
  • Register-code-file generating method and device and electronic device

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 generating method and device and an electronic device. The method includes the steps that key information corresponding to register code files of one or more to-be-developed registers is extracted from register summary files; if the multiple to-be-developed registers are arranged, and the multiple to-be-developed registers belong to a same module, wherein the register summary files are text files, and the text files are independent of the register design environment and verification environment, and store register parameter information of the multiple to-be-developed registers; the key information is converted into register codes of the to-be-developed registers through text conversion tools, and the register code files of the to-be-developed registers are obtained. According to the register-code-file generating method, a large quantity of register code files of the registers can be automatically generated according to the register summary files, and workloads of code writing and later maintenance of designers and verification people are also reduced.

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 Applications(China)
IPC IPC(8): G06F9/44
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