Memory space simulation method for embedded processor

An embedded processor and storage space technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve problems such as time-consuming, complicated operation, and high overhead, so as to improve access efficiency, increase simulation speed, reduce The effect of the conversion operation

Active Publication Date: 2012-07-04
BEIJING INST OF CONTROL ENG
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When designing space vehicle computer system software, the traditional design process is to run, debug and test on the hardware target operating platform. This method has excessive dependence on hardware, and the operation is complicated and time-consuming. To solve these problems, it is appropriate to use Embedded system software design and development based on software simulation environment
In order to simulate the complete storage space of the processor in the simulation environment, static simulation or dynamic simulation methods are usually used for different address ranges. The dynamic simulation method has low overhead, but the efficiency cannot be guaranteed. The static simulation method has high efficiency but high overhead.

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
  • Memory space simulation method for embedded processor
  • Memory space simulation method for embedded processor
  • Memory space simulation method for embedded processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The invention provides a storage space simulation method of an embedded processor, the steps are as follows:

[0030] (1) Open up a storage space in the memory, and then divide the opened storage space into a plurality of fixed-size storage pages (memory pages), and the size of each storage page is a preset fixed value; the size of each page can be It can be set freely. In actual use, it can be set in the size range of 1KB to 1MB. For example, when the size is set to 4KB, the 4GB storage space can be divided into 1M storage pages.

[0031] (2) Construct a page table data structure (page table) in the memory. The page table contains several items. The specific number of items is recorded as MEM_PTAB_SIZE, and its size can be set according to the actual situation. For example, for the storage space of AT697 In other words, we can set it to 1K ~ 64K items to better meet the needs.

[0032] The data structure of the page table is a multi-level linked list, each level of li...

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 memory space simulation method for an embedded processor is provided. The method can simulate the complete memory space of the embedded processor and simulate the complete memory space with a large capacity by adopting a paging mode, and only simulates an actually used part of the memory space in a program under a paging mechanism so as to save space expenditure required by the simulation. The memory space simulation method for the embedded processor adopts a mixed simulation method combining static simulation and dynamic simulation according to different address ranges and achieves the memory space simulation mechanism with a large capacity which is high in efficiency and low in expenditure.

Description

technical field [0001] The invention relates to a storage space simulation method of an embedded processor, which belongs to the field of embedded chip simulation. Background technique [0002] When designing space vehicle computer system software, the traditional design process is to run, debug and test on the hardware target operating platform. This method has excessive dependence on hardware, and the operation is complicated and time-consuming. To solve these problems, it is appropriate to use Embedded system software design and development based on software simulation environment. In order to simulate the complete storage space of the processor in the simulation environment, static simulation or dynamic simulation methods are usually used for different address ranges. The dynamic simulation method has low overhead, but the efficiency cannot be guaranteed, and the static simulation method has high efficiency but high overhead. Contents of the invention [0003] The tec...

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 Applications(China)
IPC IPC(8): G06F9/455
Inventor 乔磊吴军吴一帆杨桦彭飞刘鸿瑾
Owner BEIJING INST OF CONTROL ENG
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