Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory access controller and correlation method

A technology of access control and memory, which is applied in the field of control devices for processor access to memory, and can solve problems such as flexible setting of memory access control methods, access operations that do not conform to set values, etc.

Active Publication Date: 2009-06-10
REALTEK SEMICON CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once the access range and operation of the processor to the memory conform to the previous setting, a watch-point exception signal (or exception signal) will be generated, and the processor will trigger and transfer according to the exception signal. to the exception handler (exceptionhandler) and handle the exception event (event) according to a predetermined method; another known control method is to set one or more specific ranges and allowed access operations in the memory, However, the difference is that the condition for generating an exception event is that the processor accesses a memory outside the set range, or accesses a memory within the set range but the access operation does not comply with the set value, such as ARM’s processor , for example, writing to a memory range that is set to be read-only generates an exception signal
[0004] The above two memory access control methods need to be set with different setting methods, and users cannot flexibly set the memory access control methods they want according to their needs.

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 access controller and correlation method
  • Memory access controller and correlation method
  • Memory access controller and correlation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Please also see figure 1 as well as figure 2 , figure 1 It is a schematic diagram of an embodiment of the memory access control device 100 of the present invention, and figure 2 It is a schematic diagram of an embodiment in which the memory access control device 100 monitors the access of the processor 200 to the memory 220 of the present invention. The memory access control device 100 is used to monitor the operation of the processor 200 to access the memory 220, and generate a target monitoring result XCPN, such as figure 1 As shown, the memory access control device 100 includes a monitoring circuit 110, a setting unit 120, and an output circuit 130, wherein the monitoring circuit 110 includes at least one monitoring buffer, and the monitoring buffer is used to store the set value of the access mode. The monitoring circuit 110 is used to monitor the operation of the processor 200 to access the memory 220 according to the access mode setting value, and output the ...

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 present invention discloses a memory access control device, which is used for monitoring the operation of accessing the memory by a processor so as to generate a target monitoring result. The memory access control device comprises at least one monitoring circuit, a setting unit and an output circuit, wherein the monitoring circuit is used for monitoring the operation of accessing the memory by the processor according to an access mode set value of the processor for accessing the memory, so as to output an initial monitoring result; the setting unit is used for setting an output set value according to a triggered exception definition when the processor accesses the memory; and the output circuit is coupled to the monitoring circuit and the setting unit and is used for generating the target monitoring result according to the initial monitoring result and the output set value.

Description

technical field [0001] The invention relates to memory access control, in particular to a control device and related method for processor access to memory. Background technique [0002] Generally speaking, in addition to correctly executing instructions, the processor (or central processing unit) also provides the function of monitoring and accessing memory. This function can pre-set a specific range of allowed access in memory or allow access The purpose of the operation is to find out the incorrect or abnormal access to the memory, to assist program debugging, or to prevent unsuitable programs from destroying the normal operation of the overall system. [0003] In the known technology, there are two common memory access control methods. The first known control method is to build several watch registers in the processor, which are used to set one or more specific ranges to be monitored and the operations to be monitored in the memory, such as data reading (data read), dat...

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): G06F11/30
Inventor 虞敬业卢彦儒
Owner REALTEK SEMICON CORP