JPH04329460A - Composite computer system - Google Patents

Composite computer system

Info

Publication number
JPH04329460A
JPH04329460A JP3128756A JP12875691A JPH04329460A JP H04329460 A JPH04329460 A JP H04329460A JP 3128756 A JP3128756 A JP 3128756A JP 12875691 A JP12875691 A JP 12875691A JP H04329460 A JPH04329460 A JP H04329460A
Authority
JP
Japan
Prior art keywords
data
cpu
address
serial
signal
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
JP3128756A
Other languages
Japanese (ja)
Inventor
Katsumi Onuki
大貫 克己
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 JP3128756A priority Critical patent/JPH04329460A/en
Publication of JPH04329460A publication Critical patent/JPH04329460A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To simplify a physical interface to be used and to apply flexibility by multiplexing address information and data information to a dual port memory(DPM) at the CPU of a communicating party concerning communication between CPUs. CONSTITUTION:This system is provided with a buffer 100 to write the address information and the data information from one CPU 10 for data transfer, and parallel/serial converters 110 and 111 to read the contents of a buffer 101 at prescribed timing and to output serial data composed of the address information and the data information. Then, CPU 10 and 20 are respectively provided with serial/parallel converters 120 and 121 to convert the serial data from the other CPU 20 to parallel data and to separate the data into the address information and the data information, and DPM 31 and 32 to store the data information based on the separated address information and to extract data from an area having the address designated by the CPU 10 and 20 in the state of permitting access.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、伝送装置その他の一つ
の装置内に設けられた複数個のCPU間のデータ通信手
段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data communication means between a plurality of CPUs provided in a transmission device or other device.

【0002】0002

【従来の技術】図3は、2つのCPU間のデータ通信を
示した一例である。図3で、10は第一のCPU、20
は第二のCPU、30はデュアルポートメモリ(以下、
DPMという。)、41は第一のCPU10のアドレス
バス、42は第一のCPU10のデータバス、43は第
一のCPU10のリード信号、44は第一のCPU10
のライト信号、51は第二のCPU20のアドレスバス
、52は第二のCPU20のデータバス、53は第二の
CPU20のリード信号、54は第二のCPU20のラ
イト信号、61はDPM30から第一のCPU10に入
力されるアクセス許可信号、62はDPM30から第二
のCPU20に入力されるアクセス許可信号である。
2. Description of the Related Art FIG. 3 is an example of data communication between two CPUs. In FIG. 3, 10 is the first CPU, 20
is the second CPU, 30 is the dual port memory (hereinafter referred to as
It's called DPM. ), 41 is the address bus of the first CPU 10, 42 is the data bus of the first CPU 10, 43 is the read signal of the first CPU 10, 44 is the first CPU 10
51 is the address bus of the second CPU 20, 52 is the data bus of the second CPU 20, 53 is the read signal of the second CPU 20, 54 is the write signal of the second CPU 20, 61 is the first signal from the DPM 30 An access permission signal 62 is input to the second CPU 10 from the DPM 30.

【0003】第一のCPU10がDPM30にデータを
書き込む場合に、第一のCPU10のアドレスバス41
にDPM30のアドレスを出力し、同時に第一のCPU
10のデータバス42にDPM30に書き込むデータを
出力し、第一のCPU10のライト信号44を出力する
。その結果として、DPM30に第一のCPU10が出
力したデータを書き込むことができる。第一のCPU1
0がDPM30からデータを読み込む場合に、第一のC
PU10のアドレスバス41にDPM30のアドレスを
出力し、同時に第一のCPU10のリード信号43を出
力する。その結果として、DPM30から第一のCPU
のデータバス42にDPM30のデータが出力され、第
一のCPU10はDPM30からデータを取り込むこと
ができる。
When the first CPU 10 writes data to the DPM 30, the address bus 41 of the first CPU 10
Outputs the address of DPM30 to the first CPU at the same time.
The data to be written to the DPM 30 is output to the data bus 42 of the first CPU 10, and the write signal 44 of the first CPU 10 is output. As a result, the data output by the first CPU 10 can be written into the DPM 30. First CPU1
0 reads data from DPM30, the first C
The address of the DPM 30 is output to the address bus 41 of the PU 10, and at the same time, the read signal 43 of the first CPU 10 is output. As a result, from DPM30 to the first CPU
The data of the DPM 30 is output to the data bus 42 of the first CPU 10, and the first CPU 10 can take in the data from the DPM 30.

【0004】また、第二のCPU20がDPM30にデ
ータを書き込む場合に、第二のCPU20のアドレスバ
ス51にDPM30のアドレスを出力し、同時に第二の
CPU20のデータバス52にDPM30に書き込むデ
ータを出力し、第二のCPU20のライト信号54を出
力する。その結果として、DPM30に第二のCPU2
0が出力したデータを書き込むことができる。第二のC
PU20がDPM30からデータを読み込む場合に、第
二のCPU20のアドレスバス51にDPM30のアド
レスを出力し、同時に第二のCPU20のリード信号5
3を出力する。その結果として、DPM30から第二の
CPU20のデータバス42にDPM30のデータが出
力され、第一のCPU10はDPM30からデータを取
り込むことができる。
Furthermore, when the second CPU 20 writes data to the DPM 30, it outputs the address of the DPM 30 to the address bus 51 of the second CPU 20, and at the same time outputs the data to be written to the DPM 30 to the data bus 52 of the second CPU 20. Then, the write signal 54 of the second CPU 20 is output. As a result, the second CPU2 is installed in the DPM30.
Data output by 0 can be written. second C
When the PU 20 reads data from the DPM 30, it outputs the address of the DPM 30 to the address bus 51 of the second CPU 20, and at the same time outputs the read signal 5 of the second CPU 20.
Outputs 3. As a result, the data of the DPM 30 is output from the DPM 30 to the data bus 42 of the second CPU 20, and the first CPU 10 can take in the data from the DPM 30.

【0005】このようなDPMを用いたCPU間通信の
場合に、第一のCPU10と第二のCPU20とのそれ
ぞれがDPM30に与える書き込みアドレスまたは読出
アドレスが同一のアドレスになったときにDPM30内
でアドレスの衝突が発生し、データの書き込みおよび読
出が正常にできない状態が発生する。この状態を回避す
るために一般のDPMはバス調停機能を備え、DPM3
0から第一のCPU10に入力されるアクセス許可信号
61、DPM30から第二のCPU20に入力されるア
クセス許可信号62として各CPUに与えられている。 CPU10およびCPU20はアクセス許可信号61お
よび62のそれぞれが許可状態のときにのみDPM30
へのアクセスが可能である。
[0005] In the case of inter-CPU communication using such a DPM, when the write address or read address given to the DPM 30 by the first CPU 10 and the second CPU 20 become the same address, the Address collision occurs, resulting in a situation where data cannot be written or read normally. To avoid this situation, general DPMs are equipped with a bus arbitration function, and DPM3
The access permission signal 61 is input from 0 to the first CPU 10, and the access permission signal 62 is input from the DPM 30 to the second CPU 20. The CPU 10 and the CPU 20 operate the DPM 30 only when the access permission signals 61 and 62 are in the permission state.
access is possible.

【0006】[0006]

【発明が解決しようとする課題】このように、従来例で
は複数のCPU間で通信を行う場合にアドレスラインと
データラインとが分離されるので、例えばアドレスライ
ンが16ビット、データラインが16ビット存在した場
合に、リード信号、ライト信号線も必要になるので、合
計して34本のインタフェース線が必要になる。したが
って、インタフェース線の本数が多くなりCPUが1つ
の基盤内に納められない場合すなわち図2のA−A′点
で基盤が分けられている場合に、CPU間でインタフェ
ース線が多くなってCPU間の接続が困難になる欠点が
ある。
[Problems to be Solved by the Invention] In this way, in the conventional example, when communicating between a plurality of CPUs, the address line and the data line are separated, so for example, the address line is 16 bits, and the data line is 16 bits. If such an interface exists, read signal and write signal lines are also required, so a total of 34 interface lines are required. Therefore, if the number of interface lines increases and the CPUs cannot be housed on one board, that is, if the boards are divided at point A-A' in Figure 2, the number of interface lines between the CPUs increases and the number of connections between the CPUs increases. The disadvantage is that it is difficult to connect.

【0007】本発明は、このような欠点を除去するもの
で、CPU間のインタフェース線の本数を減らし、かつ
転送データのビット幅を自由に選択することができる複
合コンピュータ装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and to provide a composite computer device that can reduce the number of interface lines between CPUs and freely select the bit width of transferred data. shall be.

【0008】[0008]

【課題を解決するための手段】本発明は、双方向にデー
タ転送を行う複数個のCPUを備えた複合コンピュータ
装置において、データ転送を行う一方のCPUからのア
ドレス情報とデータ情報とが書き込まれるバッファと、
このバッファの内容を所定タイミングで読み出してアド
レス情報とデータ情報との直列データを出力するパラレ
ルシリアル変換器と、データ転送を行う他方のCPUか
ら到来する直列データを上記所定タイミングで並列デー
タに変換してアドレス情報とデータ情報とに分離するシ
リアルパラレル変換器と、このシリアルパラレル変換器
で分離されたアドレス情報に基づきこのシリアルパラレ
ル変換器で分離されたデータ情報が格納され、アクセス
許可状態で上記一方のCPUが指定するアドレスをもつ
領域からデータが抽出されるDPMとを上記CPUのそ
れぞれに対応して備えたことを特徴とする。
[Means for Solving the Problems] The present invention provides a composite computer device having a plurality of CPUs that transfer data in both directions, in which address information and data information from one CPU that transfers data is written. buffer and
A parallel-serial converter reads the contents of this buffer at a predetermined timing and outputs serial data of address information and data information, and converts the serial data coming from the other CPU that transfers data into parallel data at the predetermined timing. A serial-to-parallel converter that separates address information and data information, and data information separated by this serial-to-parallel converter based on the address information separated by this serial-to-parallel converter is stored, and when access is permitted, one of the above is stored. The present invention is characterized in that a DPM for extracting data from an area having an address specified by the CPU is provided corresponding to each of the CPUs.

【0009】[0009]

【作用】一方のCPUからデータ情報とアドレス情報と
を多重化して他方のCPUにバスラインを介して送出し
、このデータを分離して他方のCPUに対応して設けら
れたDPMに書き込む。他方のCPUはアクセス許可を
条件としてこのDPMにアクセスすることができる。 このように、データ情報とアドレス情報とが多重化され
て転送されるので、バスラインの転送速度と転送データ
容量に従いバスラインのビット幅を選択することでバス
ラインの本数が自由に選択できる。
[Operation] Data information and address information are multiplexed from one CPU and sent to the other CPU via the bus line, and this data is separated and written to the DPM provided corresponding to the other CPU. The other CPU can access this DPM subject to access permission. In this way, data information and address information are multiplexed and transferred, so the number of bus lines can be freely selected by selecting the bit width of the bus line according to the transfer speed and transfer data capacity of the bus line.

【0010】0010

【実施例】図1は、本発明による装置内CPU間データ
通信方式を示した一例である。図1で、10はCPU、
20はCPU、31はCPU10のデュアルポートメモ
リ(以下、DPMという。)、32はCPU20のDP
M、41はCPU10のアドレスバス、42はCPU1
0のデータバス、43はCPU10のリード信号、44
はCPU10のライト信号、51はCPU20のアドレ
スバス、52はCPU20のデータバス、53はCPU
20のリード信号、54はCPU20のライト信号、6
3はDPM31からCPU10に入力されるアクセス許
可信号、64はDPM32からCPU20に入力される
アクセス許可信号である。100はCPU10から出力
されるアドレスとデータをライト信号44に従って蓄え
るバッファ、110はバッファ100の出力300をパ
ラレル信号からシリアル信号に変換してデータバス13
0に出力するパラレルシリアル変換器(以下、PS変換
器という。)、121はデータバス130の信号を受け
、シリアル信号からパラレル信号に変換してDPM32
に書き込みデータ321と書き込みアドレス311とを
与えるシリアルパラレル変換器(以下、SP変換器とい
う。)、101はCPU20から出力されるアドレスと
データとをライト信号54に従って蓄えるバッファ、1
11はバッファ101の出力301をパラレル信号から
シリアル信号に変換してデータバス131に出力するP
S変換器、120はデータバス131の信号を受け、シ
リアル信号からパラレル信号に変換してDPM31に書
き込みデータ320と書き込みアドレス310とを与え
るSP変換器、121はデータバス130の信号を受け
、シリアル信号からパラレル信号に変換してDPM32
に書き込みデータ321と書き込みアドレス311とを
与えるSP変換器、200はPS変換器110とSP変
換器121とにタイミングを与え、CPU10の動作ク
ロックに同期して動作するカウンタ、201はPS変換
器111とSP変換器120とにタイミングを与え、C
PU20の動作クロックに同期して動作するカウンタで
ある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of an intra-device inter-CPU data communication system according to the present invention. In Figure 1, 10 is a CPU,
20 is a CPU, 31 is a dual port memory (hereinafter referred to as DPM) of the CPU 10, and 32 is a DP of the CPU 20.
M, 41 is the address bus of CPU10, 42 is CPU1
0 data bus, 43 read signal of CPU 10, 44
is the write signal of the CPU 10, 51 is the address bus of the CPU 20, 52 is the data bus of the CPU 20, and 53 is the CPU
20 read signal, 54 write signal of CPU 20, 6
3 is an access permission signal input from the DPM 31 to the CPU 10, and 64 is an access permission signal input from the DPM 32 to the CPU 20. 100 is a buffer that stores the address and data output from the CPU 10 according to the write signal 44; 110 is a data bus 13 that converts the output 300 of the buffer 100 from a parallel signal to a serial signal;
A parallel-to-serial converter (hereinafter referred to as a PS converter) 121 that outputs to DPM 32
A serial-to-parallel converter (hereinafter referred to as an SP converter) provides write data 321 and a write address 311 to the CPU 20, a buffer 101 stores the address and data output from the CPU 20 according to the write signal 54;
P 11 converts the output 301 of the buffer 101 from a parallel signal to a serial signal and outputs it to the data bus 131.
An S converter 120 receives a signal from the data bus 131, converts it from a serial signal to a parallel signal, and provides write data 320 and a write address 310 to the DPM 31. An SP converter 121 receives a signal from the data bus 130 and converts it from a serial signal to a parallel signal. Convert signal to parallel signal and DPM32
200 is a counter that provides timing to the PS converter 110 and the SP converter 121 and operates in synchronization with the operating clock of the CPU 10; 201 is the PS converter 111; and SP converter 120, C
This is a counter that operates in synchronization with the operating clock of the PU 20.

【0011】すなわち、この実施例は、図1に示すよう
に、双方向にデータ転送を行う複数個のCPU10およ
び20を備え、さらに、本発明の特徴とする手段として
、データ転送を行う一方のCPU10(20)からのア
ドレス情報とデータ情報とが書き込まれるバッファ10
0(101)と、このバッファ100(101)の内容
を所定タイミングで読み出してアドレス情報とデータ情
報との直列データを出力するPS変換器110(111
)と、データ転送を行う他方のCPU20(10)から
到来する直列データを上記所定タイミングで並列データ
に変換してアドレス情報とデータ情報とに分離するSP
変換器120(121)と、SP変換器120(121
)で分離されたアドレス情報に基づきSP変換器120
(121)で分離されたデータ情報が格納され、アクセ
ス許可状態で上記一方のCPUが指定するアドレスをも
つ領域からデータが抽出されるDPM31(32)とを
CPU10(20)に対応して備える。
That is, as shown in FIG. 1, this embodiment includes a plurality of CPUs 10 and 20 that perform data transfer in both directions, and furthermore, as a feature of the present invention, A buffer 10 into which address information and data information from the CPU 10 (20) are written.
0 (101) and a PS converter 110 (111) that reads the contents of this buffer 100 (101) at a predetermined timing and outputs serial data of address information and data information.
) and an SP that converts serial data arriving from the other CPU 20 (10) that performs data transfer into parallel data at the predetermined timing and separates it into address information and data information.
Converter 120 (121) and SP converter 120 (121)
) SP converter 120 based on the address information separated by
A DPM 31 (32) is provided corresponding to the CPU 10 (20), in which the data information separated in step (121) is stored, and data is extracted from an area having an address designated by one of the CPUs in an access-permitted state.

【0012】次に、本回路を用いたCPU間通信の動作
を説明する。CPU10とCPU20は図中のA−A′
点で接続されていてCPU10からCPU20へのデー
タ転送は以下のようになる。バッファ100は、CPU
10の出力するアドレスバス41とデータバス42のデ
ータとをCPU10のライト信号44のタイミングで取
り込むCPU10からのアドレスおよびデータ書き込み
専用のバッファであり、バッファ100は、あらかじめ
定められたフォーマットに従い前記取り込まれたアドレ
スとデータとをバッファ100の出力300としてPS
変換器110に与える。PS変換器110は与えられた
信号をパラレル信号からシリアル信号に変換し、カウン
タ200から与えられているタイミングに従ってデータ
バス130に出力する。データバス130の信号はSP
変換器121に与えられ、SP変換器121は与えられ
たデータバス130の信号をカウンタ200のタイミン
グに従ってシリアルからパラレル信号に変換すると共に
、データ中のアドレスとデータとを分離してDPM32
に与え、DPM32には前記アドレスにデータが書き込
まれる。CPU20はリード信号53とアドレスバス5
1とを与えることでDPM32のデータを読出すことが
できる。また、DPM32に書き込まれるデータのアド
レス・タイミングとCPU20がDPM32のデータを
読み出すアドレス・タイミングとが衝突したときにデー
タが異常にならぬように、DPM32は内部にバス調停
機能を持ち、その結果を読出許可信号64としてCPU
20に与えている。CPU20は読出許可信号64が許
可状態のときにのみDPM32のデータを読み出すこと
ができる。
Next, the operation of inter-CPU communication using this circuit will be explained. CPU10 and CPU20 are A-A' in the diagram.
The data transfer from the CPU 10 to the CPU 20 is as follows. The buffer 100 is a CPU
The buffer 100 is a dedicated buffer for writing addresses and data from the CPU 10, which takes in data on the address bus 41 and data bus 42 output by the CPU 10 at the timing of the write signal 44 of the CPU 10. PS outputs the address and data as the output 300 of the buffer 100.
to converter 110. The PS converter 110 converts the applied signal from a parallel signal to a serial signal, and outputs it to the data bus 130 according to the timing applied from the counter 200. The data bus 130 signal is SP
The SP converter 121 converts the applied signal of the data bus 130 from a serial signal to a parallel signal according to the timing of the counter 200, and also separates the address and data in the data and sends the signal to the DPM 32.
, and data is written to the DPM 32 at the address. The CPU 20 receives a read signal 53 and an address bus 5.
1, the data of the DPM 32 can be read. In addition, the DPM32 has an internal bus arbitration function to prevent the data from becoming abnormal when the address timing of the data written to the DPM32 and the address timing at which the CPU 20 reads the data of the DPM32 collide. CPU as read permission signal 64
It is given to 20 people. The CPU 20 can read data from the DPM 32 only when the read permission signal 64 is in the permission state.

【0013】次に、CPU20からCPU10へのデー
タ転送について説明する。バッファ101は、CPU2
0の出力するアドレスバス51とデータバス52のデー
タとをCPU20のライト信号54のタイミングで取り
込むCPU20のアドレスおよびデータ書き込み専用の
バッファであり、バッファ101は、あらかじめ定めら
れたフォーマットに従って前記取り込まれたアドレスと
データとをバッファ101の出力301としてPS変換
器111に与える。PS変換器111は与えられた信号
をパラレル信号からシリアル信号に変換し、カウンタ2
01から与えられているタイミングに従ってデータバス
131に出力する。データバス131の信号はSP変換
器120に与えられ、SP変換器120は与えられたデ
ータバス131の信号をカウンタ200のタイミングに
従ってシリアル信号からパラレル信号に変更すると共に
、データ中のアドレスとデータとを分離してDPM31
に与え、DPM31には前記アドレスにデータが書き込
まれる。CPU10はDPM31のデータをリード信号
43とアドレスバス41とを与えることで読み出すこと
ができる。また、DPM31に書き込まれるデータのア
ドレス・タイミングとCPU10がDPM31のデータ
を読み出すアドレス・タイミングとが衝突したときにデ
ータが異常にならぬように、DPM31は内部にバス調
停機能を持ち、その結果を読出許可信号63としてCP
U10に与えている。CPU10は読出許可信号63が
許可状態のときにのみDPM31のデータを読み出すこ
とができる。
Next, data transfer from the CPU 20 to the CPU 10 will be explained. The buffer 101 is
The buffer 101 is a dedicated buffer for writing addresses and data of the CPU 20, which takes in the data of the address bus 51 and data bus 52 output by the CPU 20 at the timing of the write signal 54 of the CPU 20. The address and data are provided to the PS converter 111 as the output 301 of the buffer 101. The PS converter 111 converts the applied signal from a parallel signal to a serial signal, and converts the applied signal into a serial signal.
It outputs to the data bus 131 according to the timing given from 01. The signal on the data bus 131 is given to the SP converter 120, and the SP converter 120 changes the given signal on the data bus 131 from a serial signal to a parallel signal according to the timing of the counter 200, and also converts the address and data in the data. Separate and DPM31
The data is written to the address in the DPM 31. The CPU 10 can read data from the DPM 31 by applying a read signal 43 and an address bus 41. In addition, the DPM31 has an internal bus arbitration function to prevent the data from becoming abnormal when the address timing of the data written to the DPM31 and the address timing at which the CPU 10 reads the data of the DPM31 collide. CP as read permission signal 63
It is given to U10. The CPU 10 can read data from the DPM 31 only when the read permission signal 63 is in the permission state.

【0014】ここで、バッファ100とバッファ101
との役割に関して述べる。バッファ100は、CPU1
0からCPU20に送るCPU10から出力されたアド
レスとデータとを蓄えるバッファであり、アドレスとデ
ータとのフォーマットをデータバス130に合ったもの
に変換し、PS変換器110でPS変換される信号の遅
延時間を補償する。また、データバス130の信号のビ
ットレートとCPU10がバッファ100に書き込むデ
ータの転送速度より十分遅い場合でもデータの取りこぼ
しが出ないように設けられている。バッファ101も、
バッファ100と同様に、CPU20からCPU10に
送るCPU20から出力されたアドレスとデータとを蓄
えるバッファであり、アドレスとデータとのフォーマッ
トをデータバス131に合ったものに変換し、PS変換
器111でパラレルシリアル変換される信号の遅延時間
を補償する。また、データバス131の信号のビットレ
ートとCPU20がバッファ101に書き込むデータの
転送速度より十分遅い場合でもデータの取りこぼしが出
ないように設けられている。
Here, buffer 100 and buffer 101
I will explain about the role of Buffer 100 is CPU1
This is a buffer that stores addresses and data output from the CPU 10 that are sent from 0 to the CPU 20, converts the format of the address and data into one that matches the data bus 130, and delays the signal that is converted to PS by the PS converter 110. Compensate for time. Further, even if the bit rate of the signal on the data bus 130 is sufficiently slower than the transfer rate of the data written by the CPU 10 to the buffer 100, it is provided so that data will not be missed. Buffer 101 also
Similar to the buffer 100, it is a buffer that stores addresses and data output from the CPU 20 to be sent from the CPU 20 to the CPU 10, converts the format of the address and data into one that matches the data bus 131, and converts the address and data into a parallel format using the PS converter 111. Compensate for the delay time of the signal to be serially converted. Further, even if the bit rate of the signal on the data bus 131 is sufficiently slower than the transfer rate of data written to the buffer 101 by the CPU 20, data is provided so as not to be missed.

【0015】次に、バッファ100でのフォーマット変
換、PS変換器110のPS変換方法およびデータバス
130のデータフォーマットに関して述べる。図2は、
バッファ100でのフォーマット変換、PS変換器11
0のPS変換方法およびデータバス130のデータフォ
ーマットに関する一例を示す。CPU10からシリアル
されるアドレスが16ビット幅、データが16ビット幅
と仮定した場合に、バッファ100の入力はアドレス4
1とデータ42との並列入力になり、リード信号44で
バッファ100内に取り込まれる。バッファ100の出
力300では16ビットのアドレスとデータとが直列に
出力されるようなフォーマットになる。このバッファ1
00の出力300はPS変換器110に取り込まれる。 PS変換器110は、その内部でカウンタ200の出力
210に同期したタイミングでアドレスとデータとをそ
れぞれ8ビットに分割して8ビットの並列信号140に
し、この信号がデータバス130を経由してSP変換器
121に与えられる。SP変換器121は与えられた8
ビットの並列信号140を並列展開して元のアドレス3
21とデータ322とにフォーマット変換を行い、DP
M32に書き込む。一方、CPU20からCPU10へ
の通信も上述したフォーマットと同一のものである。
Next, the format conversion in buffer 100, the PS conversion method of PS converter 110, and the data format of data bus 130 will be described. Figure 2 shows
Format conversion in buffer 100, PS converter 11
An example of the PS conversion method of 0 and the data format of the data bus 130 will be shown. Assuming that the address serialized from the CPU 10 is 16 bits wide and the data is 16 bits wide, the input to the buffer 100 is address 4.
1 and data 42 are input in parallel, and are taken into the buffer 100 by a read signal 44. The output 300 of the buffer 100 has a format in which 16-bit addresses and data are output in series. This buffer 1
The output 300 of 00 is taken into the PS converter 110. The PS converter 110 internally divides the address and data into 8 bits each at a timing synchronized with the output 210 of the counter 200 to create an 8-bit parallel signal 140, and this signal is sent to the SP via the data bus 130. is applied to converter 121. SP converter 121 is given 8
The parallel bit signal 140 is expanded in parallel to the original address 3.
21 and data 322, and converts the format into DP
Write to M32. On the other hand, communication from the CPU 20 to the CPU 10 is also in the same format as described above.

【0016】ここで、上述の例ではデータバス130と
データバス131とを8ビット並列としたが、CPUの
アドレスバス幅、データバス幅またはデータバスの伝送
クロック周波数によって何ビットで構成しても良い。こ
のときに、PS変換器110、SP変換器121、PS
変換器111およびSP変換器120の内部フォーマッ
ト変換回路は直並列変換のビット数に合わせて変更する
必要がある。また、カウンタ200およびカウンタ20
1の出力周波数も直並列変換のビット幅に合わせて変更
して対応できる。
In the above example, the data bus 130 and the data bus 131 are 8-bit parallel, but they can be configured with any number of bits depending on the address bus width of the CPU, the data bus width, or the transmission clock frequency of the data bus. good. At this time, the PS converter 110, the SP converter 121, the
The internal format conversion circuits of the converter 111 and the SP converter 120 must be changed in accordance with the number of bits for serial/parallel conversion. In addition, the counter 200 and the counter 20
The output frequency of 1 can also be changed to match the bit width of serial-to-parallel conversion.

【0017】[0017]

【発明の効果】本発明は、以上説明したように、一方の
CPUから出力されるパラレルのアドレスとデータとを
直並列展開し、あらかじめ定められた並列ビットのデー
タ信号としてアドレスとデータとにもう一方のCPUに
転送するので、従来のCPU間通信よりも少ないバスラ
インの本数で装置内の離れた場所に配置されたCPUと
の間の通信が簡単に可能になり、しかも、CPU間の転
送データのビット幅を自由に選ぶことができる効果があ
る。
Effects of the Invention As explained above, the present invention expands parallel addresses and data outputted from one CPU in series and parallel, and converts the addresses and data into data signals of predetermined parallel bits. Since the data is transferred to one CPU, it is possible to easily communicate with CPUs located at distant locations within the device using fewer bus lines than in conventional inter-CPU communication. This has the effect of allowing the bit width of data to be freely selected.

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

【図1】本発明実施例の構成を示すブロック構成図。FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例の動作を示す説明図。FIG. 2 is an explanatory diagram showing the operation of the embodiment of the present invention.

【図3】従来例の構成を示すブロック構成図。FIG. 3 is a block configuration diagram showing the configuration of a conventional example.

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

10、20  CPU 30、31、32  デュアルポートメモリ(DPM)
41、51  アドレスバス 42、52、130、131  データバス100、1
01  バッファ
10, 20 CPU 30, 31, 32 Dual port memory (DPM)
41, 51 Address bus 42, 52, 130, 131 Data bus 100, 1
01 Buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  双方向にデータ転送を行う複数個のC
PUを備えた複合コンピュータ装置において、データ転
送を行う一方のCPUからのアドレス情報とデータ情報
とが書き込まれるバッファと、このバッファの内容を所
定タイミングで読み出してアドレス情報とデータ情報と
の直列データを出力するパラレルシリアル変換器と、デ
ータ転送を行う他方のCPUから到来する直列データを
上記所定タイミングで並列データに変換してアドレス情
報とデータ情報とに分離するシリアルパラレル変換器と
、このシリアルパラレル変換器で分離されたアドレス情
報に基づきこのシリアルパラレル変換器で分離されたデ
ータ情報が格納され、アクセス許可状態で上記一方のC
PUが指定するアドレスをもつ領域からデータが抽出さ
れるデュアルポートメモリとを上記CPUのそれぞれに
対応して備えたことを特徴とする複合コンピュータ装置
[Claim 1] A plurality of Cs that transfer data in both directions.
In a compound computer device equipped with a PU, there is a buffer into which address information and data information from one CPU that performs data transfer is written, and the contents of this buffer are read out at a predetermined timing to generate serial data of address information and data information. A parallel-to-serial converter for outputting data, a serial-to-parallel converter for converting serial data coming from the other CPU that performs data transfer into parallel data at the above-mentioned predetermined timing and separating it into address information and data information, and this serial-to-parallel converter. The data information separated by this serial/parallel converter is stored based on the address information separated by the
A composite computer device comprising dual port memories corresponding to each of the CPUs, from which data is extracted from an area having an address designated by the CPU.
JP3128756A 1991-04-30 1991-04-30 Composite computer system Pending JPH04329460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3128756A JPH04329460A (en) 1991-04-30 1991-04-30 Composite computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3128756A JPH04329460A (en) 1991-04-30 1991-04-30 Composite computer system

Publications (1)

Publication Number Publication Date
JPH04329460A true JPH04329460A (en) 1992-11-18

Family

ID=14992692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3128756A Pending JPH04329460A (en) 1991-04-30 1991-04-30 Composite computer system

Country Status (1)

Country Link
JP (1) JPH04329460A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6174052A (en) * 1984-09-19 1986-04-16 Toshiba Corp Data processing device
JPS63143655A (en) * 1986-12-05 1988-06-15 Mitsubishi Electric Corp Misrecognition preventing device for divided transfer data
JPS6478360A (en) * 1988-08-04 1989-03-23 Nec Corp Information processor
JPH02211571A (en) * 1989-02-10 1990-08-22 Nec Corp Information processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6174052A (en) * 1984-09-19 1986-04-16 Toshiba Corp Data processing device
JPS63143655A (en) * 1986-12-05 1988-06-15 Mitsubishi Electric Corp Misrecognition preventing device for divided transfer data
JPS6478360A (en) * 1988-08-04 1989-03-23 Nec Corp Information processor
JPH02211571A (en) * 1989-02-10 1990-08-22 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
US5297231A (en) Digital signal processor interface for computer system
US5592629A (en) Apparatus and method for matching data rates to transfer data between two asynchronous devices
US6684275B1 (en) Serial-to-parallel/parallel-to-serial conversion engine
JPS63303454A (en) Bus extension control system
JP2991023B2 (en) Data transmission device, data transmission / reception device and system
JPH04329460A (en) Composite computer system
US4644469A (en) Addressing system for electronic computer
JPS6052458B2 (en) Duplicated computer control system
US5737544A (en) Link system controller interface linking a PCI bus to multiple other buses
US5579483A (en) Communication controller for controlling multi-channel multiplex communication and having channel selection functions and memory for storing communication control data for each channel
JP2770375B2 (en) Transmission delay phase compensation circuit
JP3245032B2 (en) Image overlay apparatus and method
WO1982001607A1 (en) Data communication bus structure
JP2540643B2 (en) Asynchronous data access method of RAM
JP2002094576A (en) Serial communication controller
JPH0573510A (en) Reading and writing system for register film
JPH08161258A (en) Data processor
JP3200821B2 (en) Semiconductor integrated circuit system
JPH09325899A (en) Information processor
JPH04236650A (en) Data transfer system
JPS6353588A (en) Display device
JPH0528094A (en) Dma data transfer device
JPH05227173A (en) Multiple processing system
JPH03158041A (en) Data multiplex transfer system
JPH02122341A (en) Ram control circuit