IP Library Granted Patent US 9,904,631
Granted Patent B2
US 9,904,631 · App. 15/013,606 · Granted Feb 27, 2018

Microcomputer and method for controlling memory access

Inventors: Rika Ono (Tokyo, JP); Hitoshi Suzuki (Tokyo, JP)
Assignee: RENESAS ELECTRONICS CORPORATION
G06F12/145G06F12/14G06F12/1441G06F12/1491G06F2212/1052
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,904,631
App. No.
15/013,606
Granted
Feb 27, 2018
Kind
B2
Abstract

A memory control system includes a memory connected to a memory bus, the memory including a plurality of access areas, a memory controller connected to the memory bus, a plurality of registers corresponding to the plurality of access areas, each of the plurality of registers configured to set an access permission or prohibition for a corresponding access area, a CPU (Central Processing Unit) configured to issue a first access request for accessing one of the plurality of access areas, and a memory access controller configured to determine whether an access to the memory is permissible or prohibited using the first access request and the plurality of registers, the memory access controller outputting a second access request in accordance with a determination result.

Claims (38)

1. A memory control system comprising:

a memory connected to a memory bus, the memory including a plurality of access areas;

a memory controller connected to the memory bus;

a plurality of registers corresponding to the plurality of access areas, each of the plurality of registers configured to set an access permission or prohibition for a corresponding access area;

a CPU (Central Processing Unit) configured to issue a first access request for accessing one of the plurality of access areas; and

a memory access controller configured to determine whether an access to the memory is permissible or prohibited using the first access request and the plurality of registers, the memory access controller outputting a second access request in accordance with a determination result.

2. The memory control system according to claim 1 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein the memory access controller outputs the second access request when the valid bit of the register corresponding to an access area included in the memory address is valid.

3. The memory control system according to claim 1 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein the memory access controller outputs a violation detection signal to the CPU when the valid bit of the register corresponding to an access area included in the memory address is invalid.

4. The memory control system according to claim 1 , wherein each of the plurality of registers includes a valid bit,

wherein a reset unit sets valid bits of all of plurality of registers to invalid state in response to a reset request signal output from the CPU.

5. A microcomputer configured to request an access to a memory controller which controls an access to an external memory including a plurality of access areas, the microcomputer comprising:

a plurality of registers corresponding to the plurality of access areas, each of the plurality of registers configured to set an access permission or prohibition for a corresponding access area;

a CPU (Central Processing Unit) configured to issue a first access request for accessing one of the plurality of access areas; and

a memory access controller configured to determine whether an access to the memory is permissible or prohibited using the first access request and the plurality of registers, the memory access controller outputting a second access request in accordance with a determination result.

6. The microcomputer according to claim 5 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein the memory access controller outputs the second access request when the valid bit of the register corresponding to an access area included in the memory address is valid.

7. The microcomputer according to claim 5 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein the memory access controller outputs a violation detection signal to the CPU when the valid bit of the register corresponding to an access area included in the memory address is invalid.

8. The microcomputer according to claim 5 , wherein each of the plurality of registers includes a valid bit, and

wherein a reset unit sets valid bits of all of the plurality of registers to invalid state in response to a reset request signal output from the CPU.

9. A method of a microcomputer, the microcomputer including a plurality of registers configured to correspond to the plurality of access areas, each of the plurality of registers configured to set an access permission or prohibition for a corresponding access area, the method comprising:

issuing a first access request, from a CPU (Central Processing Unit) of the microcomputer, for accessing one of the plurality of access areas;

determining whether an access to a memory is permissible or prohibited using the first access request and the plurality of registers; and

outputting a second access request, to a memory controller, in accordance with a determination result.

10. The method according to claim 9 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein the second access request is output to the memory controller when the valid bit of the register corresponding to an access area included in the memory address is valid.

11. The method according to claim 9 , wherein each of the plurality of registers includes a valid bit,

wherein the first memory request includes a memory address, and

wherein a violation detection signal is output to the CPU when the valid bit of the register corresponding to an access area included in the memory address is invalid.

12. The microcomputer according to claim 9 , wherein each of the plurality of registers includes a valid bit,

wherein valid bits of all of the plurality of registers set to invalid state in response to a reset request signal output from the CPU.

Assignments (1)
CHANGE OF ADDRESS Recorded Dec 18, 2017
From: RENESAS ELECTRONICS CORPORATION
To: RENESAS ELECTRONICS CORPORATION
Reel/Frame 045764/0902 →
Priority Claims (1)
JP 2006-116954 · Apr 20, 2006 · national
Continuity (4)
Continuation 14678454 · Apr 3, 2015
Continuation 13665639 · Oct 31, 2012
Continuation 11785536 · Apr 18, 2007
Related Publication 20160147673A1 · May 26, 2016