Method and system for automatically generating chip register codes

A chip register and automatic generation technology, applied in the direction of creating/generating source code, instrument, calculation, etc., to avoid repetition, achieve diversity, and improve the effect of writing time

Active Publication Date: 2019-01-04
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to solve how to describe registers in the logic development process, to shorten the time spent by developers on register writing, and to ensure the consistency of each design stage

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
  • Method and system for automatically generating chip register codes
  • Method and system for automatically generating chip register codes
  • Method and system for automatically generating chip register codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The register code automatic generation method in the logic development process provided by the present invention is mainly realized through three steps. First, the register parameters in the register description document are extracted and stored in the system memory; then the data in the system memory is converted and packaged into an intermediate Format code; finally generate the register output code used in multiple stages of logic development. Among them, the register description document is a WORD document, the intermediate format is TCL format, and the register output code includes RTL register code, verification model code and software driver model code. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0029] First introduce the register description document, which includes the following:

[0030] (1) Register name REG_NAME;

[0031] (2) Register address REG_ADDRESS;

[0032] (3) Register type REG_TYPE;

...

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 an automatic chip register code generation method and a system thereof. The method comprises the following steps: designing a universal register description document to store register parameters; extracting the register parameters in the register description document and storing the register parameters in a system memory; storing the data in the system memory into an intermediate format; and compiling a corresponding text output type through a manner of inheriting the text output base class of the intermediate format, so as to generate a corresponding register output format used in multiple stages of logic development. According to the method and the system disclosed in the invention, an automatic manner is used to complete the output process from register documents to codes, and the codes are slightly modified through the users so as to realize the diversity of the code output results, so that the correctness of the code output can be effectively ensured during the code compiling time of the design and development staff, the condition of missing during the manual compiling is avoided, the compiling consistency of the register at various stages is ensured and the repeatability caused by document modification is avoided.

Description

technical field [0001] The invention relates to the field of logic development of digital integrated circuits, in particular to a method for automatically generating chip register codes and a system thereof. Background technique [0002] As we all know, whether it is in the fields of communication, consumer electronics or industrial applications, the process of digital integrated circuits is improving faster and faster, and the functions of single-chip chips are increasing. Therefore, the design of integrated circuit chips is becoming more and more complicated. . Gordon Moore, one of the founders of Intel (Intel), proposed Moores Law in 1965. Its content is: when the price remains constant, the number of transistors that can be accommodated on an integrated circuit decreases approximately every 18 months. Double the performance will double, this law reveals the speed of information technology progress. [0003] With the development of digital integrated circuits (chips), t...

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/30G06F17/50
CPCG06F8/30G06F30/39
Inventor 柏帆袁博浒张睿
Owner FENGHUO COMM SCI & TECH 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