Local variable supporting method based on sram in built-in system

An embedded system, local variable technology, applied in sustainable buildings, climate sustainability, multi-program devices, etc., to achieve the effect of reducing operating power consumption, increasing program running speed, and reducing operating power consumption of local variables

Inactive Publication Date: 2006-08-16
ZHEJIANG UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The limited space of sram limits its scope of application to a certain extent, but its space size can give full play to its ability to suppor

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
  • Local variable supporting method based on sram in built-in system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The specific steps of the sram-based local variable support method in the embedded system are as follows.

[0023] 1) Stack separation during program compilation

[0024] In the figure, when the program is compiled, the local variables are separated during compilation, the local variable addresses are compiled into the sram address, and the global variables are compiled into the sdram address, and then the program code is compiled to form the binary code of the program.

[0025] In the figure, the bootloader BootLoader embeds the code at the beginning of the program to check the space usage of the sdram. If no free space is found, the loading of the program will be delayed and wait for the sdram to have enough space. If enough space is found, load the program into sdram, set the program count register; and load the program front end embedded preprocessing code into sdram.

[0026] 2) sram stack allocation

[0027] Sram tracking block is defined for the use of sram. A two-by...

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

A part variable supported method of embedded system base on sram, which is transferring the part variable operating space of application in flush type system from sdram to sram, that achieve to make all the part variable operation in sram and make sdram to concentrate on the whole variable operation and the executive part of the code. Sram is a high memorizer with high-speed and low-energy consumption, use sram to support the part variable that solve the problem of low speed and high-energy consumption by using sdram for the part variable operation.

Description

Technical field [0001] The present invention relates to the technical field of embedded system program structure and operation mode, in particular to a local variable support method based on sram in an embedded system. Background technique [0002] In the past two to thirty years, the embedded field has made great progress. The development of many industries has been inseparable from the participation of the embedded field, such as: automotive, aerospace, heavy industry, robotics, intelligent housekeeping, etc. The needs of these industries in the embedded field have promoted the development of embedded systems, and at the same time put forward increasingly high requirements. [0003] In order to meet the market requirements of high performance and low power consumption, embedded systems have gradually moved from low-end to high-end in the past. Many embedded systems have added high-end devices. These devices are undoubtedly to improve system performance, such as Intel The pxa27x...

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
IPC IPC(8): G06F9/44G06F9/50G06F1/32
CPCY02B60/142Y02B60/167Y02D10/00
Inventor 陈天洲胡威沙峰谢斌
Owner ZHEJIANG UNIV
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