JPH02187854A - Dual port memory - Google Patents

Dual port memory

Info

Publication number
JPH02187854A
JPH02187854A JP668489A JP668489A JPH02187854A JP H02187854 A JPH02187854 A JP H02187854A JP 668489 A JP668489 A JP 668489A JP 668489 A JP668489 A JP 668489A JP H02187854 A JPH02187854 A JP H02187854A
Authority
JP
Japan
Prior art keywords
data
address
conversion circuit
serial
circuit
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
JP668489A
Other languages
Japanese (ja)
Other versions
JP2822414B2 (en
Inventor
Toshiyuki Yanagawa
柳川 登志行
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP668489A priority Critical patent/JP2822414B2/en
Publication of JPH02187854A publication Critical patent/JPH02187854A/en
Application granted granted Critical
Publication of JP2822414B2 publication Critical patent/JP2822414B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To stably perform an operation with a few number of signal lines by constituting a data monitoring circuit in such a way that a serial address is converted to a parallel address by a S/P conversion circuit, and parallel data is converted to serial data by a P/S conversion circuit. CONSTITUTION:The S/P conversion circuit 8 in the data monitoring circuit 9 converts the serial address outputted from an external monitoring tool to the parallel address, and supplies it to a memory array 1. The P/S conversion circuit 7 reads out data stored in an address designated by the circuit 8, and converts it to the serial data, and outputs it to the external monitoring tool. Thereby, it is possible to easily monitor the data by only connecting the monitoring tool without stopping the operation of a processor or without drawing out a large number of signal lines from the processor to the outside.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は2つのプロセサ間のデータの授受に関し、特に
データ授受に使用されるデュアルポートメモリに関する
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to data transfer between two processors, and particularly to a dual port memory used for data transfer.

(従来の技術) 従来、この種のデュアルポートメモリはデータを記憶す
るためのメモリアレイと、2つのプロセサからのメモリ
アレイアクセス要求に対して、そのアービトレーシヨン
を行うためのアービトレーションロジックによって構成
されている。
(Prior Art) Conventionally, this type of dual-port memory consists of a memory array for storing data and an arbitration logic for arbitrating memory array access requests from two processors. ing.

(発明が解決しようとする課題) 上述した従来のデュアルポートメモリはメモリアレイに
記憶されたデータをモニタするためのS/P変換回路と
、P/S変換回路とで構成されたデータモニタ回路が設
けられていない。
(Problems to be Solved by the Invention) The conventional dual port memory described above has a data monitor circuit composed of an S/P conversion circuit and a P/S conversion circuit for monitoring data stored in the memory array. Not provided.

このため、デュアルポートメモリが2つのプロセサ間の
データの授受に使用されているとき、2つノフロセサ間
で授受されているデータをモニタするためには、2つの
プロセサのうち、いずれかのプロセサにエミュレータな
どのデバッグツールを接続してモニタする第1の方式と
、プロセサのデータライン、アドレスライン、および制
御ラインをずべて外部に引出し、そこにモニタツールを
接続してモニタする第2の方式前者にはモニタを行うた
びにプロセサの動作を一時的に停止しなければならない
という欠点があり、後者には外部に引出す信号線の数が
膨大(16ビツトのプロセサにおいて約40本位)とな
ること、およびノイズによるプロセサの誤動作を引起す
可能性が大きくなることなどの欠点がある。
Therefore, when dual port memory is used to exchange data between two processors, in order to monitor the data being exchanged between the two processors, it is necessary to use one of the two processors. The first method is to connect and monitor a debug tool such as an emulator, and the second method is to pull out all the data lines, address lines, and control lines of the processor to the outside and connect a monitor tool there for monitoring. The disadvantage of the latter is that it is necessary to temporarily stop the operation of the processor each time it is monitored, and the latter requires a huge number of signal lines to be drawn out (approximately 40 for a 16-bit processor). Also, there are disadvantages such as an increased possibility of malfunction of the processor due to noise.

本発明の目的は、2つのプロセサ間のデータの授受に使
用されるデュアルポートメモリにおいて、シリアルアド
レスをS/P変換回路によりパラレルアドレスに変換す
るとともに、パラレルデータをP/S変換回路によりシ
リアルデータに変換してデータモニタ回路を構成するこ
とにより上記欠点を除去し、信号線の数を増加させない
で安定に動作させることができるように構成したデュア
ルポートメモリを提供スることにある。
An object of the present invention is to convert a serial address into a parallel address using an S/P conversion circuit, and convert parallel data into serial data using a P/S conversion circuit in a dual port memory used for exchanging data between two processors. It is an object of the present invention to provide a dual port memory which eliminates the above-mentioned drawbacks by converting the data into a data monitor circuit, and which is configured to operate stably without increasing the number of signal lines.

(課題を解決するための手段〕 本発明によるデュアルポートメモリはメモリアレイと、
アービトレーションロジックと、−対のデータバッファ
と、一対のアドレスバッファと、データモニタ回路とを
具備し、2つのプロセサ間のデータ授受に使用されるも
のである。
(Means for Solving the Problems) A dual port memory according to the present invention includes a memory array,
It includes an arbitration logic, a pair of data buffers, a pair of address buffers, and a data monitor circuit, and is used for data exchange between two processors.

メモリアレイはデータを格納するためのものであり、ア
ービトレーションロジックはメモリアレイの内容の読出
しを制御するTこめのらのである。
The memory array is for storing data, and the arbitration logic is the T-component that controls the reading of the contents of the memory array.

一対のデータバッファは、外部に備けられた2つのプロ
セサに対してそれぞれデータを授受するためのものであ
る。
The pair of data buffers are for respectively transmitting and receiving data to and from two externally provided processors.

一対のアドレスバッファは、上記2つのプロセサに対し
てそれぞれアドレス情報を授受するためのものである。
The pair of address buffers are for sending and receiving address information to and from the two processors.

データモニタ回路は、外部のモニタツールからアドレス
情報を入力し、メモリアレイからモニタツールヘデータ
を出力するためのものである。データモニタ回路はシリ
アルアドレスをパラレルアドレスに変換するためのS/
P変換回路と、パラレルデータをシリアルデータに変換
するためのP/S変換回路とを具備して構成しTこもの
である。
The data monitor circuit inputs address information from an external monitor tool and outputs data from the memory array to the monitor tool. The data monitor circuit is an S/
It is a T-sized device that is equipped with a P conversion circuit and a P/S conversion circuit for converting parallel data into serial data.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるデュアルポートメモリの一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a dual port memory according to the present invention.

第1図において、1はメモリアレイ、2はアービトレー
ションロジック、3.5はそれぞれデータバッファ、4
.6はそれぞれアドレスバッファ、7はP/S変換回路
、8はS/P変換回路、9はデータモニタ回路である。
In FIG. 1, 1 is a memory array, 2 is an arbitration logic, 3.5 is a data buffer, and 4 is a data buffer.
.. 6 is an address buffer, 7 is a P/S conversion circuit, 8 is an S/P conversion circuit, and 9 is a data monitor circuit.

メモリアレイ1は外部のプロセサからのデータ畳込み要
求があると、アービトレーションロジック2の制御のも
とで動作し、アドレスバッファ(L ) 4 マたはア
ドレスバッファ(R)6を通り、外部のプロセサから指
定されるアドレスに対して、外部のプロセサからデータ
バッファ(L)3、またはデータバッファ(R)5を通
して入力さするデータを記憶する。また、外部のプロセ
サからのデータ続出し要求があると、メモリアレイ1は
、アービトレーションロジック2の制御のもとで動作し
、外部のプロセサからアドレスバッファ(L ) 4、
またはアドレスバッファ(几)6を通して指定されるア
ドレスに記憶されたデータをデータバッファ(L)3ま
たはデータバッファ(R)5を通して外部のプロセサに
出力する。
When the memory array 1 receives a data convolution request from an external processor, it operates under the control of the arbitration logic 2, and passes through the address buffer (L) 4 or the address buffer (R) 6 to the external processor. Data input from an external processor through data buffer (L) 3 or data buffer (R) 5 is stored at an address specified by . Furthermore, when there is a request for continuous data output from an external processor, the memory array 1 operates under the control of the arbitration logic 2, and the address buffer (L) 4,
Alternatively, data stored at an address specified through the address buffer (几) 6 is outputted to an external processor through the data buffer (L) 3 or the data buffer (R) 5.

データモニタ回路9は、S/P変換回路8と、P/S変
換回路7とから構成されている。S/P変換回路8は、
外部のモニタツールから出力されるシリアルアドレスを
パラレルアドレスに変換し、メモリアレイ1に供給する
ためのらのである。P/S変換回路7は、メモリアレイ
1に記憶されたデータのうち、S/P変換回路8によっ
て指定されたアドレスに記憶されたデータを読出し、シ
リアルデータに変換して外部のモニタツールに出力する
ためのものである。
The data monitor circuit 9 includes an S/P conversion circuit 8 and a P/S conversion circuit 7. The S/P conversion circuit 8 is
This is for converting the serial address output from an external monitoring tool into a parallel address and supplying it to the memory array 1. The P/S conversion circuit 7 reads out the data stored in the address specified by the S/P conversion circuit 8 from among the data stored in the memory array 1, converts it into serial data, and outputs it to an external monitoring tool. It is for the purpose of

DATA(1−n)LIOおよびDA’l’A (1〜
n)R17は、外部のプロセサとのデータの授受に使用
されるn本のデータ信号線である。
DATA (1-n) LIO and DA'l'A (1-
n) R17 is n data signal lines used for exchanging data with an external processor.

ADR(1〜m)Ll 1およびADR(1〜m)R1
8は、外部のプロセサから指定されるアドレスを入力す
るためのm本のアドレス信号線である。
ADR(1~m)Ll 1 and ADR(1~m)R1
Reference numeral 8 denotes m address signal lines for inputting addresses designated from an external processor.

INTL12およびIN’l’几19は、外部のプロセ
サがデータの1.込みおよび読出しの終了したことを、
相手のプロセサに通知するための割込み信号線である。
INTL 12 and IN'l' 19 allow an external processor to process data 1. When reading and writing are completed,
This is an interrupt signal line for notifying the other party's processor.

BUSYLI 3およびBUSYR20は、相手のプロ
セサがメモリアレイ1をアクセス中であることを示すビ
ジー信号線である。CELl 4およびCER21は、
外部のプロセサが本発明によるデュアルポートメモリの
内容をアクセスするときに出力されチップイネーブル信
号を乗せるチップイネーブル信号線である。0EL15
およびOE几22は、外部のプロセサがデータの読出し
を行うとき、データバッファ(L)3またはデータバッ
ファ(R)5をイネーブルにするためのアウトプットイ
ネーブル信号線である。R/WL16および几/WR2
3は、外部のプロセサが読出し、および書込みを行うと
き出力されるリード/ライト信号を乗せるリード/ライ
ト信号線である。
BUSYLI 3 and BUSYR20 are busy signal lines indicating that the other processor is accessing the memory array 1. CELl 4 and CER21 are
This is a chip enable signal line on which a chip enable signal is output when an external processor accesses the contents of the dual port memory according to the present invention. 0EL15
and OE 22 are output enable signal lines for enabling the data buffer (L) 3 or data buffer (R) 5 when an external processor reads data. R/WL16 and R/WR2
A read/write signal line 3 carries a read/write signal output when an external processor performs reading and writing.

READ8TA几T24は、外部のモニタツールがP/
S変換回路7を起動するためのリードスタート信号線で
ある。8DATA25は、P/S変換回路7が外部のモ
ニタツールに出力するシリアルデータの信号線である。
READ8TA T24 has external monitor tool P/
This is a read start signal line for activating the S conversion circuit 7. 8DATA25 is a signal line for serial data that the P/S conversion circuit 7 outputs to an external monitor tool.

R,EADEND26は、P/S変換回路7の動作の終
了を示すリードエンド信号線である。CLOCK27は
、P/S変換回路7および8/P変換回路8にモニタツ
ールから供給されるクロックを乗せるクロック信号線で
ある。8ADR28は、外部のモニタツールから出力さ
れるシリアルアドレスを乗せるシリアルアドレス信号線
である。
R, EADEND 26 is a read end signal line indicating the end of the operation of the P/S conversion circuit 7. CLOCK27 is a clock signal line that carries a clock supplied from the monitor tool to the P/S conversion circuit 7 and the 8/P conversion circuit 8. 8ADR28 is a serial address signal line carrying a serial address output from an external monitor tool.

ADR8ET2旧ま、S/P変換回路8の起動信号線、
BU8Y30は外部のプロセサがメモリアレイlをアク
セス中であることを示すビジー信号である。
ADR8ET2 old, S/P conversion circuit 8 activation signal line,
BU8Y30 is a busy signal indicating that an external processor is accessing memory array l.

第2図は、外部のモニタツールに接続される各参照信号
の信号組24〜30上で、各参照信号の動作状態を示す
タイミ/グチヤードである。
FIG. 2 is a timing chart showing the operating status of each reference signal on the signal sets 24 to 30 of each reference signal connected to an external monitoring tool.

信号線29上のADR8BTにより信号線27上のCL
OCKに同期して信号線28上のSAD凡を入力し、信
号線24上に几EADSTA几Tを入力すると、信号1
28上の8AD11.で指定されたアドレスに該尚する
データ5DATAが信号線27上のCLOCKに同期し
て信号線25上に出力される。引続き、5DATAの出
力の終了を示すREADENDが信号線26上に出力さ
れる。信号&24上にREAI)S’l’ARTを出力
したとき、信号線30上にBUI9Yがあると、信号線
25上のS I) A T Aの出力が一時的に待たれ
る。また、信号線26上のRE A I) EN Dに
より87P変換回路8のアドレスがインクリメントさ肚
るため、READSTA R信号を繰返し出力すること
により連続し1こアドレスのデータの読出しが可能とな
る。
CL on signal line 27 by ADR8BT on signal line 29
When inputting SAD on signal line 28 and inputting EADSTA on signal line 24 in synchronization with OCK, signal 1
8AD11 on 28. Data 5DATA corresponding to the address specified by is output onto the signal line 25 in synchronization with CLOCK on the signal line 27. Subsequently, READEND indicating the end of the output of 5DATA is output on the signal line 26. When REAI) S'l'ART is output on signal &24, if BUI9Y is on signal line 30, output of S I) A T A on signal line 25 is temporarily awaited. Further, since the address of the 87P conversion circuit 8 is incremented by the RE A I) EN D on the signal line 26, data at one address can be continuously read by repeatedly outputting the READSTAR signal.

第3図は、ディジタル信号処理装置に未発明によるデー
タモニタ回路付デュアルポートメモリを使用した一実施
例を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment in which a dual port memory with a data monitor circuit according to the invention is used in a digital signal processing device.

第3図において、31はA/Dコンバータ、32.34
.36はそれぞれ第1〜第3のディジタル信号処理プロ
セサ、33.35はそれぞれ第1および第2のデュアル
ポートメモリ、37はD/Aコ/バーク、38はモニタ
ツール、39はホストプロセサである。
In Figure 3, 31 is an A/D converter, 32.34
.. 36 are first to third digital signal processing processors, 33 and 35 are first and second dual port memories, respectively, 37 is a D/A converter, 38 is a monitor tool, and 39 is a host processor.

第1および第2のデュアルポートメモリ33ヘモニタツ
ール38を接続することζてより、第1および第2のデ
ィジタル信号処理プロセサ32j34の信号処理結果を
モニタすることができる。
By connecting the monitor tool 38 to the first and second dual port memories 33, it is possible to monitor the signal processing results of the first and second digital signal processing processors 32j34.

(発明の効果) 以上説明したように本発明は、2つのプロセサ間のデー
タの授受に使用されるデュアルポートメモリにおいて、
シリアルアドレスヲS/P変換回路によりパラレルアド
レスに変換するとともにパラレルデータをP/S変換回
路によりシリアルデータに変換してデータモニタ回路゛
を構成することにより、プロセサの動作を停止すること
なく、また、膨大なプロセサからの信号線を外部に引出
すこともなく、デュアルポートメモリにモニタツールを
接続するのみで容易にデータをモニタすることができる
という効果がある。
(Effects of the Invention) As explained above, the present invention provides a dual port memory used for exchanging data between two processors.
By converting the serial address into a parallel address using the S/P conversion circuit and converting the parallel data into serial data using the P/S conversion circuit to form a data monitor circuit, the data can be processed without stopping the operation of the processor. This has the advantage that data can be easily monitored simply by connecting a monitor tool to the dual-port memory without drawing out a huge number of signal lines from the processor to the outside.

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

第1図は、本発明によるデュアルポートメモリの一実施
例を示すブロック図である。 第2図は、第1図に示すデータモニタ回路の動作を示す
タイミングチャートである。 第3図は、本発明によるデュアルポートメモリのディジ
タル信号処理装置への応用例を示すブロック図である。 1・・・メモリアレイ 2・・・アービトレーションロジック 3.5・・・データバッファ 4.6・・・アドレスバッファ 7・・・P/S変換回路 8・・・S/P変換回路 9・・・データモニタ回路 10〜30・・・信号線 31・・・A/Dコ/バータ 32.34.36・・・ディジタル信号処理プロセサ3
3.35・・・デュアルポートメモリ37・・・D/A
コンバータ 38・・・モニタツール 39・・・ホストプロセサ 特許出願人  日本電気株式会社
FIG. 1 is a block diagram showing one embodiment of a dual port memory according to the present invention. FIG. 2 is a timing chart showing the operation of the data monitor circuit shown in FIG. FIG. 3 is a block diagram showing an example of application of the dual port memory according to the present invention to a digital signal processing device. 1...Memory array 2...Arbitration logic 3.5...Data buffer 4.6...Address buffer 7...P/S conversion circuit 8...S/P conversion circuit 9... Data monitor circuits 10 to 30...Signal line 31...A/D converter 32.34.36...Digital signal processing processor 3
3.35...Dual port memory 37...D/A
Converter 38...Monitor tool 39...Host processor Patent applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] データを格納するためのメモリアレイと、前記メモリア
レイの内容の読出しを制御するためのアービトレーシヨ
ンロジックと、外部に備けられた2つのプロセサに対し
てそれぞれデータを授受するための一対のデータバッフ
ァと、前記2つのプロセサに対してそれぞれアドレス情
報を授受するための一対のアドレスバッファと、外部の
モニタツールからアドレス情報を入力し、前記メモリア
レイから前記モニタツールへデータを出力するためのデ
ータモニタ回路とを具備し、且つ、前記データモニタ回
路はシリアルアドレスをパラレルアドレスに変換するた
めのS/P変換回路と、パラレルデータをシリアルデー
タに変換するためのP/S変換回路とを具備して構成し
たことを特徴とするデュアルポートメモリ。
A memory array for storing data, an arbitration logic for controlling reading of the contents of the memory array, and a pair of data for transmitting and receiving data to and from two externally provided processors, respectively. a buffer, a pair of address buffers for respectively sending and receiving address information to and from the two processors, and data for inputting address information from an external monitor tool and outputting data from the memory array to the monitor tool. a monitor circuit, and the data monitor circuit includes an S/P conversion circuit for converting a serial address into a parallel address, and a P/S conversion circuit for converting parallel data into serial data. Dual port memory characterized by its configuration.
JP668489A 1989-01-13 1989-01-13 Dual port memory Expired - Lifetime JP2822414B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP668489A JP2822414B2 (en) 1989-01-13 1989-01-13 Dual port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP668489A JP2822414B2 (en) 1989-01-13 1989-01-13 Dual port memory

Publications (2)

Publication Number Publication Date
JPH02187854A true JPH02187854A (en) 1990-07-24
JP2822414B2 JP2822414B2 (en) 1998-11-11

Family

ID=11645187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP668489A Expired - Lifetime JP2822414B2 (en) 1989-01-13 1989-01-13 Dual port memory

Country Status (1)

Country Link
JP (1) JP2822414B2 (en)

Also Published As

Publication number Publication date
JP2822414B2 (en) 1998-11-11

Similar Documents

Publication Publication Date Title
US20040107265A1 (en) Shared memory data transfer apparatus
US20020174282A1 (en) Multiprocessor system
JPH02187854A (en) Dual port memory
JPS61217858A (en) Data transmitting device
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPH0222748A (en) Non-volatile memory control circuit
JPH02211571A (en) Information processor
JP2585852B2 (en) Buffer control method
JP2821176B2 (en) Information processing device
JPH02307149A (en) Direct memory access control system
JPS6130300B2 (en)
JPH09305530A (en) Dma controller
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit
JPH0535693A (en) Data transfer device
JPH01259441A (en) Bus interface device
JPS6116115B2 (en)
JPH02188856A (en) Memory access circuit
JPH09305562A (en) Data transfer device
JPS6037062A (en) Memory reading-out method
JPH0293971A (en) Memory access circuit
JPH0429101B2 (en)
JPH02219105A (en) Programmable controller
JPH0962562A (en) Processing circuit for memory
JPS62184557A (en) Microprocessor bus interface circuit
JPH03219354A (en) Dma function diagnostic device