JPS617956A - Multiple access control system of memory - Google Patents

Multiple access control system of memory

Info

Publication number
JPS617956A
JPS617956A JP12729084A JP12729084A JPS617956A JP S617956 A JPS617956 A JP S617956A JP 12729084 A JP12729084 A JP 12729084A JP 12729084 A JP12729084 A JP 12729084A JP S617956 A JPS617956 A JP S617956A
Authority
JP
Japan
Prior art keywords
memory
data bus
bank
data
access
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
JP12729084A
Other languages
Japanese (ja)
Inventor
Yoshihisa Shiomi
塩見 佳久
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP12729084A priority Critical patent/JPS617956A/en
Publication of JPS617956A publication Critical patent/JPS617956A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transfer a data in large quantities without lowering a through-put even in case of a device controlled by a CPU whose data bus width is small, by making the number of banks which can be brought to access by once variable in accordance with a device for executing an access to a memory. CONSTITUTION:In case a CPU A executes an access to a memory, addresses A2-An are held in memory address register 102 and inputted to each memory bank. At the same time, by addresses A0, A1 and a memory bank selection control signal, a selecting circuit 103 executes an access to the bank corresponding to the address concerned. Also, a data bus 104 connects a data bus of the bank concerned and a data bus of the CPU A so that a memory 1 byte access from the CPU A can be executed. In case an I/O control circuit B executes an access to the memory, the addresses A2-An are held in the register 102, and by the selection control signal, the bank selecting circuit 103 executes an access to all the banks. In this way, the I/O circuit B can read out and write a data of four bytes simultaneously with respect to the memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数のバンク(領域)により構成されたメモ
リにおけるメモリバンクの多重アクセス制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiple access control system for memory banks in a memory constituted by a plurality of banks (areas).

〔従来技術〕[Prior art]

従来、メモリの多重アクセス方式としては。 Conventionally, as a memory multiple access method.

コンビーータ等におけるメモリの多バンク制御がある。There is multi-bank control of memory in converters and the like.

この多バンク制御の例として、第3図。FIG. 3 shows an example of this multi-bank control.

第4図に2バンク構成の例を示す。FIG. 4 shows an example of a two-bank configuration.

第3図において、メモリは下位バンク301aと上位バ
ンク301bとで構成されている。アドレスは各メモリ
バンク301a、 301b交互に順に割付けられてい
る。第4図を参照して、n+1本のアドレス信号線から
構成されるアドレスバスA□〜Anのうち各メモリバン
ク401a、 401bに共通なアドレス線A1〜An
は、メモリアドレスレジスタ402で保持されて各バン
クのアドレス線に接続される。最下位アドレスビットA
Oは下位メモリバンク(偶数アドレスのメモリ)401
aの選択信号として使用される。また、処理の形式(1
バイト命令/2バイト命令等)により上位メモリバンク
(奇数アドレスのメモリ) 401bのアクセスが必要
な場合には、上位バンク選択信号が発生され、同時に上
位メモリバンク401bもアクセスされる。これにより
上位/下位メモリバンクの少なくとも一方のバンクのデ
ータがアクセスされる。
In FIG. 3, the memory is composed of a lower bank 301a and an upper bank 301b. Addresses are sequentially assigned to each memory bank 301a, 301b alternately. Referring to FIG. 4, address lines A1 to An common to each memory bank 401a and 401b among address buses A□ to An consisting of n+1 address signal lines.
is held in the memory address register 402 and connected to the address line of each bank. lowest address bit A
O is lower memory bank (even address memory) 401
It is used as a selection signal for a. In addition, the processing format (1
If it is necessary to access the upper memory bank (memory at an odd address) 401b by a byte command/2-byte command, etc., an upper bank selection signal is generated and the upper memory bank 401b is accessed at the same time. As a result, data in at least one of the upper/lower memory banks is accessed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら9本方式においては、一般にCPU (中
央処理装置)のデータバス幅により構成されるメモリバ
ンクの数が制約される( CPUのデータバス幅=各バ
ンクのデータバス幅の合計)。このため、データバス幅
の狭いCPUを使用した装置で外部制御装置(チャネル
装置9周辺装置制御装置)からブロック長の大きいデー
タを転送する場合、メモリのデータエリアにアクセスす
る回数が多くなり、 CPUのスループットが大幅に低
下する。
However, in the nine-line system, the number of memory banks configured is generally limited by the data bus width of the CPU (Central Processing Unit) (CPU data bus width = total data bus width of each bank). Therefore, when transferring data with a large block length from an external control device (channel device 9 peripheral device control device) in a device using a CPU with a narrow data bus width, the number of accesses to the data area of memory increases, and the CPU throughput is significantly reduced.

本発明は、上記欠点を解決しようとするものであり、外
部制御装置等からの大量のデータブロック転送要求発生
時には複数のメモリバンクを同時にアクセスしてメモリ
アクセスの回数を減らすことにより、データバス幅の小
さいCPUを使用した装置においてもスループットを低
下させることなく大量のデータ転送を可能にする方式を
提供することを目的とする。
The present invention aims to solve the above-mentioned drawbacks, and when a large amount of data block transfer request is generated from an external control device etc., the data bus width is reduced by accessing multiple memory banks simultaneously and reducing the number of memory accesses. It is an object of the present invention to provide a method that enables a large amount of data transfer without reducing throughput even in a device using a small CPU.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では、メモリを、アドレスが順に割付けられた複
数のバンク(領域)に分割し、メモリをアクセスする装
置のデータバス幅に応じて1つまたは複数のメモリバン
クを選択してアクセスするメモリバンク選択回路と、メ
モリをアクセスした装置のデータバス幅に応じて各メモ
リバンクのデータバスの中からアクセスされたメモリバ
ンクのデータバスを選択して該当装置のデータバスと接
続するメモリデータバス選択回路とを設置することによ
り、 CPUのデータバス幅が小さい装置においても外
部制御装置から同時に複数のメモリバンクをアクセスで
きるようにして一回でアクセスできるデータ量を大きく
シ、外部装置との大量のデータ転送時におけるメモリの
アクセス回数を減らしてスループットを向上させたこと
を特徴とする。
In the present invention, memory is divided into a plurality of banks (areas) to which addresses are sequentially assigned, and one or more memory banks are selected and accessed according to the data bus width of the device accessing the memory. a selection circuit; and a memory data bus selection circuit that selects the data bus of the accessed memory bank from among the data buses of each memory bank according to the data bus width of the device that accessed the memory and connects it to the data bus of the corresponding device. By installing this, even in devices with a small CPU data bus width, multiple memory banks can be accessed simultaneously from an external control device, increasing the amount of data that can be accessed at one time, and allowing large amounts of data to be exchanged with external devices. It is characterized by improving throughput by reducing the number of memory accesses during transfer.

〔実施例〕〔Example〕

次に2本発明の実施例について説明する。 Next, two embodiments of the present invention will be described.

第1図に本発明の基本的な構成例を示す。FIG. 1 shows an example of the basic configuration of the present invention.

第1図において9本方式はアドレスが順に割付けられた
4個のメモリバンク101a−101dによるメモリと
、このメモリをアクセスする装置A、Bからのメモリア
ドレスを保持するためのメモリアドレスレジスタ102
と、メモリバンク選択制御信号とアドレス線AO〜A1
とによりアクセスするメモリバンクを選択するメモリノ
(ンク選択回路103と、データバス幅の小さい装置A
がメモリをアクセスする場合に各メモリバンク101 
a〜101dの中からアクセスされたメモリバンクのバ
スを選択して装置Aのデータバスに接続するメモリデー
タバス選択回路104とにより構成される。装置A、B
のアドレスノ(スはnビットとし、装置Aのデータバス
は8ビツト(1]くイト)、装置Bのデータバスは32
ビツト(4/くイト)とし、メモリにおいて1アドレス
に1ノ(イトのデータが対応するものとする。
In FIG. 1, the nine-line system includes a memory made up of four memory banks 101a to 101d to which addresses are sequentially assigned, and a memory address register 102 for holding memory addresses from devices A and B that access this memory.
, memory bank selection control signal and address lines AO to A1
A memory node (link selection circuit 103) that selects a memory bank to be accessed by
When accessing memory, each memory bank 101
A memory data bus selection circuit 104 selects a bus of an accessed memory bank from among a to 101d and connects it to the data bus of device A. Equipment A, B
The address number of the device is n bits, the data bus of device A is 8 bits (1 bit), and the data bus of device B is 32 bits.
It is assumed that the number of bits (4/ite) corresponds to one address in the memory.

まず、装置Aがメモリをアクセスする場合は。First, when device A accesses memory.

メモリアドレスA2〜Anがメモリアドレスレジスタ1
02に保持されて各メモリノ(ンクに入力される。同時
に、メモリアドレスAO,AIと、装置Aがメモリをア
クセスしていることを示すメモリバンク選択制御信号と
により、メモリノ(ンク選択回路103は該当メモリア
ドレスに対応するメモリバンクをアクセスすると共に、
メモリデータバス選択回路104を制御して該当メモリ
ノくンクのデータバスと装置Aのデータ量くスとを接続
して装置Aからめメモリアクセス(1ノくイト)を可能
する。
Memory addresses A2 to An are memory address register 1
02 and input to each memory node. At the same time, the memory node (link selection circuit 103) In addition to accessing the memory bank corresponding to the corresponding memory address,
The memory data bus selection circuit 104 is controlled to connect the data bus of the corresponding memory node and the data bus of device A to enable memory access (one node) from device A.

次に、装置Bがメモリをアクセスする場合は。Next, if device B accesses the memory.

メモリアドレスA2〜Anがメモリアドレスレジスタ1
02に保持されると同時に、装置Bがメモリをアクセス
していることを示すメモリバンク選択制御信号により、
メモリバンク選択回路103は全てのメモリバンクをア
クセスする。これにより、装置Bはメモリに対し同時に
4バイトのデータを読出し、または書込むことができる
Memory addresses A2 to An are memory address register 1
02 and a memory bank selection control signal indicating that device B is accessing the memory.
Memory bank selection circuit 103 accesses all memory banks. This allows device B to simultaneously read or write 4 bytes of data to the memory.

第2図に本方式の具体的な実施例を示す。FIG. 2 shows a concrete example of this method.

第2−の実施例は、データバスが8ピツ′rのCPU2
05 (第1図の装置Aに対応)と、外部装置とメモリ
間のデータ転送を制御するl0C(I10預り御回路)
 206 (第1図の装置Bに対応)と。
The second embodiment is a CPU 2 with an 8-bit data bus.
05 (corresponding to device A in Figure 1) and l0C (I10 storage control circuit) that controls data transfer between external devices and memory.
206 (corresponding to device B in FIG. 1).

CPU205. l0C206のメモリアクセスの競合
を監視してどちらか一方にメモリアクセスを許可すると
同時に、メモリバンク選択回路203に対しメモリバン
ク選択信号を送出するバス制御回路207と、  l0
C206がメモリをアクセスする時の読出し/書込みデ
ータを保持するメモリデータレジスタ208a〜208
dと、これらのメモリデータレジスタとIOC206間
のデータ転送を行うデータ転送制御回路209.および
第1図に示したのと同様のメモリアドレスレジスタ20
2.メモリバンク201a〜201dメモリデータノ(
ス選択回路204とにより構成される。
CPU205. a bus control circuit 207 that monitors memory access conflicts between the l0Cs 206 and grants memory access to either one, and at the same time sends a memory bank selection signal to the memory bank selection circuit 203;
Memory data registers 208a-208 that hold read/write data when the C206 accesses memory
d, and a data transfer control circuit 209 .d that transfers data between these memory data registers and the IOC 206 . and a memory address register 20 similar to that shown in FIG.
2. Memory banks 201a to 201d memory data (
and a step selection circuit 204.

CPUがメモリをアクセスする場合は、第1図において
装置Aがメモリをアクセスする場合と同様である。
The case where the CPU accesses the memory is the same as the case where device A accesses the memory in FIG.

第2図において、  l0C206がメモリをアクセス
する場合は、第1図において装置Bがメモリをアクセス
する場合と同様に、1回のアクセスですべてのメモリバ
ンクをアクセスし、データ読出し時は各メモリバンクの
データノ(ス対応に設置さ些たメモリデータレジスタ2
08a〜208dに読出したデータをラッチする。次に
、  l0C206はメモリとは独立にデータ転送制御
回路209を介してメモリデータレジスタ208a〜2
08dに保持されたデータを1バイト毎あるいは複数バ
イト毎に外部装置へ転送する。−!た。データ書込み時
は、外部装置から入力したデータを。
In FIG. 2, when the l0C206 accesses the memory, it accesses all memory banks in one access, similar to when device B accesses the memory in FIG. 1, and when reading data, it accesses all memory banks. A small memory data register installed to correspond to the data node (2)
The data read from 08a to 208d is latched. Next, the l0C 206 transfers the memory data registers 208a to 2 through the data transfer control circuit 209 independently of the memory.
The data held in 08d is transferred to an external device in units of bytes or units of multiple bytes. -! Ta. When writing data, use data input from an external device.

データ転送制御回路209を介してメモリデータレジス
タ208a〜208dに格納してメモリをアクセスする
ことにより、1回のメモリアクセスで4バイトのデータ
をメモリに書込むことができる。
By storing the data in the memory data registers 208a to 208d and accessing the memory via the data transfer control circuit 209, 4 bytes of data can be written to the memory in one memory access.

このようにして、外部装置からメモリのデータエリアと
の大量のデータブロック転送の要求が発生した場合でも
、データバスが8ビツトの場合に比ベメモリのアクセス
回数は1/4となり。
In this way, even when a request is made to transfer a large amount of data blocks to and from the data area of the memory from an external device, the number of accesses to the memory is reduced to 1/4 compared to when the data bus is 8 bits.

従来方式に比ベスループットは大幅に向上する。The throughput is significantly improved compared to the conventional method.

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

以上説明したように1本発明はメモリをアクセスする装
置に応じて一回でアクセスできるノ(ンク数を可変とす
ることにより、データノくス幅の小さいCP’Uで制御
される装置でデータ長の長いデータブロックを転送する
場合にCPHのスル−ブツトを低下させずにデータ転送
を行うことができる。
As explained above, one aspect of the present invention is that by making the number of links that can be accessed at one time variable depending on the device that accesses the memory, data length When transferring a long data block, the data transfer can be performed without reducing the throughput of the CPH.

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

第1図は本発明の一実施例の基本的なブロック構成図、
第2図は第1図の構成を用いた具体的なブロック構成図
、第3図は従来の多バンク制御の原理を説明するための
図で、第4図は従来の一例のブロック構成図。 図中、 101a 〜101d、 201a 〜201
dはメモリバンク、  102.202はメモリアドレ
スレジスタ。 103、203はメモリバンク選択回路、 104,2
04はメモリデータバス選択回路。 v、 V、、、:。
FIG. 1 is a basic block diagram of an embodiment of the present invention.
FIG. 2 is a concrete block configuration diagram using the configuration of FIG. 1, FIG. 3 is a diagram for explaining the principle of conventional multi-bank control, and FIG. 4 is a block configuration diagram of an example of the conventional technique. In the figure, 101a to 101d, 201a to 201
d is a memory bank, 102.202 is a memory address register. 103, 203 are memory bank selection circuits; 104, 2;
04 is a memory data bus selection circuit. v, V,,,:.

Claims (1)

【特許請求の範囲】[Claims] 1、メモリを、アドレスが順に割付けられた複数のバン
ク(領域)に分割し、前記メモリをアクセスする装置の
データバス幅に応じて1つまたは複数の前記メモリバン
クを選択してアクセスするメモリバンク選択回路と、前
記メモリをアクセスした装置のデータバス幅に応じて各
メモリバンクのデータバスの中からアクセスされたメモ
リバンクのデータバスを選択して該当装置のデータバス
と接続するメモリデータバス選択回路とを有し、メモリ
をアクセスする装置のデータバス幅に応じて前記メモリ
バンク選択回路とメモリデータバス選択回路とを切換え
て同時にアクセスされるメモリバンクの数を可変とした
ことを特徴とするメモリの多重アクセス制御方式。
1. A memory bank in which the memory is divided into a plurality of banks (areas) to which addresses are sequentially assigned, and one or more of the memory banks are selected and accessed according to the data bus width of the device accessing the memory. A selection circuit and a memory data bus selection for selecting the data bus of the accessed memory bank from among the data buses of each memory bank according to the data bus width of the device that accessed the memory and connecting it to the data bus of the corresponding device. The memory bank selection circuit and the memory data bus selection circuit are switched according to the data bus width of the device accessing the memory, so that the number of memory banks accessed simultaneously can be varied. Memory multiple access control method.
JP12729084A 1984-06-22 1984-06-22 Multiple access control system of memory Pending JPS617956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12729084A JPS617956A (en) 1984-06-22 1984-06-22 Multiple access control system of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12729084A JPS617956A (en) 1984-06-22 1984-06-22 Multiple access control system of memory

Publications (1)

Publication Number Publication Date
JPS617956A true JPS617956A (en) 1986-01-14

Family

ID=14956305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12729084A Pending JPS617956A (en) 1984-06-22 1984-06-22 Multiple access control system of memory

Country Status (1)

Country Link
JP (1) JPS617956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023163A (en) * 1988-06-09 1990-01-08 Toshiba Corp Multi-port memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023163A (en) * 1988-06-09 1990-01-08 Toshiba Corp Multi-port memory

Similar Documents

Publication Publication Date Title
US4658350A (en) Extended addressing apparatus and method for direct storage access devices
JPH0158540B2 (en)
US5343427A (en) Data transfer device
JPS629456A (en) Data transfer unit
EP0217479A2 (en) Information processing unit
JPS617956A (en) Multiple access control system of memory
EP0269370B1 (en) Memory access controller
JPH0341856B2 (en)
JPS60138664A (en) Data bus system for device groups having different necessary data bus width
JP2640104B2 (en) Data transfer device
JPS59206925A (en) Data processing system
JPH0370052A (en) Address translation circuit, memory controller, information processor, and recorder
JPH024020B2 (en)
EP0446002B1 (en) Wafer scale memory having improved multi-bit accessing and system having the wafer scale memory
KR0165505B1 (en) The communication apparatus using shared memory
JPS6079445A (en) Storage controller
RU1835551C (en) Data processor
JP3077992B2 (en) Data transmission equipment
JP2590695B2 (en) Time division switch circuit
JPH0432950A (en) Bus controller
JPS63259746A (en) Inter-bank-memory data transmission system
JPH04258886A (en) Memory circuit
JPH0329021A (en) Printer server
JPH06161945A (en) Memory data transfer device
JPH0261749A (en) Data transfer device