JPS62296263A - Data transfer circuit - Google Patents

Data transfer circuit

Info

Publication number
JPS62296263A
JPS62296263A JP14085386A JP14085386A JPS62296263A JP S62296263 A JPS62296263 A JP S62296263A JP 14085386 A JP14085386 A JP 14085386A JP 14085386 A JP14085386 A JP 14085386A JP S62296263 A JPS62296263 A JP S62296263A
Authority
JP
Japan
Prior art keywords
memory
processor
data transfer
data
bus line
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
JP14085386A
Other languages
Japanese (ja)
Inventor
Zenichiro Tabuchi
田渕 善一郎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electronics 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 Matsushita Electronics Corp filed Critical Matsushita Electronics Corp
Priority to JP14085386A priority Critical patent/JPS62296263A/en
Publication of JPS62296263A publication Critical patent/JPS62296263A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Abstract

PURPOSE:To avoid each processor from waiting for data transfer by allowing each processor to always and exclusively use one out of two or more memories selected according to the same address. CONSTITUTION:In accordance with the states of switching circuits 3 and 5, a master processor 1 is connected to a memory 4 or 6. A slave processor 2 is connected to the memory 6 or 4, whereby each processor can use the memory exclusively without fail. As for data transfer, the master processor 1, for instance, transfers data to the memory 6. Upon the completion of the data transfer, the switching circuit 3 is switched. The master processor 1 transfers data to the memory 6, and the slave processor 2 reads data out of the memory 4. Upon the completion of the data reading, the salve processor 2 switches the switching circuit 5, and reads data in the memory 6. By repeating such actions, data transfer can continue.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明はプロセッサ間のデータ転送回路特に待ち時間の
短いデータ転送回路に関する。
3. Detailed Description of the Invention Field of Industrial Application The present invention relates to a data transfer circuit between processors, particularly to a data transfer circuit with short latency.

従来の技術 第4図に従来のデータ転送回路の一構成例を示す。Conventional technology FIG. 4 shows an example of the configuration of a conventional data transfer circuit.

マスタプロセッサ7からスレーブプロセッサ8へのデー
タ転送は、マスタプロセッサ7のデータをアクセス制御
回路1oを遇してメモリー9へ書き込み、メモリー9の
データをスレーブプロセッサ8が読み出すことにより行
なわれていた。
Data transfer from the master processor 7 to the slave processor 8 was performed by writing the data of the master processor 7 to the memory 9 using the access control circuit 1o, and reading the data from the memory 9 by the slave processor 8.

発明が解決しようとする問題点 このような従来の方法では、一つのプロセッサがメモリ
ーに書き込み、または読み出しを行なっている間はその
プロセッサがメモリーを専有することになり、他のプロ
セッサはメモリーが専有から解放されるまでメモリーへ
の書き込み読み出しが禁止されることになり、データ転
送速度を低下させていた。
Problems to be Solved by the Invention In such conventional methods, while one processor is writing to or reading from memory, that processor has exclusive access to the memory, and other processors have exclusive access to the memory. Writing to and reading from memory is prohibited until it is released, reducing data transfer speed.

本発明はかかる点に鑑みてなされたもので、一つのプロ
セッサによるメモリーの専有により発生する他のプロセ
ッサの待ち状態を減少させるデータ転送回路を提供する
ことを目的としている。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a data transfer circuit that reduces the waiting states of other processors that occur due to monopolization of memory by one processor.

問題点を解決するだめの手段 前記問題点を解決するために本発明は、複数個のプロセ
ッサと、同一のアドレスにより選択される書き込み読み
出し可能な前記プロセッサと同数のメモリー回路と、前
記プロセッサと前記メモリ−回路とを一対一の関係で接
、伏するようにバスラインの接続を切り替える前記プロ
セッサと同数の切換え回路とから構成されるデータ転送
回路を提供する。
Means for Solving the Problems In order to solve the above problems, the present invention provides a plurality of processors, the same number of memory circuits as the processors that can be written and read by the same address, and the processors and the A data transfer circuit is provided which is constituted by the same number of switching circuits as the processors, which switches the connection of bus lines so that the memory and the circuit are connected in a one-to-one relationship.

作   用 本発明は上記の構成により、同一のアドレスにより選択
される二つ以上のメモリーの内の一つを、各プロセッサ
が常時専有できることになり、プロセッサがデータ転送
待ちになることがない。
Operation According to the above-described configuration of the present invention, each processor can always exclusively use one of two or more memories selected by the same address, and there is no need for a processor to wait for data transfer.

実施例 第1図は本発明のデータ転送回路の実施例を示すブロッ
ク図である。第1図において1はマスタプロセッサであ
って、バスライン11に接続されている。2はスレーブ
プロセッサであってバスライン21に接続されている。
Embodiment FIG. 1 is a block diagram showing an embodiment of a data transfer circuit of the present invention. In FIG. 1, reference numeral 1 denotes a master processor, which is connected to a bus line 11. As shown in FIG. 2 is a slave processor connected to the bus line 21;

3は切換回路であってバスライン11に接続されている
バスライン31゜バスライン21に接続されているバス
ライン32のいずれか一方とバスライン33を接続する
。4はメモリーである。切換回路6はバスライン11と
接続されているバスライン51.バスライン21と接続
されているバスライン52のいずれカ一方とバスライン
63を接続する。6はメモリーである。バスライン33
はバスライン41を介して、バスライン63はバスライ
ン61を介して夫々メモリー4とメモリー6に接続され
ている。
Reference numeral 3 denotes a switching circuit which connects either one of the bus line 31 connected to the bus line 11 and the bus line 32 connected to the bus line 21 to the bus line 33. 4 is memory. The switching circuit 6 is connected to the bus line 51 . One of the bus lines 52 connected to the bus line 21 is connected to the bus line 63. 6 is a memory. bus line 33
is connected to the memory 4 and the memory 6 via the bus line 41, and the bus line 63 is connected to the memory 6 via the bus line 61, respectively.

第2図、第3図は切換回路の接続状態を表している。切
換回路の状態は第2図あるいは第3図のいずれかの状態
をとる。マスタプロセンサ1は第2図ではメモリー4に
接続され、第3図ではメモリー6に接続される。スレー
ブプロセッサ2は第2図ではメモリー6に接続され、第
3図ではメモリー4に接続されることになり各プロセッ
サは記憶回路を常時専有できることになる。データ転送
は例えば、第2図の状態ではマスタプロセッサ1からメ
モリー4へデータを転送し、伝送終了にょジ切換回路を
第3図の状態に切り替える。第3図の状態では、マスタ
ープロセッサ1はメモリー6へデーターを転送し、スレ
ーブプロセッサはメモリー4からデータを読み出す。ス
レーブプロセッサ2はデータ読み出し終了により、切換
回路全第2図の状態に切り替えメモリー6のデータ読み
出しを行なう。この動作をくり返すことにより、データ
転送を継続して行なう。
FIGS. 2 and 3 show the connection state of the switching circuit. The state of the switching circuit takes either the state shown in FIG. 2 or FIG. 3. The master pro-sensor 1 is connected to the memory 4 in FIG. 2, and to the memory 6 in FIG. The slave processor 2 is connected to the memory 6 in FIG. 2, and to the memory 4 in FIG. 3, so that each processor can exclusively use the memory circuit at all times. For example, in the state shown in FIG. 2, data is transferred from the master processor 1 to the memory 4, and upon completion of the transmission, the switching circuit is switched to the state shown in FIG. 3. In the state shown in FIG. 3, the master processor 1 transfers data to the memory 6, and the slave processor reads data from the memory 4. When the data reading is completed, the slave processor 2 switches the entire switching circuit to the state shown in FIG. 2 and reads the data from the memory 6. By repeating this operation, data transfer is continued.

発明の効果 以上述べてきたように、本発明によれば、データ転送時
において時間待ちをせずに、プロセッサ間のデータ転送
を行なうことができ、処理スピードにおいて実用的にき
わめて高い性能が提供できるものである。
Effects of the Invention As described above, according to the present invention, data can be transferred between processors without waiting during data transfer, and extremely high performance can be provided in terms of processing speed. It is something.

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

第1図は本発明の一実施例におけるデータ転送回路を示
すブロック図、第2図および第3図は本発明の切換回路
の状態図、第4図は従来のデータ転送回路のブロック図
である。 7.1・・・・・・マスクプロセッサ、2,8・・・・
・・スレーブプロセッサ、3・・・・・・切換回路、4
・・・・・・メモリー、5・・・・・・切換回路、9,
6・・・・・・メモリー、11゜21.31.32,3
3,41.51.52゜53.61・・・・・・バスラ
イン、10・・・・・・アクセス制御回路。 ◇( r+                       
      勾疎                 
 綜つ  ”)   杓 綜
FIG. 1 is a block diagram showing a data transfer circuit according to an embodiment of the present invention, FIGS. 2 and 3 are state diagrams of the switching circuit of the present invention, and FIG. 4 is a block diagram of a conventional data transfer circuit. . 7.1...Mask processor, 2,8...
...Slave processor, 3...Switching circuit, 4
...Memory, 5...Switching circuit, 9,
6...Memory, 11゜21.31.32,3
3, 41.51.52゜53.61...Bus line, 10...Access control circuit. ◇(r+
gradient
”)

Claims (1)

【特許請求の範囲】[Claims] 複数個のプロセッサと、同一のアドレスにより選択され
る書き込み読み出し可能な前記プロセッサと同数のメモ
リー回路と、前記プロセッサと前記メモリー回路とを一
対一の関係で接続するようにバスラインの接続を切り替
える前記プロセッサと同数の切換え回路とから構成され
るデータ転送回路。
the plurality of processors, the same number of memory circuits as the processors capable of writing and reading selected by the same address, and switching the connection of the bus line so as to connect the processors and the memory circuits in a one-to-one relationship; A data transfer circuit consisting of the same number of switching circuits as processors.
JP14085386A 1986-06-17 1986-06-17 Data transfer circuit Pending JPS62296263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14085386A JPS62296263A (en) 1986-06-17 1986-06-17 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14085386A JPS62296263A (en) 1986-06-17 1986-06-17 Data transfer circuit

Publications (1)

Publication Number Publication Date
JPS62296263A true JPS62296263A (en) 1987-12-23

Family

ID=15278260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14085386A Pending JPS62296263A (en) 1986-06-17 1986-06-17 Data transfer circuit

Country Status (1)

Country Link
JP (1) JPS62296263A (en)

Similar Documents

Publication Publication Date Title
JPS62296263A (en) Data transfer circuit
JPS5930292B2 (en) Souchikanketsugohoshiki
JPH02132543A (en) Information processor
JPH03204753A (en) Dma controller
JPH03131951A (en) Data transfer system
JPH07160655A (en) Memory access system
JPS6269348A (en) Data transfer device
JP2718661B2 (en) Dual port memory controller
JPH02211571A (en) Information processor
JPS6029139B2 (en) Connection method between processing units
JPH02207363A (en) Data transfer system, device controller, and memory controller
JP2821176B2 (en) Information processing device
JPH0351943A (en) Sharing system for high/low speed bus lines
JPH03228163A (en) Data transfer equipment
JPH03280150A (en) Changeover type shared memory
JPS63183678A (en) Multi-port memory device
JPS62262170A (en) Data transfer system
JPS61109167A (en) Multi-micro cpu control system
JPS63201810A (en) Time system for information processing system
JPH03189755A (en) Inter-memory transfer device
JPS62224849A (en) Data processing system
JPS63279359A (en) Data transfer device for multi-cpu
JPS61133465A (en) Switching method of cpu
JPS63104155A (en) Electronic computer
JPS6344235A (en) Data processor