JPH1097494A - Data transfer system between cpu systems - Google Patents

Data transfer system between cpu systems

Info

Publication number
JPH1097494A
JPH1097494A JP25166996A JP25166996A JPH1097494A JP H1097494 A JPH1097494 A JP H1097494A JP 25166996 A JP25166996 A JP 25166996A JP 25166996 A JP25166996 A JP 25166996A JP H1097494 A JPH1097494 A JP H1097494A
Authority
JP
Japan
Prior art keywords
data
bus
cpu
data transfer
unit
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.)
Withdrawn
Application number
JP25166996A
Other languages
Japanese (ja)
Inventor
Kiyobumi Mise
清文 三瀬
Hidetoshi Iwasa
英敏 岩佐
Miharu Kato
美治 加藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP25166996A priority Critical patent/JPH1097494A/en
Publication of JPH1097494A publication Critical patent/JPH1097494A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the data transfer system which efficiently transfers data between CPU systems. SOLUTION: The data transfer system which performs data transfer between CPU systems wherein CPUs and memories are connected by a bus is equipped with an elastic memory(EM) 1 which is interposed in the data transfer path between the CPU systems 10 and 20 and matches data transfer and an interface part(IF) 7 which is interposed between the data readout side of the EMI and the bus 26 of the opposite CPU system 20 and acquires the bus right with bus right acknowledgement ACK responding to a bus right request REQ to the CPU system 20 to outputs read data of the EM1 to the bus 26; and the IF part 7 outputs the bus right request REQ once the EM1 is stored with data of more than one data read unit of the IF 7 to shorten the idle time of the bus 26 and reduce burst use of the bus 26.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はCPUシステム間の
データ転送方式に関し、更に詳しくはCPUとメモリと
がバスで接続される複数のCPUシステム間でデータ転
送を行うCPUシステム間のデータ転送方式に関する。
今日、多くの機能実現装置(機能ユニット)はCPUと
メモリとがバスで接続されるCPUシステムで実現さ
れ、この様な複数のCPUシステム間でデータのやり取
りを行う場合も少なくない。例えば交換機システムで
は、CP(制御)系装置とSP(通話路)系装置とが夫
々に独自のCPUシステムで実現され、これらの間(C
PU−メモリ間,メモリ−メモリ間等)では呼制御等に
係るデータの転送が頻繁に行われる。従って、CPUシ
ステム内は元より、CPUシステム間においても各CP
Uシステムの構成にマッチした効率良いデータ転送の実
現が望まれる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer method between CPU systems, and more particularly, to a data transfer method between CPU systems which transfers data between a plurality of CPU systems in which a CPU and a memory are connected by a bus. .
Today, many function realizing devices (functional units) are realized by a CPU system in which a CPU and a memory are connected by a bus, and there are many cases where data is exchanged between such a plurality of CPU systems. For example, in an exchange system, a CP (control) device and an SP (communication path) device are respectively realized by their own CPU systems.
Data transfer related to call control and the like is frequently performed between the PU and the memory or between the memories. Therefore, not only within the CPU system but also between each CPU system,
It is desired to realize efficient data transfer matching the configuration of the U system.

【0002】[0002]

【従来の技術】図8は従来の交換機システムの一部構成
を示す図で、図において10は交換機システムの主制御
を行うCP系装置(CP系ユニット)、11は64ビッ
ト系のプロセッサ(CC)、12は主メモリ(MM)、
13はSP系装置と接続するためのインタフェース(I
F)部、14はCC11のシステムバス(SB)、20
はSP系装置(SP系ユニット)、21はSP系装置2
0の主制御を行う32ビット系のマイクロプロセッサ
(MPU)、22はスタティックRAM(SRAM)、
23はダイナミックRAM(DRAM)、24はDRA
M制御部(DMC)、50はCP系装置10と接続する
と共に所定容量のエラスチックメモリを有するバッファ
部、26はMPU21のMPUバス(MB)である。
2. Description of the Related Art FIG. 8 shows a partial configuration of a conventional switching system. In FIG. 8, reference numeral 10 denotes a CP system unit (CP unit) for performing main control of the switching system, and 11 denotes a 64-bit processor (CC). ), 12 are main memory (MM),
Reference numeral 13 denotes an interface (I) for connecting to an SP system device.
F) section, 14 is the system bus (SB) of CC11, 20
Is an SP device (SP unit), 21 is an SP device 2
A 32-bit microprocessor (MPU) for performing main control of 0, a static RAM (SRAM) 22;
23 is a dynamic RAM (DRAM), 24 is a DRA
An M control unit (DMC) 50 is a buffer unit connected to the CP device 10 and having an elastic memory of a predetermined capacity, and 26 is an MPU bus (MB) of the MPU 21.

【0003】一般にCP系装置10とSP系装置20と
の間では、CPUの動作クロック周波数が異なり、かつ
相互に非同期で動作し、データ転送速度(メモリサイク
ル,バス線本数64/32等)も異なる。バッファ部5
0は、この様なCP系装置10とSP系装置20との間
のデータ転送の整合を図るべく設けられ、所定容量のエ
ラスチックメモリ(不図示)と、IF部13の側に接続
するインタフェースAと、MPUバス26の側に接続す
るインタフェースBとを備える。
In general, the CP system device 10 and the SP system device 20 have different CPU operating clock frequencies, operate asynchronously with each other, and have a high data transfer speed (memory cycle, 64/32 bus lines, etc.). different. Buffer unit 5
The reference numeral 0 denotes an elastic memory (not shown) having a predetermined capacity and an interface A connected to the side of the IF unit 13, which are provided for coordinating data transfer between the CP system device 10 and the SP system device 20. And an interface B connected to the MPU bus 26 side.

【0004】係る構成において、従来は、インタフェー
スA,Bの各データ入出力機能に一定の閾値を設け、C
P系−SP系間のデータ転送の整合を図るべく、以下の
様な閾値制御を行っていた。即ち、エラスチックメモリ
のバッファフル数を「n」とすると、インタフェースA
においては、CP系からのデータ入力停止(FULLA
=1)の閾値はn、またCP系へのデータ出力可能(R
DYA=1)の閾値はn,n/2又はn−α(α:所定
値)としていた。インタフェースBも同様であり、SP
系からのデータ入力停止(FULLB=1)の閾値は
n、またSP系へのデータ出力可能(RDYB=1)の
閾値はn,n/2又はn−αとしていた。
In such a configuration, conventionally, a constant threshold value is provided for each data input / output function of the interfaces A and B,
The following threshold control has been performed in order to match the data transfer between the P system and the SP system. That is, assuming that the buffer full number of the elastic memory is “n”, the interface A
In, the data input from the CP system is stopped (FULLLA
= 1) is n, and data can be output to the CP system (R
The threshold value of DYA = 1) was set to n, n / 2, or n-α (α: a predetermined value). Interface B is the same, SP
The threshold for stopping data input from the system (FULLB = 1) was n, and the threshold for data output to the SP system (RDYB = 1) was n, n / 2, or n-α.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記の如くデ
ータ出力可能(RDYA=1/RDYB=1)の閾値を
n,n/2又はn−αとすると、データ読出側では閾値
条件を満足するまでエラスチックメモリからデータを取
り出すことが出来ない。このため、例えばCP系10か
らSP系20へのデータ転送に着目すると、データ読出
側のSP系20では、エラスチックメモリのデータ蓄積
とそのブロック放出作用とにより、MPUバス26の使
用頻度が不均一となり、MPUバス26に遊び時間が発
生していた。
However, assuming that the threshold value at which data can be output (RDYA = 1 / RDYB = 1) is n, n / 2 or n-α, the data read side satisfies the threshold condition. Until the data can not be retrieved from the elastic memory. Therefore, for example, when attention is paid to data transfer from the CP system 10 to the SP system 20, the use frequency of the MPU bus 26 is uneven in the SP system 20 on the data read side due to the accumulation of data in the elastic memory and the block releasing operation. As a result, play time was generated in the MPU bus 26.

【0006】しかも、MPUバス26には他のバス使用
者(MPU20,不図示の周辺IO装置等)も存在する
為、インタフェースBがバス権を要求してもバス権許可
がタイムリーに返送されるとは限らず、これが使用頻度
不均一の加速要因となる。また、インタフェースBが一
旦バス権利を獲得すると、エラスチックメモリの蓄積デ
ータ量が多いために、その後はMPUバス26を比較的
長時間バースト的に使用することとなり、これがMPU
21や周辺IO装置における処理の遅滞を招いていた。
以上のことは、CP系装置10でも同様である。
Further, since other bus users (MPU 20, peripheral I / O devices not shown) exist on the MPU bus 26, even if the interface B requests the bus right, the bus right permission is returned in a timely manner. This is not always the case, and this is a factor of acceleration of non-uniform use frequency. Further, once the interface B acquires the bus right, the amount of data stored in the elastic memory is large, and thereafter the MPU bus 26 is used in a burst for a relatively long time.
21 and peripheral IO devices.
The same applies to the CP device 10.

【0007】本発明は上記従来技術の欠点に鑑み成され
たものであって、その目的とする所は、複数のCPUシ
ステム間で効率良いデータ転送が行えるCPUシステム
間のデータ転送方式を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned drawbacks of the related art, and has as its object to provide a data transfer method between CPU systems which enables efficient data transfer between a plurality of CPU systems. It is in.

【0008】[0008]

【課題を解決するための手段】上記の課題は例えば図1
の構成により解決される。即ち、本発明(1)のCPU
システム間のデータ転送方式は、CPUとメモリとがバ
スで接続される複数のCPUシステム間でデータ転送を
行うCPUシステム間のデータ転送方式において、前記
複数のCPUシステム10,20間のデータ転送経路に
介在し、かつデータ転送を整合させるためのエラスチッ
クメモリ1と、前記エラスチックメモリ1のデータ読出
側とこれに対向するCPUシステム20のバス26との
間に介在し、かつ該CPUシステム20へのバス権要求
REQに対するバス権許可ACKによりバス権を獲得し
てエラスチックメモリ1の読出データをバス26に出力
するインタフェース部7とを備え、前記インタフェース
部7はエラスチックメモリ1が該インタフェース部7の
データ読出1単位以上のデータを蓄積した事によりバス
権要求REQを出力するものである。
The above-mentioned problem is solved, for example, by referring to FIG.
Is solved. That is, the CPU of the present invention (1)
The data transfer method between the systems includes a data transfer path between the plurality of CPU systems 10 and 20 in a data transfer method between CPU systems in which data transfer is performed between a plurality of CPU systems in which a CPU and a memory are connected by a bus. And an elastic memory 1 for coordinating data transfer, and between a data reading side of the elastic memory 1 and a bus 26 of the CPU system 20 opposed thereto, and An interface unit 7 for acquiring a bus right by a bus right grant ACK for the bus right request REQ and outputting read data of the elastic memory 1 to a bus 26; The bus right request REQ is issued by storing one or more units of read data. It is intended to.

【0009】なお、図1はCPUシステム10からCP
Uシステム20にデータ転送する場合を模式的に示す
が、逆にCPUシステム20からCPUシステム10に
データ転送する場合も同様に考えられる。本発明(1)
においては、例えばエラスチックメモリ1へのデータ書
込単位が32ビット並列(即ち、バス14が32ビット
構成)で、かつインタフェース部7のデータ読出単位が
32ビット並列(即ち、バス26が32ビット構成)と
すると、インタフェース部7はエラスチックメモリ1に
32ビット並列データが1個以上書き込まれた時点でバ
ス26にバス権要求REQを出力し、その後バス権許可
ACKが得られると、エラスチックメモリ1から各1個
分のデータを読み出してメモリ22(又はCPU21)
に転送する。
Note that FIG.
Although a case where data is transferred to the U system 20 is schematically shown, a case where data is transferred from the CPU system 20 to the CPU system 10 is similarly considered. The present invention (1)
In the example, the data write unit to the elastic memory 1 is 32 bits parallel (that is, the bus 14 has a 32-bit configuration), and the data read unit of the interface unit 7 is 32 bits parallel (that is, the bus 26 has a 32-bit configuration). ), The interface unit 7 outputs a bus right request REQ to the bus 26 when one or more 32-bit parallel data is written to the elastic memory 1, and when the bus right permission ACK is obtained thereafter, the interface unit 7 outputs The data for each one is read out and read into the memory 22 (or the CPU 21).
Transfer to

【0010】又は、例えばエラスチックメモリ1へのデ
ータ書込単位が32ビット並列で、かつインタフェース
部7のデータ読出単位が64ビット並列とすると、イン
タフェース部7はエラスチックメモリ1に32ビット並
列データが2個以上書き込まれた時点でバス26にバス
権要求REQを出力し、その後バス権許可ACKが得ら
れると、エラスチックメモリ1から各2個分のデータを
読み出してメモリ22(又はCPU21)に転送する。
Alternatively, for example, if the unit for writing data to the elastic memory 1 is 32 bits in parallel and the unit for reading data from the interface unit 7 is 64 bits in parallel, the interface unit 7 stores two 32-bit parallel data in the elastic memory 1. The bus right request REQ is output to the bus 26 at the time of writing the data, and when a bus right permission ACK is obtained thereafter, two pieces of data are read from the elastic memory 1 and transferred to the memory 22 (or the CPU 21). .

【0011】このように、本発明(1)によれば、イン
タフェース部7はエラスチックメモリ1がインタフェー
ス部7のデータ読出1単位以上のデータを蓄積した事に
よりバス権要求REQを出力するので、エラスチックメ
モリ1によるデータ蓄積・ブロック放出の効果は緩和さ
れ、これによりCPUシステム10からCPUシステム
20へのデータ転送は万遍なく一様に行われ、データ転
送によるバス26の使用頻度が均一化、平均化される。
また、インタフェース部7が一旦バス権利を獲得して
も、エラスチックメモリ1の蓄積データ量が比較的少な
いため、バス26のバースト的使用も比較的短くて済
み、CPU21や他の周辺IO装置(不図示)における
処理遅滞を招くことも少ない。
As described above, according to the present invention (1), the interface unit 7 outputs the bus right request REQ when the elastic memory 1 stores the data of one unit or more of the data readout of the interface unit 7, so that the elastic unit 1 The effects of data storage and block release by the memory 1 are mitigated, whereby data transfer from the CPU system 10 to the CPU system 20 is performed uniformly, and the frequency of use of the bus 26 by data transfer is made uniform and averaged. Be transformed into
Further, even if the interface unit 7 once acquires the bus right, since the amount of data stored in the elastic memory 1 is relatively small, the burst use of the bus 26 can be relatively short, and the CPU 21 and other peripheral IO devices (non- (Shown in the drawing).

【0012】かくして、本発明(1)によれば、データ
読出側のバス26はCPU21,インタフェース部7及
び他の周辺IO装置(PIO)等により均一、かつ公平
に使用されることとなり、CPUシステム20内は元よ
り、CPUシステム10,20間でも効率良いデータ転
送が行える。また、エラスチックメモリ1の蓄積データ
量が少ないため、エラスチックメモリ1の記憶容量を小
さくできる。
Thus, according to the present invention (1), the bus 26 on the data reading side is used uniformly and fairly by the CPU 21, the interface unit 7, and other peripheral I / O devices (PIOs). Data can be efficiently transferred between the CPU systems 10 and 20 as well as within the CPU 20. Further, since the amount of data stored in the elastic memory 1 is small, the storage capacity of the elastic memory 1 can be reduced.

【0013】好ましくは、本発明(2)においては、上
記本発明(1)において、各CPUシステム10,20
はデータ転送速度が異なる。CPUシステム10,20
の間では、例えば夫々のメモリサイクルが異なればデー
タ転送速度が異なる。また夫々のバス線(データ転送バ
ス線)の本数が異なればデータ転送速度が異なる。係る
場合でも、本発明(1)を適用すれば、データ読出側の
バス26は均一、公平に使用されるので、CPUシステ
ム20内は元より、CPUシステム10,20間でも効
率良いデータ転送が行える。
Preferably, in the present invention (2), in the above-mentioned present invention (1), each of the CPU systems 10 and 20 is used.
Have different data transfer rates. CPU systems 10, 20
For example, if each memory cycle is different, the data transfer rate is different. If the number of each bus line (data transfer bus line) is different, the data transfer speed is different. Even in such a case, if the present invention (1) is applied, the bus 26 on the data reading side is used uniformly and fairly, so that efficient data transfer can be performed not only within the CPU system 20 but also between the CPU systems 10 and 20. I can do it.

【0014】また好ましくは、本発明(3)において
は、上記本発明(1)において、エラスチックメモリ1
のデータ読出側とこれに対向するCPUシステム内のメ
モリ22との間でデータがDMA転送される。従って、
データ転送能率が高く、かつバス26の使用効率が高
い。
Preferably, according to the present invention (3), the elastic memory 1 according to the present invention (1) is used.
Data is DMA-transferred between the data reading side of the memory and the memory 22 in the CPU system opposed thereto. Therefore,
The data transfer efficiency is high, and the use efficiency of the bus 26 is high.

【0015】[0015]

【発明の実施の形態】以下、添付図面に従って本発明に
好適なる実施の形態を詳細に説明する。なお、全図を通
して同一符号は同一又は相当部分を示すものとする。図
2は実施の形態による交換機システムの一部構成を示す
図で、図において10はCP系装置(CP系ユニッ
ト)、11は例えば64ビット系のプロセッサ(C
C)、12は主メモリ(MM)、13はインタフェース
(IF)部、14はCC11のシステムバス(SB)、
20はSP系装置(SP系ユニット)、21は例えば3
2ビット系のマイクロプロセッサ(MPU)、22はス
タティックRAM(SRAM)、23はダイナミックR
AM(DRAM)、24はDRAM制御部(DMC)、
24は実施の形態によるバッファ部、26はMPU21
のMPUバス(MB)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. Note that the same reference numerals indicate the same or corresponding parts throughout the drawings. FIG. 2 is a diagram showing a partial configuration of the exchange system according to the embodiment. In the figure, reference numeral 10 denotes a CP system unit (CP unit), and 11 denotes, for example, a 64-bit processor (C
C), 12 is a main memory (MM), 13 is an interface (IF) unit, 14 is a system bus (SB) of CC11,
20 is an SP system device (SP unit), 21 is, for example, 3
2-bit microprocessor (MPU), 22 static RAM (SRAM), 23 dynamic R
AM (DRAM), 24 is a DRAM control unit (DMC),
24 is a buffer unit according to the embodiment, 26 is an MPU 21
MPU bus (MB).

【0016】CP系装置10とSP系装置20との間で
は、CPUの動作クロック周波数が異なり、かつ相互に
非同期で動作し、データ転送速度(メモリサイクル,バ
ス線本数64/32等)も異なる。バッファ部25は、
CP系装置10とSP系装置20との間のデータDMA
転送の整合を図るべく設けられ、内部にエラスチックメ
モリ(後述のFIFOメモリ)と、IF部13に接続す
るインタフェースAと、MPUバス26に接続するイン
タフェースBとを備える。なお、インタフェースAは6
4ビット構成のデータ転送バス線に接続し、インタフェ
ースBは32ビット構成のMPUバス26に接続する。
The CP device 10 and the SP device 20 have different CPU operating clock frequencies, operate asynchronously with each other, and have different data transfer speeds (memory cycles, bus lines 64/32, etc.). . The buffer unit 25
Data DMA between CP device 10 and SP device 20
It is provided for transfer coordination, and includes therein an elastic memory (a FIFO memory described later), an interface A connected to the IF unit 13, and an interface B connected to the MPU bus 26. Interface A is 6
The interface B is connected to a 4-bit data transfer bus line, and the interface B is connected to a 32-bit MPU bus 26.

【0017】図3にバッファ部25の構成を示す。図に
おいて、1は受信FIFOバッファ(エラスチックメモ
リ)、2は受信DMA制御部、3は送信FIFOバッフ
ァ(エラスチックメモリ)、4は送信DMA制御部、5
はステータス制御部、6はIF部13に接続するインタ
フェースA、7はMPUバス26に接続するインタフェ
ースB、8はデータDMA転送終了等をMPU21に知
らせる割込部である。以下、動作の概要を説明する。
FIG. 3 shows the configuration of the buffer section 25. In the figure, 1 is a reception FIFO buffer (elastic memory), 2 is a reception DMA controller, 3 is a transmission FIFO buffer (elastic memory), 4 is a transmission DMA controller, 5
Is a status control unit, 6 is an interface A connected to the IF unit 13, 7 is an interface B connected to the MPU bus 26, and 8 is an interrupt unit for notifying the MPU 21 of the end of data DMA transfer and the like. Hereinafter, an outline of the operation will be described.

【0018】CP系−SP系間のデータ転送はDMA転
送により行われ、双方向に半二重モードで行われる。C
P系10からSP系20にデータ転送する場合は、予め
CC11(又はMPU21)より受信DMA制御部2内
の各制御用レジスタにSP系メモリ(SRAM22/D
RAM23)のデータ書込アドレスやデータ転送数等の
情報をセットし、DMAを起動する。その後、CP系1
0からの各64ビットの受信データはインタフェースA
で各32ビットのデータに2分割され、受信FIFOバ
ッファ1に順次書き込まれる(WT)。そして、やがて
受信FIFOバッファ1がバッファフルになるとバッフ
ァフル信号FULL=1をインタフェースAに出力す
る。これによりCP系10はデータ送出を一時的に休止
する。
Data transfer between the CP system and the SP system is performed by DMA transfer, and is performed bidirectionally in a half-duplex mode. C
When data is transferred from the P system 10 to the SP system 20, the SP memory (SRAM 22 / D) is stored in advance in each control register in the reception DMA control unit 2 by the CC 11 (or MPU 21).
Information such as the data write address and the number of data transfers in the RAM 23) is set, and the DMA is started. Then, CP system 1
The received data of 64 bits from 0
, The data is divided into two pieces each having 32 bits, and sequentially written into the reception FIFO buffer 1 (WT). Then, when the receiving FIFO buffer 1 becomes buffer full, the buffer full signal FULL = 1 is output to the interface A. As a result, the CP system 10 temporarily suspends data transmission.

【0019】またこの受信FIFOバッファ1は、32
ビットデータが一つでも記憶されると、バッファエンプ
ティー信号EMP=0(データ有り)を出力する。受信
DMA制御部2は、バッファエンプティー信号EMPを
常時監視しており、EMP=0(データ有り)になる
と、MPUバス26にバス権要求信号REQを出力し、
その後バス権許可信号ACKを受け取ると、以後はバス
権をホールドし、EMP=1(データ無し)となるまで
受信FIFOバッファ1の読出データ(各32ビット)
を指定のSP系メモリ22/23にDMA転送(書込)
する。
The reception FIFO buffer 1 has 32
When even one bit data is stored, a buffer empty signal EMP = 0 (data present) is output. The reception DMA controller 2 constantly monitors the buffer empty signal EMP, and outputs a bus request signal REQ to the MPU bus 26 when EMP = 0 (data is present).
Thereafter, when the bus right permission signal ACK is received, the bus right is held thereafter, and the read data of the reception FIFO buffer 1 (each 32 bits) until EMP = 1 (no data).
DMA transfer (write) to specified SP system memory 22/23
I do.

【0020】またSP系からCP系にデータ転送する場
合は、予めMPU21(又はCC11)より送信DMA
制御部4内の各制御用レジスタにSP系メモリ(SRA
M22/DRAM23)のデータ読出アドレスやデータ
転送数等の情報をセットし、DMAを起動する。その
後、送信DMA制御部4は、送信FIFOバッファ3の
バッファフル信号FULL=0(空き有り)により、M
PUバス26にバス権要求信号REQを出力し、その後
バス権許可信号ACKを受け取ると、以後はバス権をホ
ールドし、バッファフル信号FULL=1(データ満
杯)となるまでSP系メモリ22/23からの読出デー
タを送信FIFOバッファ3にDMA転送(書込)す
る。そして、これと並行して送信FIFOバッファ3の
各32ビットの蓄積データはインタフェースAで2個づ
つパッキングされ、IF部13に送出され、こうして送
信FIFOバッファ3の蓄積データはバッファエンプテ
ィー信号EMP=1(空)になるまで読み出される。
When data is transferred from the SP system to the CP system, the MPU 21 (or CC 11) transmits the data from the transmission DMA beforehand.
An SP memory (SRA) is stored in each control register in the control unit 4.
The information such as the data read address of the M22 / DRAM 23) and the number of data transfers are set, and the DMA is started. Thereafter, the transmission DMA control unit 4 sets the buffer full signal FULL of the transmission FIFO buffer 3 to 0, indicating that M
When the bus right request signal REQ is output to the PU bus 26 and the bus right permission signal ACK is received thereafter, the bus right is held thereafter, and the SP memories 22/23 until the buffer full signal FULL = 1 (data full). Is transferred (written) to the transmission FIFO buffer 3 by DMA. In parallel with this, the 32-bit accumulated data of the transmission FIFO buffer 3 is packed two by two at the interface A and sent out to the IF unit 13. Thus, the accumulated data of the transmission FIFO buffer 3 becomes the buffer empty signal EMP = 1. Read until (empty).

【0021】図4は実施の形態によるインタフェースA
の動作シーケンスを説明する図で、図4(A)はCP系
10からDMA制御部2,4の制御レジスタに指令を書
き込んだり、またステータスレジスタからデータを読み
出す場合の通信プロトコルを示している。レジスタの書
込動作は、図示の如く、要求REQ,要求応答ACK,
書込データDATA,書込応答AWのやり取りで行われ
る。一方、レジスタの読出動作は、その前半で読出レジ
スタの指定を行い、後半で対応する読出データ(ステー
タスデータ等)が転送される。
FIG. 4 shows an interface A according to the embodiment.
FIG. 4A shows a communication protocol when a command is written from the CP system 10 to the control registers of the DMA control units 2 and 4 and data is read from the status register. As shown, the register write operation includes a request REQ, a request response ACK,
This is performed by exchanging the write data DATA and the write response AW. On the other hand, in the read operation of the register, the read register is specified in the first half, and the corresponding read data (status data or the like) is transferred in the second half.

【0022】図4(B)はCP系10からSP系メモリ
(SRAM22/DRAM23)へのDMAデータ転送
手順を示している。インタフェースAは、そのコマンド
起動フェーズでは、前半でCP系10からのコマンドC
MDを受け取り、コマンドレジスタへの書込完了すると
後半で応答RPTを返送する。また続くDMAデータ転
送フェーズでは、IF部13より所要数の64ビットデ
ータを順次受け取り、これらを32ビットづつのデータ
に2分割して受信FIFOバッファ1に順次書き込む。
そして、最終データを受け取ると、完了通知RPTを返
送する。
FIG. 4B shows a DMA data transfer procedure from the CP system 10 to the SP system memory (SRAM 22 / DRAM 23). In the command start phase, the interface A executes the command C from the CP system 10 in the first half.
When the MD is received and the writing to the command register is completed, a response RPT is returned in the latter half. In the subsequent DMA data transfer phase, the required number of 64-bit data is sequentially received from the IF unit 13, divided into 32-bit data, and sequentially written into the reception FIFO buffer 1.
Then, upon receiving the final data, it returns a completion notification RPT.

【0023】図4(C)はSP系メモリ(SRAM22
/DRAM23)からCP系10へのDMAデータ転送
手順を示している。インタフェースAは、そのコマンド
起動フェーズでは、前半でCP系10にコマンドCMD
を送信し、後半でCP系10からのコマンド応答RPT
を受け取る。また続くDMAデータ転送フェーズでは、
送信FIFOバッファ3からデータを32ビットづつ順
次読み出し、これらを2個づつ64ビットの転送データ
に組立て、CP系10に転送する。そして、最終データ
を送信すると、CP系10より完了通知RPTが返送さ
れる。
FIG. 4C shows an SP type memory (SRAM 22).
/ DRAM 23) to the CP system 10 is shown. In the command start phase, the interface A sends a command CMD to the CP system 10 in the first half.
And a command response RPT from the CP system 10 in the latter half.
Receive. In the following DMA data transfer phase,
Data is sequentially read from the transmission FIFO buffer 3 in units of 32 bits, and these are assembled into 64-bit transfer data, two by two, and transferred to the CP system 10. Then, when the final data is transmitted, the completion notice RPT is returned from the CP system 10.

【0024】図5は実施の形態によるインタフェースB
の動作シーケンスを説明する図である。インタフェース
BはMPUバス26に直接接続しており、他の周辺IO
装置等(不図示)と同様にバス権を獲得してバス26を
一時的に占有する。従って、インタフェースBの仕様は
基本的にはMPU21のバス制御仕様に従う。図におい
て、このシステムの一例のメモリサイクルはMPU21
のマシンサイクルT1,T2から成り、ある時点のMP
U21がSRAM22(又はDRAM23)にデータ書
込Wを行っている。その後、インタフェースB(図の例
では送信DMA制御部4)よりバス権要求信号REQ
(図では信号HOLD)が出力され、MPU21がこれ
を受け付けるとバス権許可信号ACK(図では信号HO
LDA)が返され、インタフェースBはこの信号HOL
DAを保持して、その後の各T1,T2のタイミングに
SRAM22よりデータを連続して読み出す。受信DM
A制御部2についても同様である。但し、データの流れ
は逆となる。
FIG. 5 shows an interface B according to the embodiment.
FIG. 4 is a diagram for explaining the operation sequence of FIG. The interface B is directly connected to the MPU bus 26, and the other peripheral IOs
As in the case of a device or the like (not shown), the bus right is acquired and the bus 26 is temporarily occupied. Therefore, the specifications of the interface B basically follow the bus control specifications of the MPU 21. In the figure, the memory cycle of an example of this system is MPU 21
MP at a certain point in time
U21 performs data writing W to the SRAM 22 (or the DRAM 23). Thereafter, the bus right request signal REQ is transmitted from the interface B (the transmission DMA control unit 4 in the example in the figure).
(In the figure, the signal HOLD) is output, and when the MPU 21 receives the signal, the bus right permission signal ACK (the signal HO in the figure)
LDA) is returned and the interface B receives this signal HOL.
While holding DA, data is continuously read from the SRAM 22 at the subsequent timings of T1 and T2. Receive DM
The same applies to the A control unit 2. However, the flow of data is reversed.

【0025】図6は実施の形態によるSP系装置20か
らCP系装置10へのデータDMA転送のタイミングチ
ャートである。SP系20からCP系10へのデータ送
信が起動されると、インタフェースAより対向装置(I
F部13)に起動コマンドCMDが送信され、対向装置
から起動応答RPTが返される。またこの区間に、送信
DMA制御部4はインタフェースBを介してMPUバス
26のバス権を獲得し、DRAM23(又はSRAM2
2)からデータを順次読み出し、これらを送信FIFO
バッファ3に書き込む。一例の送信FIFOバッファ3
の記憶容量は8×32ビットあり、やがてバッファフル
信号FULL=1になるとバス権を解放してデータ書込
を一時的に休止する。
FIG. 6 is a timing chart of data DMA transfer from the SP device 20 to the CP device 10 according to the embodiment. When the data transmission from the SP system 20 to the CP system 10 is started, the opposite device (I
An activation command CMD is transmitted to the F unit 13), and an activation response RPT is returned from the partner device. In this section, the transmission DMA control unit 4 acquires the bus right of the MPU bus 26 via the interface B, and the DRAM 23 (or the SRAM 2).
2) Read the data sequentially and send them
Write to buffer 3. Example transmission FIFO buffer 3
Has a storage capacity of 8 × 32 bits, and when the buffer full signal FULL = 1, the bus right is released and data writing is temporarily suspended.

【0026】一方、インタフェースAは、送信FIFO
バッファ3内にデータが存在(EMP=0)する限りは
送信FIFOバッファ3からデータを順次読み出し、こ
れらを各64ビットの転送データに組立てて上記RE
Q,ACK,DT,AWのデータ転送シーケンスにより
IF部13にデータ転送する。因みに、この転送データ
はCP系10のIF部13(又はCPU11)により主
メモリ12に書き込まれる。
On the other hand, the interface A has a transmission FIFO
As long as the data exists in the buffer 3 (EMP = 0), the data is sequentially read from the transmission FIFO buffer 3, and these are assembled into 64-bit transfer data to assemble the RE.
Data is transferred to the IF unit 13 according to a data transfer sequence of Q, ACK, DT, and AW. Incidentally, the transfer data is written into the main memory 12 by the IF unit 13 (or the CPU 11) of the CP system 10.

【0027】送信DMA制御部4は、送信FIFOバッ
ファ3に空き(FULL=0)が生じると、再度MPU
バス26のバス権を獲得し、DRAM23(又はSRA
M22)のデータを送信FIFOバッファ3にDMA転
送する。従って、MPUバス26のバースト的な使用は
緩和され、使用頻度は平均化される。こうして、送信F
IFOバッファ3のデータ書込とデータ読出とを繰り返
し、やがてDMAデータ転送数が設定値に達すると、送
信DMA制御部4はDMAデータ転送を停止する。また
インタフェースAは最終データの送信時にその旨をIF
部13に知らせる。これにより、IF部13から完了応
答RPTが返送される。
When the transmission FIFO buffer 3 becomes empty (FULL = 0), the transmission DMA control unit 4
The bus right of the bus 26 is acquired, and the DRAM 23 (or the SRA
M22) is DMA-transferred to the transmission FIFO buffer 3. Therefore, burst use of the MPU bus 26 is reduced, and the use frequency is averaged. Thus, transmission F
The data writing and data reading of the I / O buffer 3 are repeated, and when the number of DMA data transfers reaches the set value, the transmission DMA controller 4 stops the DMA data transfer. Also, when transmitting the final data, the interface A
Notify part 13. As a result, the completion response RPT is returned from the IF unit 13.

【0028】図7は実施の形態によるCP系装置10か
らSP系装置20へのデータDMA転送のタイミングチ
ャートである。CP系10からSP系20へのデータ送
信が起動されると、インタフェースAに対向装置(IF
部13)からの起動コマンドCMDが受信され、対向装
置に起動応答RPTを返送する。次いでIF部13より
最初の64ビットデータが受信されると、該データはイ
ンタフェースAで32ビットデータに2分割され、受信
FIFOバッファ1に順次書き込まれる。
FIG. 7 is a timing chart of the data DMA transfer from the CP device 10 to the SP device 20 according to the embodiment. When data transmission from the CP system 10 to the SP system 20 is started, the interface A is connected to the interface A (IF).
The start command CMD from the unit 13) is received, and a start response RPT is returned to the opposing device. Next, when the first 64-bit data is received from the IF unit 13, the data is divided into two pieces of 32-bit data by the interface A and sequentially written into the reception FIFO buffer 1.

【0029】受信DMA制御部2は受信FIFOバッフ
ァ1のデータエンプティー信号EMP=0(データ有
り)を検出するとMPUバス26のバス権を獲得して受
信FIFOバッファ1の記憶データをSP系メモリ(S
RAM22/DRAM23)にDMA転送する。従っ
て、MPUバス26のバースト的な使用は緩和され、使
用頻度は平均化される。なお、図示の例ではIF部13
より2番目以降の64ビットデータが連続して受信され
るが、MPUバス26が他の周辺IO装置によりバース
ト的に占有されているために、受信FIFOバッファ1
からのデータ転送は間欠的になっている。
Upon detecting the data empty signal EMP = 0 (there is data) in the reception FIFO buffer 1, the reception DMA control unit 2 acquires the bus right of the MPU bus 26 and stores the data stored in the reception FIFO buffer 1 in the SP memory (S
DMA transfer to the RAM 22 / DRAM 23). Therefore, burst use of the MPU bus 26 is reduced, and the use frequency is averaged. In the illustrated example, the IF unit 13
The second and subsequent 64-bit data are continuously received, but since the MPU bus 26 is occupied in bursts by other peripheral IO devices, the reception FIFO buffer 1
Data transfer from is intermittent.

【0030】IF部13より引き続き64ビットデータ
が受信され、やがて受信FIFOバッファ1のバッファ
フル信号FULL=1になるとインタフェースAを介し
てその旨をIF部13に知らせ、これによりIF部13
はデータ送信を一時的に休止する。なお、図示の例では
バッファフル信号FULL=1は直ちに解除されてお
り、その後、IF部13は最終データを送信している。
When the 64-bit data is continuously received from the IF unit 13 and the buffer full signal FULL of the reception FIFO buffer 1 becomes "1", the fact is notified to the IF unit 13 via the interface A.
Suspends data transmission temporarily. In the illustrated example, the buffer full signal FULL = 1 is immediately released, and thereafter, the IF unit 13 transmits the final data.

【0031】受信DMA制御部2は受信FIFOバッフ
ァ1のバッファエンプティー信号EMP=0の間はSP
系メモリへのデータDMA転送を継続し、こうして設定
数のDMA転送を行うと、インタフェースAを介してI
F部13に受信完了結果報告RPTを返送する。なお、
上記実施の形態ではバッファ部25をSP系装置20内
に設けたが、これに代えて、同等のバッファ機能をCP
系装置10のインタフェース部13内に設けても良い。
The reception DMA controller 2 controls the SP while the buffer empty signal EMP of the reception FIFO buffer 1 is 0.
When the data DMA transfer to the system memory is continued, and the set number of DMA transfers are performed,
It returns the reception completion result report RPT to the F unit 13. In addition,
In the above embodiment, the buffer unit 25 is provided in the SP device 20.
It may be provided in the interface unit 13 of the system device 10.

【0032】また、上記実施の形態では片側のSP系装
置20内でDMA転送を行ったが、両側のCP系装置1
0及びSP系装置20内でDMA転送を行うように構成
しても良い。また、上記実施の形態では交換機システム
への適用例を述べたが、本発明はCPUとメモリとがバ
スで接続される複数のCPUシステム間でデータ転送を
行う他の様々な機能実現装置に適用できる。
Further, in the above-described embodiment, the DMA transfer is performed in the SP device 20 on one side.
Alternatively, the DMA transfer may be performed in the 0 and SP related devices 20. In the above embodiment, an example of application to an exchange system has been described. However, the present invention is applicable to various other function realizing devices that perform data transfer between a plurality of CPU systems in which a CPU and a memory are connected by a bus. it can.

【0033】また、上記本発明に好適なる実施の形態を
述べたが、本発明思想を逸脱しない範囲内で、各部の構
成、制御、及びこれらの組合せの様々な変更が行えるこ
とは言うまでも無い。
Although the preferred embodiments of the present invention have been described, it goes without saying that various changes in the configuration, control, and combinations thereof can be made without departing from the spirit of the present invention. There is no.

【0034】[0034]

【発明の効果】以上述べた如く本発明によれば、複数の
CPUシステム間のデータ転送経路に介在し、かつデー
タ転送を整合させるためのエラスチックメモリが1以上
のデータを蓄積した事により、そのデータ読出側システ
ムのバス権を獲得し、速やかにデータ転送するので、C
PUシステム内は元より、CPUシステム間で効率良い
データ転送が行える。
As described above, according to the present invention, an elastic memory for coordinating data transfer interposed in a data transfer path between a plurality of CPU systems stores one or more data. Since the bus right of the data reading side system is acquired and data is transferred promptly,
In the PU system, data can be efficiently transferred from the CPU system to the CPU system.

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

【図1】図1は本発明の原理を説明する図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】図2は実施の形態による交換機システムの一部
構成を示す図である。
FIG. 2 is a diagram showing a partial configuration of an exchange system according to the embodiment.

【図3】図3は実施の形態によるバッファ部の構成を示
す図である。
FIG. 3 is a diagram illustrating a configuration of a buffer unit according to the embodiment;

【図4】図4は実施の形態によるインタフェースAの動
作シーケンスを説明する図である。
FIG. 4 is a diagram illustrating an operation sequence of the interface A according to the embodiment.

【図5】図5は実施の形態によるインタフェースBの動
作シーケンスを説明する図である。
FIG. 5 is a diagram illustrating an operation sequence of the interface B according to the embodiment.

【図6】図6は実施の形態によるSP系装置20からC
P系装置10へのデータDMA転送のタイミングチャー
トである。
FIG. 6 is a block diagram showing SP-type devices 20 to C according to the embodiment;
5 is a timing chart of a data DMA transfer to the P-system device 10.

【図7】図7は実施の形態によるCP系装置10からS
P系装置20へのデータDMA転送のタイミングチャー
トである。
FIG. 7 is a block diagram showing a configuration of the CP device 10 according to the embodiment;
6 is a timing chart of a data DMA transfer to the P-system device 20.

【図8】図8は従来の交換機システムの一部構成を示す
図である。
FIG. 8 is a diagram showing a partial configuration of a conventional switching system.

【符号の説明】[Explanation of symbols]

1 受信FIFOバッファ 2 受信DMA制御部 3 送信FIFOバッファ 4 送信DMA制御部 5 ステータス制御部 6 インタフェースA 7 インタフェースB 8 割込部 10 CP系装置 11 主プロセッサ 12 主メモリ 13 インタフェース部 14 システムバス 20 SP系装置 21 マイクロプロセッサ 22 スタティックRAM 23 ダイナミックRAM 24 DRAM制御部 25 バッファ部 26 MPUバス REFERENCE SIGNS LIST 1 reception FIFO buffer 2 reception DMA control unit 3 transmission FIFO buffer 4 transmission DMA control unit 5 status control unit 6 interface A 7 interface B 8 interrupt unit 10 CP device 11 main processor 12 main memory 13 interface unit 14 system bus 20 SP Related devices 21 Microprocessor 22 Static RAM 23 Dynamic RAM 24 DRAM control unit 25 Buffer unit 26 MPU bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPUとメモリとがバスで接続される複
数のCPUシステム間でデータ転送を行うCPUシステ
ム間のデータ転送方式において、 前記複数のCPUシステム間のデータ転送経路に介在
し、かつデータ転送を整合させるためのエラスチックメ
モリと、 前記エラスチックメモリのデータ読出側とこれに対向す
るCPUシステムのバスとの間に介在し、かつ該CPU
システムへのバス権要求に対するバス権許可によりバス
権を獲得してエラスチックメモリの読出データをバスに
出力するインタフェース部とを備え、 前記インタフェース部はエラスチックメモリが該インタ
フェース部のデータ読出1単位以上のデータを蓄積した
事によりバス権要求を出力することを特徴とするCPU
システム間のデータ転送方式。
1. A data transfer method between CPU systems for performing data transfer between a plurality of CPU systems in which a CPU and a memory are connected by a bus, wherein the data transfer system is provided on a data transfer path between the plurality of CPU systems. An elastic memory for coordinating transfer, and a CPU interposed between a data reading side of the elastic memory and a bus of a CPU system facing the elastic memory;
An interface unit for acquiring a bus right by granting a bus right in response to a bus right request to the system, and outputting readout data of the elastic memory to the bus, wherein the interface unit is configured such that the elastic memory has at least one unit of data readout of the interface unit. CPU for outputting a bus right request by accumulating data.
Data transfer method between systems.
【請求項2】 各CPUシステムはデータ転送速度が異
なることを特徴とする請求項1のCPUシステム間のデ
ータ転送方式。
2. The data transfer method between CPU systems according to claim 1, wherein each CPU system has a different data transfer speed.
【請求項3】 エラスチックメモリのデータ読出側とこ
れに対向するCPUシステム内のメモリとの間でデータ
がDMA転送されることを特徴とする請求項1のCPU
システム間のデータ転送方式。
3. The CPU according to claim 1, wherein data is DMA-transferred between a data reading side of the elastic memory and a memory in the CPU system opposed thereto.
Data transfer method between systems.
JP25166996A 1996-09-24 1996-09-24 Data transfer system between cpu systems Withdrawn JPH1097494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25166996A JPH1097494A (en) 1996-09-24 1996-09-24 Data transfer system between cpu systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25166996A JPH1097494A (en) 1996-09-24 1996-09-24 Data transfer system between cpu systems

Publications (1)

Publication Number Publication Date
JPH1097494A true JPH1097494A (en) 1998-04-14

Family

ID=17226268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25166996A Withdrawn JPH1097494A (en) 1996-09-24 1996-09-24 Data transfer system between cpu systems

Country Status (1)

Country Link
JP (1) JPH1097494A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001109723A (en) * 1999-08-21 2001-04-20 Koninkl Philips Electronics Nv Multiprocessor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001109723A (en) * 1999-08-21 2001-04-20 Koninkl Philips Electronics Nv Multiprocessor system

Similar Documents

Publication Publication Date Title
US7802034B2 (en) Method for performing full transfer automation in a USB controller
US5584033A (en) Apparatus and method for burst data transfer employing a pause at fixed data intervals
KR100284718B1 (en) Timer manager
US20080162737A1 (en) USB Controller with Full Transfer Automation
EP0535793A2 (en) Method for managing data transfers in a computing system having a dual bus structure
JP2005504392A (en) Bus system and bus interface
JPH1097494A (en) Data transfer system between cpu systems
JP2005504393A (en) Bus system and bus interface
JPH02135562A (en) Queue buffer control system
JPH0628246A (en) Storage device
JP2624388B2 (en) DMA device
JPH03150654A (en) Preference control system for processor having cash
JPH03122745A (en) Dma control system
WO2008082530A1 (en) Method and apparatus for performing full transfer automation in a usb controller
JP2000276437A (en) Dma controller
JPH08123770A (en) Data communication control equipment
TW394887B (en) ATAPI interface control circuit and DVD player for this interfere control circuit
JP3266184B2 (en) I / O control method and device
JPS61250758A (en) Communication controller
JP3458037B2 (en) Split bus control method
KR960014177B1 (en) Data communication device for a parallel data processing system
JP2806405B2 (en) Microprocessor
JPH06149703A (en) Message transfer controller
JPH03122746A (en) Dma control system
JPH07334453A (en) Memory access system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20031202