JPH01260562A - Data transfer circuit - Google Patents

Data transfer circuit

Info

Publication number
JPH01260562A
JPH01260562A JP8945888A JP8945888A JPH01260562A JP H01260562 A JPH01260562 A JP H01260562A JP 8945888 A JP8945888 A JP 8945888A JP 8945888 A JP8945888 A JP 8945888A JP H01260562 A JPH01260562 A JP H01260562A
Authority
JP
Japan
Prior art keywords
microprocessor
data
type memory
fifo
writing
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
JP8945888A
Other languages
Japanese (ja)
Inventor
Takao Sato
孝夫 佐藤
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 JP8945888A priority Critical patent/JPH01260562A/en
Publication of JPH01260562A publication Critical patent/JPH01260562A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify a processing by counting a write signal by DMA transfer from a first microprocessor to a FIFO type memory at the time of writing, and reading out a count value by the I/O input of a second microprocessor at the time of reading. CONSTITUTION:The first (sub) and second (main) microprocessors 3 and 1 and a first-in and first-out (FIFO) type memory 2 are provided, and it is constituted so that the completion of write on the FIFO type memory 2 can be sent from the sub microprocessor 3 to the main microprocessor 1 by an interruption signal. And at the time of writing, the write signal is counted by the DMA transfer from the sub microprocessor 3 to the FIFO type memory 2, and at the time of reading, the count value is read out by the I/O input of the main microprocessor 1. In such a way, the processing can be simplified.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はファーストイン・ファーストアウト形(以後、
FIFOと略記する。、)メモリを使用して情報処理装
置間でデータを転送する方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention is of a first-in, first-out type (hereinafter referred to as
It is abbreviated as FIFO. ,) relates to a method for transferring data between information processing devices using memory.

(従来の技術) 従来、高速でデータ通信を実施しながらマイクロプロセ
サにより各種処理を実行する場合には、マイクロプロセ
サを複数個使用し、処理を分散させて高速処理システム
に対応させている。
(Prior Art) Conventionally, when performing various types of processing using a microprocessor while performing data communication at high speed, a plurality of microprocessors are used and the processing is distributed to support a high-speed processing system.

(発明が解決しようとする課題) 上述した従来技術による複数個のマイクロプロセサを使
用して処理を実行する方式におりで、各マイクロプロセ
サの動作を有機的に行なわせるためには、各マイクロプ
ロセサ閣でメモリデータを相互に転送することが必要と
なる。
(Problems to be Solved by the Invention) In the method of executing processing using a plurality of microprocessors according to the prior art described above, in order to make each microprocessor operate organically, it is necessary to It is necessary for the cabinets to transfer memory data to each other.

従来、データ転送には共有アドレス空間を有するメモリ
を使用してDMAによりデータを転送する第1の方式、
なら゛びに双方向のパラレル・イン・アウト方式のFI
FO形メモリを使用し、同様にDMAによりデータの書
込み/読出しを実行する第2の方式が公知である。
Conventionally, the first method for data transfer is to transfer data by DMA using a memory having a shared address space.
and bidirectional parallel in/out type FI
A second method is known in which data is written/read using DMA using an FO type memory.

上記第1の方式においては、マイクロプロセサを経由し
ないで直接、メモリ間でデータを転送してbるため、双
方のマイクロプロセサが一時的にそれぞれのパスを使用
できなくなるという欠点がある。
In the first method, since data is directly transferred between memories without going through the microprocessor, there is a drawback that both microprocessors are temporarily unable to use their respective paths.

上記第2の方式においては、FIFO形メモリとそれぞ
れのマイクロプロセサとの間でDMAによりデータカ″
S転送されるため、同様にパス使用が制限されることは
ない。しかし、転送されるデータ量を定形フォーマット
で事前に他方のマイクロプロセサに転送し、その後でデ
ータのDMA転送を行なうなど、処理が複雑であるとい
う欠点がある。
In the second method, data is transferred between the FIFO memory and each microprocessor by DMA.
Since the data is transferred using S, the path usage is not similarly restricted. However, it has the disadvantage that the processing is complicated, as the amount of data to be transferred is transferred in advance to the other microprocessor in a fixed format, and then the data is transferred by DMA.

本発明の目的は、第1および第2のマイクロプロセサ、
ならびにFIFO形メモリを備え、第]のマイクロプロ
セサから第2のマイクロプロセサに対して割込み信号に
よりFIFO形メモリへの書込み終了を送出できるよう
にしておき、書込み時には第1のマイクロプロセサから
FIFO形メモリへのDMA転送により書込1号をカウ
ントし、読出し時には第2のマイクロプロセサのT10
入力によりカウント値を読出すことによって上記欠点を
除去し、処理が簡易化できるように構成したデータ転送
回路を提供することにある。
The object of the present invention is to provide first and second microprocessors,
and a FIFO type memory, so that the end of writing to the FIFO type memory can be sent from the first microprocessor to the second microprocessor by an interrupt signal. The first write is counted by DMA transfer to the T10 of the second microprocessor during reading.
It is an object of the present invention to provide a data transfer circuit configured to eliminate the above-mentioned drawbacks and simplify processing by reading a count value from an input.

(課題を解決するための手段) 本発明によるデータ回路は、第1および第2のマイクロ
プロセサと、FIFO形メモリと、第1および第2のI
10制御回路と、カウンタとを具備して構成したもので
ある。
(Means for Solving the Problems) A data circuit according to the present invention includes first and second microprocessors, FIFO memories, and first and second I/O
10 control circuits and a counter.

FIFO形メモリは、第1および第2のマイクロプロセ
サの開にあって、データの授受を行なうためのものであ
る。
The FIFO type memory is located between the first and second microprocessors and is used to exchange data.

第1のI10制御回路は、第1のマイクロプロセサから
第2のマイクロプロセサに対して割込み信号によりFI
FO形メモリへの書込み終了を送出するためのものであ
る。
The first I10 control circuit transmits the FI signal from the first microprocessor to the second microprocessor by an interrupt signal.
This is used to send out the completion of writing to the FO type memory.

カラyりは、第1のマイクロプロセサからF’1FO形
メモリへのDMA転送による書込み時の書込み信号をク
ロック入力としてカウントするためのものである。
The purpose of this counter is to count the write signal as a clock input when writing by DMA transfer from the first microprocessor to the F'1FO type memory.

第2のT10制(財)回路は、第2のマイクロプロセサ
のT10入力によりカウンタのカウント値を読出すため
のものである。
The second T10 circuit is for reading the count value of the counter by the T10 input of the second microprocessor.

(実施例) 次に、本発明について図面を参照して説明する。(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 data transfer circuit according to the present invention.

第1図において、1はメインマイクロプロセサ、2はF
IFO形メモリ、3はサブマイクロプロセサ、4はカウ
ンタ、5,6はそれぞれI10制倒回路である。
In Figure 1, 1 is the main microprocessor, 2 is the F
3 is a sub-microprocessor, 4 is a counter, and 5 and 6 are I10 suppression circuits.

I10制御回路5はメインマイクロプロセサ1のI10
制御回路であり、I10制御回路6はサブマイクロプロ
セサ3のI10制御回路である。
The I10 control circuit 5 is the I10 of the main microprocessor 1.
The I10 control circuit 6 is the I10 control circuit of the sub-microprocessor 3.

また、71.72はそれぞれデータバス、81゜82は
それぞれアドレスバス、9はサブマイクロプロセサ3の
DMA転送例おける書込+信号を乗せる信号線、10は
メインマイクロプロセサ1のDMA転送における読出し
信号を乗せる信号線である。
Further, 71 and 72 are data buses, respectively, 81 and 82 are address buses, 9 is a signal line carrying the write + signal in the DMA transfer example of the sub microprocessor 3, and 10 is a read signal in the DMA transfer of the main microprocessor 1. It is a signal line that carries

第1図において、例えばマイクロプロセサ3によりデー
タをFIFO形メモ112へ書込み、FIFO形メモリ
2からこれをメインマイクロプロセサ1へ転送するもの
とする。これによって、サブマイクロプロセサ3はDM
A転送方式によりFIFO形メモリ2ヘデータを書込む
。このとき、FIFO形メモリ2への書込み信号WRは
カウンタ4ヘクロツクとして入力さハる。よって、FI
FO形メモリ2への書込みデータの数がカウンタ4によ
りカウントされる。、DMA転送が終了してデータがP
IF’0形、メモリ2への書込みが終了すると、サブマ
イクロプロセサ3はI10制御回路6よりメインマイク
ロプロセサ1に割込み信号を送出してDMAの終了を通
知する。
In FIG. 1, it is assumed that, for example, the microprocessor 3 writes data to the FIFO memory 112 and transfers it from the FIFO memory 2 to the main microprocessor 1. As a result, the sub microprocessor 3
Data is written to the FIFO type memory 2 using the A transfer method. At this time, the write signal WR to the FIFO type memory 2 is input as a clock to the counter 4. Therefore, FI
The number of data written to the FO memory 2 is counted by a counter 4. , the DMA transfer is completed and the data is P
When writing to the IF'0 type memory 2 is completed, the sub microprocessor 3 sends an interrupt signal to the main microprocessor 1 from the I10 control circuit 6 to notify the end of DMA.

割込み信号によりサブマイクロプロセサ3からのDMA
転送の終了を検出すると、メインマイクロプロセサ1は
I10制御回路5よりカウンタ4のカウント値を読出し
、サブマイクログロセサ3により送出されたデータ量を
入力し、入力値の数のデータをFIFO形メモリ2より
DMA転送方式によって読出す。
DMA from sub microprocessor 3 by interrupt signal
Upon detecting the end of the transfer, the main microprocessor 1 reads the count value of the counter 4 from the I10 control circuit 5, inputs the amount of data sent out by the sub microgrocer 3, and stores the data of the number of input values in the FIFO memory. 2 using the DMA transfer method.

(発明の効果) 以上説明したように本発明は、第1および第2のマイク
ロプロセサ、ならびにF’IFO形メモリ全メモリ第1
のマイクロプロセサから第2のマイクロプロセサに対し
て割込ミ化号によりFIFO形メモリへの書込み終了を
送出できるようにしておき、書込み時には第1のマイク
ロプロセサからFIFO形メモリへのDMA転送により
書込み信号をカウントし、読出し時には第2のマイクロ
プロセサのI/O入力によりカウント値を読出スことに
より、簡易な構成で容易にデータを転送できるため、処
理の簡易化による高信頼性化と低コスト化が実現できる
という効果がある。
(Effects of the Invention) As explained above, the present invention provides the first and second microprocessors, the entire F'IFO type memory, and the first microprocessor.
The first microprocessor is configured to be able to send the completion of writing to the FIFO type memory to the second microprocessor using an interrupt signal, and when writing, the first microprocessor performs the writing by DMA transfer from the first microprocessor to the FIFO type memory. By counting signals and reading the count value using the I/O input of the second microprocessor, data can be easily transferred with a simple configuration, resulting in high reliability and low cost due to simplified processing. This has the effect of making it possible to realize

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

第1図は、本発明によるデータ転送回路の一実施例を示
すブロック図である。 1・・自マイクロプロセサ 2・ ・・FIFO形メモリ 4・・・カウンタ 5.6・・・I10制御回路 ?1.72.81.82@−バ ス 9.10・・・信号線
FIG. 1 is a block diagram showing one embodiment of a data transfer circuit according to the present invention. 1... Own microprocessor 2... FIFO type memory 4... Counter 5.6... I10 control circuit? 1.72.81.82@-bus 9.10...signal line

Claims (1)

【特許請求の範囲】[Claims] 第1のマイクロプロセサおよび第2のマイクロプロセサ
と、前記第1および第2のマイクロプロセサの間にあつ
て、データの授受を行なうためのファーストイン・ファ
ーストアウト形メモリと、前記第1のマイクロプロセサ
から前記第2のマイクロプロセサに対して割込み信号に
より前記ファーストイン、ファーストアウト形メモリへ
の書込み終了を送出するための第1のI/O制御回路と
、前記第1のマイクロプロセサから前記ファーストイン
・ファーストアウト形メモリへのDMA転送による書込
み時の書込み信号をクロック入力としてカウントするた
めのカウンタと、前記第2のマイクロプロセサのI/O
入力により前記カウンタのカウント値を読出すための第
2のI/O制御回路とを具備して構成したことを特徴と
するデータ転送回路。
a first microprocessor and a second microprocessor; a first-in first-out memory for exchanging data between the first and second microprocessors; a first I/O control circuit for transmitting the completion of writing to the first-in, first-out type memory by an interrupt signal from the first microprocessor to the second microprocessor; - A counter for counting the write signal as a clock input when writing by DMA transfer to the first-out memory, and an I/O of the second microprocessor.
A data transfer circuit comprising: a second I/O control circuit for reading out the count value of the counter in response to an input.
JP8945888A 1988-04-12 1988-04-12 Data transfer circuit Pending JPH01260562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8945888A JPH01260562A (en) 1988-04-12 1988-04-12 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8945888A JPH01260562A (en) 1988-04-12 1988-04-12 Data transfer circuit

Publications (1)

Publication Number Publication Date
JPH01260562A true JPH01260562A (en) 1989-10-17

Family

ID=13971259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8945888A Pending JPH01260562A (en) 1988-04-12 1988-04-12 Data transfer circuit

Country Status (1)

Country Link
JP (1) JPH01260562A (en)

Similar Documents

Publication Publication Date Title
JP3769413B2 (en) Disk array controller
JPH01260562A (en) Data transfer circuit
JPS61217858A (en) Data transmitting device
JPH03204753A (en) Dma controller
JP3057754B2 (en) Memory circuit and distributed processing system
JPH02211571A (en) Information processor
JPH0222748A (en) Non-volatile memory control circuit
JP2976254B2 (en) Information processing device
EP0568678B1 (en) Device for transmission of data
KR0137841Y1 (en) Data transfer control device in multiprocessor system
JP2581144B2 (en) Bus control device
JPH02112051A (en) Data transferring system
JPS63201810A (en) Time system for information processing system
SU581467A1 (en) Computer interface
JPH04333950A (en) Information processing system
JPS63104155A (en) Electronic computer
JPH0764849A (en) Shared memory controller for processor
JPH04330541A (en) Common data transfer system
JPS6048566A (en) Memory bus access system
JPS61147363A (en) Two-port memory system
JPS62145345A (en) Control system for direct memory access interval
JPS5890227A (en) Interface system of data transfer
JPH03280150A (en) Changeover type shared memory
JPH01161463A (en) Bus interface
JPH01118950A (en) Bus control system