JPH023164A - Dual port memory - Google Patents

Dual port memory

Info

Publication number
JPH023164A
JPH023164A JP63148971A JP14897188A JPH023164A JP H023164 A JPH023164 A JP H023164A JP 63148971 A JP63148971 A JP 63148971A JP 14897188 A JP14897188 A JP 14897188A JP H023164 A JPH023164 A JP H023164A
Authority
JP
Japan
Prior art keywords
port
writing
memory
control circuit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63148971A
Other languages
Japanese (ja)
Inventor
Nobuaki Suga
須賀 伸晃
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 JP63148971A priority Critical patent/JPH023164A/en
Publication of JPH023164A publication Critical patent/JPH023164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)

Abstract

PURPOSE:To inhibit erroneous writing from other port with a simplified circuit constitution by providing a writing control circuit to set an area inhibiting the writing of the port of a remote side to one port at a dual port memory which shares one memory cell and has two address data input ports independent each other. CONSTITUTION:When one memory cell 7 is shared and writing control is executed to a remote port each other, the output of a writing control circuit 1 of a left side port is impressed to a negative logic NAND gate 9 of a right side port. Besides, a chip selecting signal the inverse of CSR is given to the gate 9 separately, when a output WER is a high level, writing is allowed, and when it is a low level, the writing is inhibited. Besides, the output of a writing control circuit 8 of the one right side port is impressed to a negative logic NAND gate for writing 2 of the left side port, the chip selecting signal the inverse of CSR is govern to the gate 2. Then, data to which the writing is allowed by the respective gates 2 and 9 are processed by I/O buffers 4, 11 and so on.

Description

【発明の詳細な説明】 良束上夏牲皿分… 本発明は1つのメモリセルと全く独立した2つのアドレ
ス、データ入出力ポートを持ち、それぞれのポートから
メモリセルの任意のアドレスへのデータの読み書きが可
能なデュアル・ポート・メモリに関するものである。
[Detailed Description of the Invention] The present invention has one memory cell, two completely independent addresses, and data input/output ports, and data can be sent from each port to any address of the memory cell. This is a dual-port memory that can read and write data.

従米虫且± 近年、デジタル信号技術の発展により画像処理専用のフ
レームメモリやラインメモリ等、用途別のメモリが種々
開発されている。デュアル・ポート・メモリもその1つ
である。第3図に従来のデュアル・ポート・メモリのブ
ロック図を示す。メモリICはメモリアレイに対し1&
[IのI10バンファ3列デコーダ、行デコーダしか持
たないのが一般的であるが、デュアル・ポート・メモリ
は■10バッファ(42) (48) 、列デコーダ(
43) (47) 、行デコーダ(44) (46)を
それぞれ2組ずつ持ち、どちら側からも1つのメモリア
レイ(45)の任意のアドレスへデータの読み書きが独
立して行えるようになっている。尚、(40) (50
)は書き込み信号をチップセレクトに応じて与えるため
の負論理のNANDゲートであり、同じ< (41) 
(49)は読み出し信号をチップセレクト信号に応じて
与える負論理のNANDゲートである。このデュアル・
ポート・メモリは2つのCPU間でのデータのやり取り
等、2つ又はそれ以上の機器間の通信バッファメモリと
して広く使われ始めている。
In recent years, with the development of digital signal technology, various types of memories have been developed for different uses, such as frame memories and line memories dedicated to image processing. Dual port memory is one of them. FIG. 3 shows a block diagram of a conventional dual port memory. Memory IC is 1&
[It is common for I10 buffers to have only 3 column decoders and row decoders, but dual port memory has ■10 buffers (42) (48) and column decoders (
43) (47), and two sets of row decoders (44) and (46) each, so that data can be read and written to any address of one memory array (45) independently from either side. . Furthermore, (40) (50
) is a negative logic NAND gate for giving a write signal according to the chip select, and the same < (41)
(49) is a negative logic NAND gate that provides a read signal in accordance with the chip select signal. This dual
Port memory has begun to be widely used as a communication buffer memory between two or more devices, such as for exchanging data between two CPUs.

明が解ン しようとする諜 しかしながら、従来のデュアル・ポート・メモリでは、
2つのポートから同等に同じメモリセルに書き込みがで
きるため例えば2つのCPUの通信用としてこのメモリ
を使用した場合、一方のCPUだけが管理しているデー
タを他のCPUが誤って書き換えてしまうという問題が
あった。
However, traditional dual-port memory
Since it is possible to write to the same memory cell equally from two ports, for example, if this memory is used for communication between two CPUs, data managed only by one CPU may be accidentally rewritten by the other CPU. There was a problem.

本発明はかかる点に鑑みてなされたものであり、簡単な
回路を付加するだけで他のポートからの誤った書き込み
を阻止するようにした新規なデュアル・ポート・メモリ
を提供することを目的とする。
The present invention has been made in view of the above, and an object of the present invention is to provide a novel dual-port memory that prevents erroneous writing from other ports by simply adding a simple circuit. do.

課題を解決するための手 上記の目的を達成するため本発明では、1つのメモリセ
ルを共有し、互いに独立した2つのアドレス、データ入
出力ポートを持つデュアル・ポート・メモリにおいて、
少くとも一方のポートに相手側のポートの書き込みを禁
止する領域を設定できる書き込み制御回路を設けた構成
としている。
In order to achieve the above object, the present invention provides a dual port memory that shares one memory cell and has two mutually independent address and data input/output ports.
At least one port is provided with a write control circuit that can set an area in which writing by the other port is prohibited.

作−■ このような構成によると、1つのポートにより管理され
ているデータが他のポートからの書き換え信号によって
誤って書き換えられるということがなくなる。
Operation-■ With such a configuration, it is possible to prevent data managed by one port from being erroneously rewritten by a rewrite signal from another port.

実−」L二桝 以下、本発明の一実施例について、図面を参照して説明
する。
EMBODIMENT OF THE INVENTION Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図において(1) (8)は本実施例の特徴部であ
る書き込み制御回路であって、メモリセル(7)の成る
領域への書き込みを禁止する回路である。その領域の指
定は外部機器たとえばCPUで任意に行うことができる
。その書き込み制御回路の具体例としてメモリ領域を8
等分し、その任意の領域の書き込みを制御できる回路を
第2図に示す。第2図において(21)は外部機器から
の書き込み制御データ(D、〜D?)を記憶しておくラ
ンチ回路、(22)はメモリに入力されるアドレスの上
位3ビツトを用いて8等分したメモリ領域のどの領域か
を選択する信号を発生させるアドレス・デコーダである
。メモリへの書き込み制御データ(D、〜D、)は外部
機器1例えばCPUからラッチ回路(21)に書き込ま
れる。ラッチ回路(21)にはコマンド信号がハイレベ
ルで、イネーブル信号WπがローレベルのときANDゲ
ート(20)を通してクロックが入力されデータが書き
込まれるようになっている。
In FIG. 1, (1) and (8) are write control circuits which are characteristic parts of this embodiment, and are circuits that prohibit writing to the area where the memory cell (7) is formed. The area can be arbitrarily designated by an external device such as a CPU. As a specific example of the write control circuit, the memory area is 8.
FIG. 2 shows a circuit that can equally divide the area and control writing in any area. In Figure 2, (21) is a launch circuit that stores write control data (D, ~D?) from an external device, and (22) is a launch circuit that stores the write control data (D, ~D?) from an external device, and (22) divides the address input into memory into 8 equal parts using the upper 3 bits. This is an address decoder that generates a signal to select which memory area is selected. Write control data (D, to D,) to the memory is written to the latch circuit (21) from the external device 1, for example, the CPU. When the command signal is at high level and the enable signal Wπ is at low level, a clock is input to the latch circuit (21) through the AND gate (20) and data is written.

このように本実施例では、コマンド信号がハイレベルで
Wπがローレベルのときデータが書き込まれるが、コマ
ンド信号がローレベルでWπがハイレベルのとき書き込
まれるように構成しても一向に差し支えない。−度メモ
リへの書き込み禁止領域を設定した後は、次に設定し直
すまでその状態が保持される。(23)〜(30)はラ
ッチ回路(21)の出力とアドレスデコーダ(22)の
出力を受けて負論理ANDをとるゲート(31)は書き
込み制御信号W、。□、を出力する負論理のORゲート
である。本実施例では、書き込°み制御データがハイレ
ベルのとき書き込みが禁止される。つまり書き込み制御
データが(D、〜D、)が10000000. (−8
01)のとき8等分されたメモリ領域中最上位の領域の
み書き込みが禁止される。即ち、最上位のメモリ領域の
書き込みが指定されたときにはこの制御回路によりメモ
リセルへの書き込み信号(WE)が出力されない。もち
ろん書き込み制御データがローレベルのとき書き込みを
禁止することも可能で、このとき書き込み制御データは
01111111m(7F、) となるのは言うまでも
ない。
As described above, in this embodiment, data is written when the command signal is at a high level and Wπ is at a low level, but it is also possible to write data when the command signal is at a low level and Wπ is at a high level. - Once a write-protected area is set in the memory, that state is maintained until it is set again. (23) to (30), a gate (31) which receives the output of the latch circuit (21) and the output of the address decoder (22) and performs a negative logic AND, is a write control signal W; This is a negative logic OR gate that outputs □. In this embodiment, writing is prohibited when the write control data is at a high level. In other words, the write control data (D, ~D,) is 10000000. (-8
01), writing is prohibited only in the uppermost area of the memory area divided into eight equal parts. That is, when writing to the uppermost memory area is designated, this control circuit does not output a write signal (WE) to the memory cell. Of course, it is also possible to inhibit writing when the write control data is at a low level, and it goes without saying that in this case the write control data becomes 01111111m (7F,).

メモリへの書き込み制御はお互いに相手のポートに対し
て行う。例えば、第1図において、レフト側ポートの書
き込み制御回路(1)の出力はライト側ポートの負論理
NANDゲート(9)へ印加される。このNANDゲー
ト(9)には別途チップセレクト信号で3πも与えられ
る。NANDゲート(9)の出力WE、はハイレベルの
とき書き込みを許可し、ローレベルのとき書き込みを禁
止する。
Write control to memory is performed for each port on the other side. For example, in FIG. 1, the output of the write control circuit (1) on the left side port is applied to the negative logic NAND gate (9) on the right side port. This NAND gate (9) is also given a separate chip select signal of 3π. The output WE of the NAND gate (9) permits writing when it is at a high level, and inhibits writing when it is at a low level.

(10)は読み出し用の負論理NANDゲートである。(10) is a negative logic NAND gate for reading.

一方、ライト側ポートの書き込み制御回路(8)の出力
はレフト側ポートの書き込み用負論理NANDゲート(
2)に印加される。(3)は読み出し用の負論理NAN
Dゲートである。第1図において、メモリアレイ (セ
ル)(7)を共有してレフト側及びライト側にそれぞれ
I10バッファ(4)(11)、列デコーダ(5) (
12) 、行デコーダ(6)(13)が従来と同様に設
けられている。
On the other hand, the output of the write control circuit (8) of the right side port is the negative logic NAND gate (8) for writing of the left side port.
2) is applied. (3) is negative logic NAN for reading
This is the D gate. In Figure 1, a memory array (cell) (7) is shared, and I10 buffers (4) (11) and column decoders (5) (
12) Row decoders (6) and (13) are provided as in the conventional case.

上記実施例では双方のポートに書き込み制御回路を設け
て互いに書き込みを禁止制御できるようにしたが、これ
をいずれか一方のポートにのみ設けて、一方からのみ禁
止制御を行うことができるアンバランス型に構成しても
よい。
In the above embodiment, a write control circuit is provided in both ports so that writing can be inhibited from each other, but this is an unbalanced type in which a write control circuit is provided in only one of the ports and prohibition control can be performed from only one port. It may be configured as follows.

発明の効果 本発明によれば、互いに独立した2つのアドレスバス、
データバスを持つデュアル・ポート・メモリの少くとも
一方のポートに相手方のポートの書き込みを禁止する領
域を設定できる書き込み制御回路を付加しているので、
少くとも一方のポートのみが管理しているデータが誤っ
て他方のポートから書き換えられることがなくなり、よ
り安定したシステムを構築できる。しかも簡単な構成で
実現できる。
Effects of the Invention According to the present invention, two mutually independent address buses,
A write control circuit is added to at least one port of a dual port memory with a data bus that can set an area where writing is prohibited for the other port.
At least data managed only by one port will not be accidentally rewritten from the other port, making it possible to build a more stable system. Moreover, it can be realized with a simple configuration.

4、図面簡単な説明 第1図は本発明を実施したデュアル・ポート・メモリの
ブロック図であり、第2図はその要部の構成図である。
4. Brief Description of the Drawings FIG. 1 is a block diagram of a dual port memory embodying the present invention, and FIG. 2 is a configuration diagram of its main parts.

第3図は従来のデュアル・ポート・メモリのブロック図
である。
FIG. 3 is a block diagram of a conventional dual port memory.

(1) (8)−一書き込み制御回路。(1) (8)-1 write control circuit.

・・−メモリアレイ(メモリセル)。...-Memory array (memory cell).

Claims (1)

【特許請求の範囲】[Claims] (1)1つのメモリセルを共有し、互いに独立した2つ
のアドレス、データ入出力ポートを持つデュアル・ポー
ト・メモリにおいて、少くとも一方のポートに相手側の
ポートの書き込みを禁止する領域を設定できる書き込み
制御回路を設けたことを特徴とするデュアル・ポート・
メモリ。
(1) In a dual port memory that shares one memory cell and has two mutually independent address and data input/output ports, it is possible to set an area in at least one port that prohibits writing by the other port. A dual-port device featuring a write control circuit.
memory.
JP63148971A 1988-06-16 1988-06-16 Dual port memory Pending JPH023164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63148971A JPH023164A (en) 1988-06-16 1988-06-16 Dual port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63148971A JPH023164A (en) 1988-06-16 1988-06-16 Dual port memory

Publications (1)

Publication Number Publication Date
JPH023164A true JPH023164A (en) 1990-01-08

Family

ID=15464769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63148971A Pending JPH023164A (en) 1988-06-16 1988-06-16 Dual port memory

Country Status (1)

Country Link
JP (1) JPH023164A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5335199A (en) * 1991-03-19 1994-08-02 Fujitsu Limited Multiport memory
KR100781983B1 (en) * 2006-11-15 2007-12-06 삼성전자주식회사 Multi-path accessible semiconductor memory device having check information serving function
KR100831971B1 (en) * 2006-09-25 2008-05-23 엠텍비젼 주식회사 Dual port memory device having dual memory interface, memory device and method of operating the dual port memory device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535023A (en) * 1976-07-02 1978-01-18 Anic Spa Congregating method of mercury granules
JPS5794999A (en) * 1980-12-05 1982-06-12 Nec Corp Protection system for microinstruction control memory
JPS60246450A (en) * 1984-05-22 1985-12-06 Nec Corp Memory protecting device
JPS6370994A (en) * 1986-09-12 1988-03-31 Hitachi Ltd Semiconductor integrated circuit device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535023A (en) * 1976-07-02 1978-01-18 Anic Spa Congregating method of mercury granules
JPS5794999A (en) * 1980-12-05 1982-06-12 Nec Corp Protection system for microinstruction control memory
JPS60246450A (en) * 1984-05-22 1985-12-06 Nec Corp Memory protecting device
JPS6370994A (en) * 1986-09-12 1988-03-31 Hitachi Ltd Semiconductor integrated circuit device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5335199A (en) * 1991-03-19 1994-08-02 Fujitsu Limited Multiport memory
KR100831971B1 (en) * 2006-09-25 2008-05-23 엠텍비젼 주식회사 Dual port memory device having dual memory interface, memory device and method of operating the dual port memory device
KR100781983B1 (en) * 2006-11-15 2007-12-06 삼성전자주식회사 Multi-path accessible semiconductor memory device having check information serving function

Similar Documents

Publication Publication Date Title
US6018478A (en) Random access memory with separate row and column designation circuits for reading and writing
US6381190B1 (en) Semiconductor memory device in which use of cache can be selected
EP0646927A1 (en) Plural port memory system
US5056013A (en) In-circuit emulator
JP2008176913A (en) Multi-path accessible semiconductor memory device having mailbox area and mailbox access control method conforming thereto
JPH01122093A (en) Semiconductor memory
CA1207916A (en) Cmos multiport general purpose register
JPH0146946B2 (en)
JPS6128198B2 (en)
JPH023164A (en) Dual port memory
JPS6278643A (en) Semiconductor integrated circuit
JPH01123342A (en) Writing protecting circuit for memory
JPH02282989A (en) Memory control circuit
JPS6357819B2 (en)
JPS6329859A (en) Memory protection circuit
JPS62175993A (en) Multi-port memory
KR890006083Y1 (en) The read and write circuit of data
KR860003535Y1 (en) Control logic circuit with dual port
JP2814540B2 (en) Port shared parallel interface circuit
JPH0222473B2 (en)
JPS63142589A (en) Semiconductor memory
JPH0283900A (en) Semiconductor memory
JPH03207089A (en) Semiconductor memory circuit
JPH04370856A (en) Memory circuit
JPH06150658A (en) Semiconductor memory device