Memory monitor method, memory access controller and SoC system

A memory access and controller technology, applied in the computer field, can solve problems such as low efficiency, inability to determine out-of-bounds access to memory, and long cycle for locating faults.

Active Publication Date: 2017-03-15
HUAWEI TECH CO LTD
View PDF8 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this method can usually only determine whether the memory address is accessed out of bounds, and cannot determine which module has accessed the memory out of bounds.
It is necessary to ...

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 monitor method, memory access controller and SoC system
  • Memory monitor method, memory access controller and SoC system
  • Memory monitor method, memory access controller and SoC system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] Problems such as memory crossing and memory being accessed incorrectly often occur in the current SoC system. In the prior art, it is usually only possible to determine whether a certain memory address has been modified, and it is impossible to locate which module accesses the memory address out of bounds. It is necessary to manually check the modules that may access the memory address one by one based on the existing experience to determine which module has...

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 provides a memory monitor method, a memory access controller and a SoC system and relates to the communication field. By means of the memory monitor method, the memory access controller and the SoC system, when abnormal memory access occurs, modules having illegal access to memory can be quickly and accurately positioned. The method comprises following steps: obtaining a memory access command (comprising an address of memory to be accessed, identification and read-write attributes of the memory access module) sent by a memory access module; obtaining a legal access condition corresponding to the memory address to be accessed, wherein the condition comprises at least one identification of a module, and at least one read or write authority owned by a module to the memory address to be accessed; determining whether the identification of the memory access module belongs to the at least one module identification and whether the read-write attributes accord with the read or write authorities; if the identification of the memory access module does not belong to the at least one module identification and/or the read-write attributes do not accord with the read or write authorities, recording the memory address to be accessed, the identification of the memory access module and the read-write attributes.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a memory monitoring method, a memory access controller and a SoC system. Background technique [0002] In a system-on-chip (SoC) system, there are many different modules, such as multiple hardware-specific logics, various peripherals (Intelligent Peripheral, IP), and a central processing unit (Central Processing Unit, CPU) running in various applications, etc. Each module can share memory. Due to the complexity of the SoC system, there will be a problem of memory access out of bounds, that is, a module accesses a memory address that it should not access, resulting in the module not operating normally, and even causing the SoC system to crash. [0003] At present, it is generally to set a characteristic value (such as: 0xaa) at a certain memory address when the SoC system initializes or releases memory. When the characteristic value of a certain memory address is detected to b...

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): G06F12/14
CPCG06F12/1458
Inventor 郭鹏蔡智勇王坚
Owner HUAWEI TECH CO LTD
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