JPH0457287A - Multiport memory - Google Patents

Multiport memory

Info

Publication number
JPH0457287A
JPH0457287A JP2163703A JP16370390A JPH0457287A JP H0457287 A JPH0457287 A JP H0457287A JP 2163703 A JP2163703 A JP 2163703A JP 16370390 A JP16370390 A JP 16370390A JP H0457287 A JPH0457287 A JP H0457287A
Authority
JP
Japan
Prior art keywords
signal
memory cell
port
side port
address
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.)
Granted
Application number
JP2163703A
Other languages
Japanese (ja)
Other versions
JP2646807B2 (en
Inventor
Tatsuo Ito
伊藤 龍男
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2163703A priority Critical patent/JP2646807B2/en
Publication of JPH0457287A publication Critical patent/JPH0457287A/en
Application granted granted Critical
Publication of JP2646807B2 publication Critical patent/JP2646807B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent error in the write/read of information due to simultaneous access by constituting a memory cell area match deciding means so as not to decide match concerning minimal bits among the address information of first and second ports at least. CONSTITUTION:When a DHA signal 40 is 1, an A0 match signal 41 is masked and when a1L signal 3b - A10L signal 3k are equal to A1R signal 9b -A10R signal 9k regardless of whether an A0L signal 3a is match with an A0R signal 9a or not, a memory cell area match internal signal 122 is made active. At such a time, when both an inverted CSL signal 4 and an inverted CSR signal 10 are active, a WAIT generating circuit 23 judges that access from an L side port 100 competes with access from an R side port 101, and outputs an internal control signal 15, internal control signal 16, inverted WAITL signal 7 and inverted WAITR signal 13 so that the port on the side of trying access later to the memory cell area of the same unit can be waited.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、デュアルポートメモリ等の複数のポートを
有するマルチポートメモリに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multi-port memory having a plurality of ports, such as a dual-port memory.

〔従来の技術〕[Conventional technology]

従来のマルチポートメモリの一例を第1図を用いて説明
する。第1図はデュアルポートメモリのブロック図であ
り、第4図は従来例としての第1図における調停回路の
回路図である。
An example of a conventional multiport memory will be explained with reference to FIG. FIG. 1 is a block diagram of a dual port memory, and FIG. 4 is a circuit diagram of the arbitration circuit shown in FIG. 1 as a conventional example.

第1図において、(1)はメモリセル、 (100)は
メモリセル(1)とアクセス可能な第1ポート、例えば
L側ボーF’+ (101)はメモリセル(1)とアク
セス可能な第2ポート、例えばR側ポート、(2)はL
側ポート(100)のデータバス、(3)はL側ポート
(100)のアドレスバス、(4)は′0ルベルを与え
るとL側ポート(100)をアクチブにするC8[信号
、(5)は#0″レベルを与えるとL側ポート(1,0
0)のアドレスバス(3)の指定するアドレスにおいて
メモリセル(1)にL側ポート(100)のデータバス
(2)の内容を書き込むIEL信号、(6)は′0″レ
ベルを与えるとL側ポート(100)のアドレスバス(
3)の指定するアドレスにおけるメモリセル(1)の内
容をL側のポート(100)のデータバス(2)に読み
出すOEL信号、(7)はR側ポート(101)からア
クセス中のアドレスと同一アドレスを。
In FIG. 1, (1) is a memory cell, (100) is a first port accessible to memory cell (1), and, for example, L side baud F'+ (101) is a first port accessible to memory cell (1). 2 ports, e.g. R side port, (2) is L
Data bus of side port (100), (3) is address bus of L side port (100), (4) is C8 [signal, (5) which activates L side port (100) when '0 level is given. When the #0'' level is given, the L side port (1,0
The IEL signal (6) writes the contents of the data bus (2) of the L side port (100) to the memory cell (1) at the address specified by the address bus (3) of 0). Address bus (
OEL signal that reads the contents of the memory cell (1) at the address specified by 3) to the data bus (2) of the L side port (100), (7) is the same as the address being accessed from the R side port (101). address.

後からし側ポート(100)から同時アクセスしようと
した時20″レベルが出力され、L側ポート(100)
からアクセスしようとしたCPU (図示せず)を動作
待ちの状態にするためのWAITL信号、(8)はR側
ポート(101)のデータバス、(9)はR側ポート(
101)のアドレスバス、 (10)は20ルベルを与
えるとR側ポート(101)をアクチブにするC8R信
号、 (11)は20″レベルを与えるとR側ポート(
101)のアドレスバス(9)の指定するアドレスにR
側ポート(101)のデータバス(8)の内容を書き込
むHER信号、 (12)は″0ルベレを与えるとR側
ポート(101)のアドレスバス(9)の指定するアド
レスの内容をR側のポート(101)のデータバス(8
)に読み出すOER信号、 (13)はL側ポート(1
00)からアクセス中のアドレスと同一アドレスを後か
らR側ポート(101)から同時アクセスしようとした
時# O# レベルが出力され、R側ポート(101)
からアクセスしようとしたCPU(図示せず)を動作待
ちの状態にするためのWAITR信号である。(14)
はL側ポート(100)のアドレスバス(3)の内容と
、R側ポート(101)のアドレスバス(9)の内容と
、 C8L信号(4)とC3R信号(10)とが入力さ
れ、L側ポート(100)とR側ポート(101)とか
ら同時にメモリセル(1)の同一アドレスをアクセスし
ないようにするためのし側ポート(100)およびR側
ポート(101)の内部制御信号(15)、 (16)
を発生するとともに、上述のWAITL信号(7)およ
びWAITR信号(13)を出力する調停回路である。
When trying to access simultaneously from the rear side port (100), 20'' level is output, and the L side port (100)
The WAITL signal is used to put the CPU (not shown) that is attempted to be accessed from
101) address bus, (10) is the C8R signal that activates the R side port (101) when 20 level is applied, (11) is the C8R signal that activates the R side port (101) when 20'' level is applied.
101) to the address specified by the address bus (9).
The HER signal (12) that writes the contents of the data bus (8) of the side port (101) writes the contents of the address specified by the address bus (9) of the R side port (101) to the Data bus (8) of port (101)
), (13) is the L side port (1
When attempting to access the same address from the R side port (101) at the same time as the address being accessed from the R side port (101), the #O# level is output and the address being accessed from the R side port (101) is output.
This is a WAITR signal for placing a CPU (not shown) that is attempted to be accessed from the CPU into a waiting state for operation. (14)
The contents of the address bus (3) of the L side port (100), the contents of the address bus (9) of the R side port (101), the C8L signal (4) and the C3R signal (10) are input, and the L The internal control signal (15) of the side port (100) and the R side port (101) is used to prevent the side port (100) and the R side port (101) from accessing the same address of the memory cell (1) at the same time. ), (16)
This is an arbitration circuit that generates the above WAITL signal (7) and WAITR signal (13).

(17)はL側ポート(100)のデータバス(2)と
OEL信号(6)とWEL信号(5)とL側ポート(1
00)の内部制御信号(15)とが加えられ、メモリセ
ル(1)に書き込むデータをメモリセル(1)に与え、
メモリセル(1)から読み出されるデータを受けとり、
さらに。
(17) represents the data bus (2) of the L side port (100), the OEL signal (6), the WEL signal (5), and the L side port (100).
The internal control signal (15) of 00) is applied to give data to be written in the memory cell (1) to the memory cell (1),
Receives data read from memory cell (1),
moreover.

メモリセル(1)に対して制御信号を与えるL側ポート
(100)のI10バッファ、 (18)はL側ポート
(1,00)のアドレスバス(3)の情報をメモリセル
(1)の該当するアドレスを選択するコードに変換する
L側ポート(100)のアドレスデコーダ、 (19)
はR側ポート(101)のデータバス(8)とOER信
号(12)とWER信号(11)とR側ポート(101
)の内部制御信号(16)とが加えられ、メモリセル(
1)に書き込むデータをメモリセル(1)に与え、メモ
リセル(1)から読み出されるデータを受けとり、さら
に、メモリセル(1)に対して制御信号を与えるR側ポ
ート(101)のI10バッファ、 (20)はR側ポ
ート(101)のアドレスバス(9)の情報をメモリセ
ル(1)の該当するアドレスを選択するコードに変換す
る多 R側ポート(101)のアドレスバスタである。
The I10 buffer of the L side port (100) provides a control signal to the memory cell (1), and (18) transfers the information on the address bus (3) of the L side port (1,00) to the corresponding memory cell (1). Address decoder of the L side port (100) that converts the address to be selected into the code to be selected, (19)
is the data bus (8) of the R side port (101), the OER signal (12), the WER signal (11), and the R side port (101).
) is added to the internal control signal (16) of the memory cell (
1) I10 buffer of the R side port (101) that provides data to be written to the memory cell (1), receives data read from the memory cell (1), and also provides a control signal to the memory cell (1); (20) is an address buster for multiple R-side ports (101) that converts information on the address bus (9) of the R-side ports (101) into a code for selecting a corresponding address of the memory cell (1).

なお、L側ポート(100)はI10バッファ(17)
In addition, the L side port (100) is an I10 buffer (17)
.

アドレスデコーダ(18)を有するとともに、データバ
ス(2)、アドレスバス(3) 、 OEL信号(6)
 、 WEI、信号(5) 、 C3L信号(4)、お
よびWAI且信号(7)の端子を有し、R側ポート(1
01)はI10バッファ(19)、  アドレスデコー
ダ(20)を有するとともにデータバス(8)、アドレ
スバス(9) 、 OER信号(12)、 WER信号
(11)、 C3R信号(10)、およびWAITR信
号(13)の端子を有している。
It has an address decoder (18), a data bus (2), an address bus (3), and an OEL signal (6).
, WEI, signal (5), C3L signal (4), and WAI signal (7), and the R side port (1
01) has an I10 buffer (19), an address decoder (20), a data bus (8), an address bus (9), an OER signal (12), a WER signal (11), a C3R signal (10), and a WAITR signal. It has (13) terminals.

次に、従来の調停回路(14)の詳細を示す第4図にお
いて、 (21)はL側ポート(100)のアドレスバ
ス(3)の内容と、R側ポート(101)のアドレスバ
ス(9)の内容が一致しているか否かを判定し。
Next, in FIG. 4 showing details of the conventional arbitration circuit (14), (21) shows the contents of the address bus (3) of the L side port (100) and the address bus (9) of the R side port (101). ) are matched.

致していればアドレス一致内部信号(22)を出力する
アドレス一致判定手段1例えばアドレス一致判定回路、
 (23)はアドレス一致内部信号(22)とC3L信
号(4)とC3R信号(10)とが入力され、L側ポー
ト(100)の内部制御信号(15)とR側ポート(1
01)の内部制御信号(16)とIAI几信号(7)と
WAITR信号(13)を出力するWA I T発生回
路である。
Address match determining means 1, which outputs an address match internal signal (22) if the address matches, for example, an address match determining circuit;
Address match internal signal (22), C3L signal (4), and C3R signal (10) are input to (23), and internal control signal (15) of L side port (100) and R side port (1
This is a WAIT generation circuit that outputs an internal control signal (16) of 01), an IAI signal (7), and a WAITR signal (13).

次に動作について説明する。デュアルポートメモリはL
側ポート(100)とR側ポート(101)とからアク
セスするアドレスが同一でないときは全く相互に影響を
与えずにアクセスすることができるが、同一アドレスを
同時にアクセスしようとしたときは同時アクセスを防止
するための調停が行われる。
Next, the operation will be explained. Dual port memory is L
If the addresses accessed from the side port (100) and the R side port (101) are not the same, they can be accessed without affecting each other at all, but if you try to access the same address at the same time, simultaneous access is disabled. Mediation will be conducted to prevent this.

まず、第5図に示されるタイムチャートにより。First, based on the time chart shown in FIG.

R側ポート(101)が書込みのためアクセス中のアド
レスに対し、L側ポート(100)から読み出しを行お
うとした場合の動作について説明する。
The operation when the L-side port (100) attempts to read from the address that the R-side port (101) is currently accessing for writing will be described.

時点(32)においてL側アドレスバス(3)の内容と
R側アドレスバス(9)の内容が一致し、しかも。
At time (32), the contents of the L-side address bus (3) and the contents of the R-side address bus (9) match, and.

西[信号(4)とで■信号(10)が共にアクチブ(“
0″レベル)なのでアクセスの競合が起り、アドレス一
致内部信号(22)かアクチブ(″IWレベル)になる
West [Signal (4) and ■ Signal (10) are both active (“
0'' level), an access conflict occurs, and the address match internal signal (22) becomes active (IW level).

この場合、R側ポート(Lot)のアドレスバス(9)
が先に八〇+1 となり、後からし側ポート(100)
のアドレスバス(3)か八〇+1 になったので L側
ポート(100)からのアクセスはR側ポート(1o1
)からのアクセスが終了するまで待ちの状態になる。
In this case, the address bus (9) of the R side port (Lot)
becomes 80+1 first, and then the side port (100)
address bus (3) or 80+1, access from the L side port (100) is accessed from the R side port (1o1).
) will be in a waiting state until the access from ) is completed.

この間、L側木−1−(100)のWAITL信号(7
)がアクチブ(’O’ レベル)になり、L側ポート(
100)につながるプロセッサ等を待ち状態にする。
During this time, the WAITL signal (7
) becomes active ('O' level), and the L side port (
100) is placed in a waiting state.

時点(33)でL側ポート(100)のWAI’江信号
(7)かインアクチブ(″1″レベル)になると、アク
セスの競合が終了し、待たされていたし側ポート(10
0)はアドレスA。+1 の内容を読み出す。
At time (33), when the WAI signal (7) of the L side port (100) becomes inactive (“1” level), the access contention ends and the waiting port (100) becomes inactive (“1” level).
0) is address A. Read the contents of +1.

なお、この例では、読み出されたアドレスA。Note that in this example, the read address A.

+1の内容は、先にR側ポート(101)からアドレス
An+1  に書き込まれたデータ(Dx)である。
The content of +1 is the data (Dx) previously written from the R side port (101) to address An+1.

さて、第1図および第4図に示される従来のマルチポー
トメモリにおいては、複数のメモリアドレスにわたるメ
モリセル領域を単位にして第1ボト(100)または第
2ポート(101)からメモリセル(1)をアクセスす
る場合、第1ポ〜) (100)からアクセス中の単位
のメモリセル領域に対し、第2ポート(101)からア
クセスが行われようとしているか否かを判定する機能を
有していないので第1ポート(100)からアクセス中
の上述のメモリセル領域に対する第2ポート(101)
からのアクセスを防止することかできなかった。即ち7
例えば第1ポー1− (100)から書込み途中の単位
のメモリセル領域の情報が第2ポート(101)から書
込み完了データとして読出され、情報が誤って転送され
る問題か生じる。この問題を防ぐため従来においては、
第1ポート(100)かメモリセル(1)にテタを読出
しまたは書込中は、読出しまたは書込中のメモリセル領
域がいずれであっても、第2ポート(101)から読出
しまたは書込みをしないように。
Now, in the conventional multi-port memory shown in FIGS. 1 and 4, a memory cell (100) or a second port (101) is connected to a memory cell (100) in a unit of memory cell area spanning a plurality of memory addresses. ), it has a function of determining whether or not the unit memory cell area being accessed from the first port (100) is about to be accessed from the second port (101). Therefore, the second port (101) for the above-mentioned memory cell area being accessed from the first port (100)
It was not possible to prevent access from. i.e. 7
For example, information on a unit of memory cell area that is being written from the first port 1-(100) is read out from the second port (101) as write-completed data, resulting in a problem that the information is erroneously transferred. To prevent this problem, conventionally,
While data is being read or written to the first port (100) or memory cell (1), do not read or write from the second port (101), regardless of which memory cell area is being read or written. like.

第2ポート(101)側につながるCPU (図示せず
)は、第1ポート(100)側につながるCPU (図
示せず)が出力するメモリセル(1)とアクセス状態か
否かを表すステータス情報を読み、上述のステータス情
報かメモリセル(1)とアクセス中を意味してL?ると
きは、第2ポート(101)側につながる上述のCPU
(図示せず)は、メモリセル(1)トアクセスしないよ
うにソフトウェアで防止するなとの方法をとっていたが
、プログラムを複雑にするばかりでなく、第1ポート(
100)からメモリセル(1)のいずれのアドレスがア
クセスされていても第2ポート(101)からメモリセ
ル(1)をアクセスできないなとの問題があった。
The CPU (not shown) connected to the second port (101) side is connected to the memory cell (1) outputted by the CPU (not shown) connected to the first port (100), and status information indicating whether or not it is in an access state. Read the above status information, or is it L, meaning that memory cell (1) is being accessed? When connecting the above-mentioned CPU connected to the second port (101) side,
(not shown), the method was to use software to prevent access to the memory cell (1), but this not only complicates the program but also makes the first port (
There is a problem in that the memory cell (1) cannot be accessed from the second port (101) no matter which address of the memory cell (1) is accessed from the second port (100).

〔発明か解決しようとする課題〕[Invention or problem to be solved]

従来のマルチポートメモリの一例としてのデュアルポー
トメモリは以上のように構成されているので、単一のア
ドレス対応でアクセスを判定しており、複数のメモリア
ドレスにわたるメモリセル領域を単位にしてアクセスす
る場合、第1ポート(100)か書込みまたは続出中の
メモリセル領域の単位に対し同時に第2ポート(101
)から書込みまたは読出しが行われようとしても、これ
を判定できずデータが誤って授受されるなどの問題があ
った。
Dual-port memory, which is an example of conventional multi-port memory, is configured as described above, so access is determined based on a single address, and access is performed in units of memory cell areas spanning multiple memory addresses. In this case, the first port (100) or the second port (101
), it cannot be determined and data may be exchanged incorrectly.

この発明は、上記のような課題を解決するためになされ
たもので、複数のメモリアドレスにわたるメモリセル領
域を単位にしてアクセスする場合。
The present invention has been made to solve the above-mentioned problem, and relates to a case where a memory cell area covering a plurality of memory addresses is accessed as a unit.

第1−ホードからのアクセス中のメモリセル領域の単位
に対して第2ポートからアクセスしようとしているか否
かを判定する手段を設け、第1ポートか書込みまたは続
出中のメモリセル領域の単位に対する第2ポートからの
書込みまたは読出しか防止されるマルチポートメモリを
得ることを目的とする。
A means is provided for determining whether or not the unit of the memory cell area that is being accessed from the first port is to be accessed from the second port; The object is to obtain a multiport memory in which writing or reading from only two ports is prevented.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るマルチポートメモリは、メモリセルと、
2進化された複数ビットを有するメモリアドレスのうち
少くとも最下位ビットを除く部分アドレス情報か同一な
複数のメモリアドレスにわたるメモリセル領域を単位と
してこの単位のメモリセル領域毎にメモリセルと読出し
書込みを行う第1ポートおよび第2ポートと、第1ポー
トが読出しまたは書込中の所定の単位のメモリセル領域
の部分アドレス情報が、第2ポートが読出しまたは書込
みを行うメモリセル領域の部分アドレス情報と一致して
いるかを判定するメモリセル領域−致判定手段と、を備
えるようにしたものである。
The multiport memory according to the present invention includes memory cells;
Partial address information excluding at least the least significant bit of a memory address having a plurality of binary encoded bits, or a memory cell area spanning multiple identical memory addresses as a unit, and read/write operations with memory cells for each memory cell area of this unit. The partial address information of the predetermined unit of memory cell area that the first port is reading or writing is the partial address information of the memory cell area that the second port is reading or writing. A memory cell area-match determining means for determining whether or not there is a match is provided.

〔作用〕[Effect]

この発明におけるマルチポートメモリでは、メモリセル
領域一致判定手段を第1.第2ポートのアドレス情報の
うち少くとも最小ビットについて一致判定をしないよう
にし、メモリセル領域一致判定手段の出力信号により、
第1ポートがアクセス中の複数のメモリアドレスにわた
るメモリセル領域からなる単位のメモリセル領域に対す
る第2ポートからの同時アクセスを行なわない。
In the multi-port memory according to the present invention, the memory cell area coincidence determination means is arranged in the first. The match determination is not made for at least the minimum bit of the address information of the second port, and the output signal of the memory cell area match determination means is used to
Simultaneous access from the second port to a unit of memory cell area consisting of a memory cell area spanning a plurality of memory addresses being accessed by the first port is not performed.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を第1図、および第2図によ
り説明する。第1図は、デュアルポートメモリのブロッ
ク構成図であり、従来例の説明で使用されたものと同一
であるが、この発明の一実施例においては調停回路(1
4)の内部接続が従来例の場合と異っている。第2図は
、この発明の一実施例における調停回路(14)の詳細
を示した回路図である。第2図において、 (40)は
2つの連続したメモリアドレスのメモリセル領域を単位
のメモリセル領域とし、この単位のメモリセル領域毎に
メモリセル(1)と書込みまたは読出しを行うときアク
チブ(21ルベル)にするDAH信号、 (41)はL
側ポート(100)のアドレスバス(3)のAOL信号
(3a)とR側ポート(101)のアドレスノ(ス(9
)のAOR信号(9a)が入力され1両者か等しいとき
出力が# 1 # レベルになるAO−数回路、 (4
2)はL側ポート(100)のALL信号(3b)とR
側ポート(101)のAIR信号(9b)が入力され9
両者が等しいとき出力が#1″となるA1−数回路、 
(51)はL側ポート(100)のAl0L信号(3k
)とR側ポート(101,)のAlOR信号(9k)が
入力され1両者が等しいとき出力が21″となるAl0
−数回路。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. FIG. 1 is a block configuration diagram of a dual port memory, which is the same as that used in explaining the conventional example, but in one embodiment of the present invention, an arbitration circuit (one
4) The internal connection is different from that of the conventional example. FIG. 2 is a circuit diagram showing details of the arbitration circuit (14) in one embodiment of the present invention. In FIG. 2, (40) is a memory cell area of two consecutive memory addresses as a unit memory cell area, and when writing or reading from memory cell (1) for each unit memory cell area, active (21 DAH signal (41) is L
The AOL signal (3a) of the address bus (3) of the side port (100) and the address bus (9) of the R side port (101)
) AOR signal (9a) is input and when both are equal, the output becomes #1 # level, (4
2) is the ALL signal (3b) of the L side port (100) and the R
The AIR signal (9b) of the side port (101) is input and 9
A1-number circuit whose output is #1'' when both are equal;
(51) is the Al0L signal (3k
) and the R side port (101,) AlOR signal (9k) are input, and when both are equal, the output becomes 21''.
-Several circuits.

(52)はDAH信号(40)とAO−数回路(41)
の出力信号とが入力されるOR回路、 (53)はOR
回路(52)の出力信号と、Al−数回路(42)の出
力信号と。
(52) is the DAH signal (40) and the AO-number circuit (41)
(53) is an OR circuit into which the output signal of
The output signal of the circuit (52) and the output signal of the Al-number circuit (42).

A2〜A9−数回路(図示せず)の出力信号と。A2 to A9 - output signals of several circuits (not shown);

Al0−数回路(51)の出力信号とが入力されメモリ
セル領域−数円部信号(122)を出力するAND回路
である。
This is an AND circuit which receives the output signal of the Al0-number circuit (51) and outputs the memory cell area-number circle part signal (122).

なお 上記のAO−数回路(41)〜Al0一致回路(
51)、 OR回路(52)、およびAND回路(53
)によりメモリセル領域一致判定手段1例えばメモリセ
ル領域一致判定回路(121)が構成される。
Note that the above AO-number circuit (41) to Al0 coincidence circuit (
51), OR circuit (52), and AND circuit (53)
) constitutes the memory cell area match determining means 1, for example, the memory cell area match determining circuit (121).

次に動作について説明する。第2図において。Next, the operation will be explained. In fig.

DAH信号(40)が#1″レベルのときは、AO一致
信号(41)がマスクされ、AOL信号(3a)とAO
R信号(9a)が一致しても一致しなくても、ALL信
号(3b)〜Al0L信号(3k)とAIR信号(9b
)〜A1OR信号(9k)とが等しいときはメモリセル
領域−数円部信号(122)がアクチブ(’1’レベル
)になり、このとき、 C8L信号(4)とC3R信号
(10)が共にアクチブ(’0’ レベル)であれば、
WAIT発生回路(23)はL側ポート(100)から
のアクセスとR側ポート(101)からのアクセスが競
合しているものとし、同一の単位のメモリセル領域に後
からアクセスしようとした側のポートが待たされるよう
に内部制御信号(15)、内部制御信号(16)、 W
A盲[信号(7) 、 WAη1信号(13)を出力す
る。
When the DAH signal (40) is at #1'' level, the AO match signal (41) is masked and the AOL signal (3a) and AO
Whether the R signal (9a) matches or not, the ALL signal (3b) to Al0L signal (3k) and the AIR signal (9b
) to A1OR signal (9k), the memory cell area-number circle signal (122) becomes active ('1' level), and at this time, both the C8L signal (4) and the C3R signal (10) If it is active ('0' level),
The WAIT generation circuit (23) assumes that accesses from the L-side port (100) and accesses from the R-side port (101) are competing with each other, and the WAIT generation circuit (23) assumes that the access from the L-side port (100) and the access from the R-side port (101) are competing with each other, and that Internal control signal (15), internal control signal (16), W to make the port wait
A-blind [signal (7), WAη1 signal (13) is output.

なお、DAH信号(40)が 20″ レベルのときは
従来例を示す第4図と同じ動作になり、L側ポート(1
00)のアドレスバス(3)とR側ポート(101)の
アドレスバス(9)とのデータが全て同一であり。
Note that when the DAH signal (40) is at the 20'' level, the operation is the same as in Figure 4, which shows the conventional example, and the L side port (1
The data on the address bus (3) of 00) and the address bus (9) of the R side port (101) are all the same.

C8L信号(4)と C3R信号 (10)が共にアク
チブ(″0″レベル)のときのみWA I T発生回路
(23)はL側ポート(100)からのアクセスとR側
ポート(101)からのアクセスが競合しているものと
判定し動作する。
Only when both the C8L signal (4) and the C3R signal (10) are active (“0” level), the WAIT generation circuit (23) accepts access from the L side port (100) and access from the R side port (101). It determines that there is an access conflict and operates.

次に、第3図は第1図、第2図で示されるデュアルポー
トメモリにおいて、L側ポート(100)から、アドレ
スA。とアドレス八〇+1 の連続した2つのメモリア
ドレスのメモリセル領域かうする単位のメモリセル領域
を続出中にR側ポート(101)からアドレスA0+1
 にデータを書き込みを行おうとした場合のタイムチャ
ートである。図において、 (60)はアクセスの競合
が始まる時点であり。
Next, FIG. 3 shows address A from the L side port (100) in the dual port memory shown in FIGS. 1 and 2. While the memory cell area of two consecutive memory addresses of address 80+1 and address 80+1 are being read out one after another, the address A0+1 is transferred from the R side port (101).
This is a time chart when trying to write data to . In the figure, (60) is the point at which access contention begins.

(61)はアクセスの競合が終了する時点である。(61) is the point in time when the access conflict ends.

時点(60)において、L側ポート(100)からアド
レスA、、の内容の読出しを行っているにもかかわらず
R側ポート(101)よりアドレスA。+1 にデータ
(Dx)を書き込むためにR側アドレスバス(9)をA
。+1 とし、 C3R信号(10)をアクチブ(#0
2レベル)にしたので、メモリセル領域一致判定回路(
121)はメモリセル領域一致内部信号(122)をア
クチブ(’1’ レベル)にし、WAIT発生回路(2
3)はWAITR信号(13)をアクチブ(0“レベル
)にし、R側ポート(101)につながるプロセッサ等
(図示せず)を待ち状態にする。
At time (60), even though the contents of address A are being read from the L side port (100), the contents of address A are being read from the R side port (101). In order to write data (Dx) to +1, the R side address bus (9) is
. +1 and activate the C3R signal (10) (#0
2 level), the memory cell area match judgment circuit (
121) makes the memory cell area match internal signal (122) active ('1' level) and activates the WAIT generation circuit (2).
3) makes the WAITR signal (13) active (0" level) and puts the processor etc. (not shown) connected to the R side port (101) into a waiting state.

時点(61)でL側ポート(100)のアドレスバス(
3)の内容かA、+1 から別の値(A、、A、+1 
以外の値)に変化するとともに、 C3L信号(4)が
インアクチブ(’1’ レベル)に変化したため、メモ
リセル領域一致内部信号(122)とlllAlTR信
号(13)がインアクチブ(’1’ レベル)に戻り、
待たされていたR側ポート(101)につながるプロセ
ッサ等(図示せず)は動作を開始し、R側ポート(10
1)のデータバス(8)の内容を(Dx)をR側ポート
(101)のアドレスバス(9)が指定するアドレスA
。+1 に書き込む。
At time (61), the address bus (
3) contents or A, +1 to another value (A,, A, +1
At the same time, the C3L signal (4) changed to inactive ('1' level), so the memory cell area match internal signal (122) and the lllAlTR signal (13) became inactive ('1' level). return,
The processor, etc. (not shown) connected to the R-side port (101) that had been kept waiting starts operating, and the R-side port (101) is connected to the R-side port (101).
The contents of the data bus (8) of 1) (Dx) are specified by the address bus (9) of the R side port (101) at address A.
. Write to +1.

なお、上記実施例では、メモリセル領域一致判定回路(
121)において、連続する2つのメモリアドレスのメ
モリセル領域を単位のメモリセル領域とし、最下位アド
レスビット(AO)についてメモリセル領域の一致判定
を行わないようにしたがさらに、連続する4つまたはそ
れ以上のメモリアドレスのメモリセル領域を単位のメモ
リセル領域とする場合に対し、最下位アドレスビット(
AO)に続くアドレスビットについてもメモリセル領域
一致の判定を行わないようにしてもよい。
Note that in the above embodiment, the memory cell area match determination circuit (
121), the memory cell area of two consecutive memory addresses is taken as a unit memory cell area, and the memory cell area match determination is not performed for the lowest address bit (AO). In contrast to the case where the memory cell area at a memory address higher than that is used as a unit memory cell area, the lowest address bit (
The memory cell area matching may not be determined for the address bits following AO) as well.

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

この発明におけるマルチポートメモリは、メモリセル領
域一致判定手段を第1.第2ポートのアドレス情報のう
ち少くとも最小ビットについて一致判定をしないように
構成したので、第1ポートがアクセス中の複数のメモリ
アドレスにわたるメモリセル領域からなる単位のメモリ
セル領域に対する第2ポートからのアクセスが、上述の
メモリセル領域一致判定手段の出力信号により防止され
In the multi-port memory according to the present invention, the memory cell area coincidence determination means is arranged in the first . Since the configuration is configured so that at least the minimum bit of the address information of the second port is not checked for a match, the first port is accessing a memory cell area that is a unit of memory cell area spanning multiple memory addresses. access is prevented by the output signal of the above-mentioned memory cell area match determining means.

同時アクセスによる情報の書込み、読出しの誤りを防止
できる効果がある。
This has the effect of preventing errors in writing and reading information due to simultaneous access.

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

第1図はこの発明の一実施例によるデュアルポートメモ
リのブロック図、第2図は7第1図における調停回路の
詳細ブロック図、第3図はこの発明の一実施例によるデ
ュアルポートメモリの動作タイムチャート図である。 第4図は従来の調停回路を示すブロック図、第5図は従
来のデュアルポートメモリの動作タイムチャート図であ
る。 図中、(1)はメモリセル、 (100)はL側ポート
。 (101)はR側ポート、 (121)はメモリセル領
域−致判定回路。 なお1図中、同一符号は同一、または相当部分を示す。
FIG. 1 is a block diagram of a dual port memory according to an embodiment of the present invention, FIG. 2 is a detailed block diagram of the arbitration circuit in FIG. 1, and FIG. 3 is an operation of a dual port memory according to an embodiment of the present invention. It is a time chart figure. FIG. 4 is a block diagram showing a conventional arbitration circuit, and FIG. 5 is an operation time chart of a conventional dual port memory. In the figure, (1) is a memory cell, and (100) is an L side port. (101) is an R side port, and (121) is a memory cell area match determination circuit. In Figure 1, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】  メモリセルと、2進化された複数ビットを有するメモ
リアドレスのうち少くとも最下位ビットを除く部分アド
レス情報が同一な複数のメモリアドレスにわたるメモリ
セル領域を単位として、上記単位毎に上記メモリセルと
読出し書込みを行う第1ポートおよび第2ポートと、 上記第1ポートが読出しまたは書込中の所定の上記単位
のメモリセル領域の部分アドレス情報が、上記第2ポー
トが読出しまたは書込みを行うメモリセル領域の部分ア
ドレス情報と一致しているかを判定するメモリ領域一致
判定手段と、 を備えたマルチポートメモリ。
[Scope of Claims] Each unit includes a memory cell and a memory cell area extending over a plurality of memory addresses having the same partial address information excluding at least the least significant bit among memory addresses having a plurality of binary encoded bits. a first port and a second port that read from and write to the memory cell; partial address information of the predetermined unit of memory cell area that the first port is reading from or writing to; A multi-port memory comprising: memory area match determination means for determining whether partial address information of a memory cell area to be written matches.
JP2163703A 1990-06-21 1990-06-21 Multi-port memory Expired - Lifetime JP2646807B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163703A JP2646807B2 (en) 1990-06-21 1990-06-21 Multi-port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163703A JP2646807B2 (en) 1990-06-21 1990-06-21 Multi-port memory

Publications (2)

Publication Number Publication Date
JPH0457287A true JPH0457287A (en) 1992-02-25
JP2646807B2 JP2646807B2 (en) 1997-08-27

Family

ID=15779019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163703A Expired - Lifetime JP2646807B2 (en) 1990-06-21 1990-06-21 Multi-port memory

Country Status (1)

Country Link
JP (1) JP2646807B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802131A (en) * 1995-09-28 1998-09-01 Micro Technology, Inc. Multiport serial access self-queuing memory switch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63300492A (en) * 1987-05-29 1988-12-07 Nec Corp Semiconductor memory device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63300492A (en) * 1987-05-29 1988-12-07 Nec Corp Semiconductor memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802131A (en) * 1995-09-28 1998-09-01 Micro Technology, Inc. Multiport serial access self-queuing memory switch

Also Published As

Publication number Publication date
JP2646807B2 (en) 1997-08-27

Similar Documents

Publication Publication Date Title
US6052798A (en) System and method for remapping defective memory locations
US5175831A (en) System register initialization technique employing a non-volatile/read only memory
JPH0715665B2 (en) Personal computer
JPH11513823A (en) Data error detection and correction for shared SRAM
JPH0457287A (en) Multiport memory
US5793991A (en) Method of equalizing loads on a computer bus
JPS592058B2 (en) Storage device
JP2510604B2 (en) Storage device
JPH10143448A (en) Memory system
JPS61211786A (en) Ic card
JP2735246B2 (en) Test and set method
JPH0514293B2 (en)
JP3436497B2 (en) Memory access circuit
JP2968636B2 (en) Microcomputer
JPH01287741A (en) Register accessing system
JPH10161929A (en) Electronic device
JPH06119200A (en) Memory device and its test system
JP2002032352A (en) Multiprocessor system
JPH08235054A (en) Shared memory
JPH04365142A (en) Development backup system
JPH06222976A (en) Semiconductor storage device
JPH0659900A (en) Memory writer
JPH11102340A (en) Processor system and bus access method therefor
JPH0485640A (en) Memory controller
JPS58182776A (en) Interface of cpu