JP3199207B2 - Multiport semiconductor storage device - Google Patents

Multiport semiconductor storage device

Info

Publication number
JP3199207B2
JP3199207B2 JP31712693A JP31712693A JP3199207B2 JP 3199207 B2 JP3199207 B2 JP 3199207B2 JP 31712693 A JP31712693 A JP 31712693A JP 31712693 A JP31712693 A JP 31712693A JP 3199207 B2 JP3199207 B2 JP 3199207B2
Authority
JP
Japan
Prior art keywords
access
conflict
input
stage
access information
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.)
Expired - Fee Related
Application number
JP31712693A
Other languages
Japanese (ja)
Other versions
JPH07175713A (en
Inventor
宗宏 浦谷
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP31712693A priority Critical patent/JP3199207B2/en
Publication of JPH07175713A publication Critical patent/JPH07175713A/en
Application granted granted Critical
Publication of JP3199207B2 publication Critical patent/JP3199207B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Dram (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、メモリセルにアクセス
するための入出力ポートを独立に複数系統有し、CPU
[Central Processing Unit]間でデータの受け渡しを行
うための共有メモリとして利用される2ポートRAM[R
andom Access Memory](デュアルポートRAM)等のマ
ルチポート半導体記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU having a plurality of independent input / output ports for accessing memory cells.
2-port RAM [R] used as a shared memory for transferring data between [Central Processing Unit]
and a multi-port semiconductor memory device such as a dual-port RAM.

【0002】[0002]

【従来の技術】2つのCPU間でデータの受け渡しのた
めに共有メモリを使用する場合には、それぞれのCPU
からのアクセスが競合した際に相互排除を行わなければ
ならない。2ポートRAMは、このような共有メモリと
して使用される半導体記憶装置である。
2. Description of the Related Art When a shared memory is used for data transfer between two CPUs, each
Mutual exclusion must be performed when access from the Internet competes. The two-port RAM is a semiconductor storage device used as such a shared memory.

【0003】図5に2ポートRAM1を2つのCPU
2,3間の共有メモリとして使用した場合の構成を示
す。2ポートRAM1は、多数のメモリセルからなるメ
モリセルアレイ11と2系統の入出力ポートであるAポ
ート12及びBポート13とを備えている。Aポート1
2とBポート13には、各CPU2,3のアドレスバ
ス,コントロールバス及びデータバスが別個に接続さ
れ、それぞれアドレスとコントロール信号が送り込まれ
ると共に、データの入出力ができるようになっている。
また、これらのポート12,13からは、メモリセルア
レイ11に対してそれぞれ独立にアクセスできるように
なっている。即ち、ポート12,13に送られて来たア
ドレスが競合しない場合には、それぞれ独立にそのアド
レスに基づいて同時にメモリセルアレイ11にアクセス
を行うことができる。また、アドレスが競合しても双方
が共に読み出し動作の場合には、同時にアクセスを行う
ことができる。しかし、少なくともどちらかが書き込み
アクセスであった場合には、相互排除の対象となるの
で、いずれか一方のポート12,13からのアクセスを
中止させる必要がある。そして、この相互排除は、一般
的にはビジーウエイト[busy wait](繁忙待機)方式に
よって実現される。
FIG. 5 shows a two-port RAM 1 having two CPUs.
The configuration when used as a shared memory between 2 and 3 is shown. The two-port RAM 1 includes a memory cell array 11 composed of a large number of memory cells, and two ports, i.e., an A port 12 and a B port 13. A port 1
The address bus, the control bus and the data bus of each of the CPUs 2 and 3 are separately connected to the 2 and B ports 13, respectively, so that an address and a control signal are sent and data can be input / output.
The ports 12 and 13 can access the memory cell array 11 independently. That is, when the addresses sent to the ports 12 and 13 do not conflict with each other, the memory cell array 11 can be simultaneously accessed independently based on the addresses. In addition, even if addresses conflict, if both are performing a read operation, they can be accessed simultaneously. However, if at least one of the accesses is a write access, the access from one of the ports 12 and 13 needs to be stopped because the access is a target of mutual exclusion. This mutual exclusion is generally realized by a busy wait (busy wait) method.

【0004】図6に従来の典型的な2ポートRAM1の
構成を示す(以下「第1従来例」という)。
FIG. 6 shows a configuration of a typical conventional two-port RAM 1 (hereinafter referred to as a "first conventional example").

【0005】ポート12,13に送られて来るアドレス
ADRA,ADRBは、それぞれアドレスバッファ128
又はアドレスバッファ138を介してメモリセルアレイ
11に入力されるようになっている。メモリセルアレイ
11では、これらのアドレスをデコードしてそれぞれメ
モリセルを選択する。コントロール信号は、書き込み又
は読み出しの制御やデータ出力の制御及びチップ選択を
行うためのライトイネーブル信号WEAバー,WEBバ
ー,アウトプットイネーブル信号OEAバー,OEBバー
及びチップイネーブル信号CEAバー,CEBバーからな
り、それぞれコントロール信号バッファ127又はコン
トロール信号バッファ137を介してI/Oコントロー
ル回路14に入力されるようになっている。そして、デ
ータDQA,DQBは、このI/Oコントロール回路14
を介してメモリセルアレイ11との間の入出力が行われ
るようになっている。
The addresses ADRA and ADRB sent to the ports 12 and 13 are respectively stored in the address buffers 128.
Alternatively, the data is input to the memory cell array 11 via the address buffer 138. The memory cell array 11 decodes these addresses to select a memory cell. The control signal comprises a write enable signal WEA bar, a WEB bar, an output enable signal OEA bar, an OEB bar, and a chip enable signal CEA bar, CEB bar for controlling writing or reading, controlling data output and selecting a chip. Are input to the I / O control circuit 14 via the control signal buffer 127 or the control signal buffer 137, respectively. The data DQA and DQB are supplied to the I / O control circuit 14.
And input / output to / from the memory cell array 11 through the memory.

【0006】上記アドレスバッファ128とアドレスバ
ッファ138を介して入力されるアドレスADRA,A
DRBは、それぞれコンフリクト発生回路15にも送ら
れるようになっている。コンフリクト発生回路15は、
アドレスADRAとアドレスADRBが競合するかどうか
を検査し、これらが競合する場合にハイレベルとなるコ
ンフリクト信号CONFLA,CONFLB(ビジー信
号)をポート12,13からそれぞれ出力させる回路で
ある。なお、アドレスADRA,ADRBの競合は、これ
らが全く一致し対応するメモリセルが同じとなる場合だ
けでなく、対応する別個のメモリセルがメモリ構成上同
時にアクセスできない構造となっている場合も考えられ
るが、以降の説明では簡単のためアドレスADRA,A
DRBが一致した場合のみ競合するものとする。また、
同じく以降の説明では簡単のためアクセスは書き込みア
クセスの場合のみを示し、アドレスADRA,ADRBが
競合すれば常にこのアクセスを中止させる必要があるも
のとする。
Addresses ADRA and A which are input via the address buffer 128 and the address buffer 138
The DRBs are also sent to the conflict generation circuit 15, respectively. The conflict generation circuit 15
This circuit checks whether the address ADRA and the address ADRB conflict with each other, and outputs conflict signals CONFLA and CONFLB (busy signals) which become high level from the ports 12 and 13 when these conflict. The conflict between the addresses ADRA and ADRB can be considered not only when the addresses ADRA and ADRB completely match and the corresponding memory cells become the same, but also when the corresponding separate memory cells cannot be simultaneously accessed due to the memory configuration. However, in the following description, the addresses ADRA, A
It is assumed that a conflict occurs only when the DRBs match. Also,
Similarly, in the following description, for simplicity, the access is shown only in the case of a write access, and it is necessary to always stop this access if addresses ADRA and ADRB conflict.

【0007】上記第1従来例の2ポートRAM1におい
て、同時にN,N+1,N+2,…の連続するアドレス
への書き込みアクセスがあった場合の動作を図7に基づ
いて説明する。ただし、ここでは両ポート12,13の
アクセスのサイクルが完全に同期しているものとし、競
合時にはAポート12からのアクセスが優先されるもの
とする。従って、Aポート12側からのアクセスは競合
による中止の必要がなくなるので、このAポート12か
ら出力されるコンフリクト信号CONFLAは無視され
る。また、このAポート12に送られて来るチップイネ
ーブル信号CEAバーは、図7に示すサイクルでは常に
ローレベル(選択)となる。
The operation of the two-port RAM 1 of the first conventional example in the case where there are simultaneous write accesses to consecutive addresses of N, N + 1, N + 2,... Will be described with reference to FIG. However, here, it is assumed that the access cycles of the ports 12 and 13 are completely synchronized, and the access from the A port 12 has priority in the event of contention. Accordingly, the access from the A port 12 does not need to be stopped due to contention, and the conflict signal CONFLA output from the A port 12 is ignored. The chip enable signal CEA sent to the A port 12 is always at the low level (selected) in the cycle shown in FIG.

【0008】まず、T1サイクルでは、アドレスADR
A,ADRBが共にNとなるので競合が発生し、コンフリ
クト発生回路15がコンフリクト信号CONFLBをハ
イレベル(競合)にする。また、これにより、Aポート
12側のアクセスは実行されるが、Bポート13側のア
クセスは中止される。なお、この際、Bポート13に
は、書き込み用のデータDQBとしてDNが入力されると
共に、ライトイネーブル信号WEBバーがローレベル
(書き込み)になるが、これらは無視される。
First, in the T1 cycle, the address ADR
Since both A and ADRB are N, a conflict occurs, and the conflict generation circuit 15 sets the conflict signal CONFLB to a high level (conflict). Thus, the access on the A port 12 side is executed, but the access on the B port 13 side is stopped. At this time, DN is input to the B port 13 as write data DQB, and the write enable signal WEB goes low (write), but these are ignored.

【0009】次に、T2サイクルでは、Aポート12の
アドレスADRAがN+1に変わってアクセスが実行さ
れる。しかし、Bポート13側では、ここに接続される
上記図5に示したCPU3がチップイネーブル信号CE
Bバーをハイレベル(非選択)にしてコンフリクト信号
CONFLBの検査を行い、アクセスに失敗したことを
検出する。
Next, in the T2 cycle, the access is executed by changing the address ADRA of the A port 12 to N + 1. However, on the B port 13 side, the CPU 3 shown in FIG.
The B bar is set to a high level (not selected) to check the conflict signal CONFLB to detect that the access has failed.

【0010】そして、T3サイクルでは、Bポート13
側のCPU3がT2サイクルにおいてアクセスに失敗し
たことを検出しているので、T1サイクルと同じアクセ
スを再度繰り返す。すると、今回のAポート12のアド
レスADRAはN+2であり、コンフリクト発生回路1
5はコンフリクト信号CONFLBをローレベル(非競
合)にするので、ポート12,13からのアクセスが同
時に実行される。
In the T3 cycle, the B port 13
Since the CPU 3 on the side detects that the access has failed in the T2 cycle, the same access as in the T1 cycle is repeated again. Then, the address ADRA of the A port 12 this time is N + 2, and the conflict generation circuit 1
5 sets the conflict signal CONFLB to low level (non-contention), so that accesses from the ports 12 and 13 are executed simultaneously.

【0011】また、T4サイクルでは、Aポート12の
アドレスADRAがN+3に変わってアクセスが実行さ
れる。しかし、Bポート13側では、T2サイクルと同
様にCPU3がコンフリクト信号CONFLBの検査を
行い、このCPU3がアクセスに成功したことを検出し
てから、T5サイクルで次のN+1のアドレスADRBを
送出する。そして、以降同様にして、再度競合が発生し
ない限り、Aポート12からはサイクルごとに、また、
Bポート13からは1サイクルおきに順次アクセスが実
行される。
In the T4 cycle, the access is executed by changing the address ADRA of the A port 12 to N + 3. However, on the B port 13 side, the CPU 3 checks the conflict signal CONFLB in the same manner as in the T2 cycle, detects that the CPU 3 has succeeded in accessing, and then sends out the next N + 1 address ADRB in the T5 cycle. Then, in the same manner, from the A port 12, every cycle, unless a conflict occurs again,
Access is performed sequentially from the B port 13 every other cycle.

【0012】このように第1従来例では、優先順位の低
いBポート13側のCPU3が1サイクルおきにコンフ
リクト信号CONFLBの検査を行いアクセスが成功し
たかどうかを調べながらアクセスを進めることになる。
また、競合が発生しアクセスに失敗したことを検出した
場合には、同じアドレスADRBを再度送出する。な
お、双方のアクセスのサイクルが同期していない場合に
は、Bポート13側のアクセス中にAポート12側から
行われたアクセスが競合することもある。そして、この
ときにはAポート12側のアクセスを中止しなければな
らず、コンフリクト信号CONFLAに基づいてCPU
2も同様の制御を行う必要が生じる。なお、このような
場合のために、コンフリクト発生回路15は、アクセス
を中止させる側のコンフリクト信号CONFLA,CO
NFLBのみをハイレベル(競合)とする。
As described above, in the first conventional example, the CPU 3 on the side of the B port 13 having a low priority performs the access while checking the conflict signal CONFLB every other cycle to check whether the access was successful.
If it is detected that a conflict has occurred and the access has failed, the same address ADRB is transmitted again. If the cycles of both accesses are not synchronized, accesses performed from the A port 12 during access on the B port 13 may conflict with each other. At this time, the access on the A port 12 side must be stopped, and the CPU is controlled based on the conflict signal CONFLA.
2 needs to perform the same control. For such a case, the conflict generation circuit 15 outputs the conflict signals CONFLA, COFL on the side that stops the access.
Only NFLB is set to high level (competition).

【0013】図8及び図9に従来の他の2ポートRAM
1の例を示す(以下「第2従来例」という)。
FIGS. 8 and 9 show another conventional two-port RAM.
1 (hereinafter referred to as “second conventional example”).

【0014】この2ポートRAM1は、1サイクルを2
つに時分割してそれぞれAポート12とBポート13の
専用のアクセス時間帯を設けたものである。即ち、図9
に示すように、各サイクルT1,T2,T3…の前半の時
間帯にAポート12のチップイネーブル信号CEAバー
をローレベル(選択)にしてアドレスADRAによるア
クセスを行い、後半の時間帯にBポート13のチップイ
ネーブル信号CEBバーをローレベル(選択)にしてア
ドレスADRBによるアクセスを行う。従って、双方の
ポート12,13が同一サイクルに同じアドレスへの書
き込みアクセスを行ったとしても、これらが競合するこ
とはないので、図8に示すように、第1従来例で示した
コンフリクト発生回路15が不要となり、コンフリクト
信号CONFLによるビジーウエイト方式の制御も必要
なくなる。
This two-port RAM 1 uses one cycle for two
A dedicated access time zone for the A port 12 and the B port 13 is provided in a time-division manner. That is, FIG.
In the first half of each cycle T1, T2, T3,..., The chip enable signal CEA bar of the A port 12 is set to low level (selection) to access by the address ADRA. Thirteen chip enable signals CEB bar are set to the low level (selected) to perform access by the address ADRB. Therefore, even if both ports 12 and 13 perform write access to the same address in the same cycle, they do not conflict with each other. Therefore, as shown in FIG. 8, the conflict generation circuit shown in the first conventional example is used. 15 becomes unnecessary, and the control of the busy wait method by the conflict signal CONFL becomes unnecessary.

【0015】なお、上記専用のアクセス時間帯の調整
は、2ポートRAM1上又はこの2ポートRAM1にア
クセスを行う2つのCPU2,3を含むシステム上で制
御する。
The adjustment of the dedicated access time zone is controlled on the two-port RAM 1 or on a system including two CPUs 2 and 3 accessing the two-port RAM 1.

【0016】[0016]

【発明が解決しようとする課題】ところが、上記第1従
来例の場合には、Bポート13側の優先順位の低いCP
U3が、1サイクルおきにコンフリクト信号CONFL
Bを検査しながらアクセスを進めなければならないた
め、1回のアクセスを行うのに、本来1サイクルで足り
るにもかかわらず、競合が発生しない場合でも2サイク
ルを要し、競合が発生した場合には4サイクルを要する
ことになり、データ転送速度が低下するという問題があ
った。しかも、競合が発生しアクセスに失敗した場合に
は、CPU3が同じアドレスADRBやデータDQB等を
再度送出する必要があるので、このCPU3における制
御が複雑になるという問題もあった。
However, in the case of the above-mentioned first conventional example, a CP having a low priority on the B port 13 side is used.
U3 outputs the conflict signal CONFL every other cycle.
Since access must proceed while checking B, it takes two cycles even if no contention occurs even though one cycle is originally required to perform one access. Requires four cycles, which causes a problem that the data transfer speed is reduced. In addition, when a conflict occurs and the access fails, the CPU 3 needs to send out the same address ADRB, data DQB, and the like again, thus causing a problem that the control in the CPU 3 becomes complicated.

【0017】また、上記第2従来例の場合には、本来2
回のアクセスが可能となる期間を1サイクルとするた
め、データ転送時間が常に通常の2倍必要となり、しか
も、双方のCPU2,3がそれぞれの専用のアクセス時
間帯にアクセスを行うようにシステム上でこれらを同期
させるか、又は、2ポートRAM1内で信号を遅延させ
て調整する操作が必要となり、システムの自由度が損な
われたり、アクセス完了時間にバラツキが発生してCP
Uでの処理が複雑になるという問題があった。
Further, in the case of the second conventional example, originally 2
Since the period of one access is one cycle, the data transfer time is always required to be twice as long as usual, and the system is designed so that both CPUs 2 and 3 access in their dedicated access time zones. It is necessary to synchronize them or to delay and adjust the signals in the two-port RAM 1, which impairs the degree of freedom of the system or causes a variation in the access completion time, and
There is a problem that the processing in U becomes complicated.

【0018】本発明は、上記従来の問題を解決するもの
で、待ち行列を用いることによりビジーウエイト方式に
よる競合の処理を円滑化させるマルチポート半導体記憶
装置を提供することを目的とする。
An object of the present invention is to solve the above-mentioned conventional problems, and an object of the present invention is to provide a multi-port semiconductor memory device which uses a queue to facilitate the processing of contention by a busy weight system.

【0019】[0019]

【課題を解決するための手段】本発明のマルチポート半
導体記憶装置は、メモリセルにアクセスするための複数
系統の入出力ポートを有し、各入出力ポートに送られて
来たアドレス等のアクセス情報が競合によりアクセスを
中止すべきものであるかどうかを判定する競合検出手段
を備えたマルチポート半導体記憶装置において、アドレ
ス及びコントロール信号並びに書き込みアクセスの場合
の書き込みデータ等のアクセス情報をそれぞれの入出力
ポートに設けられた待ち行列で受け付ける待ち行列手段
と、各入出力ポートについて、当該待ち行列の先頭の
ドレスが競合検出手段によってアクセス中止を判定され
なかった場合に、当該待ち行列の先頭のアクセス情報を
待ち行列から選択して取り出してアクセスを実行させる
非競合時制御手段と、各入出力ポートについて、当該待
ち行列の先頭のアドレスが競合検出手段によってアクセ
ス中止を判定された場合に、当該待ち行列の先頭のアク
セス情報によるアクセスを中止させると共に、当該入出
力ポートからビジー信号を出力させる競合時制御手段と
を備えたものであり、そのことにより上記目的が達成さ
れる。
A multiport semiconductor memory device according to the present invention has a plurality of input / output ports for accessing a memory cell, and accesses an address or the like sent to each input / output port. in multi-port semiconductor memory device information is provided for determining conflict detection means whether or not these should be discontinued access by competition, address
And control signals and write access
A queuing means for accepting the access information such as the write data queue provided on each of the input and output ports of each input and output ports, the first A of the queue
If the dress is not determined access aborted by conflict detection means, a non-competitive time control means for performing access removed by selecting from the queue to the beginning of the access information of the queues for each input and output ports, If the first address of the queue is determined to access aborted by conflict detection means and stops the access by the top accession <br/> Seth information of the queues, it outputs a busy signal from the output port And a conflict control means for causing the above-mentioned object to be achieved.

【0020】また、本発明のマルチポート半導体記憶装
置は、メモリセルにアクセスするための複数系統の入出
力ポートを有し、各入出力ポートに送られて来たアドレ
ス等のアクセス情報が競合によりアクセスを中止すべき
ものであるかどうかを判定する競合検出手段を備えたマ
ルチポート半導体記憶装置において、アクセス情報を1
段目のレジスタに格納する2段のシフトレジスタがそれ
ぞれ各入出力ポートに設けられると共に、各入出力ポー
トについて、前回のサイクルがアクセス中止であった場
合に、当該シフトレジスタの2段目をアクセスレジスタ
とし、アクセス中止ではなかった場合には、このシフト
レジスタの1段目をアクセスレジスタとするレジスタ切
替手段と、各入出力ポートについて、当該シフトレジス
タの1段目がアクセスレジスタであって、このアクセス
レジスタのアクセス情報が競合検出手段によってアクセ
ス中止を判定されなかった場合に、このアクセス情報に
よるアクセスを実行させる通常時制御手段と、各入出力
ポートについて、当該シフトレジスタの1段目がアクセ
スレジスタであって、このアクセスレジスタのアクセス
情報が競合検出手段によってアクセス中止を判定された
場合に、このアクセス情報によるアクセスを中止させる
と共に、当該入出力ポートからビジー信号を出力させ、
かつ、シフトレジスタをシフト動作させてアクセス情報
を1段目から2段目へシフトさせる競合発生時制御手段
と、各入出力ポートについて、当該シフトレジスタの2
段目がアクセスレジスタであって、このアクセスレジス
タのアクセス情報が競合検出手段によってアクセス中止
を判定された場合に、このアクセス情報によるアクセス
を中止させると共に、当該入出力ポートからビジー信号
を出力させる競合継続時制御手段と、各入出力ポートに
ついて、当該シフトレジスタの2段目がアクセスレジス
タであって、このアクセスレジスタのアクセス情報が競
合検出手段によってアクセス中止を判定されなかった場
合に、このアクセス情報によるアクセスを実行させる競
合解除時制御手段とを備えたものであり、そのことによ
り上記目的が達成される。
Further, the multiport semiconductor memory device of the present invention has a plurality of input / output ports for accessing memory cells, and access information such as addresses sent to each of the input / output ports may conflict with each other. In a multiport semiconductor memory device provided with conflict detection means for determining whether access should be stopped, the access information is set to 1
A two-stage shift register to be stored in the second-stage register is provided for each input / output port, and for each I / O port, when the previous cycle has stopped access, the second-stage shift register is accessed. If the access is not suspended, a register switching means using the first stage of the shift register as an access register, and for each input / output port, the first stage of the shift register is an access register. When the access information in the access register is not judged by the conflict detection means to stop the access, a normal control means for executing the access based on the access information, and for each input / output port, the first stage of the shift register is an access register. And the access information in the access register is used as a conflict detection method. If it is determined to access aborted, the stopping access by the access information, to output a busy signal from the input port by,
And a conflict occurrence control means for shifting the shift register to shift the access information from the first stage to the second stage;
The second row is an access register, and when the access information of the access register is determined to stop the access by the conflict detection means, the access by the access information is stopped and the busy signal is output from the input / output port. The continuation control means and, for each input / output port, when the second stage of the shift register is an access register, and the access information of this access register is not judged to be canceled by the conflict detection means, the access information And a contention release control means for executing an access by means of the above, thereby achieving the above object.

【0021】さらに、本発明のマルチポート半導体記憶
装置は、上記構成に加えて、メモリセルにアクセスする
ための入出力ポートが2系統であるものであり、そのこ
とにより上記目的が達成される。
Further, in addition to the above configuration, the multiport semiconductor memory device of the present invention has two input / output ports for accessing the memory cell, thereby achieving the above object.

【0022】[0022]

【作用】上記構成により、競合検出手段は、アクセス情
報におけるアドレスやコントロール信号等を検査するこ
とによりメモリセル等の構成に応じて相互排除の対象と
なるかどうかに基づき適宜競合を検出する。そして、2
つ以上のアクセス情報が互いに競合することが検出され
た場合には、該当する各入出力ポートごとに、アクセス
の後先や優先順位等に基づいてその入出力ポートが競合
によりアクセスを中止すべきかどうかを判定する。アク
セス情報としては、アドレス及びコントロール信号並び
に書き込みアクセスの場合の書き込みデータ等がある。
With the above arrangement, the conflict detecting means detects an address or a control signal in the access information and detects a conflict as appropriate based on whether or not mutual exclusion is to be performed according to the configuration of the memory cell or the like. And 2
If it is detected that two or more pieces of access information conflict with each other, for each applicable I / O port, whether the I / O port should suspend access due to contention based on the access destination, priority, etc. Determine whether The access information includes address and control signals, write data in the case of write access, and the like.

【0023】待ち行列手段は、配列やシフトレジスタ等
によって待ち行列(キュー[queue])を構成し、この待
ち行列のFIFO[First-In First-Out]方式による入出
力を制御するものである。即ち、この待ち行列手段は、
アクセス情報を待ち行列に受け付け順に並べ、既に取り
出したアクセス情報を除いて最も古くに受け付けられた
アクセス情報が常に先頭に位置して、読み出し(参照)
や取り出しの対象となるようにする。
The queuing means constitutes a queuing (queue) with an array, a shift register, and the like, and controls input / output of this queuing by a FIFO [First-In First-Out] method. That is, the queuing means
The access information is arranged in the order of reception in the queue, and the oldest received access information is always located at the head except for the already extracted access information, and is read (referenced).
And be targeted for removal.

【0024】各入出力ポートにおける待ち行列の先頭の
アクセス情報が競合検出手段によってアクセス中止を判
定されなかった場合には、非競合時制御手段がメモリセ
ルへのアクセスを実行させる。また、このアクセス情報
が競合検出手段によってアクセス中止を判定された場合
には、競合時制御手段がアクセスを中止させると共に、
当該入出力ポートからビジー信号を出力させる。ビジー
信号が出力されると、当該入出力ポートからアクセスを
行う処理装置は、次回のサイクルでこれを検出し、次々
回のサイクルでのアクセス情報の送出を停止する(例え
ばチップイネーブル信号を非アクティブとする)ように
制御を定めておく。待ち行列手段では、アクセス情報の
送出が停止されると、アクセス情報の受け付けを行わな
い。従って、競合時制御手段によってアクセスが中止さ
れると、2サイクル後にアクセス情報の待ち行列への追
加が停止され、アクセス中止が継続した場合もこれと同
じ期間だけアクセス情報の追加が停止され続けると共
に、最後にアクセス情報の追加が停止されたサイクルで
アクセスが再開されるので、待ち行列に保持されるアク
セス情報は高々2サイクル分となる。競合の検査のため
に読み出すアクセス情報やアクセスを実行する際に取り
出すアドレス情報は、この待ち行列の先頭にあるもので
あり、これがいずれのサイクルに受け付けられたもので
あるかは、前回以前のサイクルでアクセスが中止されて
いたかどうかによって異なる。
If the access information at the head of the queue at each input / output port does not determine that the access has been stopped by the conflict detection means, the non-contention control means causes the memory cell to be accessed. When the access information is judged to be canceled by the conflict detection means, the conflict control means stops the access,
A busy signal is output from the input / output port. When the busy signal is output, the processing device that accesses from the input / output port detects this in the next cycle, and stops sending access information in the next cycle (for example, when the chip enable signal is deactivated). Control). The queue means does not accept the access information when the transmission of the access information is stopped. Therefore, when the access is stopped by the conflict control means, the addition of the access information to the queue is stopped after two cycles, and even when the access is stopped, the addition of the access information is stopped for the same period. Since the access is resumed at the last cycle in which the addition of the access information is stopped, the access information held in the queue is at most two cycles. The access information to be read out for checking for conflicts and the address information to be taken out when performing an access are those at the head of this queue, and in which cycle this is accepted is determined by the previous cycle. Depends on whether or not the access was suspended.

【0025】この結果、本発明によれば、競合が発生し
た場合のアクセス情報の送出停止を次々回のサイクルま
で引き延ばすので、各サイクルごとにアクセス情報の送
出とビジー信号の検査とを同時に行うことができ、ビジ
ーウエイト方式においてビジー信号の検査のためだけに
無駄にサイクルを費やす必要がなくなる。また、競合発
生時にもアクセス情報を再送出しないので、この再送出
のためのサイクルの無駄ななくすと共に、処理装置側の
アクセス制御を簡易化させることができる。
As a result, according to the present invention, the suspension of the transmission of the access information in the event of contention is postponed until the next cycle, so that the transmission of the access information and the inspection of the busy signal can be performed simultaneously for each cycle. Thus, it is not necessary to uselessly use cycles only for the inspection of the busy signal in the busy weight system. Also, since the access information is not retransmitted even when a conflict occurs, the cycle for retransmission is not wasted, and the access control on the processing device side can be simplified.

【0026】請求項2の発明は、レジスタ切替手段と競
合発生時制御手段におけるシフト動作とによってシフト
レジスタを操作することにより請求項1の待ち行列手段
を実現したものである。そして、レジスタ切替手段は、
シフトレジスタの1段目と2段目を切り替えることによ
りアクセスレジスタによって常に待ち行列の先頭を指示
させるようになっているので、通常時制御手段と競合解
除時制御手段は、共に請求項1の非競合時制御手段に対
応する。また、競合発生時制御手段におけるシフトレジ
スタのシフト動作は、前回のアクセス情報を保持したま
ま次のアクセス情報を受け付けるために1段目を空ける
動作にすぎないので、この競合発生時制御手段と競合継
続時制御手段は、共に請求項1の競合時制御手段に対応
する。
According to a second aspect of the present invention, the queuing means of the first aspect is realized by operating the shift register by the register switching means and the shift operation in the conflict occurrence control means. Then, the register switching means includes:
By switching between the first stage and the second stage of the shift register, the head of the queue is always indicated by the access register. It corresponds to the conflict control means. Further, the shift operation of the shift register in the conflict occurrence control means is merely an operation of opening the first stage to accept the next access information while retaining the previous access information, and thus the conflict operation with the conflict occurrence control means is not performed. Both the continuous control means correspond to the conflict control means of claim 1.

【0027】なお、競合発生時制御手段におけるシフト
レジスタのシフト動作は、通常は次回のサイクルの最初
に行うことにより、次のアクセス情報の1段目への格納
も同時に行う。また、このシフトレジスタは、競合発生
時制御手段における以外の場合にも、一般にアクセス情
報を1段目に格納するだけのためにシフト動作を行う
が、この場合に1段目から2段目にシフトされるアクセ
ス情報は無意味なものなので、他に1段目のレジスタに
強制的にアクセス情報を格納させる手段があるなら必ず
しもシフト動作である必要はない。
The shift operation of the shift register in the conflict occurrence control means is normally performed at the beginning of the next cycle, so that the next access information is stored in the first stage at the same time. In addition, this shift register generally performs a shift operation only to store access information in the first stage, except in the case of the conflict occurrence control means. In this case, the shift register shifts from the first stage to the second stage. Since the shifted access information is meaningless, the shift operation is not necessarily required if there is another means for forcibly storing the access information in the first-stage register.

【0028】請求項3の発明は、2ポートRAMのよう
に入出力ポートが2系統となるマルチポート半導体記憶
装置に本発明を適用したものである。
According to a third aspect of the present invention, the present invention is applied to a multiport semiconductor memory device having two input / output ports, such as a two-port RAM.

【0029】[0029]

【実施例】以下、本発明の実施例について説明する。Embodiments of the present invention will be described below.

【0030】図1乃至図4は本発明の一実施例を示すも
のであって、図1は2ポートRAMの構成を示すブロッ
ク図、図2は2ポートRAMの制御動作を示す状態遷移
図、図3は競合が1回だけ発生した場合の2ポートRA
Mの動作を示すタイムチャート、図4は競合が頻繁に発
生した場合の2ポートRAMの動作を示すタイムチャー
トである。なお、上記従来例と同様の機能を有する構成
部材には同じ番号を付記する。
1 to 4 show an embodiment of the present invention. FIG. 1 is a block diagram showing a configuration of a two-port RAM, FIG. 2 is a state transition diagram showing a control operation of the two-port RAM, FIG. 3 shows a two-port RA when a conflict occurs only once.
FIG. 4 is a time chart showing the operation of the two-port RAM when a conflict frequently occurs. Note that the same reference numerals are given to constituent members having functions similar to those of the above-described conventional example.

【0031】本実施例は、上記図5に示した2ポートR
AM1に本発明を実施した場合について説明する。な
お、本実施例では、第1従来例と同様に、CPU2,3
からのアクセスが同期され、かつ、CPU2からのアク
セスを優先する場合について説明する。
In this embodiment, the two-port R shown in FIG.
A case where the present invention is applied to AM1 will be described. In this embodiment, as in the first conventional example, CPUs 2 and 3 are used.
The case where the access from the CPU 2 is synchronized and the access from the CPU 2 is prioritized will be described.

【0032】2ポートRAM1は、図1に示すように、
メモリセルアレイ11,Aポート12,Bポート13,
I/Oコントロール回路14及びコンフリクト発生回路
15によって構成される。これらのうち、メモリセルア
レイ11,I/Oコントロール回路14及びコンフリク
ト発生回路15は、図6に示した従来例と同じものであ
る。また、コンフリクト発生回路15から出力されるコ
ンフリクト信号CONFLA,CONFLBは、それぞれ
Aポート12又はBポート13を介して出力されるよう
になっている。
As shown in FIG. 1, the two-port RAM 1
Memory cell array 11, A port 12, B port 13,
It comprises an I / O control circuit 14 and a conflict generation circuit 15. Among them, the memory cell array 11, the I / O control circuit 14, and the conflict generation circuit 15 are the same as those in the conventional example shown in FIG. The conflict signals CONFLA and CONFLB output from the conflict generating circuit 15 are output via the A port 12 or the B port 13, respectively.

【0033】Aポート12は、3つのシフトレジスタ1
21〜123と3つのマルチプレクサ124〜126と
からなる。シフトレジスタ121〜123は、それぞれ
複数ビットのレジスタが2段に設けられたシフトレジス
タである。そして、このAポート12には、図5に示し
たCPU2のアドレスバス,コントロールバス及びデー
タバスが接続され、アクセス情報としてそれぞれアドレ
スADRAとコントロール信号WEAバー,OEAバー,
CEAバーが送り込まれると共に、データDQAの入出力
ができるようになっている。即ち、複数ビットのアドレ
スADRAは、シフトレジスタ121の1段目の各ビッ
トに入力されるようになっている。マルチプレクサ12
4は、このシフトレジスタ121の両段に格納されたア
ドレスADRAのいずれかを選択してメモリセルアレイ
11とコンフリクト発生回路15に送る回路である。ま
た、3ビットのコントロール信号WEAバー,OEAバ
ー,CEAバーは、シフトレジスタ122の1段目の各
ビットに入力されるようになっている。マルチプレクサ
125は、このシフトレジスタ122の両段に格納され
たコントロール信号WEAバー,OEAバー,CEAバー
の組のいずれかを選択してI/Oコントロール回路14
に送る回路である。さらに、複数ビットのデータDQA
は、シフトレジスタ123の1段目の各ビットに入力さ
れるようになっている。ただし、このシフトレジスタ1
23の1段目のレジスタについては、双方向に入出力が
可能な構成となっていて、ここに格納されたデータDQ
Aをデータバスに出力することもできる。マルチプレク
サ126は、このシフトレジスタ123の両段に格納さ
れたデータDQAのいずれかを選択してI/Oコントロ
ール回路14に送る回路である。また、このマルチプレ
クサ126は、I/Oコントロール回路14から送られ
て来たデータDQAをシフトレジスタ123の1段目に
格納することもできるようになっている。
The A port 12 has three shift registers 1
21 to 123 and three multiplexers 124 to 126. Each of the shift registers 121 to 123 is a shift register in which a multi-bit register is provided in two stages. The A port 12 is connected to the address bus, control bus, and data bus of the CPU 2 shown in FIG. 5, and the address ADRA and the control signals WEA bar, OEA bar,
The CEA bar is sent in, and data DQA can be input and output. That is, the address ADRA of a plurality of bits is input to each bit of the first stage of the shift register 121. Multiplexer 12
A circuit 4 selects one of the addresses ADRA stored in both stages of the shift register 121 and sends the selected address to the memory cell array 11 and the conflict generation circuit 15. The 3-bit control signals WEA bar, OEA bar, and CEA bar are input to each bit of the first stage of the shift register 122. The multiplexer 125 selects one of the sets of the control signals WEA bar, OEA bar, and CEA bar stored in both stages of the shift register 122 and selects the I / O control circuit 14
It is a circuit to send to. Furthermore, a plurality of bits of data DQA
Is input to each bit of the first stage of the shift register 123. However, this shift register 1
The first stage register 23 has a configuration in which input and output can be performed in both directions.
A can also be output to the data bus. The multiplexer 126 is a circuit that selects one of the data DQA stored in both stages of the shift register 123 and sends it to the I / O control circuit 14. The multiplexer 126 can also store the data DQA sent from the I / O control circuit 14 in the first stage of the shift register 123.

【0034】Bポート13も、3つのシフトレジスタ1
31〜133と3つのマルチプレクサ134〜136と
からなり、これらはそれぞれAポート12のシフトレジ
スタ121〜123及びマルチプレクサ124〜126
と同じ構成である。ただし、シフトレジスタ131に
は、図5に示したCPU3のアドレスバスが接続され、
アドレスADRBが入力されるようになっている。ま
た、シフトレジスタ132には、CPU3のコントロー
ルバスが接続され、コントロール信号WEBバー,OEB
バー,CEBバーが入力されるようになっている。さら
に、シフトレジスタ133には、CPU3のデータバス
が接続され、データDQBの入出力ができるようになっ
ている。このCPU3には、コンフリクト発生回路15
からBポート13を介して出力されるコンフリクト信号
CONFLBも送られるようになっている。
The B port 13 also has three shift registers 1
31 to 133 and three multiplexers 134 to 136, which are shift registers 121 to 123 and multiplexers 124 to 126 of the A port 12, respectively.
It has the same configuration as. However, the address bus of the CPU 3 shown in FIG.
The address ADRB is input. The control bus of the CPU 3 is connected to the shift register 132, and the control signals WEB bar, OEB
The bar and the CEB bar are input. Further, a data bus of the CPU 3 is connected to the shift register 133 so that data DQB can be input and output. The CPU 3 includes a conflict generation circuit 15
, A conflict signal CONFLB output via the B port 13 is also sent.

【0035】上記マルチプレクサ124〜126,13
4〜136は、初期状態及び前回のサイクルにおいてコ
ンフリクト発生回路15が競合を検出していなかった場
合には、各シフトレジスタ121〜123,131〜1
33の1段目に格納されたアクセス情報を選択して入出
力を行い、競合が検出されていた場合には、2段目に格
納されたアクセス情報を選択して入出力を行うようにな
っている。また、各シフトレジスタ121〜123,1
31〜133は、当該ポート12,13に送られて来る
コントロール信号におけるチップイネーブル信号CEA
バー,CEBバーがローレベル(選択)の場合にシフト
動作を行い、アクセス情報を1段目に格納(ラッチ)す
るようになっている。CPU3は、コンフリクト信号C
ONFLBがハイレベル(競合)になると、これを次回
のサイクルで検出し、引き続いてアクセスを行う場合に
も次々回のサイクルにおけるチップイネーブル信号CE
Bバーをハイレベル(非選択)として、アクセスを1サ
イクル分遅延させるように制御が定められている。な
お、本実施例では、Aポート12からのアクセスを優先
するので、コンフリクト信号CONFLAがハイレベル
(競合)となることはなく、CPU2は常に通常通りの
アクセスを行う。また、このためAポート12側のマル
チプレクサ124〜126は常に各シフトレジスタ12
1〜123の1段目に格納されたアクセス情報を選択し
て入出力を行う。
The multiplexers 124 to 126, 13
4 to 136 are the shift registers 121 to 123 and 131 to 1 when the conflict generation circuit 15 has not detected the conflict in the initial state and the previous cycle.
33, the access information stored in the first row is selected to perform input / output, and if a conflict is detected, the access information stored in the second row is selected to perform input / output. ing. Further, each of the shift registers 121 to 123, 1
31 to 133 are chip enable signals CEA in the control signals sent to the ports 12 and 13.
The shift operation is performed when the bar and the CEB bar are at the low level (selection), and the access information is stored (latched) in the first stage. The CPU 3 outputs the conflict signal C
When ONFLB becomes a high level (contention), this is detected in the next cycle, and the chip enable signal CE in the next cycle is accessed even when accessing is performed subsequently.
The control is set so that the B bar is set to the high level (not selected) and the access is delayed by one cycle. In this embodiment, since the access from the A port 12 is prioritized, the conflict signal CONFLA does not become a high level (contention), and the CPU 2 always performs a normal access. For this reason, the multiplexers 124 to 126 on the side of the A port 12 always keep the shift registers 12
The access information stored in the first row of 1 to 123 is selected and input / output is performed.

【0036】上記2ポートRAM1の制御部の構成を図
2及び表1に基づいて説明する。
The configuration of the control unit of the two-port RAM 1 will be described with reference to FIG.

【0037】[0037]

【表1】 [Table 1]

【0038】この2ポートRAM1の制御部は、通常サ
イクルa,コンフリクト発生サイクルb,コンフリクト
継続サイクルc及びコンフリクト解除サイクルdからな
る4つの内部状態の遷移に基づいて制御を実行する。
The control unit of the two-port RAM 1 executes control based on transitions of four internal states including a normal cycle a, a conflict occurrence cycle b, a conflict continuation cycle c, and a conflict release cycle d.

【0039】(1)通常サイクルa(通常時制御手段) 通常サイクルaでは、Bポート13のマルチプレクサ1
34〜136がシフトレジスタ131〜133の1段目
に格納されたアクセス情報を読み出す。また、このシフ
トレジスタ131〜133の1段目のアクセス情報に基
づいてメモリセルアレイ11へのアクセスが実行され
る。この通常サイクルaに遷移が可能となるのは、初期
状態からかまたは、前回のサイクルにおいてコンフリク
ト信号CONFLBがローレベル(非競合)であった場
合、即ち同じ通常サイクルa(a→a)若しくは後に説
明するコンフリクト解除サイクルd(d→a)からの場
合に限る。また、現行のサイクルにおいてコンフリクト
信号CONFLBがローレベル(非競合)である場合に
のみ実際に遷移して来る。この通常サイクルaから次の
状態に遷移する際には、シフトレジスタ131〜133
がシフト動作を行って1段目に新たなアクセス情報が格
納される。なお、この際、1段目にあったアクセス情報
は2段目にシフトされるが、これは既にアクセス済みの
無意味なものであり、ここで実質的に取り出される。
(1) Normal cycle a (normal control means) In the normal cycle a, the multiplexer 1 of the B port 13
34 to 136 read the access information stored in the first stage of the shift registers 131 to 133. Access to the memory cell array 11 is executed based on the first-stage access information of the shift registers 131 to 133. The transition to the normal cycle a becomes possible from the initial state or when the conflict signal CONFLB is at a low level (non-conflict) in the previous cycle, that is, after the same normal cycle a (a → a) or after. Only from the conflict release cycle d (d → a) described. Also, the transition actually occurs only when the conflict signal CONFLB is at the low level (non-contention) in the current cycle. When transitioning from the normal cycle a to the next state, the shift registers 131 to 133
Performs a shift operation, and new access information is stored in the first row. At this time, the access information that was in the first stage is shifted to the second stage, but this is meaningless already accessed and is substantially extracted here.

【0040】(2)コンフリクト発生サイクルb(競合
発生時制御手段) コンフリクト発生サイクルbでは、Bポート13のマル
チプレクサ134〜136がシフトレジスタ131〜1
33の1段目に格納されたアクセス情報を読み出す。ま
た、Bポート13側からのメモリセルアレイ11へのア
クセスは中止される。このコンフリクト発生サイクルb
に遷移が可能となるのは、前回のサイクルにおいてコン
フリクト信号CONFLBがローレベル(非競合)であ
った場合、即ち通常サイクルa(a→b)又は後に説明
するコンフリクト解除サイクルd(d→b)からの場合
に限る。また、現行のサイクルにおいてコンフリクト信
号CONFLBがハイレベル(競合)である場合にのみ
実際に遷移して来る。このようにコンフリクト信号CO
NFLBがハイレベル(競合)になると、CPU3は、
次のサイクルでこれを検出し次々回のサイクルでアドレ
ス情報の送出を停止する。このコンフリクト発生サイク
ルbから次の状態に遷移する際には、シフトレジスタ1
31〜133がシフト動作を行って1段目のアクセス情
報を2段目に移動させると共に、空いた1段目に新たな
アクセス情報を格納する。なお、まだアクセスを行って
いないアクセス情報を1段目から2段目に移動させるの
はこの場合だけであり、他のシフト動作ではアクセス済
みとなり実質的に取り出された後の無効なアクセス情報
が移動するにすぎず、1段目に新たなアクセス情報を格
納するためだけにシフト動作が行われる。
(2) Conflict occurrence cycle b (control means when conflict occurs) In the conflict occurrence cycle b, the multiplexers 134 to 136 of the B port 13 shift the shift registers 131 to 1
The access information stored in the first row of 33 is read. Further, access to the memory cell array 11 from the B port 13 side is stopped. This conflict generation cycle b
Can be changed when the conflict signal CONFLB is at the low level (non-conflict) in the previous cycle, that is, the normal cycle a (a → b) or the conflict release cycle d (d → b) described later. Only from. Also, the transition actually occurs only when the conflict signal CONFLB is at the high level (contention) in the current cycle. Thus, the conflict signal CO
When NFLB goes high (conflict), the CPU 3
This is detected in the next cycle, and the transmission of address information is stopped in the next cycle. When transitioning from the conflict occurrence cycle b to the next state, the shift register 1
31 to 133 perform a shift operation to move the first-stage access information to the second stage, and store new access information in the first empty stage. It is only in this case that the access information that has not been accessed is moved from the first stage to the second stage. In other shift operations, the access information has been accessed and the invalid access information that has been substantially taken out is invalid. The shift operation is performed only to store new access information in the first stage, just to move.

【0041】(3)コンフリクト継続サイクルc(競合
継続時制御手段) コンフリクト継続サイクルcでは、Bポート13のマル
チプレクサ134〜136がシフトレジスタ131〜1
33の2段目に格納されたアクセス情報を読み出す。ま
た、Bポート13側からのメモリセルアレイ11へのア
クセスは中止される。このコンフリクト継続サイクルc
に遷移が可能となるのは、前回のサイクルにおいてコン
フリクト信号CONFLBがハイレベル(競合)であっ
た場合、即ちコンフリクト発生サイクルb(b→c)又
は同じコンフリクト継続サイクルc(c→c)からの場
合に限る。また、現行のサイクルにおいてコンフリクト
信号CONFLBがハイレベル(競合)である場合にの
み実際に遷移して来る。この場合にもコンフリクト信号
CONFLBがハイレベル(競合)となるので、CPU
3は、次のサイクルでこれを検出し次々回のサイクルで
アドレス情報の送出を停止する。このコンフリクト継続
サイクルcから次の状態に遷移する際には、前々回(現
行状態から見れば前回)のアクセス中止によりCPU3
がアクセス情報の送出を停止するので、シフトレジスタ
131〜133はシフト動作を行わない。
(3) Conflict continuation cycle c (control means during contention continuation) In the conflict continuation cycle c, the multiplexers 134 to 136 of the B port 13 shift the shift registers 131 to 136.
The access information stored in the second row of 33 is read. Further, access to the memory cell array 11 from the B port 13 side is stopped. This conflict continuation cycle c
Is possible when the conflict signal CONFLB is at the high level (contention) in the previous cycle, that is, from the conflict occurrence cycle b (b → c) or the same conflict continuation cycle c (c → c). Only in cases. Also, the transition actually occurs only when the conflict signal CONFLB is at the high level (contention) in the current cycle. Also in this case, the conflict signal CONFLB becomes high level (competition).
No. 3 detects this in the next cycle and stops sending address information in the next cycle. At the time of transition from the conflict continuation cycle c to the next state, the CPU 3 is canceled due to the stop of the access two times before (the previous time when viewed from the current state).
Stops transmission of access information, so that the shift registers 131 to 133 do not perform a shift operation.

【0042】(4)コンフリクト解除サイクルd(競合
解除時制御手段) コンフリクト解除サイクルdでは、Bポート13のマル
チプレクサ134〜136がシフトレジスタ131〜1
33の2段目に格納されたアクセス情報を読み出す。ま
た、このシフトレジスタ131〜133の2段目のアク
セス情報に基づいてメモリセルアレイ11へのアクセス
が実行される。このコンフリクト解除サイクルdに遷移
が可能となるのは、前回のサイクルにおいてコンフリク
ト信号CONFLBがハイレベル(競合)であった場
合、即ちコンフリクト発生サイクルb(b→d)又はコ
ンフリクト継続サイクルc(c→d)からの場合に限
る。また、現行のサイクルにおいてコンフリクト信号C
ONFLBがローレベル(非競合)である場合にのみ実
際に遷移して来る。このコンフリクト解除サイクルdか
ら次の状態に遷移する際にも、前々回(現行状態から見
れば前回)のアクセス中止によりCPU3がアクセス情
報の送出を停止するので、シフトレジスタ131〜13
3はシフト動作を行わない。
(4) Conflict Release Cycle d (Control Unit for Resolving Conflict) In the conflict release cycle d, the multiplexers 134 to 136 of the B port 13 shift the shift registers 131 to 136.
The access information stored in the second row of 33 is read. Access to the memory cell array 11 is performed based on the second-stage access information of the shift registers 131 to 133. The transition to the conflict release cycle d is enabled when the conflict signal CONFLB is at the high level (contention) in the previous cycle, that is, the conflict generation cycle b (b → d) or the conflict continuation cycle c (c → c). Only from d). Also, in the current cycle, the conflict signal C
A transition actually occurs only when ONFLB is at a low level (non-contention). When transitioning from the conflict release cycle d to the next state, the CPU 3 stops sending access information due to the stop of access two times before (previous when viewed from the current state).
No. 3 performs no shift operation.

【0043】上記構成の2ポートRAM1において、A
ポート12とBポート13に同じN,N+1,N+2,
…の連続したアドレスへの書き込みアクセスがあった場
合の動作を図3に基づいて説明する。
In the two-port RAM 1 having the above configuration, A
The same N, N + 1, N + 2 for port 12 and B port 13
The operation in the case where there is a write access to consecutive addresses of... Will be described with reference to FIG.

【0044】まず、T1サイクルでは、CPU3からの
チップイネーブル信号CEBバーがローレベル(選択)
となるので、シフトレジスタ131〜133がシフト動
作を行いアドレスADRBのNを1段目に格納する。こ
こで、前回のサイクルでは競合が発生していなかったと
すると、マルチプレクサ134がこの1段目のアドレス
ADRBのNを読み出すので、アドレスADRAのNと一
致し、コンフリクト発生回路15がコンフリクト信号C
ONFLBをハイレベル(競合)にする。従って、この
T1サイクルの制御状態はコンフリクト発生サイクルb
となるため、Bポート13側からのアクセスは中止され
る。
First, in the T1 cycle, the chip enable signal CEB from the CPU 3 goes low (selected).
Therefore, the shift registers 131 to 133 perform the shift operation and store N of the address ADRB in the first stage. Here, assuming that no conflict has occurred in the previous cycle, the multiplexer 134 reads N of the address ADRB of the first stage, so that it matches N of the address ADRA, and the conflict generation circuit 15 outputs the conflict signal C
ONFLB is set to a high level (competition). Therefore, the control state of this T1 cycle is the conflict generation cycle b
Therefore, the access from the B port 13 is stopped.

【0045】次に、T2サイクルでも、チップイネーブ
ル信号CEBバーがローレベル(選択)となるので、シ
フトレジスタ131〜133がシフト動作を行い、1段
目のアドレスADRBのNを2段目に移動させると共に
新たなアドレスADRBのN+1を1段目に格納する。
また、前回のT1サイクルでは競合が発生したため、マ
ルチプレクサ134はシフトされた2段目のアドレスA
DRBのNを読み出す。しかし、アドレスADRAはN+
1に変わるので、コンフリクト信号CONFLBはロー
レベル(非競合)となる。従って、このT2サイクルの
制御状態はコンフリクト解除サイクルdとなるため、B
ポート13からは、2段目のアドレスADRBのNや書
き込み用のデータDQBのDN等に基づいてアクセスが行
われる。このときシフトレジスタ133の1段目には書
き込み用のデータDQBのDN+1が格納される。なお、C
PU3は、このT2サイクルにおいてコンフリクト信号
CONFLBのハイレベル(競合)を検出し、内部のコ
ンフリクトフラグをハイレベルとする。
Next, also in the T2 cycle, since the chip enable signal CEB goes low (selected), the shift registers 131 to 133 perform a shift operation and move N of the address ADRB in the first stage to the second stage. At the same time, N + 1 of the new address ADRB is stored in the first row.
Also, since a conflict occurred in the previous T1 cycle, the multiplexer 134 outputs the shifted address A of the second stage.
Read N of DRB. However, the address ADRA is N +
Therefore, the conflict signal CONFLB becomes low level (non-contention). Therefore, the control state of this T2 cycle is the conflict release cycle d,
Access is made from the port 13 based on N of the address ADRB in the second stage, DN of the data DQB for writing, and the like. At this time, the first stage of the shift register 133 stores DN + 1 of the write data DQB. Note that C
The PU3 detects the high level (contention) of the conflict signal CONFLB in the T2 cycle, and sets the internal conflict flag to the high level.

【0046】T3サイクルでは、CPU3がT2サイクル
でハイレベルとなったコンフリクトフラグに基づいてア
クセス情報の送出を停止しチップイネーブル信号CEB
バーをハイレベル(非選択)にするので、シフトレジス
タ131〜133はシフト動作を行わない。しかし、前
回のT2サイクルでは競合が発生しなかったために、マ
ルチプレクサ134は1段目に格納されていたアドレス
ADRBのN+1を読み出す。そして、アドレスADRA
はN+2に変わるので、コンフリクト信号CONFLB
はローレベル(非競合)となる。従って、このT3サイ
クルの制御状態は通常サイクルaとなるため、Bポート
13からは、1段目のアドレスADRBのN+1や書き
込み用のデータDQBのDN+1等に基づいてアクセスが行
われる。
In the cycle T3, the CPU 3 stops transmitting the access information based on the conflict flag which has become high level in the cycle T2, and sets the chip enable signal CEB.
Since the bar is set to the high level (not selected), the shift registers 131 to 133 do not perform the shift operation. However, since no conflict occurred in the previous T2 cycle, the multiplexer 134 reads N + 1 of the address ADRB stored in the first stage. And the address ADRA
Changes to N + 2, the conflict signal CONFLB
Becomes low level (non-competition). Accordingly, since the control state of the T3 cycle is the normal cycle a, access is performed from the B port 13 based on N + 1 of the first-stage address ADRB, DN + 1 of the write data DQB, and the like.

【0047】T4サイクルでは、チップイネーブル信号
CEBバーがローレベル(選択)に戻るので、シフトレ
ジスタ131〜133はシフト動作を行い、アドレスA
DRBのN+2を1段目に格納する。また、前回のT3サ
イクルでは競合が発生しなかったために、マルチプレク
サ134はこの1段目のアドレスADRBのN+2を読
み出す。そして、アドレスADRAはN+3に変わるの
で、コンフリクト信号CONFLBはローレベル(非競
合)となる。従って、このT4サイクルの制御状態も通
常サイクルaとなるため、Bポート13からは、1段目
のアドレスADRBのN+2や書き込み用のデータDQB
のDN+2等に基づいてアクセスが行われ、以降のサイク
ルにおいても同様にAポート12とBポート13から同
時にアクセスが実行される。
In the cycle T4, the chip enable signal CEB goes back to the low level (selected), so that the shift registers 131 to 133 perform the shift operation and the address A
N + 2 of DRB is stored in the first row. Since no conflict has occurred in the previous T3 cycle, the multiplexer 134 reads N + 2 of the address ADRB in the first stage. Then, since the address ADRA changes to N + 3, the conflict signal CONFLB becomes low level (non-contention). Therefore, since the control state of the T4 cycle is also the normal cycle a, the B port 13 outputs N + 2 of the address ADRB of the first stage and the data DQB for writing.
, And access is performed simultaneously from the A port 12 and the B port 13 in the subsequent cycles.

【0048】このように本実施例の2ポートRAM1で
は、優先順位の高いAポート12側のCPU2だけでな
く、優先順位の低いBポート13側のCPU3も各サイ
クルにおいてコンフリクト信号CONFLBの検査とア
クセスとを同時に行うことができるので、データ転送速
度を向上させることができる。また、競合が発生した場
合にも、CPU3がこの競合の発生から2サイクル後の
T3サイクルにアクセス情報の送出を停止し1サイクル
分だけ遅延させるだけで、アクセス情報の再送出を行う
ことなく連続してアクセスを続けることができる。
As described above, in the two-port RAM 1 of this embodiment, not only the CPU 2 of the A port 12 having the higher priority but also the CPU 3 of the B port 13 having the lower priority check and access the conflict signal CONFLB in each cycle. Can be performed simultaneously, so that the data transfer speed can be improved. Further, even when a conflict occurs, the CPU 3 stops sending the access information in the T3 cycle two cycles after the occurrence of the conflict and delays the access information by one cycle, thereby continuously transmitting the access information without retransmitting the access information. Access to continue.

【0049】上記の2ポートRAM1において、Bポー
ト13にN,N+1,N+2,…の連続したアドレスへ
の書き込みアクセスがあり、Aポート12にはN,N,
N+1,N+1,N+2,N+3,…のような最初だけ
同じアドレスが2回ずつ繰り返される書き込みアクセス
があった場合の動作を図4に基づいて説明する。
In the two-port RAM 1, the B port 13 has write access to consecutive addresses of N, N + 1, N + 2,..., And the A port 12 has N, N,
The operation when there is a write access in which the same address is repeated twice at the beginning, such as N + 1, N + 1, N + 2, N + 3,..., Will be described with reference to FIG.

【0050】まず、T1サイクルでは、上記図3のT1サ
イクルと同じくアドレスADRA,ADRBが共にNとな
って競合が発生し、制御状態がコンフリクト発生サイク
ルbとなるため、Bポート13側からのアクセスは中止
される。次に、T2サイクルでも、再びアドレスADR
A,ADRBが共にNとなって競合が発生し、制御状態は
コンフリクト継続サイクルcとなるため、Bポート13
側からのアクセスが中止される。
First, in the T1 cycle, as in the T1 cycle of FIG. 3, the addresses ADRA and ADRB both become N and a conflict occurs, and the control state becomes the conflict occurrence cycle b. Is aborted. Next, even in the T2 cycle, the address ADR is again
Since A and ADRB both become N and a conflict occurs, and the control state becomes the conflict continuation cycle c, the B port 13
Access from the side is stopped.

【0051】そして、これに続くT3サイクルとT4サイ
クルでは、前2回の競合によりCPU3がアクセス情報
の送出を停止しチップイネーブル信号CEBバーをハイ
レベル(非選択)にするので、この間T1サイクルとT2
サイクルで送られて来たアクセス情報が2段のシフトレ
ジスタ131〜133に保持され続ける。また、このT
3サイクルでは、マルチプレクサ134がシフトレジス
タ131の2段目からアドレスADRBのNを読み出す
のに対してAポート12側のアドレスADRAはN+1
となるので、競合が解消して制御状態がコンフリクト解
除サイクルdに遷移し、このアドレスADRBのNによ
るアクセスが実行される。しかしながら、T4サイクル
では、マルチプレクサ134が1段目から読み出すアド
レスADRBのN+1がAポート12側のアドレスAD
RAのN+1と競合し、制御状態は再びコンフリクト発
生サイクルbに戻る。
In the subsequent T3 and T4 cycles, the CPU 3 stops sending access information and sets the chip enable signal CEB to a high level (non-selected) due to the previous two conflicts. T2
The access information sent in the cycle continues to be held in the two-stage shift registers 131 to 133. Also, this T
In three cycles, the multiplexer 134 reads N of the address ADRB from the second stage of the shift register 131, whereas the address ADRA on the A port 12 side is N + 1.
Therefore, the conflict is resolved and the control state transits to the conflict release cycle d, and the access by the address ADRB by N is executed. However, in the T4 cycle, N + 1 of the address ADRB read from the first stage by the multiplexer 134 is the address AD of the A port 12 side.
After competing with N + 1 of RA, the control state returns to the conflict occurrence cycle b again.

【0052】しかしながら、T5サイクルでは、マルチ
プレクサ134がシフトレジスタ131の2段目からア
ドレスADRBのN+1を読み出すのに対してAポート
12側のアドレスADRAはN+2となるので、競合が
解消して制御状態がコンフリクト解除サイクルdに遷移
し、このアドレスADRBのN+1によるアクセスが実
行される。そして、T6サイクルでは、マルチプレクサ
134がシフトレジスタ131の1段目からアドレスA
DRBのN+2を読み出すのに対してAポート12側の
アドレスADRAはN+3となるので、ここでも競合が
発生せずに制御状態が通常サイクルaに遷移し、以降の
サイクルにおいても同様にAポート12とBポート13
から同時にアクセスが実行される。
However, in the T5 cycle, the multiplexer 134 reads N + 1 of the address ADRB from the second stage of the shift register 131, whereas the address ADRA on the A port 12 side is N + 2. Transitions to the conflict release cycle d, and the access by the address ADRB by N + 1 is executed. Then, in the T6 cycle, the multiplexer 134 outputs the address A from the first stage of the shift register 131.
Since the address ADRA on the A port 12 side is N + 3 while reading N + 2 of DRB, the control state transits to the normal cycle a without any conflict here, and the A port 12 And B port 13
Access is executed simultaneously from.

【0053】この結果、競合が連続して発生した場合や
制御状態が競合解消途上のコンフリクト解除サイクルd
にある場合に再度競合が発生したような場合にも、本実
施例の2ポートRAM1は、競合発生時の2サイクル後
のT3サイクル,T4サイクル及びT6サイクルにおいて
CPU3がアクセス情報の送出を停止するだけで、正常
にアクセスを継続することができることが確認できた。
As a result, when conflicts occur successively or when the control state is in the conflict resolving cycle d while the conflicts are being resolved.
In the case where the conflict occurs again, the two-port RAM 1 of this embodiment causes the CPU 3 to stop sending the access information in the T3 cycle, T4 cycle and T6 cycle two cycles after the conflict occurs. Only by this, it was confirmed that access could be continued normally.

【0054】ここで、本実施例と第1従来例及び第2従
来例の2ポートRAM1のデータ転送時間の比較を行
う。この比較のための設定条件を ・2ポートRAM1のサイクル時間をTとする。
Here, the data transfer time of the two-port RAM 1 of this embodiment, the first conventional example, and the second conventional example will be compared. The setting conditions for this comparison are as follows: T is the cycle time of the two-port RAM1.

【0055】・データ転送回数を1000回とする。The number of data transfers is 1,000.

【0056】・競合の発生回数を50回とする。Assume that the number of times of occurrence of competition is 50 times.

【0057】・第2従来例の2ポートRAM1における
同期合わせのための1サイクル当たりの平均オーバーヘ
ッドをαとする。
The average overhead per cycle for synchronization in the two-port RAM 1 of the second conventional example is α.

【0058】として計算を行うと、下記の結果を得た。The following results were obtained when the calculation was performed.

【0059】・本実施例 :(1000+50)T=1
050T ・第1従来例:(1000−50)×2T+50×4T
=2100T ・第2従来例:1000×(2T+α)=2000T+
1000α この結果、本実施例は、第1従来例や第2従来例に比べ
てデータ転送時間を2分の1乃至それ以下に短縮できる
ことが分かった。
This embodiment: (1000 + 50) T = 1
050T ・ First conventional example: (1000-50) × 2T + 50 × 4T
= 2100T ・ Second conventional example: 1000 × (2T + α) = 2000T +
1000α As a result, it was found that the present embodiment can reduce the data transfer time to half or less as compared with the first conventional example and the second conventional example.

【0060】なお、本実施例では、アクセスの競合をア
ドレスが一致するかどうかのみで判定したが、これに限
らずこのアドレスやライトイネーブル信号等の検査によ
りメモリセルアレイ11の構造に応じて適宜判断するこ
とができる。また、本実施例では、CPU2,3のアク
セスが同期しているものとしたが、これらが同期してい
ない場合には、CPU3のアクセス中にCPU2からの
アクセスが競合し排除される場合も生じる。ただし、こ
の場合にも、シフトレジスタ121〜123とマルチプ
レクサ124〜126を用いてAポート12側について
も上記と同様の処理を行うと共に、コンフリクト信号C
ONFLAに基づいてCPU2がCPU3と同様の処理
うことにより本発明に基づく相互排除を実現することが
できる。
In this embodiment, the access conflict is determined only based on whether or not the addresses match. However, the present invention is not limited to this. The address, the write enable signal, and the like are appropriately determined in accordance with the structure of the memory cell array 11 by inspection. can do. Further, in the present embodiment, the accesses of the CPUs 2 and 3 are synchronized. However, if they are not synchronized, the access from the CPU 2 may conflict and be eliminated during the access of the CPU 3. . However, also in this case, the same processing as described above is performed on the A port 12 side using the shift registers 121 to 123 and the multiplexers 124 to 126, and the conflict signal C
The CPU 2 performs the same processing as the CPU 3 based on ONFLA, thereby realizing mutual exclusion based on the present invention.

【0061】[0061]

【発明の効果】以上の説明から明らかなように、本発明
のマルチポート半導体記憶装置によれば、メモリセルに
アクセスする処理装置がビジー信号の検査を行うためや
アクセス情報を再送出するために無駄にサイクルを費や
すことがなくなるので、データ転送効率を向上させるこ
とができる。また、このアクセス情報の再送出を不要に
することにより、処理装置側のアクセス制御を簡易化さ
せることができる。
As is apparent from the above description, according to the multiport semiconductor memory device of the present invention, the processing device accessing the memory cell can check the busy signal and retransmit the access information. Since the cycle is not wasted, the data transfer efficiency can be improved. Further, by eliminating the need to retransmit the access information, access control on the processing device side can be simplified.

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

【図1】本発明の一実施例を示すものであって、2ポー
トRAMの構成を示すブロック図である。
FIG. 1 illustrates one embodiment of the present invention, and is a block diagram illustrating a configuration of a two-port RAM.

【図2】本発明の一実施例を示すものであって、2ポー
トRAMの制御動作を示す状態遷移図である。
FIG. 2, showing an embodiment of the present invention, is a state transition diagram illustrating a control operation of a two-port RAM.

【図3】本発明の一実施例を示すものであって、競合が
1回だけ発生した場合の2ポートRAMの動作を示すタ
イムチャートである。
FIG. 3, showing an embodiment of the present invention, is a time chart illustrating an operation of the two-port RAM when a conflict occurs only once.

【図4】本発明の一実施例を示すものであって、競合が
頻繁に発生した場合の2ポートRAMの動作を示すタイ
ムチャートである。
FIG. 4, showing an embodiment of the present invention, is a time chart illustrating an operation of a two-port RAM when contention frequently occurs.

【図5】2ポートRAMを2つのCPU間の共有メモリ
として使用した場合の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration when a two-port RAM is used as a shared memory between two CPUs.

【図6】第1従来例を示すものであって、2ポートRA
Mの構成を示すブロック図である。
FIG. 6 shows a first conventional example, in which a two-port RA is used.
FIG. 3 is a block diagram showing a configuration of M.

【図7】第1従来例を示すものであって、2ポートRA
Mの動作を示すタイムチャートである。
FIG. 7 shows a first conventional example, in which a two-port RA is used.
6 is a time chart showing the operation of M.

【図8】第2従来例を示すものであって、2ポートRA
Mの構成を示すブロック図である。
FIG. 8 shows a second conventional example, in which a two-port RA is used.
FIG. 3 is a block diagram showing a configuration of M.

【図9】第2従来例を示すものであって、2ポートRA
Mの動作を示すタイムチャートである。
FIG. 9 shows a second conventional example, in which a two-port RA is used.
6 is a time chart showing the operation of M.

【符号の説明】[Explanation of symbols]

1 2ポートRAM 11 メモリセルアレイ 12 Aポート 13 Bポート 15 コンフリクト発生回路 121〜123 シフトレジスタ 131〜133 シフトレジスタ 124〜126 マルチプレクサ 134〜136 マルチプレクサ 1 2-port RAM 11 Memory cell array 12 A port 13 B port 15 Conflict generation circuit 121-123 Shift register 131-133 Shift register 124-126 Multiplexer 134-136 Multiplexer

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリセルにアクセスするための複数系
統の入出力ポートを有し、各入出力ポートに送られて来
たアドレス等のアクセス情報が競合によりアクセスを中
止すべきものであるかどうかを判定する競合検出手段を
備えたマルチポート半導体記憶装置において、アドレス及びコントロール信号並びに書き込みアクセス
の場合の書き込みデータ等の アクセス情報をそれぞれの
入出力ポートに設けられた待ち行列で受け付ける待ち行
列手段と、 各入出力ポートについて、当該待ち行列の先頭のアドレ
が競合検出手段によってアクセス中止を判定されなか
った場合に、当該待ち行列の先頭のアクセス情報を待ち
行列から選択して取り出してアクセスを実行させる非競
合時制御手段と、 各入出力ポートについて、当該待ち行列の先頭のアドレ
が競合検出手段によってアクセス中止を判定された場
合に、当該待ち行列の先頭のアクセス情報によるアクセ
スを中止させると共に、当該入出力ポートからビジー信
号を出力させる競合時制御手段とを備えたマルチポート
半導体記憶装置。
An input / output port having a plurality of systems for accessing a memory cell, and whether or not access information such as an address sent to each input / output port should interrupt access due to contention. An address and control signal and a write access in a multiport semiconductor memory device having a conflict detecting means for determining
And a queuing means for receiving access information such as write data in a queue provided for each input / output port, and for each input / output port, an address at the head of the queue.
If the scan is not determined access aborted by conflict detection means, a non-competitive time control means for performing access removed by selecting from the queue to the beginning of the access information of the queues for each input and output ports, Address at the head of the queue
And a contention control means for stopping access by the access information at the head of the queue and outputting a busy signal from the input / output port when the access detection is determined by the contention detection means. Semiconductor storage device.
【請求項2】 メモリセルにアクセスするための複数系
統の入出力ポートを有し、各入出力ポートに送られて来
たアドレス等のアクセス情報が競合によりアクセスを中
止すべきものであるかどうかを判定する競合検出手段を
備えたマルチポート半導体記憶装置において、 アクセス情報を1段目のレジスタに格納する2段のシフ
トレジスタがそれぞれ各入出力ポートに設けられると共
に、 各入出力ポートについて、前回のサイクルがアクセス中
止であった場合に、当該シフトレジスタの2段目をアク
セスレジスタとし、アクセス中止ではなかった場合に
は、このシフトレジスタの1段目をアクセスレジスタと
するレジスタ切替手段と、 各入出力ポートについて、当該シフトレジスタの1段目
がアクセスレジスタであって、このアクセスレジスタの
アクセス情報が競合検出手段によってアクセス中止を判
定されなかった場合に、このアクセス情報によるアクセ
スを実行させる通常時制御手段と、 各入出力ポートについて、当該シフトレジスタの1段目
がアクセスレジスタであって、このアクセスレジスタの
アクセス情報が競合検出手段によってアクセス中止を判
定された場合に、このアクセス情報によるアクセスを中
止させると共に、当該入出力ポートからビジー信号を出
力させ、かつ、シフトレジスタをシフト動作させてアク
セス情報を1段目から2段目へシフトさせる競合発生時
制御手段と、 各入出力ポートについて、当該シフトレジスタの2段目
がアクセスレジスタであって、このアクセスレジスタの
アクセス情報が競合検出手段によってアクセス中止を判
定された場合に、このアクセス情報によるアクセスを中
止させると共に、当該入出力ポートからビジー信号を出
力させる競合継続時制御手段と、 各入出力ポートについて、当該シフトレジスタの2段目
がアクセスレジスタであって、このアクセスレジスタの
アクセス情報が競合検出手段によってアクセス中止を判
定されなかった場合に、このアクセス情報によるアクセ
スを実行させる競合解除時制御手段とを備えたマルチポ
ート半導体記憶装置。
2. It has a plurality of input / output ports for accessing a memory cell, and determines whether or not access information such as an address sent to each input / output port should interrupt access due to contention. In a multi-port semiconductor memory device provided with a conflict detection means for determining, a two-stage shift register for storing access information in a first-stage register is provided for each input / output port. A register switching means for setting the second stage of the shift register as an access register when the cycle is the access stop, and setting the first stage of the shift register as the access register when the access is not stopped; Regarding the output port, the first stage of the shift register is an access register, and this access register If the conflict detection means does not judge the access stop of the access information, the normal control means for executing the access based on the access information, and for each input / output port, the first stage of the shift register is an access register. If the access information in the access register is determined to be interrupted by the conflict detection means, the access based on the access information is stopped, a busy signal is output from the input / output port, and the shift register is shifted. Contention control means for shifting the access information from the first stage to the second stage, and for each input / output port, the second stage of the shift register is an access register, and the access information of the access register is in conflict. If the detection means determines that access is Contention continuation control means for stopping access by access information and outputting a busy signal from the input / output port; and for each input / output port, the second stage of the shift register is an access register. A multiport semiconductor memory device comprising: a conflict release control means for executing an access based on the access information when the access information is not judged to be canceled by the conflict detection means.
【請求項3】 メモリセルにアクセスするための入出力
ポートが2系統である請求項1又は請求項2に記載のマ
ルチポート半導体記憶装置。
3. The multiport semiconductor memory device according to claim 1, wherein there are two input / output ports for accessing the memory cells.
JP31712693A 1993-12-16 1993-12-16 Multiport semiconductor storage device Expired - Fee Related JP3199207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31712693A JP3199207B2 (en) 1993-12-16 1993-12-16 Multiport semiconductor storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31712693A JP3199207B2 (en) 1993-12-16 1993-12-16 Multiport semiconductor storage device

Publications (2)

Publication Number Publication Date
JPH07175713A JPH07175713A (en) 1995-07-14
JP3199207B2 true JP3199207B2 (en) 2001-08-13

Family

ID=18084731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31712693A Expired - Fee Related JP3199207B2 (en) 1993-12-16 1993-12-16 Multiport semiconductor storage device

Country Status (1)

Country Link
JP (1) JP3199207B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19740695C2 (en) * 1997-09-16 2002-11-21 Infineon Technologies Ag Multi-level hierarchy data storage
US6144604A (en) * 1999-11-12 2000-11-07 Haller; Haggai Haim Simultaneous addressing using single-port RAMs
US7120761B2 (en) 2000-12-20 2006-10-10 Fujitsu Limited Multi-port memory based on DRAM core
US7333388B2 (en) 2001-10-03 2008-02-19 Infineon Technologies Aktiengesellschaft Multi-port memory cells
US7231478B2 (en) * 2002-05-24 2007-06-12 Koninklijke Philips Electronics N.V. Programmed access latency in mock multiport memory
US7363436B1 (en) * 2004-02-26 2008-04-22 Integrated Device Technology, Inc. Collision detection in a multi-port memory system
JP2006134379A (en) 2004-11-02 2006-05-25 Matsushita Electric Ind Co Ltd Semiconductor memory
KR100827704B1 (en) 2006-11-29 2008-05-07 삼성전자주식회사 Multi-path accessible semiconductor memory device and method for matching data therefore
JP5353002B2 (en) * 2007-12-28 2013-11-27 富士通株式会社 Storage system and information processing apparatus access control method

Also Published As

Publication number Publication date
JPH07175713A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
EP1345125B1 (en) Dynamic random access memory system with bank conflict avoidance feature
JP3560056B2 (en) Queue manager for buffers
US4433394A (en) First-in first-out storage and processing unit making use thereof
US4792926A (en) High speed memory system for use with a control bus bearing contiguous segmentially intermixed data read and data write request signals
US5602850A (en) High-speed packet bus
WO2005093758A1 (en) Collision detection in a multi-port memory system
JP3199207B2 (en) Multiport semiconductor storage device
US6463066B2 (en) ATM switch
JPH06259225A (en) Synchronizer of data transfer
JP3020008B2 (en) Pipeline multiplexing for multiport memory
KR19980086729A (en) Multiple address holding memory device
US6684301B1 (en) Out of order execution memory access request FIFO
US6341313B1 (en) Flow controlling method and apparatus for network between processors
JP4314528B2 (en) Multiprocessor system and memory access method
US6715021B1 (en) Out-of-band look-ahead arbitration method and/or architecture
JPH04279945A (en) Memory circuit
US6266746B1 (en) Control apparatus for random access memories
JP5028710B2 (en) Semiconductor memory device
JPH10307787A (en) Buffer memory device
US6282149B1 (en) Circuit and method for synchronized data banking
US6831920B1 (en) Memory vacancy management apparatus and line interface unit
JP3019917B2 (en) High-speed FIFO circuit
KR940003300B1 (en) Memory-queue in a system using pipe-line bus protocol
JPH06274405A (en) Memory write control circuit
JPH1185605A (en) Memory control unit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090615

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees