[go: up one dir, main page]

JPS6310398A - Access system for two-port memory - Google Patents

Access system for two-port memory

Info

Publication number
JPS6310398A
JPS6310398A JP61153799A JP15379986A JPS6310398A JP S6310398 A JPS6310398 A JP S6310398A JP 61153799 A JP61153799 A JP 61153799A JP 15379986 A JP15379986 A JP 15379986A JP S6310398 A JPS6310398 A JP S6310398A
Authority
JP
Japan
Prior art keywords
banks
access
port
memory
ports
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
JP61153799A
Other languages
Japanese (ja)
Inventor
Toshiya Nishijima
西島 敏也
Yasushi Tajiri
田尻 裕史
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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing 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 Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP61153799A priority Critical patent/JPS6310398A/en
Publication of JPS6310398A publication Critical patent/JPS6310398A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a quick access without waste time by applying an independent access that is split into two parts and an interleave access method to a memory with >=4 banks. CONSTITUTION:A memory control circuit 12 controls a dynamic RAM11 composed of four banks 110-113 by control signals REQ, ACK and ADDRESS to a A port 13A and a B port 13B. Buffers 14A1, 14A2, 14B1 and 14B2 are provided between the dynamic RAM11 and the ports 13A, 13B. Data in the banks 110, 111 is exchanged through the buffers 14A1, 14B1, and data in the banks 112, 113 through the buffers 14A2, 14B2. By classifying the banks into a group of banks 110, 111 and that of banks 112, 113, the memory control circuit 12 gives signal WE and addresses and accesses the banks at every two banks. Here the banks are accessed by the interleave method, whereby an access without waste time due to precharging is attainable.

Description

【発明の詳細な説明】 ん産業上の利用分野 本発明は、2ポートメモリのアクセス方式に係り、特に
ダイナぐツクRAMのアクセス方式暑こ関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a two-port memory access method, and particularly to a dynamic RAM access method.

B0発明の概要 本発明は、4つ以上のパンクを持っ2ポートメモリにお
いて、 メモリを2つに分離して夫々を独立的にかつインターリ
ーブ法でアクセス可能にすることにより、高速アクセス
ができるようにしたものである。
B0 Summary of the Invention The present invention enables high-speed access in a 2-port memory with four or more punctures by separating the memory into two parts and making each part accessible independently and in an interleaved manner. This is what I did.

C0従来の技術 従来、ダイナ虐ツクRAMをメモリとした2ポートメモ
リシステムは、第3図に示す構成のものカ多い、4つの
パンク10〜1.からなるダイナずツタRAMIに対し
て、メモリコントロール回路2はAポート3AとBポー
ト3BからのメモリアクセスリクエストREQに対する
肯定応答AOKを与え、当該ポートからのアドレスデー
タADDR11iS日と書込みイネーブルn信号及び行
列アドレスストロープ信号RAS 、0Aflをダイナ
ミックRAM1に与え、またバッファ4A、4Bにデー
タゲートコントロール信号を与え、アドレスデータに一
致するアドレスメモリ素子と当該ポートとの間のデータ
書込み又は読出しをバッファ4ム又は4Bを介して行わ
せる。
C0 Prior Art Conventionally, two-port memory systems using dynamometer RAM as memory often have the configuration shown in FIG. 3, with four punctures 10 to 1. The memory control circuit 2 gives an acknowledgment AOK to the memory access request REQ from the A port 3A and the B port 3B to the Dynazutsuta RAMI consisting of Address strobe signals RAS and 0Afl are applied to the dynamic RAM 1, and data gate control signals are applied to the buffers 4A and 4B to control data writing or reading between the address memory element corresponding to the address data and the corresponding port. This is done via 4B.

このような構成にセいて、メモリコントロール回路2は
、一方のポートからのメモリアクセスを許容していると
きには他のポートからのリクエストに対してアクセスを
否定する。また、メモリとしてダイナミックRAM1f
使用するため、行列アドレスストローブ信号RA8 、
OA8によるアクセスにプリチャージ時間を確保する。
With such a configuration, when the memory control circuit 2 allows memory access from one port, it denies access to requests from other ports. In addition, dynamic RAM 1f is used as memory.
For use, the matrix address strobe signal RA8,
Precharge time is secured for access by OA8.

D2発明が解決しようとする問題点 従来のメモリアクセス方法では、一方のポートがメモリ
アクセスを行っている間は他方のポートはアクセスでき
ないという問題がある。これ−こ加えて、ダイナtツタ
メモリではプリチャージ時間が必要なため、アクセス時
間がより長いサイクルタイムになる。このため、−廣ア
クセスされたパンクに続けてアクセスする場合にはプリ
チャージ時間も含めた無駄時間を必要とし、アクセス時
間が長くなる。第4図はリードサイクルのタイムチャー
トを示し、Aポート3A#こ続けてBポート3Bがメモ
リアクセス要求を起すとき、Aポートによるデータ読出
し終了からプリチャージ時間を確保した後にBポートに
対応するRA日、OA8個号信号生し、Bポートからの
要求に対する無駄時間が長くなる。
D2 Problems to be Solved by the Invention In the conventional memory access method, there is a problem in that while one port is accessing the memory, the other port cannot access it. In addition, the precharge time required in Dynat ivy memory results in longer cycle times for access times. Therefore, when accessing a puncture that has been accessed widely, waste time including precharge time is required, and the access time becomes longer. FIG. 4 shows a time chart of a read cycle. When A port 3A# subsequently B port 3B issues a memory access request, the RA corresponding to B port is On the other hand, the OA generates 8 signals, increasing the dead time for requests from the B port.

この対策として、従来からシーケンシャルにアクセスす
るときにアクセスするパンクを変えることによりプリチ
ャージ中のパンクに代って他のパンクをアクセスすると
いうインターリーブ方法がある。
As a countermeasure against this problem, there has conventionally been an interleaving method in which by changing the puncture to be accessed during sequential access, another puncture is accessed in place of the puncture being precharged.

しかし、インターリーブ法は一方のポートが連続的かつ
シーケンシャルにアクセスした場合にのみ効果的なもの
で、2つのポートがランダムにアクセスする2ポートメ
モリでは第5図に示すようlr (ンタ−1−)法によ
るも一方のアクセス中に他方のアクセスが禁止されるこ
とから無駄時間の低減効果が少ない。
However, the interleaving method is effective only when one port accesses continuously and sequentially, and in a two-port memory where two ports access randomly, the lr (interleaving method) is Even by law, access by one party is prohibited while the other party is accessing it, so the effect of reducing wasted time is small.

E0問題点を解決するための手段と作用本発明は上記問
題点に鑑みてなされたもので、4つ以上のパンクを持つ
メモリを2つに分離して夫々独立的にアクセス可能及び
2つのポート間とのデータ授受可能に構成し、前記2つ
のポートからのアクセス要求にインターリーブ法によっ
て分離したパンク内でのアクセス処理を行うようにし、
分離されたメモ1月こは両ポートから独立的薯こがつイ
ンターリーブ法でアクセスすることで無駄時間を無くし
た高速アクセスを行う。
Means and operation for solving the E0 problem The present invention has been made in view of the above problem, and it separates a memory having four or more punctures into two parts, each of which can be accessed independently, and has two ports. configured so that data can be exchanged between the two ports, and access requests from the two ports are processed in separate punctures using an interleaving method;
Separated notes are accessed from both ports using an independent interleaving method to eliminate wasted time and provide high-speed access.

?、実施例 第1図は本発明の一実施例を示す回路図である。? ,Example FIG. 1 is a circuit diagram showing one embodiment of the present invention.

4つノハンク11゜〜11.からなるダイナミックRA
M11に対して、メモリコントロール回路12はムポー
ト13AとBポート13B#こ対するコントロール信号
RII! Q 、 A OK 、 ADDRK8Bによ
ッテメモリコントロールを行う。ダイナよツクRA M
 11とポート13A。
4 hanks 11°~11. Dynamic RA consisting of
For M11, the memory control circuit 12 sends a control signal RII! to M port 13A and B port 13B#. Q, A OK, ADDRK8B performs memory control. Dyna Yo Tsuku RAM
11 and port 13A.

13Bとの間にはバッファ14A□14 At # 1
4 B t s 14 Bmが設けられ、パンク11゜
、111のデータはバッファ14A、。
There is a buffer between 13B and 14A□14 At #1
4 Bts 14 Bm are provided, and the data of puncture 11° and 111 is stored in buffer 14A.

14Bs−p介して授受され、バンクllt 、 Ll
sのデータはバッファ14Aw * 14B1を介して
授受される。
Transferred and received via 14Bs-p, Bank llt, Ll
The data of s is exchanged via the buffer 14Aw*14B1.

メモリコントロール回路12 G−! 、ノ(ンクt1
0s11tト11t −IIm  ξζ分けてWl!1
信号、 AI)DRFf8Sを与え、2つに分けたバン
ク毎にアクセス可能とし、またノ(ツファIこも2つに
介けたデータゲートコントロールを与える。
Memory control circuit 12 G-! ,ノ(nk t1
0s11tto11t -IIm ξζWl! 1
A signal, AI) DRFf8S is provided to enable access to each of the two divided banks, and data gate control is provided via the two banks.

こうした構成において、2つに分けた−(ンクの一方に
第1のポートがアクセス中に他方のバンクにも第2のポ
ートからアクセスできるようにし、かつ各ポートからア
クセスする〕(ンクをインターリーブ法によってアクセ
スすることでプリチャージ時間による無駄時間を無(し
たアクセスを可能にする。
In such a configuration, when one bank is accessed by the first port, the other bank can also be accessed from the second port, and the other bank is accessed from each port. This allows access without wasting time due to pre-charging time.

例えば、ムボー) 13ムがバンク11゜、11.をイ
ンターリーブ法でアクセスしている間にBポート13B
によるバンクIIs 、 l1m をインターリーブ法
でアクセスする。第2図は本発明方式によるリードサイ
クルのタイムチャートを例示し、Aポー) 13 A 
カバンク11゜をアクセス中にBボー) 13 Bがパ
ンク11嘗をアクセスした場合である。
For example, 13mm is bank 11°, 11. B port 13B while accessing using the interleave method.
Banks IIs and l1m are accessed using an interleave method. FIG. 2 illustrates a time chart of a read cycle according to the method of the present invention.
13 This is a case where B accesses the punk 11th while accessing the bank 11°.

なお、Aポート、Bポートの両方が分離されていないバ
ンク例えばlloと11+  にアクセスする場合には
一方のアクセスが終了するまで待つが、このときにも両
ポートが異なるバンクをアクセスする場合、例えば11
゜をAポー) 、xi、をBポートで夫々アクセスする
ときにはインターリーブの効果でプリチャージ時間のみ
確保すれば良い。
Note that when both the A port and the B port access a bank that is not separated, for example, llo and 11+, they wait until the access of one side is completed, but if both ports access different banks at this time, for example, 11
When accessing ゜A port), xi, and B port respectively, it is sufficient to secure only the precharge time by the effect of interleaving.

従って、4つのバンクを2つ擾こ分離し、その2つのバ
ンク間でインターリーブ法によるアクセスを行わせるこ
とGこより、両ポートが別々のノ(ンク又は分離された
バンクにアクセスするときに従来の第4図又は第5図に
示すよう力無駄時間を無くした高速アクセスを行うこと
ができる。
Therefore, by separating four banks into two and performing interleaved access between the two banks, when both ports access separate nodes or separated banks, the conventional As shown in FIG. 4 or FIG. 5, high-speed access can be performed without wasting time.

具体的には、Aポート13 Aをメインとなる(!M。Specifically, A port 13 A is the main (!M.

Bポート13 BをディスクなどのDMAデバイスとす
ると、メインOP’Uがバンクlla 、 11+内の
プログラムを実行中にディスクからデータやプログラム
をバンク11□11.にロードできる。このときのアク
セスは0PTT、ディスク共に各々シーグンシャルに行
うことでインターリーブの効果が現われ、プリチャージ
の無駄時間が無くカると共に分離されたバンクで夫々が
アクセスするため易こ夫々の待ち時間が無くなり、最高
速のアクセスが可能となる。このようなアクセス方法は
仮想メモリをサポートしたオペレーションシステムの元
での効果モ大きくなる。
If B port 13 B is a DMA device such as a disk, data and programs are transferred from the disk to banks 11□11. while the main OP'U is executing programs in banks lla and 11+. can be loaded into. At this time, the access to 0PTT and the disk is performed sequentially, so that the effect of interleaving appears, eliminating the wasted time of precharging, and since each access is performed in separate banks, the waiting time for each is easily eliminated. Allows the fastest access possible. This access method becomes more effective under operating systems that support virtual memory.

G0発明の効果 以上のとおり、本発明によれば、4つ以上のバンクを持
つメモリに対して2つに分離した独立的アクセスとイン
ターリーブ法アクセスを行うようにしたため、2ポート
による同時アクセスを可能にしかもインターリーブ法に
よって無駄時間を無(した高速アクセスを可能にする。
Effects of the G0 Invention As described above, according to the present invention, since the memory having four or more banks is accessed separately into two, independent access and interleaved access are performed, simultaneous access by two ports is possible. Moreover, the interleaving method enables high-speed access with no wasted time.

特ξこ、ダイナミックRAM−こよる2ポートメモリで
はプリチャージ時間も除いた高速アクセスを可能にする
Special feature: Dynamic RAM-based two-port memory enables high-speed access without precharging time.

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

第1図は本発明の一実施例を示す2ボ一トメモリ回路図
、第2図は第1図のリードサイクルを例示するタイムチ
ャート、第3図は従来の2ポートメモリ回路図、第4図
は従来のリードサイクルタイムチャート、第5図は従来
のインターリーブ法曇こよるリードサイクルタイムチャ
ートである。 11・・・ダイナミックRAM % 12・・・メモリ
コントロール回路、13A、1313・・・ポート、1
4A1 、14 A! 、 14 Bt e14B1・
・バッファ。
FIG. 1 is a 2-port memory circuit diagram showing one embodiment of the present invention, FIG. 2 is a time chart illustrating the read cycle of FIG. 1, FIG. 3 is a conventional 2-port memory circuit diagram, and FIG. 4 is a conventional read cycle time chart, and FIG. 5 is a conventional read cycle time chart using the interleave method. 11...Dynamic RAM % 12...Memory control circuit, 13A, 1313...Port, 1
4A1, 14 A! , 14 Bt e14B1・
·buffer.

Claims (1)

【特許請求の範囲】[Claims] 4つ以上のバンクを持つメモリを2つに分離して夫々を
独立的にアクセス可能及び2つのポート間とのデータ授
受可能に構成し、前記2つのポートからのアクセス要求
にインターリーブ法によつて分離したバンク内でのアク
セス処理を行うことを特徴とする2ポートメモリのアク
セス方式。
A memory having four or more banks is divided into two, each of which is configured to be independently accessible and data can be exchanged between two ports, and access requests from the two ports are handled by an interleaving method. A two-port memory access method characterized by performing access processing within separate banks.
JP61153799A 1986-06-30 1986-06-30 Access system for two-port memory Pending JPS6310398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61153799A JPS6310398A (en) 1986-06-30 1986-06-30 Access system for two-port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61153799A JPS6310398A (en) 1986-06-30 1986-06-30 Access system for two-port memory

Publications (1)

Publication Number Publication Date
JPS6310398A true JPS6310398A (en) 1988-01-16

Family

ID=15570380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61153799A Pending JPS6310398A (en) 1986-06-30 1986-06-30 Access system for two-port memory

Country Status (1)

Country Link
JP (1) JPS6310398A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2653915A1 (en) * 1989-11-01 1991-05-03 Nec Corp Device for controlling access requests to blocks in a digital data processing system
US7870326B2 (en) 2006-07-28 2011-01-11 Samsung Electronics Co., Ltd. Multiprocessor system and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2653915A1 (en) * 1989-11-01 1991-05-03 Nec Corp Device for controlling access requests to blocks in a digital data processing system
US7870326B2 (en) 2006-07-28 2011-01-11 Samsung Electronics Co., Ltd. Multiprocessor system and method thereof

Similar Documents

Publication Publication Date Title
KR20020090907A (en) Embedded memory access method and system for application specific integrated circuits
JPS6310398A (en) Access system for two-port memory
EP0587370A1 (en) Method and apparatus for software sharing between multiple controllers
JPH0546527A (en) Dual port memory circuit
JP2862589B2 (en) Multibyte memory access processing method
JP2946561B2 (en) Multiprocessor system
JPS6381557A (en) Dual port memory
JP2643116B2 (en) Main memory controller
JP3481503B2 (en) Address translation system
JPS60253083A (en) Storage device controlling system
JPS62272352A (en) Memory control circuit
JPS6349257B2 (en)
JPS60189052A (en) memory access control device
JPH04154346A (en) Circuit controller
JPH0248749A (en) buffer storage controller
JPH104420A (en) Data transfer method
JPH06324940A (en) Method and device for controlling memory
JPH03233780A (en) Bus access system
JPS61127025A (en) Optical disk controller
JPS6140658A (en) Data processor
JPS62214452A (en) Memory control system
JPH0433060B2 (en)
JPS6149266A (en) Memory control device
JPH0561839A (en) Data transfer device
JPS62262159A (en) Electronic computer