# US 5,349,650 A · Address translating apparatus for translating virtual address into real address without depending on processing by CPU

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,349,650 A
- Document ID: US5349650A
- Status: Granted
- Kind: A
- Application number: 07/723,011
- Filed: 1991-06-28
- Granted: 1994-09-20
- Earliest claimed: 1990-10-08
- Assignees: Mitsubishi Denki Kabushiki Kaisha
- Inventors: Tatsuya Imakura; Mitsuru Sugita
- Web page: https://patentgrep.com/patent/US5349650A

## CPC

- G06F 12/0692: {Multiconfiguration, e.g. local and global addressing}
- G06F 15/167: using a common memory, e.g. mailbox
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An address translating circuit is disclosed for translating a virtual address signal generated from an external CPU into a real address signal applicable to the dual-port random access memory (DPRAM) in the microcomputer. This address translating circuit includes an offset register, an enabling signal generating circuit, and a subtractor provided in the microcomputer. The offset data obtained based upon the difference between an address map handled by the external CPU and an address map handled by the internal CPU is set in the offset register. The enabling signal generating circuit is responsive to the more significant bits of the virtual address signal and the offset data to generate an enabling signal. The subtractor is responsive to the intermediate bits of the virtual address signal and the offset data to generate a translated address signal. Since the address translation is performed by circuit operation without depending on the processing of the external CPU, the burden on the external CPU is reduced

## Claims

### Claim 1

An address translating apparatus for translating an externally applied virtual address signal into a real address signal for addressing a memory cell array, comprising:
a) offset data holding means for holding predetermined offset data for address translation;
b) enabling means responsive to predetermined more significant bits of the virtual address signal and predetermined more significant bits of the offset data held in said offset data holding means for enabling access to said memory cell array, said enabling means having
i) first coincidence detecting means for detecting coincidence of the more significant bits of the virtual address signal and the offset data held in said offset data holding means,
ii) second coincidence detecting means for detecting coincidence between the more significant bits of the virtual address signal and data bits having a prescribed relationship with the more significant bits of the virtual address signal; and
c) real address signal generating means responsive to predetermined less significant bits of the virtual address signal and predetermined less significant bits of the offset data held in said offset data holding means for generating said real address signal.

### Claim 2 (depends on 1)

An address translating apparatus according to claim 1, wherein said enabling means and real address signal generating means share a common address bus, and
said memory cell array is responsive to said first coincidence detecting means to be enabled.

### Claim 3 (depends on 1)

An address translating apparatus according to claim 1, wherein
said real address signal generating means includes difference detecting means for detecting a difference between the less significant bits of the virtual address signal and the less significant bits of the offset data held in said offset data holding means; and
said difference detecting means providing a detected difference signal as said real address signal.

### Claim 4 (depends on 2)

An address translating apparatus according to claim 2, wherein said enabling means further comprises:
adjacent data generating means, responsive to the more significant bits of the virtual address signal, to generate said data bits, the data bits being an address adjacent to the data defined by the more significant bits of the virtual address signal; and said memory cell array is responsive to said second coincidence detecting means to be enabled.

### Claim 5 (depends on 4)

An address translating apparatus according to claim 4, wherein said adjacent data generating means comprises:
adding means for receiving the more significant bits of the virtual address signal and adding "+1" to the data defined by the more significant bits of the virtual address signal.

### Claim 6 (depends on 3)

An address translating apparatus according to claim 3, wherein said difference detecting means comprises:
a subtractor connected to receive the less significant bits of the virtual address signal and the less significant bits of the offset data held in said offset data holding means; and
said subtractor providing the subtraction result as said real address signal.

### Claim 7 (depends on 6)

An address translating apparatus according to claim 6, wherein
said subtractor comprises a carry look-ahead type subtractor.

### Claim 8 (depends on 1)

An address translating apparatus according to claim 1, wherein
said memory cell array comprises a random access memory cell array having dual ports.

### Claim 9

A data processing apparatus comprising:
a memory cell array including a plurality of memory cells arranged in rows and columns; and
address translating means for translating an externally applied virtual address signal into a real address signal for addressing said memory cell array, wherein said address translating means comprises
offset data holding means for holding predetermined offset data for address translation,
enabling means responsive to predetermined more significant bits of the virtual address signal and predetermined more significant bits of the offset data held in said offset data holding means for enabling access to said memory cell array, said enabling means having
i) first coincidence detecting means for detecting coincidence of the more significant bits of the virtual address signal and the offset data held in said offset data holding means,
ii) second coincidence detecting means for detecting coincidence between the more significant bits of the virtual address signal and data bits having a prescribed relationship with the more significant bits of the virtual address signal by addition of a prescribed value to the more significant bits of the virtual address, and
real address signal generating means responsive to predetermined less significant bits of the virtual address signal and predetermined less significant bits of the offset data held in said offset data holding means for generating said real address signal, wherein said enabling means and real address signal generating means share a common address bus.

### Claim 10

A data processing apparatus comprising:
a memory cell array having first and second input/output ports and a plurality of memory cells arranged in rows and columns;
first accessing means connected to the first input/output port of said memory cell array for accessing said memory cell array through the first input/output port; and
second access means connected to the second input/output port of said memory cell array and responsive to an externally applied virtual address signal for accessing said memory cell array through the second input/output port, wherein said second access mean comprises
offset data holding means for holding predetermined offset data for address translation,
enabling means responsive to predetermined more significant bits of the virtual address signal and predetermined more significant bits of the offset data held in said offset data holding means for enabling access to said memory cell arrays, said enabling means having
i) first coincidence detecting means for detecting coincidence of the more significant bits of the virtual address signal and the offset data held in said offset data holding means,
ii) second coincidence detecting means for detecting coincidence between the more significant bits of the virtual address signal and data bits having a prescribed relationship with the more significant bits of the virtual address signal by addition of a prescribed value to the more significant bits of the virtual address, and
real address signal generating means responsive to predetermined less significant bits of the virtual address signal and predetermined less significant bits of the offset data held in said offset data holding means for generating said real address signal, said enabling means and real address signal generating means sharing a common address bus and said memory cell array being responsive to the real address signal generated from said real address signal generating means to be addressed.

### Claim 11 (depends on 10)

A data processing apparatus according to claim 10, wherein said first accessing means comprises:
means for generating an access request signal requesting access to said memory cell array;
designating means connected to said memory cell array and responsive to the access request signal for designating the memory cells in said memory cell array; and
reading means connected to said memory cell array and responsive to the access request signal for reading the data stored in the memory cell which is designated by said designating means.

### Claim 12 (depends on 11)

A data processing apparatus according to claim 11, wherein said access request signal generating means comprises a central processing unit for generating the access request signal.
