Check patentability & draft patents in minutes with Patsnap Eureka AI!

Energy-saving method of embedded system with SPM-DMA (Sequential Processing Machine-Direct Memory Access) structure

A SPM-DMA, embedded system technology, applied in the computer field, can solve the problems of energy waste, excessive energy consumption, without considering the parallelism of CPU processing and DMA transmission, etc., to reduce operating voltage and frequency, and reduce energy consumption Effect

Inactive Publication Date: 2012-05-23
SHANGHAI JIAOTONG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method mainly saves energy by reducing the number of accesses to external memory, but does not consider the parallelism of CPU processing and DMA transfer, resulting in excessive energy consumption, which is difficult to meet the low power consumption requirements of embedded systems
The main reason is that when the CPU is processing the original data, the DMA can transfer new data between the SPM and the off-chip memory at the same time, and there is a data constraint relationship between the CPU and the DMA, that is, when the DMA transfers new data, the CPU has already After processing the original data, but the follow-up data is not yet ready, the CPU keeps working at this time, which will cause energy waste

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
  • Energy-saving method of embedded system with SPM-DMA (Sequential Processing Machine-Direct Memory Access) structure
  • Energy-saving method of embedded system with SPM-DMA (Sequential Processing Machine-Direct Memory Access) structure
  • Energy-saving method of embedded system with SPM-DMA (Sequential Processing Machine-Direct Memory Access) structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] In the present embodiment, CPU, SPM and DMA are integrated on a chip, and DMA is connected with off-chip memory, specifically comprises the following steps:

[0026] In the first step, the data to be processed is divided into several blocks, and each block of data is less than half of the SPM capacity.

[0027] The second step is the realization of parallel data processing and parallel data transmission: the SPM is logically divided into two parts SPM0 and SPM1 with equal capacity, the DMA loads the first block of data to be processed, and writes the loaded first block of data SPM0, the CPU is in a waiting state; the CPU processes the i-th block of data, and writes the processed i-th block of data into SPM0, and at the same time DMA loads the i+1-th block of data to be processed, and loads the i+1-th block Write the data into SPM1, and write back the processed i-th block of data to the off-chip memory, 1≤i≤N-1; the CPU processes the N-th block of data, and writes the pr...

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 relates to an energy-saving method of an embedded system with an SPM-DMA (Sequential Processing Machine-Direct Memory Access) structure in the technical field of computers, which comprises the following steps of: segmenting data to be processed into a plurality of data blocks; carrying out parallel transmission and parallel processing on the data, completing the processing of each data block by a CPU; detecting the time of processing each data block by the CPU and the time of uploading the (i+1)th data block and transmitting the ith data block back by a DMA to obtain an optimal adjustment factor; obtaining an optimal frequency and an optimal voltage; when the working level of the CPU includes the optimal frequency and the optimal voltage, carrying out static adjustment; and if not, carrying out dynamic adjustment to ensure that the CPU works in an adjusted frequency and an adjusted voltage. The invention ensures that the working voltage and the working frequency are lowered as far as possible under the premise of meeting data processing and waiting for the data transmission by adjusting the working voltage and the working frequency of the CPU according to the speed of the DMA for the data transmission, thereby greatly reducing the energy consumption brought by full-speed operation of the CPU.

Description

technical field [0001] The invention relates to a method in the field of computer technology, in particular to an energy-saving method for an embedded system with a SPM-DMA (Scratch PadMemory-Dynamic Memory Access, high-speed on-chip memory-dynamic memory access) structure. Background technique [0002] Compared with desktop systems, embedded systems require higher response speed and lower power consumption. However, the current development trend of embedded chips makes the speed difference between embedded CPU and memory larger and larger, thus limiting the performance, real-time response characteristics and low power consumption of embedded CPU. In order to reduce the speed difference between embedded CPU and memory, the following two methods are widely used. Method 1: SPM is used as the main on-chip memory in the embedded system. Compared with the Cache memory managed by hardware with the same capacity, the SPM has a smaller volume and lower energy consumption. Embedded...

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): G06F1/32
Inventor 杨艳琴沈耀过敏意周憬宇唐飞龙
Owner SHANGHAI JIAOTONG UNIV
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