JPS6381557A - Dual port memory - Google Patents

Dual port memory

Info

Publication number
JPS6381557A
JPS6381557A JP22589186A JP22589186A JPS6381557A JP S6381557 A JPS6381557 A JP S6381557A JP 22589186 A JP22589186 A JP 22589186A JP 22589186 A JP22589186 A JP 22589186A JP S6381557 A JPS6381557 A JP S6381557A
Authority
JP
Japan
Prior art keywords
port memory
dual port
address
dual
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
JP22589186A
Other languages
Japanese (ja)
Inventor
Noriyuki Aoyama
青山 徳行
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP22589186A priority Critical patent/JPS6381557A/en
Publication of JPS6381557A publication Critical patent/JPS6381557A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/16Multiple access memory array, e.g. addressing one storage element via at least two independent addressing line groups

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To remarkably reduce the data transfer time by applying memory access from both ports simultaneously in a multi-CPU system. CONSTITUTION:In case of data transfer according to the address inputted from the port A, the head address and capacity of a dual port memory C31 and a dual port memory D32 are designated to an address comparator 41. The designation is applied by the jumper setting or the setting by a CPU. Through the designation, the address comparator 41 decides the dual port memory represented by the inputted address and in case of the access to the dual port memory C31, an ENABLE(C) is outputted and in case of the access to the dual port memory D32, an ENABLE(D) is outputted to attain the access to each dual port memory.

Description

【発明の詳細な説明】 技術分野 本発明は5画像処理装置等において5データ転送に用い
るデュアルポートメモリに関し、特に、データ転送を高
速化することが可能なデュアルポートメモリに関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a dual port memory used for 5 data transfer in a 5 image processing apparatus or the like, and more particularly to a dual port memory capable of speeding up data transfer.

従来技術 従来、マルチCPUシステムにおけるデータ転送では、
2バス間にデュアルポートメモリを設け、これをバッフ
ァとしてデータの受は渡しを行っている。しかし、この
方法では、一方のバス上にある制御器がメモリをアクセ
スしている間は、他方のバス上にある制御器は、そのメ
モリをアクセスすることができなかった。
Prior Art Conventionally, in data transfer in a multi-CPU system,
A dual port memory is provided between the two buses, and this is used as a buffer to receive and pass data. However, with this method, while a controller on one bus is accessing memory, a controller on the other bus cannot access the memory.

例えば、第4図のように、コントロール信号。For example, as shown in Figure 4, a control signal.

およびアドレスを与えると、デュアルポートメモリに対
し、データをリード/ライトすることができるが、第2
図のように、ポートA側がデータ1゜2のリード/ライ
トを実行していると、ポートB側からはアクセスできず
、また、ポートB側がデータ1,2のリード/ライトを
実行していると、ポートA側からはアクセス不可能とな
る。
If the address and address are given, data can be read/written to the dual port memory, but the second
As shown in the figure, if port A side is executing read/write of data 1 and 2, it cannot be accessed from port B side, and port B side is executing read/write of data 1 and 2. Then, access from the port A side becomes impossible.

このため、マルチCPUシステム等において、データ転
送を高速化することが廻しかった。
For this reason, it has been difficult to speed up data transfer in multi-CPU systems and the like.

目     的 本発明の目的は、このような問題点を改善し。the purpose The purpose of the present invention is to improve these problems.

マルチCPUシステム等において、データ転送を高速化
することが可能なデュアルポートメモリを提供すること
にある。
An object of the present invention is to provide a dual port memory capable of speeding up data transfer in a multi-CPU system or the like.

構   成 上記目的を達成するため、本発明のデュアルポートメモ
リは、デュアルポートメモリの両側にあるポートから該
デュアルポートメモリに対して。
Configuration To achieve the above object, the dual port memory of the present invention connects ports on both sides of the dual port memory to the dual port memory.

アドレス、データ、およびコントロール信号を送り、該
デュアルポートメモリにアクセスするマルチCPUシス
テムにおいて、上記デュアルポートメモリを複数に分割
し、上記ポートから入力された上記アドレス、データ、
およびコントロール信号を制御する手段(ゲート群)、
および、そのアドレスが指定するデュアルポートメモリ
を判別する手段(アドレス比較器)を備え、その両ポー
トの一方からアドレスが入力されると、アドレス比較器
は、そのアドレスが指定するデュアルポートメモリが判
別し、ゲート群により、コントロール信号をイネーブル
とし、そのポートから指定されたデュアルポートメモリ
に対するアクセスを行い、そのアクセスと同時に、その
両ポートの他方から、その指定デュアルポートメモリ以
外のデュアルポートメモリに対するアクセスを行うこと
に特徴がある。
In a multi-CPU system that accesses the dual-port memory by sending address, data, and control signals, the dual-port memory is divided into a plurality of parts, and the address, data, and control signals input from the port are
and means for controlling control signals (gate group);
and a means (address comparator) for determining the dual port memory specified by the address, and when an address is input from one of the ports, the address comparator determines the dual port memory specified by the address. Then, the gate group enables the control signal, accesses the designated dual port memory from that port, and at the same time accesses a dual port memory other than the designated dual port memory from the other of both ports. It is characterized by doing the following.

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

第1図は、本発明の一実施例におけるマルチCPUシス
テムの構成図、第2図は本発明の一実施例におけるデー
タ転送タイミングの説明図、第3図は本発明の一実施例
におけるマルチCPUシステムのデータ転送フローチャ
ートである。
FIG. 1 is a configuration diagram of a multi-CPU system in an embodiment of the present invention, FIG. 2 is an explanatory diagram of data transfer timing in an embodiment of the present invention, and FIG. 3 is a diagram of a multi-CPU system in an embodiment of the present invention. 3 is a data transfer flowchart of the system.

本発明のマルチCPUシステムは、第1図のように、デ
ュアルポートメモリC31,デュアルポートメモリD3
2.ゲート群11,12,21゜22、およびアドレス
比較器41.42を備える。
As shown in FIG. 1, the multi-CPU system of the present invention includes dual port memory C31, dual port memory D3
2. It includes gate groups 11, 12, 21° 22, and address comparators 41, 42.

ゲート群11.およびゲート群12は、ポートA側から
のアドレス、データ、およびコントロール信号を、それ
ぞれデュアルポートメモリC9およびデュアルポートメ
モリDに与え、ゲート群21゜およびゲート群22は、
ポートB側からのアドレス、データ、およびコントロー
ル信号を、それぞれデュアルポートメモリC2およびデ
ュアルポートメモリDに与える。
Gate group 11. and gate group 12 apply address, data, and control signals from the port A side to dual port memory C9 and dual port memory D, respectively, and gate group 21° and gate group 22,
Address, data, and control signals from the port B side are applied to dual port memory C2 and dual port memory D, respectively.

また、アドレス比較器41は、ポートA側から入力され
るアドレス情報が、デュアルポートメモリCに対するア
クセスか、あるいは、デュアルポートメモリDに対する
アクセスかを判定し、アドレス比較器42は、ポートB
側から入力されるアドレス情報が、デュアルポートメモ
リCに対するアクセスか、あるいは、デュアルポートメ
モリDに対するアクセスかを判定する。
Further, the address comparator 41 determines whether the address information input from the port A side is an access to the dual port memory C or the dual port memory D, and the address comparator 42 determines whether the address information input from the port A side is an access to the dual port memory C or the dual port memory D.
It is determined whether the address information input from the side is an access to dual port memory C or dual port memory D.

本実施例のマルチCPUシステムにおいて、ポートA側
から入力されたアドレスに従い、データ転送を行う場合
、まず、アドレス比較器41にデュアルポートメモリC
31,およびデュアルポートメモリD32の先頭アドレ
スと容量とを指定する。この指定は、ジャンパー設定、
あるいは、CPUからのセットにより行う。
In the multi-CPU system of this embodiment, when data is transferred according to the address input from the port A side, first, the address comparator 41 is connected to the dual port memory C.
31, and the start address and capacity of the dual port memory D32. This designation is a jumper setting,
Alternatively, it is performed by setting from the CPU.

この指定により、アドレス比較器41は、入力されたア
ドレスが示すデュアルポートメモリを判定することがで
き、デュアルポートメモリC31に対するアクセスなら
ば、ENABLE(C)を出力し、デュアルポートメモ
リD32に対するアクセスならば、ENABLE(D)
を出力して、それぞれのデュアルポートメモリに対する
アクセスが可能となる。なお、アドレス比較器42にお
いては、ポートBから入力されたアドレスが示すデュア
ルポートメモリを、同様に判定し、デュアルポートC3
1に対するアクセスならば、ENABLE(C’)を出
力し、デュアルポートD32に対するアクセスならば、
ENABLE(D ’)を出力する。
With this specification, the address comparator 41 can determine the dual port memory indicated by the input address, and outputs ENABLE (C) if the access is to the dual port memory C31, and outputs ENABLE (C) if the access is to the dual port memory D32. ENABLE(D)
is output, allowing access to each dual port memory. Note that the address comparator 42 similarly determines the dual port memory indicated by the address input from port B, and selects the dual port memory indicated by the address input from port B.
If the access is to 1, output ENABLE (C'), and if the access is to the dual port D32,
Outputs ENABLE(D').

例えば、第3図のように、ポートA側からアドレスが入
力されると、アドレス比較器41は、指定されたアクセ
ス対象のデュアルポートメモリを判定し、ゲート群11
にENABLE(C)を出力する。デュアルポートメモ
リC31は、第2図のようなデータ転送タイミングで、
ゲート群11を介してポートA側から受けたデータ1を
nバイト書き込み(301)、ポートB側に読み出しが
可能であることを通知する(302)。
For example, as shown in FIG. 3, when an address is input from the port A side, the address comparator 41 determines the designated dual port memory to be accessed, and the gate group 11
Outputs ENABLE(C) to The dual port memory C31 has data transfer timing as shown in Fig. 2.
Writes n bytes of data 1 received from the port A side via the gate group 11 (301), and notifies the port B side that reading is possible (302).

次に、ポートA側は、デュアルポートメモリD32にデ
ータ2を書き込む(303)。また、この処理と並行し
て、ポートB側は、デュアルポートメモリC31に香き
込まれたデータ1を読み出す(304)。
Next, the port A side writes data 2 to the dual port memory D32 (303). Further, in parallel with this process, the port B side reads data 1 stored in the dual port memory C31 (304).

こうして、デュアルポートメモリD32にデータ2がn
バイト書き込まれると、再び、ポートB側に読み出しが
可能であることを通知しく305)。
In this way, data 2 is stored in the dual port memory D32.
When the byte is written, the port B side is notified again that reading is possible (305).

さらに、デュアルポートメモリC31にデータ3を書き
込む(306)。
Furthermore, data 3 is written to the dual port memory C31 (306).

その通知により、デュアルポートメモリC31へのデー
タ書き込みと並行して、ポートB側は、デュアルポート
メモリD32に書き込まれたデータ2を読み出す(30
7)。
In response to this notification, in parallel with data writing to the dual port memory C31, the port B side reads data 2 written to the dual port memory D32 (30
7).

このようにマルチCPUにおけるデュアルポートメモリ
をトグル構成として、以上の動作を操り返すことにより
、一方のポート側のアクセス中。
In this way, by using the dual port memory in a multi-CPU toggle configuration and repeating the above operations, one port side is being accessed.

他方のポート側が待機することなく、高速にデータ転送
を行うことができ、特に、画像データのように転送する
データ量が多い場合、転送時間を大幅に短縮することが
可能である。
Data can be transferred at high speed without the other port having to wait, and the transfer time can be significantly shortened, especially when a large amount of data, such as image data, is to be transferred.

なお1本実施例では、一方のポート側からデータライト
し、他方のポート側からデータリードしているが、この
逆の場合も同様の効果を得ることができる。
In this embodiment, data is written from one port and data is read from the other port, but the same effect can be obtained in the reverse case.

効   果 本発明によれば、マルチCPUシステムにおいて、同時
に両ポートからのメモリアクセスを行うことができ、デ
ータ転送の時間を大幅に短縮することが可能である。
Effects According to the present invention, in a multi-CPU system, memory access can be performed from both ports simultaneously, and data transfer time can be significantly shortened.

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

第1回は本発明の一実施例におけるマルチCPUシステ
ムの構成図、第2図は本発明の一実施例におけるデータ
転送タイミングの説明図、第3図は本発明の一実施例に
おけるマルチCPUシス子群、31;デュアルポートメ
モリC,32:デュアルポートメモリD、41,42ニ
アドレス比較器・ *       ぢ ぺ 惣       衿 「−一′−−−)   −一−55−一)+t+   
 4         −−   4蚕  ′Jf、 
    易  易 第     3     図
The first part is a configuration diagram of a multi-CPU system according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of data transfer timing in an embodiment of the present invention, and FIG. Child group, 31; Dual port memory C, 32: Dual port memory D, 41, 42 Near address comparator・* Dipeso collar "-1'---) -1-55-1) +t+
4 -- 4 silkworm 'Jf,
Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、デュアルポートメモリの両側にあるポートから該デ
ュアルポートメモリに対してアドレス、データ、および
コントロール信号を送り、該デュアルポートメモリにア
クセスするマルチCPUシステムにおいて、上記デュア
ルポートメモリを複数に分割し、上記ポートから入力さ
れた上記アドレス、データ、およびコントロール信号を
制御する手段、および、該アドレスが指定するデュアル
ポートメモリを判別する手段を備え、該両ポートの一方
から該アドレスが入力されると、該判別手段は、該アド
レスが指定するデュアルポートメモリを判別し、該制御
手段により、該コントロール信号をイネーブルとし、一
方の該ポートから該指定デュアルポートメモリに対する
アクセスを行い、該アクセスと同時に、該両ポートの他
方から該指定デュアルポートメモリ以外のデュアルポー
トメモリに対してアクセスすることを特徴とするデュア
ルポートメモリ。
1. In a multi-CPU system that accesses the dual-port memory by sending address, data, and control signals to the dual-port memory from ports on both sides of the dual-port memory, dividing the dual-port memory into a plurality of parts, comprising means for controlling the address, data, and control signal input from the port, and means for determining a dual port memory designated by the address, when the address is input from one of the ports; The determining means determines the dual port memory specified by the address, and the control means enables the control signal, accesses the designated dual port memory from one of the ports, and simultaneously performs the access. A dual port memory characterized in that a dual port memory other than the designated dual port memory is accessed from the other of both ports.
JP22589186A 1986-09-26 1986-09-26 Dual port memory Pending JPS6381557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22589186A JPS6381557A (en) 1986-09-26 1986-09-26 Dual port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22589186A JPS6381557A (en) 1986-09-26 1986-09-26 Dual port memory

Publications (1)

Publication Number Publication Date
JPS6381557A true JPS6381557A (en) 1988-04-12

Family

ID=16836492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22589186A Pending JPS6381557A (en) 1986-09-26 1986-09-26 Dual port memory

Country Status (1)

Country Link
JP (1) JPS6381557A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02196364A (en) * 1989-01-26 1990-08-02 Nec Corp Connection system for external data storage device of numerical controller
JPH02267795A (en) * 1989-04-08 1990-11-01 Nippondenso Co Ltd Digital controller
WO1991018346A1 (en) * 1990-05-14 1991-11-28 Kabushiki Kaisha Komatsu Seisakusho Device for transmitting a synchronous data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02196364A (en) * 1989-01-26 1990-08-02 Nec Corp Connection system for external data storage device of numerical controller
JPH02267795A (en) * 1989-04-08 1990-11-01 Nippondenso Co Ltd Digital controller
WO1991018346A1 (en) * 1990-05-14 1991-11-28 Kabushiki Kaisha Komatsu Seisakusho Device for transmitting a synchronous data

Similar Documents

Publication Publication Date Title
US5426737A (en) Direct memory access for data transfer within an I/O device
JPH0619760B2 (en) Information processing equipment
JP2591502B2 (en) Information processing system and its bus arbitration system
JPS6381557A (en) Dual port memory
JPH01258163A (en) Direct memory access controller
JPH03132857A (en) Inter-cpu data transfer circuit
JP2687716B2 (en) Information processing device
JP2884620B2 (en) Digital image processing device
JPH0330899B2 (en)
JPS6024666A (en) High speed dma device
JPH02211571A (en) Information processor
JPS62272352A (en) Memory control circuit
JPS6059462A (en) Pipeline access memory of bi-directional data bus
JPH104420A (en) Data transfer method
JPH036762A (en) Direct access method for image memory
JPH02301851A (en) System bus accessing system
JPH01250163A (en) Bus controller
JPS6361351A (en) Data transfer method
JPH04165438A (en) Memory access system
JPH01145753A (en) Direct memory access controller
JPH039453A (en) Data transfer controller
JPH0561839A (en) Data transfer device
JPS62143158A (en) Control method for data transfer by dma controller
JPH03282954A (en) Device for transferring direct memory access data
JPS61127025A (en) Optical disk controller