Supercharge Your Innovation With Domain-Expert AI Agents!

A compiler for a digital signal processor

A digital signal and processor technology, applied in the field of compilers of embedded digital signal processor cores, can solve problems such as the inability to express information intuitively and the complexity of C language, and achieve the effect of simple and fast software programming and speeding up development time.

Active Publication Date: 2016-08-31
HANGZHOU VANGO TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But when the software design is oriented towards hardware description, the C language will become very complicated, and a lot of information cannot be displayed intuitively, such as the working frequency of the source code, the context of the data flow, etc.

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 compiler for a digital signal processor
  • A compiler for a digital signal processor
  • A compiler for a digital signal processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] see figure 1 As shown, it is a functional module architecture diagram of the compiler for implementing the digital signal processor of the present invention, the compiler of the digital signal processor includes a syntax checking unit, a compiling unit, a first-level linker, an optimizing unit, Operation step arranger and second-level linker.

[0011] Before the compilation unit compiles the code, it needs to first pass the syntax check through the syntax checking unit to ensure that the model input by the user can be compiled and linked to the greatest extent.

[0012] The compiling unit first reads the matlab model description file that has been checked by the syntax checking unit, and compiles it into an assembly-level code suitable for DSP. The compilation unit has the following mathematical models to provide: digital system conversion, RAM access, PGA amplifier model, addition and subtraction, multiplication, division, square root, comparator model, ratio correcti...

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 compiler of a digital signal processor, comprising a syntax checking unit, a compiling unit, a first-level linker, an optimization unit, an operation-step distributor and a second-level linker which are connected in sequence and in series, wherein the syntax checking unit is used for carrying out syntax checking; the compiling unit is used for compiling a model description file into assembly level codes applicable to a DSP (Digital Signal Processor), and outputting the assembly level codes to the first-level linker; the first-level linker is used for linking the assembly codes outputted by the compiling unit, finding out synchronous data information and generating a linking relationship of functions under all frequencies; the optimization unit is used for carrying out primary optimization on the data outputted by the first-level linker; after finishing the arrangement under each frequency, the operation-step distributor needs to be linked with the operation of the synchronous register according to the needs, and finishes relevant codes needing to be operated under each frequency; the second-level linker is used for carrying out secondary linking on linked lists distributed by the operation-step distributor, inserting frequency-dividing skip instructions, and finally finishing linking of the whole DSP codes and outputting microcodes applicable to the processor.

Description

【Technical field】 [0001] The invention relates to the field of a compiler for an embedded digital signal processor core. The source code of the compiler is more intuitive and easy to understand than the traditional C language, and is especially suitable for processing digital signals with different operating frequencies. 【Background technique】 [0002] The source code processed by the compiler of the general-purpose embedded processor or digital signal processor is generally embedded C language. The C language is very versatile and flexible to write, and the compiler front-end tools based on the C language are also very mature. At present, the compiler design of the general processor core is only responsible for writing the back-end tools for developing the compiler. But when the software design is oriented towards hardware description, the C language will become very complicated, and a lot of information cannot be represented intuitively, such as the working frequency of 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): G06F9/45
Inventor 孔泉
Owner HANGZHOU VANGO TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More