JPH0348961A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH0348961A
JPH0348961A JP18540889A JP18540889A JPH0348961A JP H0348961 A JPH0348961 A JP H0348961A JP 18540889 A JP18540889 A JP 18540889A JP 18540889 A JP18540889 A JP 18540889A JP H0348961 A JPH0348961 A JP H0348961A
Authority
JP
Japan
Prior art keywords
address
data
memory
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.)
Pending
Application number
JP18540889A
Other languages
Japanese (ja)
Inventor
Masamichi Mizoguchi
溝口 雅道
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 JP18540889A priority Critical patent/JPH0348961A/en
Publication of JPH0348961A publication Critical patent/JPH0348961A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the data transfer time by securing a constitution where a data transfer unit outputs the prescribed lower rank bit information on the address of a memory and outputs the higher rank bit information via a transmission/reception address designation queue to designate each address. CONSTITUTION:When a data transfer unit 3 receives the data from other devices via a communication bus 11, this fact is informed to a CPU 1 via a control bus 10c. The unit 3 receives the access right and controls a selector 6. Then the unit 3 selects the output of a reception address designation queue 4 and outputs the prescribed higher rank bit value of the designated address of a memory 2 to an address bus 10b. The prescribed lower rank bit value is outputted to the bus 10b from the unit 3 and increased one by one from 0 in accordance with the number of bytes of the transferred data. Thus the reception data received from the bus 11 is transferred to an area of the memory 2 designated by the unit 1 from the unit 3. An approximately same action as a reception mode is available also in a transmission mode. As a result, the data processing load of the unit 1 can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプロセッサ装置におけるデータ転送方式に間す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer system in a processor device.

〔従来の技術〕[Conventional technology]

従来のプロセッサ装置のデータ転送方式としては、メモ
リ上に小容量の固定アドレスの送受信専用エリアを設け
ておき、中央処理ユニットが自己の作業エリアとこの送
受信専用エリア間とでデー夕の転送処理を行い、データ
転送ユニットがこの送受信専用エリアと他装置間とでデ
ータの転送処理を行う方式があった。
The conventional data transfer method for processor devices is to set up a small-capacity, fixed-address dedicated area for sending and receiving in memory, and the central processing unit transfers data between its own work area and this area for sending and receiving. There is a method in which a data transfer unit performs data transfer processing between this sending/receiving area and other devices.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ転送方式は、小容量の固定送受信
専用エリアを媒介させるため、中央処理ユニットのデー
タ処理の負荷が増えるとともに、他装置とのデータの送
受信に時間がかかるという欠点がある。
The above-described conventional data transfer method uses a small fixed transmission/reception area as an intermediary, which increases the data processing load on the central processing unit and has the disadvantage that it takes time to send and receive data to and from other devices.

本発明の目的は、プロセッサ装置の中央処理ユニットの
データ処理の負荷を軽減し、他装置とのデータの送受信
時間を低減するデータ転送方式を提供することである。
An object of the present invention is to provide a data transfer method that reduces the data processing load on the central processing unit of a processor device and reduces the time required for transmitting and receiving data with other devices.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータ転送方式は、データ処理を行う中央処理
ユニットと、データを格納するメモリと、通信バスを介
して他装置と接続されたデータ転送ユニットとを有し、
前記中央処理ユニットの制御により、前記データ転送ユ
ニットが前記メモリと他装置間とでデータの送受信を行
うプロセッサ装置のデータ転送方式において、前記メモ
リのアドレスの所定上位ビット情報を格納する送信アド
レス指定キューおよび受信アドレス指定キューを有し、
前記中央処理ユニットが、他装置への送信に際しては、
前記メモリ内の使用を指定するデータ送信エリアのアド
レスの所定上位ビット情報を前記送信アドレス指定キュ
ーに使用する順番に設定しておき、他装置からの受信に
際しては、前記メモリ内の使用を指定するデータ受信エ
リアのアドレスの所定上位ビット情報を前記受信アドレ
ス指定キューに使用する順番に設定しておき、前記メモ
リと他装置間とでデータの送信または受信を行うとき、
前記データ転送ユニットが、前記メモリのアドレスの所
定下位ビット情報を出力し、アドレスの所定上位ビット
情報をそれぞれ送信アドレス指定キューまたは受信アド
レス指定キューより出力させて、前記データ送信エリア
または受信エリアそれぞれのアドレスを指定することを
特徴とする。
The data transfer method of the present invention includes a central processing unit that performs data processing, a memory that stores data, and a data transfer unit that is connected to other devices via a communication bus,
In a data transfer method for a processor device in which the data transfer unit transmits and receives data between the memory and another device under the control of the central processing unit, a transmission address designation queue stores predetermined upper bit information of the address of the memory. and a receive addressing queue,
When the central processing unit transmits to another device,
Predetermined upper bit information of the address of the data transmission area specifying the use in the memory is set in the order of use in the transmission address specification queue, and when receiving from another device, the use in the memory is specified. Predetermined upper bit information of the address of the data reception area is set in the order of use in the reception address designation queue, and when transmitting or receiving data between the memory and another device,
The data transfer unit outputs predetermined lower bit information of the address of the memory, outputs predetermined upper bit information of the address from a transmission address designation queue or a reception address designation queue, respectively, and transfers information to each of the data transmission area or reception area. It is characterized by specifying an address.

〔実施例〕〔Example〕

次に図面を参照して本発明の詳細な説明する。 Next, the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のプロセッサ装置のブロック
図である0本実施例のプロセッサ装置は、データの処理
を行う中央処理ユニット1と、データを格納するメモリ
2と、通信バス11を介して他装置とメモリ2間とのデ
ータ転送を行うデータ転送ユニット3と、メモリ2上の
受信データ格納アドレスの所定上位ビットを指定する受
信アドレス指定キュー4と、メモリ2上の送信データ格
納アドレスの所定上位ビットを指定する送信アドレス指
定キュー5と、受信アドレス指定キュー4の出力と送信
アドレス指定キュー5の出力とを選択し出力するセレク
タ6と、上記各部を接続するプロセッサバス10(デー
タバス10aとアドレスバス10bと制御バス10cと
からなる)とが設けられている。
FIG. 1 is a block diagram of a processor device according to an embodiment of the present invention. The processor device according to the present embodiment includes a central processing unit 1 for processing data, a memory 2 for storing data, and a communication bus 11. a data transfer unit 3 that transfers data between another device and the memory 2 via the memory 2; a reception address designation queue 4 that specifies a predetermined upper bit of the reception data storage address on the memory 2; and a transmission data storage address on the memory 2. A transmit address designation queue 5 that specifies a predetermined upper bit of the transmit address designation queue 5, a selector 6 that selects and outputs the output of the receive address designation queue 4 and the output of the transmission address designation queue 5, and a processor bus 10 (data bus) that connects each of the above parts. 10a, an address bus 10b, and a control bus 10c).

次に他装置からのデータを受信する場合の動作について
説明する。
Next, the operation when receiving data from another device will be explained.

中央処理ユニット1は、あらかじめ、受信に使用するメ
モリ2上の複数の任意のエリアを指定し、その指定アド
レスの所定上位ビット値を使用する順番に、データバス
10aと制御バス10cとを介して、受信アドレス指定
キュー4に設定しておく、この所定上位ビット値とは、
データ転送−回に転送されるデータの最大バイト数に対
応したアドレス値のうち、固定した値を示す上位ビット
値である。
The central processing unit 1 specifies in advance a plurality of arbitrary areas on the memory 2 to be used for reception, and sends them via the data bus 10a and the control bus 10c in the order in which predetermined upper bit values of the specified addresses are used. , this predetermined upper bit value set in the reception address specification queue 4 is:
This is an upper bit value indicating a fixed value among address values corresponding to the maximum number of bytes of data transferred per data transfer.

データ転送ユニット3が通信バス11を介して他装置か
らのデータを受信すると、その旨を制御バス10cを経
由して中央処理ユニット1へ通知する。中央処理ユニッ
ト1は、この通知を受けるとプロセッサバス10のアク
セス権をすべてあけ渡し、その旨をデータ転送ユニット
3に通知する。
When the data transfer unit 3 receives data from another device via the communication bus 11, it notifies the central processing unit 1 via the control bus 10c. When the central processing unit 1 receives this notification, it hands over all access rights to the processor bus 10 and notifies the data transfer unit 3 to that effect.

プロセッサバス10のアクセス権を受けたデータ転送ユ
ニット3は、セレクタ6を制御して受信アドレス指定キ
ュー4の出力を選択し、メモリ2の指定アドレスの所定
上位ビット値をアドレスバス10bへ出力させる。メモ
リ2の指定アドレスの所定下位ビット値は、データ転送
ユニット3からアドレスバス10bに出力され、転送さ
れたデータのバイト数に従って、0°から“1゛ずつ増
えていく、これにより、通信バス11からの受信データ
は、データ転送ユニット3から中央処理ユニット1によ
り指定されたメモリ2のエリアへ転送される。データ転
送ユニット3は、転送を終了すると転送終了の旨を制御
バス10cを経由して中央処理ユニット1に通知し、ア
ドレスの下位ビット値を0°に戻す。
The data transfer unit 3, which has received the access right to the processor bus 10, controls the selector 6 to select the output of the reception address designation queue 4, and outputs a predetermined upper bit value of the designated address of the memory 2 to the address bus 10b. The predetermined lower bit value of the designated address of the memory 2 is output from the data transfer unit 3 to the address bus 10b, and increases by 1 from 0° according to the number of bytes of transferred data. The received data is transferred from the data transfer unit 3 to the area of the memory 2 specified by the central processing unit 1.When the data transfer unit 3 finishes the transfer, it sends a message indicating the completion of the transfer via the control bus 10c. Notify the central processing unit 1 and return the lower bit value of the address to 0°.

通知を受けた中央処理ユニット1は、プロセッサバス1
0を復旧し、受信アドレス指定キュー4を一回シフトさ
せて次の指定アドレスが受信アドレス指定キュー4から
出力されるようにしておく。
The central processing unit 1 that received the notification uses the processor bus 1
0 is restored and the reception address designation queue 4 is shifted once so that the next designated address is output from the reception address designation queue 4.

次に、他装置へデータを送信する場合の動作について説
明する。送信の場合の動作も、受信の場合の動作とほぼ
同様である。
Next, the operation when transmitting data to another device will be explained. The operation in the case of transmission is almost the same as the operation in the case of reception.

中央処理ユニット1は、あらかじめ、送信に使用するメ
モリ2上の複数の任意のエリアを指定し、その指定アド
レスの所定上位ビット値を使用する順番に、データバス
10aと制御バス10cとを介して、送信アドレス指定
キュー5に設定しておく。
The central processing unit 1 specifies in advance a plurality of arbitrary areas on the memory 2 to be used for transmission, and sends them via the data bus 10a and the control bus 10c in the order in which predetermined upper bit values of the specified addresses are used. , is set in the transmission address specification queue 5.

中央処理ユニットlはプロセッサバスlOのアクセス権
をすべてあけ渡し、メモリ2のデータを他装置に送信す
るようにデータ転送ユニット3に通知する。
The central processing unit 1 gives up all access rights to the processor bus 10 and notifies the data transfer unit 3 to transmit the data in the memory 2 to another device.

データ転送ユニット3は制御バス10cによりセレクタ
6を制御して送信アドレス指定キュー5の出力を選択し
、メモリ2の指定アドレスの所定上位ビット値をアドレ
スバス10bへ出力させる。メモリ2の指定アドレスの
所定下位ビット値は、データ転送ユニット3からアドレ
スバス10bに出力され、転送されたデータのバイト数
に従って、“0′から1′ずつ増えていく、これにより
、中央処理ユニット1により指定されたメモリ2のエリ
アの送信データは、データ転送ユニット3から通信バス
11を介して他装置へ転送される。データ転送ユニット
3は、転送を終了すると転送終了の旨を制御バス10c
を経由して中央処理ユニット1に通知し、アドレスの下
位ビット値を°O′に戻す。
The data transfer unit 3 controls the selector 6 via the control bus 10c to select the output of the transmission address designation queue 5, and outputs a predetermined upper bit value of the designated address of the memory 2 to the address bus 10b. The predetermined lower bit value of the designated address of the memory 2 is output from the data transfer unit 3 to the address bus 10b, and increases by 1' from 0' according to the number of bytes of transferred data. The data to be transmitted in the area of the memory 2 specified by 1 is transferred from the data transfer unit 3 to another device via the communication bus 11.When the data transfer unit 3 finishes the transfer, it sends a message to the control bus 10c indicating the completion of the transfer.
The address is notified to the central processing unit 1 via , and the lower bit value of the address is returned to °O'.

通知を受けた中央処理ユニット1は、プロセッサバス1
0を復旧し、送信アドレス指定キュー5を一回シフトさ
せて次の指定アドレスが送信アドレス指定キュー5から
出力されるようにしておく。
The central processing unit 1 that received the notification uses the processor bus 1
0 is restored and the transmission address designation queue 5 is shifted once so that the next designated address is output from the transmission address designation queue 5.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のデータ転送方式によれば
、プロセッサ装置において、データ転送ユニットからメ
モリの全アドレス空間の任意のエリアをアクセスでき、
中央処理ユニットの作業エリアから直接他装置と送受信
できるので、中央処理ユニットのデータ処理の負荷を減
らして、他装置とのデータの転送時間を短くすることが
できる効果がある。
As explained above, according to the data transfer method of the present invention, in a processor device, any area in the entire address space of the memory can be accessed from the data transfer unit,
Since data can be transmitted and received directly from the work area of the central processing unit to other devices, it is possible to reduce the data processing load on the central processing unit and shorten the time required to transfer data to and from other devices.

1・・・中央処理ユニット、2・・・メモリ、3・・・
データ転送ユニット、4・・・受信アドレス指定キュー
5・・・送信アドレス指定キュー 6・・・セレクタ、
10・・・プロセッサバス、データバス10a・・・デ
ータバス、10b・・・アドレスバス、10c・・・制
御バス、11・・・通信バス。
1...Central processing unit, 2...Memory, 3...
Data transfer unit, 4... Reception address specification queue 5... Transmission address specification queue 6... Selector,
10... Processor bus, data bus 10a... Data bus, 10b... Address bus, 10c... Control bus, 11... Communication bus.

Claims (1)

【特許請求の範囲】[Claims] データ処理を行う中央処理ユニットと、データを格納す
るメモリと、通信バスを介して他装置と接続されたデー
タ転送ユニットとを有し、前記中央処理ユニットの制御
により、前記データ転送ユニットが前記メモリと他装置
間とでデータの送受信を行うプロセッサ装置のデータ転
送方式において、前記メモリのアドレスの所定上位ビッ
ト情報を格納する送信アドレス指定キューおよび受信ア
ドレス指定キューを有し、前記中央処理ユニットが、他
装置への送信に際しては、前記メモリ内の使用を指定す
るデータ送信エリアのアドレスの所定上位ビット情報を
前記送信アドレス指定キューに使用する順番に設定して
おき、他装置からの受信に際しては、前記メモリ内の使
用を指定するデータ受信エリアのアドレスの所定上位ビ
ット情報を前記受信アドレス指定キューに使用する順番
に設定しておき、前記メモリと他装置間とでデータの送
信または受信を行うとき、前記データ転送ユニットが、
前記メモリのアドレスの所定下位ビット情報を出力し、
アドレスの所定上位ビット情報をそれぞれ送信アドレス
指定キューまたは受信アドレス指定キューより出力させ
て、前記データ送信エリアまたは受信エリアそれぞれの
アドレスを指定することを特徴とするデータ転送方式。
It has a central processing unit that performs data processing, a memory that stores data, and a data transfer unit that is connected to other devices via a communication bus, and under the control of the central processing unit, the data transfer unit In a data transfer method for a processor device that transmits and receives data between a device and another device, the central processing unit has a transmission address designation queue and a reception address designation queue that store predetermined upper bit information of the address of the memory, and the central processing unit: When transmitting to another device, predetermined upper bit information of the address of the data transmission area designated for use in the memory is set in the order of use in the transmission address designation queue, and when receiving from the other device, When transmitting or receiving data between the memory and another device, predetermined upper bit information of the address of the data reception area designated for use in the memory is set in the order of use in the reception address designation queue. , the data transfer unit is
outputting predetermined lower bit information of the memory address;
A data transfer method characterized in that the address of each of the data transmission area or the reception area is specified by outputting predetermined upper bit information of an address from a transmission address designation queue or a reception address designation queue, respectively.
JP18540889A 1989-07-17 1989-07-17 Data transfer system Pending JPH0348961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18540889A JPH0348961A (en) 1989-07-17 1989-07-17 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18540889A JPH0348961A (en) 1989-07-17 1989-07-17 Data transfer system

Publications (1)

Publication Number Publication Date
JPH0348961A true JPH0348961A (en) 1991-03-01

Family

ID=16170271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18540889A Pending JPH0348961A (en) 1989-07-17 1989-07-17 Data transfer system

Country Status (1)

Country Link
JP (1) JPH0348961A (en)

Similar Documents

Publication Publication Date Title
US5958031A (en) Data transmitting/receiving device of a multiprocessor system and method therefor
US5151895A (en) Terminal server architecture
JPH01502708A (en) Information transmission methods and devices
JPH11110336A (en) Communication device and DMA unit
JPH0348961A (en) Data transfer system
JPS6076845A (en) Data transmitter
JPH05300152A (en) Address setter
JP3016788B2 (en) Device communication / cache matching processing method
JPH0583938B2 (en)
JP2723245B2 (en) Facsimile storage and switching equipment
JP3206499B2 (en) Information processing device
KR100962306B1 (en) Bidirectional Data Communication Device of Embedded System and Its Method
JPH1117728A (en) How to send email
JP2666782B2 (en) Multiple bus control system
JPS6232748A (en) Data transfer equipment
JPH02198244A (en) Communication interface device
JP2586341B2 (en) Bus test method for communication between processors
JPH05327730A (en) Network connecting device
JPH031633A (en) Transmission/reception buffer management system for packet switching circuit
JPH0193236A (en) Communications system
JPS6326758A (en) Packet communication equipment by dynamic polling
JPS648501B2 (en)
JPH0133981B2 (en)
JPH02110628A (en) Information displaying system
JPH01234962A (en) Bus control system