Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Access method of decorator mode order

An access method and decorator technology, applied in the direction of program control devices, etc., can solve problems such as inconsistency, tediousness, frequent instructions, etc., and achieve the effects of easy modification and maintenance, strong expressive ability, and high description quality

Active Publication Date: 2014-04-16
TSINGHUA UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, none of the directives that work as the decorator pattern bring object-oriented mechanisms to ADL
The instructions of the decorator mode appear frequently and have routine patterns, which are complicated and tedious to describe manually, and are prone to problems such as redundancy and inconsistent information

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
  • Access method of decorator mode order
  • Access method of decorator mode order
  • Access method of decorator mode order

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The instruction set of the target machine of the present invention has some instructions that form decorator (decorator) pattern, and the instruction of decorator pattern refers to a group of instructions that perform the same type of operation, and only differ in operands or specific sub-operations, then Distinguished operands or sub-operations can be regarded as controlled by specific decorators. An instruction may have several decorators, and a decorator may also be used for multiple types of instructions;

[0070] For example, 6 instructions that perform addition operations: add (add two registers), addc (add carrying, add two registers and affect carry), adde (add extended, add two registers and add carry and affect carry), addi (add immediate, add register and immediate value), addic (add immediate carrying, add register and immediate value and add carry), addis (add immediate shift, add register and immediate value shifted to the left by 16 bits); carrying decorat...

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 access method of a decorator mode order, belonging to the technical field of system architecture description language ADL. The access method is characterized in that an object machine is provided with an ADL description file and an ADL analysis module, wherein the ADL description file successively carries out decorator description and order description; a decorator analysis module, an order analysis module and an order processing module in the ADL analysis module describe the system architecture information into class, attribute and object to respectively represent very similar behaviour, other orders provided by certain route behaviour, attribute of the decorator described by the formatted order and order self information; a suffix added on the decorator on the basis represents the inheritance of the order of different decorator modes. Thus, the invention has high conciseness and expressiveness, has less redundancy than other ADL description files, produces high-quality description and has few program faults.

Description

technical field [0001] The invention belongs to the field of computer architecture, in particular to the architecture description language ADL. Background technique [0002] As embedded processors become more and more complex and introduce various new features, and compilers continue to develop new optimization techniques, it is more and more complex to describe processor and architecture information for compilers in detail. Embedded processors and compilers The device gap is also growing. Expressive, concise, and extensible high-quality architecture description language has become an urgently needed tool. [0003] Many compilers are difficult to redirect, requiring a lot of coding and error debugging as well as deep knowledge of the compiler. On the other hand, many architecture description languages ​​(ADL) are designed for simulators, and it is difficult to extract semantic information for compiler redirection. Although there is work on ADL and semantic extensions to s...

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): G06F9/44
Inventor 董渊王生原曹震
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products