JPH0368046A - Memory access system - Google Patents

Memory access system

Info

Publication number
JPH0368046A
JPH0368046A JP20406889A JP20406889A JPH0368046A JP H0368046 A JPH0368046 A JP H0368046A JP 20406889 A JP20406889 A JP 20406889A JP 20406889 A JP20406889 A JP 20406889A JP H0368046 A JPH0368046 A JP H0368046A
Authority
JP
Japan
Prior art keywords
sub
block
block number
address
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP20406889A
Other languages
Japanese (ja)
Inventor
Takashi Moriyama
隆司 森山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20406889A priority Critical patent/JPH0368046A/en
Publication of JPH0368046A publication Critical patent/JPH0368046A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 情報処理システムにおいて、処理装置が保有するアドレ
ス空間より大きい記憶領域を具備するメモリにアクセス
する為のメモリアクセス方式に関し、 メモリが複数のブロックに区分され、共通アドレスによ
り特定のブロックの共通領域にアクセスする場合にも、
他のブロックにアクセス不可能な記憶領域が生ずるのを
防止することを目的とし、メモリをそれぞれ所定のアド
レス領域を有する複数のプロ・ンクに区分し、且つ各ブ
ロックを、それぞれ複数のサブブロックに区分し、それ
ぞれブロックを指定するブロック番号、およびサブブロ
ックを指定するサブブロック番号を保持する一乃至複数
の保持手段と、メモリに対するアドレスを受信した場合
に、アドレスの所定の一部をサブブロック番号として受
信し、一乃至複数の保持手段の中から一つの保持手段を
選択し、選択した保持手段が保持するブロック番号およ
びサブブロック番号をメモリに印加する選択手段とを設
け、選択手段から印加されるブロック番号およびサブブ
ロック番号と、アドレスの残部とにより、メモリの所望
の記憶領域にアクセス可能とする様に構成する。
[Detailed Description of the Invention] [Summary] In an information processing system, a memory access method for accessing a memory having a storage area larger than an address space held by a processing device is concerned. When accessing the common area of a specific block by address,
In order to prevent the creation of storage areas that are inaccessible to other blocks, the memory is divided into multiple blocks, each having a predetermined address area, and each block is divided into multiple sub-blocks. one or more holding means each holding a block number specifying a block and a subblock number specifying a subblock; a selection means for receiving the block number and sub-block number held by the selected holding means to the memory; The configuration is such that a desired storage area of the memory can be accessed using the block number and subblock number and the remainder of the address.

(産業上の利用分野) 本発明は情報処理システムにおいて、処理装置が保有す
るアドレス空間より大きい記憶領域を具備するメモリに
アクセスする為のメモリアクセス方式に関する。
(Industrial Application Field) The present invention relates to a memory access method for accessing a memory having a storage area larger than an address space held by a processing device in an information processing system.

〔従来の技術〕[Conventional technology]

第3図は従来あるメモリアクセス方式の一例を示す図で
ある。
FIG. 3 is a diagram showing an example of a conventional memory access method.

第3図において、メモリ1は、図示されぬ処理装置が保
有するアドレス空間の二倍の記憶領域を具備しているも
のとする。
In FIG. 3, it is assumed that the memory 1 has a storage area twice as large as the address space held by a processing device (not shown).

かかるメモリ1に所望の記憶領域にアクセスする為に、
前記処理装置はメモリ1をそれぞれアドレス空間に等し
い記憶領域を有する三つのブロック11.12および1
3に区分し、各ブロック11.12および13にそれぞ
れブロック番号b1、btおよびb3を付与して置き、
メモリ1の任意の記憶領域にアクセスするに先立ち、ブ
ロックレジスタ(BR)21にブロック番号す、 、b
In order to access a desired storage area in the memory 1,
The processing device divides the memory 1 into three blocks 11, 12 and 1, each having a storage area equal to the address space.
3, and assign block numbers b1, bt and b3 to each block 11, 12 and 13, respectively,
Before accessing any storage area in the memory 1, the block number is stored in the block register (BR) 21.
.

およびす、を設定すると、ブロック番号す、、b2およ
びす、は変換部(CNV)22を介してデコーダ(DE
C)3に伝達され、デコーダ(DEC)3により対応す
る活性化信号else!またはe3に変換されて8亥当
するブロック11.12または13を活性化し、アクセ
ス可能とする。
When and S are set, the block numbers S, b2 and S are transferred to the decoder (DE) via the converter (CNV) 22.
C) 3 and the corresponding activation signal else! is transmitted by the decoder (DEC) 3. Alternatively, the block 11, 12 or 13 corresponding to 8 after being converted to e3 is activated and made accessible.

なおブロック11の、アドレス空間 (以後共通アドレ
ス空間と称する)により指定される一部の記憶領域11
0(以後共通領域110と称する)には、当該情報処理
システムに固有の情報が格納されている。
Note that a part of the storage area 11 specified by the address space (hereinafter referred to as common address space) of block 11
0 (hereinafter referred to as common area 110) stores information unique to the information processing system.

デコーダ(DEC)23は、前記処理装置から出力され
るアドレスaを監視しており、共通アドレスacが出力
されると、変換部(CNV)22を制御し、デコーダ(
DEC)21から出力されるブロック番号す、、b、お
よびす、を、総て活性化信号e、に変換する。
The decoder (DEC) 23 monitors the address a output from the processing device, and when the common address ac is output, it controls the conversion unit (CNV) 22 and the decoder (
The block numbers S, b, and S output from the DEC 21 are all converted into an activation signal e.

その結果、共通アドレス空間が出力された場合には、無
条件にブロック11の共通領域110にアクセスするこ
ととなる。
As a result, if the common address space is output, the common area 110 of the block 11 will be accessed unconditionally.

その結果、ブロック12および13の共通アドレスac
に対応する記憶領域120および130は、前記処理装
置からはアクセス不可能な領域となる。
As a result, the common address ac of blocks 12 and 13 is
The storage areas 120 and 130 corresponding to are inaccessible from the processing device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

以上の説明から明らかな如く、従来あるメモリアクセス
方式においては、前記処理装置が共通アドレスa、壱メ
モリ1に伝達する場合には、ブロック11の共通領域1
10のみにアクセスを可能としている為、他のブロック
12および13の共通アドレスacに対応する記憶領域
120および130にはアクセス不可能となり、メモリ
1が大容量となり、ブロック数が増加するに伴い、アク
セス不可能な記憶領域が増大する問題点があった。
As is clear from the above explanation, in a conventional memory access method, when the processing device transmits the common address a, 1 memory 1, the common area 1 of block 11
Since only block 10 can be accessed, storage areas 120 and 130 corresponding to the common address ac of other blocks 12 and 13 cannot be accessed.As the capacity of memory 1 increases and the number of blocks increases, There was a problem that the inaccessible storage area increased.

本発明は、メモリが複数のブロックに区分され、共通ア
ドレスにより特定のブロックの共通領域にアクセスする
場合にも、他のブロックにアクセス不可能な記憶領域が
生ずるのを防止することを目的とする。
An object of the present invention is to prevent the creation of a storage area that cannot be accessed in other blocks even when a memory is divided into a plurality of blocks and a common area of a specific block is accessed using a common address. .

〔課題を解決するための手段] 第1図は本発明の原理を示す図である。[Means to solve the problem] FIG. 1 is a diagram showing the principle of the present invention.

第1図において、1はメモリである。In FIG. 1, 1 is a memory.

11、・・・ Inは、本発明によりメモリ1に設けら
れた複数のブロックである。
11, . . . In are a plurality of blocks provided in the memory 1 according to the present invention.

111、・・・、nmは、本発明により各ブロック11
、・・・ 1nに設けられたサブブロックである。
111, . . . , nm are each block 11 according to the present invention.
,... This is a sub-block provided in 1n.

200は、本発明により一乃至複数段けられた保持手段
である。
Reference numeral 200 is a holding means arranged in one or more stages according to the present invention.

300は、本発明により設けられた選択手段である。300 is a selection means provided according to the present invention.

〔作用〕[Effect]

各ブロック11乃至1nは、それぞれ所定のアドレス領
域を有し、それぞれ所定のブロック番号すを付与されて
おり、また各サブブロック111、・・・ 1.nmも
、それぞれ所定のサブブロック番号Sを付与されている
Each of the blocks 11 to 1n has a predetermined address area and is assigned a predetermined block number, and each sub-block 111, . . . 1. nm is also assigned a predetermined sub-block number S, respectively.

各保持手段200は、それぞれ指定されたブロック番号
b、およびサブブロック番号Sを保持する。
Each holding means 200 holds a designated block number b and sub-block number S, respectively.

選択手段300は、メモリ1に対するアドレスaを受信
した場合に、アドレスaの所定の一部をサブブロック番
号Sとして受信し、一乃至複数の保持手段200の中か
ら一つの保持手段200を選択し、選択した保持手段2
00が保持するブロック番号すおよびサブブロック番号
Sをメモリ1に印加する。
When the selection means 300 receives an address a for the memory 1, the selection means 300 receives a predetermined part of the address a as a sub-block number S, and selects one holding means 200 from one or more holding means 200. , selected holding means 2
The block number S and sub-block number S held by 00 are applied to the memory 1.

メモリ1は、選択手段300から印加されるブロック番
号すおよびサブブロック番号Sと、アドレスaの残部と
により、所望の記憶領域にアクセス可能となる。
The memory 1 can access a desired storage area using the block number S and sub-block number S applied from the selection means 300 and the remainder of the address a.

従って、所要のブロック番号およびサブブロック番号を
予め保持手段に設定して置くことにより、メモリ内の任
意のブロックおよびサブブロックにアクセス可能となり
、アクセス不可能な記憶領域を除去可能となる。
Therefore, by setting required block numbers and sub-block numbers in advance in the holding means, it becomes possible to access arbitrary blocks and sub-blocks in the memory, and it becomes possible to remove inaccessible storage areas.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例によるメモリアクセス方式を
示す図である。なお、企図を通じて同一符号は同一対象
物を示す。
FIG. 2 is a diagram showing a memory access method according to an embodiment of the present invention. Note that the same reference numerals refer to the same objects throughout the plan.

第2図においては、メモリ1は、図示されぬ処理装置が
保有するアドレス空間の二倍の記憶領域を具備しており
、それぞれアドレス空間と同一の記憶領域を有し、それ
ぞれブロック番号す、、b2およびb3を付与される三
つのブロック11゜12および13に区分されており、
また各ブロック11,12および13は、それぞれ同一
記憶領域を有し、それぞれサブブロック番号s0乃至S
、を付与される四組のサブブロック110s乃至113
s、120s乃至123sおよび130s乃至133S
に区分されている。
In FIG. 2, the memory 1 has a storage area twice as large as the address space held by a processing device (not shown), each having the same storage area as the address space, and each having a block number. It is divided into three blocks 11, 12 and 13 which are given b2 and b3,
Each block 11, 12, and 13 has the same storage area, and has subblock numbers s0 to S.
, four sets of sub-blocks 110s to 113 given
s, 120s to 123s and 130s to 133S
It is divided into

なお、各ブロック11.12および13内の、サブブo
 ツクllOs、120sおよび130sに付与された
アドレスa。の上位二指はサブブロック番号So  (
例えば「00」)、またサブブロック111S、121
sおよび131sに付与されたアドレス空間の上位二指
はサブブロック番号S+  (例えばroIJ)、また
サブブロック112S、122Sおよび132sに付与
されたアドレスバス8の上位二指はサブブロック番号s
2 (例えば「10」)、更にサブブ07り113s、
123sおよび133sに付与されたアドレスバス8の
上位二指はサブブロック番号S=  (例えば「11」
)とし、各アドレスacsa11乃至as3の三重以下
は、それぞれサブブロック内アドレスaとする。
In addition, the sub-boots in each block 11, 12 and 13
Address a given to TsukullOs, 120s and 130s. The top two fingers are the sub-block number So (
For example, "00"), and subblocks 111S, 121
The upper two fingers of the address space assigned to s and 131s are the subblock number S+ (for example, roIJ), and the upper two fingers of the address bus 8 assigned to the subblocks 112S, 122S, and 132s are the subblock number s.
2 (for example "10"), and further sub-bu 07ri 113s,
The upper two fingers of the address bus 8 assigned to 123s and 133s are subblock numbers S= (for example, "11"
), and each of the three addresses acsa11 to as3 or less is an intra-subblock address a.

また第2図においては、第1図における保持手段200
として、三組のレジスタ(REG)51.52および5
3が設けられ、また第1図における選択手段300とし
てデコーダ(DEC)6およびゲート71.72および
73が設けられている。
Further, in FIG. 2, the holding means 200 in FIG.
As, three sets of registers (REG) 51, 52 and 5
A decoder (DEC) 6 and gates 71, 72 and 73 are provided as the selection means 300 in FIG.

第2図において、図示されぬ処理装置が、メモリ1のサ
ブブロックllOs、120s、130SおよびILI
sにアクセスを行うものとすると、前記処理装置は、先
ずアドレスバス8にレジスタ(REG)51に付与され
たアドレスバス8を送出し、またデータバス9に、ブロ
ック12を指定するブロック番号b2およびサブブロッ
ク120Sを指定するサブブロック番号s0を送出し、
更に書込信号線101に書込信号Wを送出すると、書込
信号Wを受信したデコーダ(DEC)4は活性化され、
アドレスバス8を経由して受信したアドレスバスIをク
ロック信号Ciに変換してレジスタ(R,EC)51に
入力する。
In FIG. 2, a processing device (not shown) includes sub-blocks llOs, 120s, 130S and ILI of memory 1.
s, the processing device first sends the address bus 8 assigned to the register (REG) 51 to the address bus 8, and also sends the block number b2 and the block number b2 specifying the block 12 to the data bus 9. Sends sub-block number s0 specifying sub-block 120S,
Furthermore, when a write signal W is sent to the write signal line 101, the decoder (DEC) 4 that has received the write signal W is activated.
The address bus I received via the address bus 8 is converted into a clock signal Ci and input to the register (R, EC) 51.

その結果、レジスタ(REG)51は、データバス9を
経由して受信したブロック番号b2およびサブブロック
番号S0を蓄積し、ゲート71に伝達する。
As a result, the register (REG) 51 accumulates the block number b2 and sub-block number S0 received via the data bus 9, and transmits them to the gate 71.

次に処理装置は、アドレスバス8にレジスタ(REG)
52に付与されたアドレスバス□を送出し、またデータ
バス9に、ブロック13を指定するブロック番号b3お
よびサブブロック130sを指定するサブブロック番号
Soを送出し、更に書込信号線101に書込信号Wを送
出すると、デコーダ(DEC)4はアドレスバス8を経
由して受信したアドレスバスzをクロック信号C2に変
換してレジスタ(REG)52に入力し、レジスタ(R
EG)52は、データバス9を経由して受信したブロッ
ク番号bffおよびサブブロック番号S。を蓄積し、ゲ
ート72に伝達する。
Next, the processing device sends a register (REG) to address bus 8.
52, the block number b3 specifying the block 13 and the subblock number So specifying the subblock 130s are sent to the data bus 9, and the write signal line 101 is also sent. When the signal W is sent, the decoder (DEC) 4 converts the address bus z received via the address bus 8 into a clock signal C2, inputs it to the register (REG) 52, and registers (R
EG) 52 is the block number bff and sub-block number S received via the data bus 9. is accumulated and transmitted to gate 72.

更に処理装置は、アドレスバス8にレジスタ(REG)
53に付与されたアドレスバス3を送出し、またデータ
バス9に、ブロック11を指定するブロック番号す、お
よびサブブロック111Sを指定するサブブロック番号
S、を送出し、更に書込信号線101に書込信号Wを送
出すると、デコーダ(DEC)4はアドレスバス8を経
由して受信したアドレスバス3をクロック信号C3に変
換してレジスタ(R,EC)53に入力し、レジスタ(
R,EC)53は、データバス9を経由して受信したブ
ロック番号す、およびサブブロック番号S1を蓄積し、
ゲート73に伝達する。
Furthermore, the processing device connects a register (REG) to the address bus 8.
53, the block number S specifying the block 11, and the subblock number S specifying the subblock 111S are sent to the data bus 9. When the write signal W is sent, the decoder (DEC) 4 converts the address bus 3 received via the address bus 8 into a clock signal C3, inputs it to the register (R, EC) 53, and registers (
R, EC) 53 stores the block number and sub-block number S1 received via the data bus 9,
The signal is transmitted to gate 73.

一方ゲート70には、ブロック11のサブブロック11
0s (共通領域)を指定するブロック番号b1および
サブブロック番号S0が、固定的に人力されている。
On the other hand, the gate 70 has a sub-block 11 of the block 11.
The block number b1 and sub-block number S0 specifying 0s (common area) are fixedly entered manually.

然しゲート70乃至73は、現時点では何れも遮断状態
に設定されており、それぞれ人力されるブロック番号す
、およびサブブロック番号S0、ブロック番号b2およ
びサブブロック番号So、ブロック番号す、およびサブ
ブロック番号S。並びにブロック番号す、およびサブブ
ロック番号Sを出力することは無い。
However, all of the gates 70 to 73 are currently set to a blocked state, and the block number, sub-block number S0, block number b2, sub-block number So, block number, and sub-block number are manually input. S. Also, the block number S and sub-block number S are not output.

かかる状態で、サブブロックllOsにアクセスを試み
る前記処理装置は、アドレスバス8に共通アドレスバス
 C−5o +a−s)を送出すると、アドレスバス8
の内、サブブロック番号Sに相当する上位二指を伝送す
るサブブロック番号線81は、サブブロック番号S0を
デコーダ(DEC)6に伝達し、残るサブブロック内ア
ドレスa−Sに相当する二指以下を伝送するサブブロッ
ク内アドレス線82は、サブブロック内アドレスa−3
をアドレスレジスタ(AR)2に伝達する。
In this state, when the processing device attempting to access the sub-block llOs sends the common address bus (C-5o +a-s) to the address bus 8, the processing device attempts to access the sub-block llOs.
The subblock number line 81, which transmits the upper two fingers corresponding to the subblock number S, transmits the subblock number S0 to the decoder (DEC) 6, and the two fingers corresponding to the remaining subblock addresses a-S. The intra-subblock address line 82 that transmits the following is an intra-subblock address a-3.
is transmitted to address register (AR) 2.

常時活性化されているデコーダ(DEC)6は、サブブ
ロック番号線81を経由して受信するサブブロック番号
S0をゲート信号g0に変換し、ゲート70に伝達する
The decoder (DEC) 6, which is always activated, converts the sub-block number S0 received via the sub-block number line 81 into a gate signal g0, and transmits it to the gate 70.

ゲート信号g。を受信したゲー)70は導通状態に設定
され、固定的に入力されるブロック番号す、をブロック
番号線(02を経由してデコーダ(DEC)3に伝達し
、またサブブロック番号S。をサブブロック番号線81
1を経由してアドレスレジスタ(AR)2に伝達する。
Gate signal g. The game (DEC) 70 that has received this is set to a conductive state, transmits the fixedly input block number S to the decoder (DEC) 3 via the block number line (02), and also transmits the sub-block number S to the sub-block number S. Block number line 81
1 to the address register (AR) 2.

その結果、アドレスレジスタ(AR)2には、ゲート7
0からサブブロック番号線81′を経由して伝達された
サブブロック番号S0と、前記処理装置からサブブロッ
ク内アドレス線82を経由して伝達されたサブブロック
内アドレスa−sとが共通アドレスバスとして設定され
、メモリ1に伝達される。
As a result, address register (AR) 2 contains gate 7.
The sub-block number S0 transmitted from 0 via the sub-block number line 81' and the intra-sub-block address a-s transmitted from the processing device via the intra-sub-block address line 82 are connected to a common address bus. and is transmitted to memory 1.

一方デコーダ(DEC)3は、ゲート70からブロック
番号線102を経由して伝達されたブロック番号す、を
活性化信号e、に変換し、ブロック11に伝達する。
On the other hand, the decoder (DEC) 3 converts the block number S transmitted from the gate 70 via the block number line 102 into an activation signal e, and transmits it to the block 11.

その結果、デコーダ(DEC)3から活性化信号e、を
受信したブロック11が活性化され、アドレスレジスタ
(AR)2から受信した共通アドレスバスに対応するサ
ブブロック110S(共通領域)にアクセス可能となる
As a result, the block 11 that has received the activation signal e from the decoder (DEC) 3 is activated, and the sub-block 110S (common area) corresponding to the common address bus received from the address register (AR) 2 can be accessed. Become.

次に、サブブロック120sにアクセスを試みる前記処
理装置が、サブブロック120Sを指定するブロック番
号b2およびサブブロック番号。
Next, the processing device attempting to access the sub-block 120s specifies the block number b2 and the sub-block number.

。を設定したレジスタ(REG)51に対応するサブブ
ロック番号S、を上位二指とし、アクセス対象となるサ
ブブロック120s内のサブブロック内アドレスa−s
を二指以下とするアドレスaをアドレスバス8に送出す
ると、アドレスバス8の内のサブブロック番号線81は
サブブロック番号S1をデコーダ(DEC)6に伝達し
、またサブブロック内アドレス線82はサブブロック内
アドレスa−Sをアドレスレジスタ(AR)2に伝達す
る。
. The sub-block number S corresponding to the register (REG) 51 in which the
When an address a with 2 fingers or less is sent to the address bus 8, the sub-block number line 81 of the address bus 8 transmits the sub-block number S1 to the decoder (DEC) 6, and the intra-sub-block address line 82 transmits the sub-block number S1 to the decoder (DEC) 6. The intra-subblock address a-S is transmitted to the address register (AR) 2.

デコーダ(DEC)6は、サブブロック番号線81を経
由して受信するサブブロック番号S1をゲート信号g、
に変換し、ゲート71に伝達する。
A decoder (DEC) 6 sends a sub-block number S1 received via a sub-block number line 81 to a gate signal g.
and transmits it to the gate 71.

ゲート信号g1を受信したゲート71は導通状態に設定
され、レジスタ(REG)51から入力されるブロック
番号b2をブロック番号線102を経由してデコーダ(
DEC)3に伝達し、またサブブロック番号S0をサブ
ブロック番号線81“を経由してアドレスレジスタ(A
R)2に伝達する。
The gate 71 that has received the gate signal g1 is set to a conductive state, and the block number b2 inputted from the register (REG) 51 is sent to the decoder (
The sub-block number S0 is transmitted to the address register (A) via the sub-block number line 81".
R) 2.

その結果、アドレスレジスタ(AR)2には、ゲート7
1からサブブロック番号線81′を経由して伝達された
サブブロック番号S0と、前記処理装置からサブブロッ
ク内アドレス線82を経由して伝達されたサブブロック
内アドレスa−sとがアドレスa、として設定され、メ
モリlに伝達される。
As a result, address register (AR) 2 contains gate 7.
The sub-block number S0 transmitted from 1 through the sub-block number line 81' and the intra-sub-block address a-s transmitted from the processing device through the intra-sub-block address line 82 are address a, and is transmitted to memory l.

一方デコーダ(DEC)3は、ゲート71からブロック
番号線102を経由して伝達されたブロック番号b2を
活性化信号e2に変換し、ブロック12に伝達する。
On the other hand, the decoder (DEC) 3 converts the block number b2 transmitted from the gate 71 via the block number line 102 into an activation signal e2, and transmits it to the block 12.

その結果、デコーダ(DEC)3から活性化信号e2を
受信したブロック12が活性化され、アドレスレジスタ
(AR)2から受信したアドレスacに対応するサブブ
ロック120Sにアクセス可能となる。
As a result, the block 12 that has received the activation signal e2 from the decoder (DEC) 3 is activated, and the sub-block 120S corresponding to the address ac received from the address register (AR) 2 can be accessed.

次に、サブブロック130Sにアクセスを試みる前記処
理装置が、サブブロック130Sを指定するブロック番
号b3およびサブブロック番号S。を設定したレジスタ
(REG)52に対応するサブブロック番号S2を上位
二指とし、アクセス対象となるサブブロック130s内
のサブブロック内アドレスa−Sを二指以下とするアド
レスaをアドレスバス8に送出すると、アドレスバス8
の内のサブブロック番号線81はサブブロック番号S2
をデコーダ(DEC)6に伝達し、またサブブロック内
アドレス線82はサブブロック内アドレスa−Sをアド
レスレジスタ(AR)2に伝達する。
Next, the processing device attempting to access the sub-block 130S specifies the block number b3 and the sub-block number S. The sub-block number S2 corresponding to the register (REG) 52 in which the When sent, address bus 8
The sub-block number line 81 is the sub-block number S2.
is transmitted to the decoder (DEC) 6, and the intra-subblock address line 82 transmits the intra-subblock address a-S to the address register (AR) 2.

デコーダ(DEC)6は、サブブロック番号線81を経
由して受信するサブブロック番号S2をゲート信号gt
に変換し、ゲート72に伝達する。
A decoder (DEC) 6 sends a sub-block number S2 received via a sub-block number line 81 to a gate signal gt.
and transmits it to the gate 72.

ゲート信号g2を受信したゲート72は導通状態に設定
され、レジスタ(REG)52から入力されるブロック
番号す、をブロック番号線102を経由してデコーダ(
DEC)3に伝達し、またサブブロック番号S0をサブ
ブロック番号線811を経由してアドレスレジスタ(A
R)2に伝達する。
The gate 72 that has received the gate signal g2 is set to a conductive state, and the block number inputted from the register (REG) 52 is sent to the decoder (
The sub-block number S0 is transmitted to the address register (A) via the sub-block number line 811.
R) 2.

その結果、アドレスレジスタ(AR)2には、ゲート7
2からサブブロック番号線81“を経由して伝達された
サブブロック番号S0と、前記処理装置からサブブロッ
ク内アドレス線82を経由して伝達されたサブブロック
内アドレスa−sとがアドレスacとして設定され、メ
モリ1に伝達される。
As a result, address register (AR) 2 contains gate 7.
The sub-block number S0 transmitted from 2 via the sub-block number line 81'' and the intra-sub-block address a-s transmitted from the processing device via the intra-sub-block address line 82 are used as the address ac. is set and transmitted to memory 1.

一方デコーダ(DEC)3は、ゲート72からブロック
番号線102を経由して伝達されたブロック番号b3を
活性化信号e、に変換し、ブロック12に伝達する。
On the other hand, the decoder (DEC) 3 converts the block number b3 transmitted from the gate 72 via the block number line 102 into an activation signal e, and transmits it to the block 12.

その結果、デコーダ(DEC)3から活性化信号e3を
受信したブロック13が活性化され、アドレスレジスタ
(AR)2から受信したアドレスacに対応するサブブ
ロック130sにアクセス可能となる。
As a result, the block 13 that has received the activation signal e3 from the decoder (DEC) 3 is activated, and the sub-block 130s corresponding to the address ac received from the address register (AR) 2 can be accessed.

更に、サブブロック111sにアクセスを試みる前記処
理装置が、サブブロック1llsを指定するブロック番
号す、およびサブブロック番号S東を設定したレジスタ
(REG)53に対応するサブブロック番号S、を上位
二指とし、アクセス対象となるサブブロック1lls内
のサブブロック内アドレスa−sを二指以下とするアド
レスaをアドレスバス8に送出すると、アドレスバス8
の内のサブブロック番号線81はサブブロック番号S3
をデコーダ(DEC)6に伝達し、またサブブロック内
アドレス線82はサブブロック内アドレスa−Sをアド
レスレジスタ(AR)2に伝達する。
Furthermore, the processing device attempting to access the sub-block 111s specifies the top two block numbers S specifying the sub-block 1lls and the sub-block number S corresponding to the register (REG) 53 in which the sub-block number S East is set. Then, when the address a which makes the sub-block address a-s in the sub-block 1lls to be accessed less than or equal to two fingers is sent to the address bus 8, the address bus 8
The sub-block number line 81 is the sub-block number S3.
is transmitted to the decoder (DEC) 6, and the intra-subblock address line 82 transmits the intra-subblock address a-S to the address register (AR) 2.

デコーダ(DEC)6は、サブブロック番号線81を経
由して受信するサブブロック番号S3をゲート信号g、
に変換し、ゲート73に伝達する。
A decoder (DEC) 6 sends a sub-block number S3 received via a sub-block number line 81 to a gate signal g.
and transmits it to the gate 73.

ゲート信号g3を受信したゲート73は導通状態に設定
され、レジスタ(REG)5’3から入力されるブロッ
ク番号す、をブロック番号線102を経由してデコーダ
(DEC)3に伝達し、またサブブロック番号S、をサ
ブブロック番号線81“を経由してアドレスレジスタ(
AR)2に伝達する。
The gate 73 that has received the gate signal g3 is set to a conductive state, transmits the block number input from the register (REG) 5'3 to the decoder (DEC) 3 via the block number line 102, and also Block number S is sent to the address register (
AR) 2.

その結果、アドレスレジスタ(AR)2には、ゲート7
3からサブブロック番号線811を経由して伝達された
サブブロック番号S、と、前記処理装置からサブブロッ
ク内アドレス線82を経由して伝達されたサブブロック
内アドレスa−sとがアドレスa0として設定され、メ
モリ1に伝達される。
As a result, address register (AR) 2 contains gate 7.
The sub-block number S transmitted from No. 3 via the sub-block number line 811 and the intra-sub-block address a-s transmitted from the processing device via the intra-sub-block address line 82 are used as address a0. is set and transmitted to memory 1.

一方デコーダ(DEC)3は、ゲート73からブロック
番号線102を経由して伝達されたブロック番号す、を
活性化信号elに変換し、ブロック11に伝達する。
On the other hand, the decoder (DEC) 3 converts the block number S transmitted from the gate 73 via the block number line 102 into an activation signal el, and transmits it to the block 11.

その結果、デコーダ(DEC)3から活性化信号elを
受信したブロック11が活性化され、アドレスレジスタ
(AR)2から受信したアドレスバスに対応するサブブ
ロック130sにアクセス可能となる。
As a result, the block 11 that has received the activation signal el from the decoder (DEC) 3 is activated, and the sub-block 130s corresponding to the address bus received from the address register (AR) 2 can be accessed.

以上の説明から明らかな如く、本実施例によれば、サブ
ブロックllOs (共通領域)を除く任意のサブブロ
ック111s乃至113s、12O8乃至123s、1
30s乃至133Sを指定するブロック番号す、乃至す
、およびサブブロック番号S0乃至s3を予めレジスタ
(REG)51乃至53に設定した後、各レジスタ(R
EG)51乃至53に対応するサブブロック番号s、乃
至S、を上位二指とするアドレスaを送出することによ
り、任意のサブブロック111S乃至113S、120
s乃至123s、130s乃至133Sにアクセス可能
となる。なお共通領域であるサブブロック110sには
、従来通り共通アドレスバスを送出することにより、レ
ジスタ(REG)51乃至53に何等蓄積すること無く
アクセス可能となる。
As is clear from the above description, according to this embodiment, any subblocks 111s to 113s, 12O8 to 123s, 1
After setting block numbers S to s3 specifying 30s to 133S and sub-block numbers S0 to s3 in registers (REG) 51 to 53 in advance, each register (R
EG) Any subblock 111S to 113S, 120 by sending address a whose upper two fingers are subblock numbers s to S corresponding to 51 to 53.
s to 123s and 130s to 133S can be accessed. Note that the sub-block 110s, which is a common area, can be accessed without storing anything in the registers (REG) 51 to 53 by sending out a common address bus as before.

なお、第2図はあく迄本発明の一実施例に過ぎず、例え
ばメモリ1の構成は図示されるものに限定されることは
無く、他に幾多の変形が考慮されるが、何れの場合にも
本発明の効果は変わらない。
Note that FIG. 2 is merely one embodiment of the present invention, and for example, the configuration of the memory 1 is not limited to that shown in the figure, and many other modifications may be considered, but in any case However, the effect of the present invention remains unchanged.

また保持手段200および選択手段300は、図示され
る三組のレジスタ(REG)51乃至53、およびデコ
ーダ(DEC)6と四組のゲート70乃至73に限定さ
れることは無く、他に幾多の変形が考慮されるが、何れ
の場合にも本発明の効果は変わらない。
Furthermore, the holding means 200 and the selection means 300 are not limited to the illustrated three sets of registers (REG) 51 to 53, the decoder (DEC) 6, and the four sets of gates 70 to 73, and may include many other sets of gates 70 to 73. Although variations are considered, the effects of the present invention do not change in any case.

〔発明の効果〕〔Effect of the invention〕

以上、本発明によれば、所要のブロック番号およびサブ
ブロック番号を予め保持手段に設定して置くことにより
、メモリ内の任意のブロックおよびサブブロックにアク
セス可能となり、アクセス不可能な記憶領域を除去可能
となる。
As described above, according to the present invention, by setting the required block number and sub-block number in the holding means in advance, it becomes possible to access any block and sub-block in the memory, and eliminate inaccessible storage areas. It becomes possible.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の原理を示す図、第2図は本発明の一実
施例によるメモリアクセス方式を示す図、第3図は従来
あるメモリアクセス方式の一例を示す図である。 図において、1はメモリ、2はアドレスレジスタ(AR
)、3.4.6および23はデコーダ(DEC)、8は
アドレスバス、9はデータバス、11乃至13はブロッ
ク、21はブロックレジスタ(BR)、22は変換部(
CNV) 、51乃至53はレジスタ(REG) 、7
0乃至73はゲート、81および81°はサブブロック
番号線、82はサブブロック内アドレス線、101は書
込信号線、102はブロック番号線、110は共通領域
、110S乃至113s、120S乃至123s、13
0s乃至133sはサブブロック、20、f−s明のに
理囚 第 l 図 従来あろ〆七q7りじス方式 %式%
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a memory access method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of a conventional memory access method. In the figure, 1 is memory, 2 is address register (AR
), 3.4.6 and 23 are decoders (DEC), 8 is an address bus, 9 is a data bus, 11 to 13 are blocks, 21 is a block register (BR), and 22 is a conversion unit (
CNV), 51 to 53 are registers (REG), 7
0 to 73 are gates, 81 and 81° are subblock number lines, 82 is an intra-subblock address line, 101 is a write signal line, 102 is a block number line, 110 is a common area, 110S to 113s, 120S to 123s, 13
0s to 133s are sub-blocks.

Claims (1)

【特許請求の範囲】 メモリ(1)をそれぞれ所定のアドレス領域を有する複
数のブロック(11、・・・、1n)に区分し、且つ前
記各ブロック(11、・・・、1n)を、それぞれ複数
のサブブロック(111、・・・、1nm)に区分し、 それぞれ前記ブロック(11、・・・、1n)を指定す
るブロック番号(b)、および前記サブブロック(11
1、・・・、1nm)を指定するサブブロック番号(s
)を保持する一乃至複数の保持手段(200)と、 前記メモリ(1)に対するアドレス(a)を受信した場
合に、前記アドレス(a)の所定の一部を前記サブブロ
ック番号(s)として受信し、前記一乃至複数の保持手
段(200)の中から一つの保持手段(200)を選択
し、前記選択した保持手段(200)が保持する前記ブ
ロック番号(b)およびサブブロック番号(s)を前記
メモリ(1)に印加する選択手段(300)とを設け、
前記選択手段(300)から印加される前記ブロック番
号(b)および前記サブブロック番号(s)と、前記ア
ドレス(a)の残部とにより、前記メモリ(1)の所望
の記憶領域にアクセス可能とすることを特徴とするメモ
リアクセス方式。
[Claims] A memory (1) is divided into a plurality of blocks (11,..., 1n) each having a predetermined address area, and each block (11,..., 1n) is divided into a plurality of blocks (11,..., 1n) each having a predetermined address area. A block number (b) that is divided into a plurality of sub-blocks (111, . . . , 1 nm) and specifies each of the blocks (11, . . . , 1n);
Sub-block number (s
); and when an address (a) for the memory (1) is received, a predetermined part of the address (a) is set as the sub-block number (s); one holding means (200) from among the one or more holding means (200), and the block number (b) and sub-block number (s) held by the selected holding means (200). ) to the memory (1);
A desired storage area of the memory (1) can be accessed by the block number (b) and the sub-block number (s) applied from the selection means (300) and the remainder of the address (a). A memory access method characterized by:
JP20406889A 1989-08-07 1989-08-07 Memory access system Pending JPH0368046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20406889A JPH0368046A (en) 1989-08-07 1989-08-07 Memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20406889A JPH0368046A (en) 1989-08-07 1989-08-07 Memory access system

Publications (1)

Publication Number Publication Date
JPH0368046A true JPH0368046A (en) 1991-03-25

Family

ID=16484234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20406889A Pending JPH0368046A (en) 1989-08-07 1989-08-07 Memory access system

Country Status (1)

Country Link
JP (1) JPH0368046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338770A (en) * 1998-01-20 1999-12-10 Motorola Inc Data processing system having overlead paged memory control register
KR200447391Y1 (en) * 2007-11-12 2010-01-21 남현철 Red scissors

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338770A (en) * 1998-01-20 1999-12-10 Motorola Inc Data processing system having overlead paged memory control register
KR200447391Y1 (en) * 2007-11-12 2010-01-21 남현철 Red scissors

Similar Documents

Publication Publication Date Title
JPS6145272B2 (en)
JPH0368046A (en) Memory access system
JPS6165350A (en) Priority allocator
JPS6361697B2 (en)
JPH0512883A (en) Sequential memory
JPH07334420A (en) Extended memory control circuit
JPS592058B2 (en) Storage device
JPH07319829A (en) Method for transferring data
JP3186661B2 (en) Request management circuit
JP3222647B2 (en) Automatic memory bank switching system
JP2555123B2 (en) Memory access management method
JPH01293456A (en) shared memory device
JPS63236153A (en) Storage device
JPH0225542B2 (en)
JPS6186859A (en) Bus selector
JPH04195234A (en) Data transfer system
JPS62298990A (en) High speed memory device
JPH01283653A (en) Memory pool managing system
JPH0264760A (en) Interface device for parallel processor system
JPH0756860A (en) Multi-cpu system
JPH03223950A (en) bus conversion circuit
JPS6149266A (en) memory controller
JPS6249459A (en) Memory bank switching method in microprocessor
JPS6350141A (en) Data exchanging device
JPH01158545A (en) Control system for memory