JPH05298246A - Time division transfer device for data - Google Patents

Time division transfer device for data

Info

Publication number
JPH05298246A
JPH05298246A JP12553392A JP12553392A JPH05298246A JP H05298246 A JPH05298246 A JP H05298246A JP 12553392 A JP12553392 A JP 12553392A JP 12553392 A JP12553392 A JP 12553392A JP H05298246 A JPH05298246 A JP H05298246A
Authority
JP
Japan
Prior art keywords
bus
data
slot
time
output
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.)
Granted
Application number
JP12553392A
Other languages
Japanese (ja)
Other versions
JP2848738B2 (en
Inventor
Takeshi Masuda
剛 増田
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP4125533A priority Critical patent/JP2848738B2/en
Publication of JPH05298246A publication Critical patent/JPH05298246A/en
Application granted granted Critical
Publication of JP2848738B2 publication Critical patent/JP2848738B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve data transfer efficiency when the data are transferred in time division among plural modules via a common data bus. CONSTITUTION:A system control part 5 receives a data transfer request from an external data processor 2 and gives a bus slot time setting command to a bus controller 4 in response to the access time of the processor 2 as well as a bus slot setting command. The controller 4 transmits the slot enable signal proper to a designated bus slot at the designated bus slot time. An interface circuit 3 sequentially compares the slot numbers set at the part 5 with the slot enable signal and transfers the data to a bus line 1 when the coincidence is secured between the slot number and the slot enable signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ処理システムを
構成する各モジュール間を共通のデータバスで接続し、
このデータバスを各モジュールが時分割で利用すること
によって、各モジュール間でデータを転送するデータの
時分割転送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention connects modules constituting a data processing system with a common data bus,
The present invention relates to a time-division transfer device for data that transfers data between modules by using the data bus in a time-division manner by each module.

【0002】[0002]

【従来の技術】従来、共通のデータバスを時分割で利用
して、システムを構成する各モジュール間でデータ転送
を行う装置として、次のようなものが知られている。こ
の装置は、共通のバスラインに接続される複数個のモジ
ュールに関連して、各モジュール間のデータの時分割転
送を制御するバスコントローラと、データ転送を行おう
とするモジュールからの要求に応じて、データ転送に使
用するバススロットを決定するシステム制御部とを備え
ている。ここで、バススロットとは、モジュール間のデ
ータ転送のために予め設定される最小時間単位である。
複数個のモジュール間でデータ転送を時分割で行う場
合、各々のデータ転送に応じたバススロットが設定さ
れ、これら一群のバススロットが繰り返し出現する。一
群のバススロットの繰り返し時間を、本明細書ではバス
サイクルと呼ぶ。
2. Description of the Related Art Heretofore, the following devices have been known as devices for transferring data between respective modules constituting a system by utilizing a common data bus in a time division manner. This device relates to a plurality of modules connected to a common bus line, and a bus controller that controls time-division transfer of data between the modules and a module that performs data transfer in response to a request from the module. , And a system control unit that determines a bus slot used for data transfer. Here, the bus slot is a minimum time unit preset for data transfer between modules.
When data transfer is performed in a time-division manner between a plurality of modules, a bus slot corresponding to each data transfer is set, and a group of these bus slots appears repeatedly. The repetition time of a group of bus slots is referred to herein as a bus cycle.

【0003】以下、具体的に説明する。例えば、モジュ
ールAからモジュールBへのデータ転送Xと、モジュー
ルBからモジュールCへのデータ転送Yと、モジュール
CからモジュールDへのデータ転送Zとを、共通のバス
ラインを時分割で利用して行おうとする。データ転送を
行おうとする各モジュールは、システム制御部に対して
データ転送を要求する。これに応えてシステム制御部
は、データ転送X,Y,Zに使用するバススロット#
X、#Y、#Zを設定する。バススロット#X、#Y、
#Zは、複数ビットのデータで構成されている。システ
ム制御部は、設定したバススロット#X、#Y、#Z
を、該当モジュールにそれぞれ転送して、各々のデータ
転送に使用するスロット番号を知らせるとともに、バス
コントローラに対してバススロット#X、#Y、#Zを
発生させるための指令を出す。バスコントローラは、こ
の指令に基づき、バススロット#X、#Y、#Zに対応
した制御信号(以下、スロットイネーブル信号という)
を、一定の時間間隔でバスライン中の制御バスに繰り返
し出力する。したがって、各バススロット#X、#Y、
#Zに割り当てられた時間、すなわち、各々のスロット
イネーブル信号が制御バスに出力されている時間が、例
えば200nsec であるとすると、この場合のバスサイ
クルは600nsec になる。
A detailed description will be given below. For example, the data transfer X from the module A to the module B, the data transfer Y from the module B to the module C, and the data transfer Z from the module C to the module D are used in a time division manner on a common bus line. I try to go. Each module that intends to transfer data requests the system controller to transfer data. In response to this, the system control unit determines the bus slot # used for data transfer X, Y, Z.
Set X, #Y, and #Z. Bus slots #X, #Y,
#Z is composed of a plurality of bits of data. The system controller uses the set bus slots #X, #Y, #Z.
To the corresponding module to notify the slot numbers used for each data transfer and to issue a command to the bus controller to generate the bus slots #X, #Y and #Z. Based on this command, the bus controller controls signals corresponding to the bus slots #X, #Y, and #Z (hereinafter referred to as slot enable signals).
Is repeatedly output to the control bus in the bus line at regular time intervals. Therefore, each bus slot #X, #Y,
If the time assigned to #Z, that is, the time during which each slot enable signal is output to the control bus is, for example, 200 nsec, the bus cycle in this case is 600 nsec.

【0004】データ転送の要求を出した各モジュール
は、システム制御部から与えられたスロット番号と、制
御バス中に出現するスロットイネーブル信号とを比較し
ており、両者が一致すると、バスライン中のデータバス
にデータを出力し、あるいはデータバス上のデータを取
り込む。このようにして、各モジュールからの要求に応
じて個別に設定されたバススロットを、各モジュールが
識別してデータの授受を行うことにより、共通のバスラ
インを使って複数個のモジュール間でデータが時分割転
送される。
Each module issuing a data transfer request compares the slot number given by the system control unit with the slot enable signal appearing in the control bus. Outputs data to the data bus or takes in data on the data bus. In this way, each module identifies the bus slot that is individually set according to the request from each module and exchanges data, so that data can be transferred between multiple modules using a common bus line. Are time-divisionally transferred.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来装置には、次のような問題点がある。すなわち、
従来装置において、各バススロットに割り当てられる時
間幅、すなわち、各バススロットに対応したスロットイ
ネーブル信号が制御バスに出力される時間幅(以下、バ
ススロット時間という)は、常に一定であるので、各モ
ジュール間のデータ転送を円滑に行うためには、バスス
ロット時間を、アクセスタイムの最も遅いモジュールに
合わせて設定しておく必要がある。例えば、モジュール
Aのアクセスタイムが200nsec 、モジュールBのア
クセスタイムが250nsec 、モジュールCのアクセス
タイムが200nsec である場合、バススロット時間は
250nsec に設定されるので、モジュールB以外のモ
ジュールA,Cについては、1データ転送当たり50n
sec の時間的ロスが生じていることになる。このよう
に、従来装置では、複数個のモジュールの内、一つでも
アクセスタイムの遅いモジュールがあると、そのモジュ
ールに合わせてバススロット時間が設定されるので、ア
クセスタイムの速い他のモジュールの性能が充分発揮さ
れなくなり、全体としてはデータ転送効率の低いシステ
ムになるという問題点がある。
However, the above-mentioned conventional apparatus has the following problems. That is,
In the conventional device, the time width assigned to each bus slot, that is, the time width when the slot enable signal corresponding to each bus slot is output to the control bus (hereinafter referred to as bus slot time) is always constant. In order to smoothly transfer data between modules, it is necessary to set the bus slot time according to the module with the slowest access time. For example, when the access time of the module A is 200 nsec, the access time of the module B is 250 nsec, and the access time of the module C is 200 nsec, the bus slot time is set to 250 nsec. 50n per data transfer
This means that a time loss of sec has occurred. As described above, in the conventional device, if at least one of the plurality of modules has a slow access time, the bus slot time is set according to the module, so that the performance of other modules with a fast access time is improved. However, there is a problem in that the system cannot be fully utilized and the system as a whole has low data transfer efficiency.

【0006】また、上述のようなシステム全体の転送効
率の低下を防止しようとすれば、アクセスタイムの遅い
既存のモジュールを、アクセスタイムの速い新たなモジ
ュールに置き換えればよいのであるが、そうすると既存
のモジュールを有効に利用することができなくなるの
で、システムの開発期間が不当に長くなり、システムの
実現に要する費用も嵩むという別異の問題点が生じる。
Further, in order to prevent a decrease in transfer efficiency of the entire system as described above, an existing module having a slow access time may be replaced with a new module having a fast access time. Since the module cannot be used effectively, another problem arises that the development period of the system becomes unreasonably long and the cost required for realizing the system increases.

【0007】本発明は、このような事情に鑑みてなされ
たものであって、各モジュール間の時分割データ転送を
比較的効率よく行うことができるとともに、既存のモジ
ュールを有効に利用することができるデータの時分割転
送装置を提供することを目的としている。
The present invention has been made in view of such circumstances, and it is possible to perform time division data transfer between modules relatively efficiently and effectively use existing modules. It is an object of the present invention to provide a time-division transfer device capable of transmitting data.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、次のような構成をとる。すなわち、本発
明は、データ転送の最小時間単位であるバススロットを
設定し、データ転送の要求数に応じた複数のバススロッ
トで構成されたバスサイクルを繰り返すことによって、
データを時分割転送する装置であって、共通のデータバ
スに接続され、前記データバスを通じてデータの授受を
行う複数のモジュールと、前記データ授受の時分割転送
を制御するバス制御手段と、前記各モジュールおよび前
記バス制御手段に関連して設けられたシステム制御手段
とを含み、前記システム制御手段は、各モジュールから
データ転送の要求を受けることにより、前記バス制御手
段に対して、当該データ転送に必要なバススロットの設
定指令と、データ転送に係るモジュールのアクセスタイ
ムに応じたバススロット時間の設定指令とを出すととも
に、前記データ転送に係るモジュールにデータ転送に使
用するスロット番号を知らせ、前記バス制御手段は、前
記システム制御手段からのバススロット設定指令に基づ
き、データ転送に使用する各バススロットに固有のスロ
ットイネーブル信号を繰り返し送出するとともに、前記
システム制御手段からのバススロット時間設定指令に基
づき、前記各スロットイネーブル信号を送出する時間を
制御し、前記各モジュールは、前記バス制御手段から送
られてくる一連のスロットイネーブル信号を、前記シス
テム制御手段によって予め与えられたスロット番号と逐
次比較し、両者が一致したことに基づいて、データバス
に対してデータの授受を行う。
In order to achieve the above object, the present invention has the following constitution. That is, the present invention sets a bus slot which is a minimum time unit of data transfer and repeats a bus cycle composed of a plurality of bus slots according to the number of data transfer requests,
A device for time-division transfer of data, comprising a plurality of modules connected to a common data bus for transmitting and receiving data through the data bus, bus control means for controlling the time division transfer of the data exchange, A module and a system control means provided in association with the bus control means, wherein the system control means receives the data transfer request from each module, and thereby the bus control means receives the data transfer request. A command for setting a necessary bus slot and a command for setting a bus slot time according to the access time of the module for data transfer are issued, and the module for data transfer is informed of the slot number used for data transfer. The control means transfers the data based on the bus slot setting command from the system control means. The slot enable signal specific to each bus slot used is repeatedly transmitted, and the time for transmitting each slot enable signal is controlled based on the bus slot time setting command from the system control means. A series of slot enable signals sent from the bus control means are sequentially compared with the slot number given in advance by the system control means, and data is transferred to and from the data bus based on the fact that they match. ..

【0009】[0009]

【作用】本発明の作用は次のとおりである。各モジュー
ルからデータ転送の要求があると、システム制御手段
は、バス制御手段に対して、当該データ転送に使用する
バススロットの設定指令を出すとともに、そのバススロ
ットを発生させる期間(バススロット時間)を設定する
ための指令を出す。システム制御手段は、各モジュール
のアクセスタイムを予め把握しており、前記バススロッ
ト時間は、データ転送の要求のあったモジュールのアク
セスタイムに応じて設定される。また、システム制御手
段は、データ転送に係るモジュールにデータ転送に使用
するスロット番号を知らせる。システム制御手段からの
指令に基づき、バス制御手段は、指定されたバススロッ
トに固有のスロットイネーブル信号を、指定されたバス
スロット時間にわたって送出する。一方、データ転送に
係るモジュールは、バス制御手段から送られてくる一連
のスロットイネーブル信号を、システム制御手段によっ
て予め設定されたスロット番号と比較し、両者が一致し
たことに基づいて、データバスに対してデータの授受を
行う。
The operation of the present invention is as follows. When there is a data transfer request from each module, the system control means issues a command to the bus control means to set a bus slot used for the data transfer, and a period for generating the bus slot (bus slot time). Issue a command to set. The system control means grasps the access time of each module in advance, and the bus slot time is set according to the access time of the module that has requested the data transfer. Further, the system control means notifies the module relating to the data transfer of the slot number used for the data transfer. Based on the command from the system control means, the bus control means sends a slot enable signal specific to the designated bus slot for the designated bus slot time. On the other hand, the module related to data transfer compares a series of slot enable signals sent from the bus control means with a slot number preset by the system control means, and based on the fact that both match, the data bus is transferred to the data bus. Transfer data to and from it.

【0010】[0010]

【実施例】以下、図面を参照して本発明に係るデータの
時分割転送装置の一実施例を説明する。図1は、データ
の時分割転送装置の概略構成を示したブロック図であ
る。本実施例に係る装置は、次のような各要素によって
構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a data time division transfer device according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a data time division transfer device. The device according to the present embodiment is composed of the following elements.

【0011】バスライン1は、複数個の外部データ処理
装置2(21 ,…,2i ,…,2n)に対応して設けら
れた各インターフェース回路3(31 ,…,3i ,…,
n)間でデータ転送を時分割で行うことによって、各
インターフェース回路3が共通使用するものである。本
実施例において、バスライン1は、32本の信号線から
なるデータバスと、5本の信号線からなる制御バスとか
ら構成されている。それぞれ対になっている外部データ
処理装置2およびインターフェース回路3は、本発明に
おけるモジュールに相当している。
The bus line 1 includes interface circuits 3 (3 1 , ..., 3 i , 3 i , 3 i , 3 i , 2 i ) provided corresponding to a plurality of external data processing devices 2 (2 1 , ..., 2 i , ..., 2 n ). … 、
By performing data transfer between 3 n ) in a time division manner, the interface circuits 3 commonly use each other. In the present embodiment, the bus line 1 is composed of a data bus consisting of 32 signal lines and a control bus consisting of 5 signal lines. The external data processing device 2 and the interface circuit 3, which are paired with each other, correspond to the module in the present invention.

【0012】外部データ処理装置2の種類は特に限定し
ないが、例えば製版工程で使用される電子集版システム
の場合、原画像を読み取るための読み取り用スキャナ
や、前記スキャナで読み取られた画像データを格納する
ための光ディスク等の外部画像記憶装置や、前記外部記
憶装置から読み出した画像データから特定の絵柄を切り
抜いたり、各絵柄をレイアウト処理したりする画像処理
装置や、レイアウト処理された画像を表示するモニタ
や、レイアウト処理済みの画像をフィルムに露光記録す
る記録用スキャナ等である。
The type of the external data processing device 2 is not particularly limited. For example, in the case of an electronic plate collecting system used in a plate making process, a reading scanner for reading an original image or image data read by the scanner is used. An external image storage device such as an optical disk for storing, an image processing device that cuts out a specific pattern from the image data read from the external storage device, performs a layout process on each pattern, or displays a layout-processed image Monitor, a recording scanner for exposing and recording a layout-processed image on a film, and the like.

【0013】インターフェース回路3は、それに接続さ
れる外部データ処理装置2の機能との関連で、バスライ
ン1に対してデータを出力する機能だけを持つものや、
データを入力する機能だけを持つものや、前記両機能を
もつものがある。外部データ処理装置2とインターフェ
ース回路3とは、32本のデータラインと2本のハンド
シェイクラインとからなる外部接続ライン6によって接
続されている。
The interface circuit 3 has only the function of outputting data to the bus line 1 in relation to the function of the external data processing device 2 connected thereto,
Some have only the function of inputting data, and some have both functions. The external data processing device 2 and the interface circuit 3 are connected by an external connection line 6 including 32 data lines and 2 handshake lines.

【0014】バスコントローラ4は、バスライン1に接
続された各インターフェース回路3の相互間で、データ
を時分割転送するのに必要なバス制御データを出力す
る。バス制御データの詳細は後述するとして、ここでは
データの時分割転送のためにバスコントローラ4によっ
て設定される『バスサイクル』および『バススロット』
の概念を、図2および図3を参照して説明する。
The bus controller 4 outputs bus control data necessary for time-division transfer of data between the interface circuits 3 connected to the bus line 1. Although details of the bus control data will be described later, here, a "bus cycle" and a "bus slot" set by the bus controller 4 for time division transfer of data.
The concept of will be described with reference to FIGS. 2 and 3.

【0015】図2は、バスライン1に接続された外部デ
ータ処理装置2の一例であり、同図ではインターフェー
ス回路3やバスコントローラ4を省略して示してある。
図3は、バススロットとバスサイクルの関係を示してい
る。バスコントローラ4は、バスライン1中の32ビッ
トのデータバスによる転送時間軸を、外部データ処理装
置2のアクセスタイムに応じて予め定められたデータ転
送の最小時間単位(バススロット)で時分割する機能を
もつている。一つのバススロットにより、所定の外部デ
ータ処理装置2の相互間で1回のデータ転送が行われ
る。
FIG. 2 shows an example of the external data processing device 2 connected to the bus line 1. In FIG. 2, the interface circuit 3 and the bus controller 4 are omitted.
FIG. 3 shows the relationship between bus slots and bus cycles. The bus controller 4 time-divides the transfer time axis of the 32-bit data bus in the bus line 1 in a minimum time unit (bus slot) of data transfer that is predetermined according to the access time of the external data processing device 2. It has a function. One bus slot allows one data transfer between predetermined external data processing devices 2.

【0016】バススロットは、データバスに対するデー
タ転送の要求数と同じ数だけ発生される。例えば、図2
に示すように、外部データ処理装置2としてのディスク
1から画像処理装置22 へのデータ転送Aの要求と、
画像処理装置22 からカラーモニタ23 へのデータ転送
Bの要求と、スキャナ25 からディスク24 へのデータ
転送Cの要求とが同時に存在していたとすると、バスコ
ントローラ4は、図3の(a)に示すように、3つのバ
ススロット#1,#2,#3を設定し、例えば、前記転
送Aはバススロット#1により、転送Bはバススロット
#2により、転送Cはバススロット#3により行われ
る。これらのバススロット#1〜#3は、データ転送が
完了するまで繰り返し生成される。このような一群のバ
ススロットの繰り返し時間をバスサイクルと呼ぶ。
The same number of bus slots as the number of data transfer requests for the data bus are generated. For example, in FIG.
As shown in, a request for data transfer A from the disk 2 1 as the external data processing device 2 to the image processing device 2 2 ,
Assuming that a request for data transfer B from the image processing device 2 2 to the color monitor 2 3 and a request for data transfer C from the scanner 2 5 to the disk 2 4 exist at the same time, the bus controller 4 operates as shown in FIG. As shown in (a), three bus slots # 1, # 2, and # 3 are set. For example, transfer A is bus slot # 1, transfer B is bus slot # 2, and transfer C is bus slot. # 3. These bus slots # 1 to # 3 are repeatedly generated until the data transfer is completed. The repetition time of such a group of bus slots is called a bus cycle.

【0017】したがって、バスサイクルは、データ転送
の要求数に応じて増減する。上記の例で言えば、転送B
が先に終了すれば、バスサイクルは図3の(b)に示す
ように、スロット#1と#3とで構成される。また、別
のデータ転送の要求があれば、図3の(c)に示すよう
に、4つ以上のバススロットでバスサイクルが構成され
ることもある。バススロット時間は、必ずしも一定では
なく、上述したようにデータ転送に係わる外部データ処
理装置2のアクセスタイムに応じて設定される。例え
ば、図2において、ディスク24 のアクセスタイムが2
50nsec で、他の外部データ処理装置のアクセスタイ
ムが200nsec である場合、図3の(d)に示すよう
に、転送A,Bに使用するバススロット#1,#2のバ
ススロット時間tは200nsec に設定されるが、アク
セスタイムの遅いディスク24 に係る転送Cに使用する
バススロット#3のバススロット時間Tは250nsec
に設定される。後に詳述するように、バスコントローラ
4は、このようなバススロットの生成およびバススロッ
ト時間の制御処理を行う。
Therefore, the bus cycle is increased or decreased according to the number of data transfer requests. In the example above, transfer B
Is completed first, the bus cycle is composed of slots # 1 and # 3, as shown in FIG. Further, if another data transfer request is made, a bus cycle may be composed of four or more bus slots as shown in FIG. The bus slot time is not necessarily constant, and is set according to the access time of the external data processing device 2 involved in data transfer as described above. For example, in FIG. 2, the disc 2 4 access time 2
When the access time of another external data processing device is 50 nsec and 200 nsec, the bus slot time t of the bus slots # 1 and # 2 used for the transfer A and B is 200 nsec as shown in (d) of FIG. Although set to, bus slot time T of the bus slots # 3 which will be used to forward C according to a slow disk 2 4 accessed time 250nsec
Is set to. As described later in detail, the bus controller 4 performs such bus slot generation and bus slot time control processing.

【0018】バスコントローラ4は、生成したバススロ
ットに対応した信号(スロットイネーブル信号)をバス
ライン1中の制御バスに出力することによって、時分割
転送のタイミングを各インターフェース回路3に知らせ
る。
The bus controller 4 informs each interface circuit 3 of the timing of time division transfer by outputting a signal (slot enable signal) corresponding to the generated bus slot to the control bus in the bus line 1.

【0019】図1に戻って、システム制御部5は、デー
タの時分割転送装置全体の制御を司るもので、双方向の
コマンドライン7を介して、各インターフェース回路3
およびバスコントローラ4に接続されている。システム
制御部5は、バスコントローラ4が発生しているバスス
ロットの番号(以下、『スロット番号』という)を監視
している。そして、インターフェース回路3を介して外
部データ処理装置2からデータ転送要求を受け取ること
により、バスコントローラ4に対して、現在使用されて
いないバススロットの内から適当なスロット番号を指定
して、そのバススロットを生成するように要求を出すと
ともに、そのスロット番号をデータ転送に係る外部デー
タ処理装置2の各インターフェース回路3へ送る。ま
た、システム制御部5は、バスライン1に接続されてい
る各外部データ処理装置2のアクセスタイムを予め把握
しており、ある外部データ処理装置2からデータ転送要
求があった場合に、上述のスロット番号の指定に加え
て、その外部データ処理装置2のアクセスタイムに応じ
たバススロット時間をバスコントローラ4に対して指定
する。インターフェース回路3は、システム制御部5か
ら送られきたスロット番号と、バスコントローラ4によ
って制御バスを介して順に転送されてくる各スロットイ
ネーブル信号とを逐次比較し、両者が一致したことに基
づいて、データ授受のタイミングを知る。
Returning to FIG. 1, the system control unit 5 controls the entire time-division transfer device for data, and each interface circuit 3 via the bidirectional command line 7.
And the bus controller 4. The system controller 5 monitors the number of the bus slot generated by the bus controller 4 (hereinafter referred to as “slot number”). Then, by receiving a data transfer request from the external data processing device 2 via the interface circuit 3, the bus controller 4 is designated with an appropriate slot number from among the bus slots that are not currently used, A request is made to generate a slot, and the slot number is sent to each interface circuit 3 of the external data processing device 2 for data transfer. Further, the system control unit 5 grasps the access time of each external data processing device 2 connected to the bus line 1 in advance, and when there is a data transfer request from a certain external data processing device 2, the above-mentioned In addition to designating the slot number, the bus slot time corresponding to the access time of the external data processing device 2 is designated to the bus controller 4. The interface circuit 3 sequentially compares the slot number sent from the system control unit 5 and each slot enable signal sequentially transferred by the bus controller 4 via the control bus, and based on the fact that both match, Know the timing of data transfer.

【0020】次に、図4を参照して、バスライン1とイ
ンターフェース回路3との接続構造、およびインターフ
ェース回路3と外部データ処理装置2との接続構造を説
明する。バスライン1とインターフェース回路3とは、
32本の信号線からなるデータバスDBと、5本の信号
線からなる制御バスとで接続されている。制御バスの構
成は次のとおりである。 基本クロックライン:バスの基本クロックCLを伝
送するための一本の信号線である。この基本クロックC
Lはバスコントローラ4から送られる。この基本クロッ
クCLは、設定されるバススロット時間に応じて、その
周期が制御される。 バスクロックライン:前記基本クロックの2倍の周
期をもつバスクロックBCLを伝送するための一本の信
号線である。このバスクロックBCLはバスコントロー
ラ4から送られる。 スロットイネーブルライン:バスコントローラ4で
発生させたスロットイネーブル信号SEを伝送するため
のもので、本実施例では2本の信号線から構成されてい
る。スロットイネーブル信号SEは2ビットで構成され
ているので、バスコントローラ4は4種類のバススロッ
ト#0〜#3を発生させることができる。なお、スロッ
トイネーブル信号SEを構成するビット数を増やすこと
により、さらに多くのバススロットを発生させることが
可能である。 データバリッドライン:データを転送するインター
フェース回路3の間でハンドシェイクをとるための1本
の信号線である。このデータバリッドラインは、そのラ
イン上の1箇所で図示しないプルアップ抵抗を介して論
理〔1〕(通常、5V)にプルアップされることによ
り、このライン自身がワイアードアンド(Wired-AND )
を形成している。以下、データバリッドライン上の信号
をデータバリッド(DV)信号という。
Next, a connection structure between the bus line 1 and the interface circuit 3 and a connection structure between the interface circuit 3 and the external data processing device 2 will be described with reference to FIG. The bus line 1 and the interface circuit 3 are
A data bus DB including 32 signal lines and a control bus including 5 signal lines are connected. The structure of the control bus is as follows. Basic clock line: A single signal line for transmitting the basic clock CL of the bus. This basic clock C
L is sent from the bus controller 4. The cycle of the basic clock CL is controlled according to the set bus slot time. Bus clock line: A single signal line for transmitting a bus clock BCL having a cycle twice that of the basic clock. This bus clock BCL is sent from the bus controller 4. Slot enable line: A slot enable signal SE for transmitting the slot enable signal SE generated by the bus controller 4, and is composed of two signal lines in this embodiment. Since the slot enable signal SE is composed of 2 bits, the bus controller 4 can generate four types of bus slots # 0 to # 3. It should be noted that it is possible to generate more bus slots by increasing the number of bits forming the slot enable signal SE. Data valid line: One signal line for handshaking between the interface circuits 3 for transferring data. This data valid line is pulled up to a logic [1] (usually 5 V) via a pull-up resistor (not shown) at one point on the line, so that the line itself is wired-and (Wired-AND).
Is formed. Hereinafter, the signal on the data valid line is referred to as a data valid (DV) signal.

【0021】上述したように、図4に示したデータ受信
専用のインターフェース回路3aと外部データ処理装置
2aとは、データ転送用の32本のデータラインと、ハ
ンドシェイク用の2本のハンドシェイクラインとで接続
されている。ハンドシェイク用の信号としては、データ
転送ができる状態になったときにインターフェース回路
3aから外部データ処理装置2aへ送られるデータ出力
準備完了信号ORと、外部データ処理装置2aがデータ
を受け取る際にインターフェース回路3aへ送られるデ
ータ受取信号DGとがある。データ送信専用のインター
フェース回路3bと外部データ処理装置2bとの間も、
同様にデータ転送用の32本のデータラインと、2本の
ハンドシェイクラインとで接続されている。ハンドシェ
イク用の信号としては、データを受け入れできる状態に
なったときにインターフェース回路3bから外部データ
処理装置2bへ送られるデータ入力準備完了信号IR
と、外部データ処理装置2bがデータを転送するときに
インターフェース回路3bへ送られるデータ転送信号D
Tとがある。
As described above, the interface circuit 3a dedicated to data reception and the external data processing device 2a shown in FIG. 4 have 32 data lines for data transfer and 2 handshake lines for handshake. Connected with and. As a signal for handshake, a data output preparation completion signal OR sent from the interface circuit 3a to the external data processing device 2a when the data transfer becomes possible, and an interface when the external data processing device 2a receives data There is a data reception signal DG sent to the circuit 3a. Between the interface circuit 3b dedicated to data transmission and the external data processing device 2b,
Similarly, 32 data lines for data transfer and 2 handshake lines are connected. As a signal for handshake, a data input preparation completion signal IR sent from the interface circuit 3b to the external data processing device 2b when the data can be received.
And a data transfer signal D sent to the interface circuit 3b when the external data processing device 2b transfers data.
There is T.

【0022】次に、図5を参照してバスコントローラ4
に備えられたスロットイネーブル信号出力部の構成を説
明する。バスコントローラ4は、システム制御部5から
のスロット発生要求に基づきスロット番号等を発生する
ためのCPU41と、スロット番号をラッチするための
ラッチ回路L3a,L2a,L1a,L0aと、これら
のラッチ回路L3a〜L0aにそれぞれ対応したラッチ
回路L3b,L2b,L1b,L0bと、現在発生して
いるスロットの数をラッチするためのラッチ回路LN1
およびLN2と、ラッチ回路L3b〜L0bのいずれか
の出力を選択するための選択回路42と、選択回路42
へ選択信号を与えるカウンタ43と、バッファ44と、
発振器OSCと、タイミング信号発生回路45と、バス
クロック発生回路46と、基準パルス発生回路47と、
NANDゲート48と、SRフリップ・フロップ49
と、単安定マルチバイブレータ50と、ラッチ回路51
とを備えている。
Next, referring to FIG. 5, the bus controller 4
The configuration of the slot enable signal output section provided in the above will be described. The bus controller 4 includes a CPU 41 for generating a slot number and the like based on a slot generation request from the system control unit 5, latch circuits L3a, L2a, L1a, L0a for latching the slot number, and these latch circuits L3a. To latch circuits L3b, L2b, L1b and L0b respectively corresponding to L0a, and a latch circuit LN1 for latching the number of slots currently occurring.
And LN2, a selection circuit 42 for selecting an output of any of the latch circuits L3b to L0b, and a selection circuit 42.
A counter 43 that gives a selection signal to
An oscillator OSC, a timing signal generation circuit 45, a bus clock generation circuit 46, a reference pulse generation circuit 47,
NAND gate 48 and SR flip-flop 49
, Monostable multivibrator 50, and latch circuit 51
It has and.

【0023】発振器OSC、タイミング信号発生回路4
5、バスクロック発生回路46、および基準パルス発生
回路47は、図6に示したような基本クロックCL、こ
の基本クロックCLの2倍の周期をもったバスクロック
BCL、および基準パルスP1〜P4を発生する。この
うち、基本クロックCLとバスクロックBCLは、上述
したように、バスライン1を介して各インターフェース
回路3にも送られる。基本クロックCLは、設定される
バススロット時間に応じて、その周期が制御される。本
実施例では、バススロット時間Tの1/2が基本クロッ
クCLの周期TCLになるようにしている。
Oscillator OSC, timing signal generation circuit 4
5, the bus clock generation circuit 46, and the reference pulse generation circuit 47 generate the basic clock CL as shown in FIG. 6, the bus clock BCL having a cycle twice the basic clock CL, and the reference pulses P1 to P4. Occur. Of these, the basic clock CL and the bus clock BCL are also sent to each interface circuit 3 via the bus line 1 as described above. The cycle of the basic clock CL is controlled according to the set bus slot time. In the present embodiment, 1/2 of the bus slot time T is set to the cycle T CL of the basic clock CL.

【0024】タイミング信号発生回路45は、システム
制御部5から指定されたバススロット時間情報BTと、
スロットイネーブルラインに出力されたスロットイネー
ブル信号SEとに基づいて、発振器OSCの出力を分周
することにより、指定されたバススロット時間に対応し
た基本クロックCLを発生するように構成されている。
ここでは、4種類のバススロット#0〜#3に対して、
200nsec または250nsec の何れかのバススロッ
ト時間が設定される。以下、図7を参照して、タイミン
グ信号発生回路45の構成例を説明する。
The timing signal generation circuit 45 stores the bus slot time information BT designated by the system control unit 5,
The basic clock CL corresponding to the designated bus slot time is generated by dividing the output of the oscillator OSC on the basis of the slot enable signal SE output to the slot enable line.
Here, for four types of bus slots # 0 to # 3,
A bus slot time of either 200 nsec or 250 nsec is set. Hereinafter, a configuration example of the timing signal generation circuit 45 will be described with reference to FIG. 7.

【0025】図7に示すように、タイミング信号発生回
路45は、バススロット#0〜#3のバススロット時間
を判定するための4対のANDゲートを備えている。A
NDゲートG00,G01は、バススロット#0のバス
スロット時間を判定する。ANDゲートG10,G11
は、バススロット#1のバススロット時間を判定する。
ANDゲートG20,G21は、バススロット#2のバ
ススロット時間を判定する。ANDゲートG30,G3
1は、バススロット#3のバススロット時間を判定す
る。ANDゲートG00,G10,G20,G30の各
出力はNORゲトG200に与えられる。一方、AND
ゲートG01,G11,G21,G31の各出力はNO
RゲートG250に与えられる。タイミング信号発生回
路45は、発振器OSCの出力パルスを計数するカウン
タ451を備え、このカウンタ451の計数値は、AN
DゲートG201およびG251に与えられる。また、
ANDゲートG201にはNORゲートG200の出力
が与えられ、ANDゲートG251にはNORゲートG
250の出力が与えられる。ANDゲートG201およ
びG251の各出力はNORゲートG300を介して、
フリップ・フロップ452のクロック端子およびカウン
タ451のリセット端子Rに与えられる。フリップ・フ
ロップ452のQ出力が、基本クロックCLとして出力
される。
As shown in FIG. 7, the timing signal generating circuit 45 includes four pairs of AND gates for determining the bus slot times of the bus slots # 0 to # 3. A
The ND gates G00 and G01 determine the bus slot time of the bus slot # 0. AND gates G10 and G11
Determines the bus slot time of bus slot # 1.
AND gates G20 and G21 determine the bus slot time of bus slot # 2. AND gates G30 and G3
1 determines the bus slot time of bus slot # 3. The outputs of the AND gates G00, G10, G20, G30 are given to the NOR gate G200. On the other hand, AND
Each output of the gates G01, G11, G21 and G31 is NO
It is applied to the R gate G250. The timing signal generation circuit 45 includes a counter 451 that counts the output pulse of the oscillator OSC, and the count value of this counter 451 is AN.
It is applied to D gates G201 and G251. Also,
The output of the NOR gate G200 is given to the AND gate G201, and the NOR gate G251 is given to the AND gate G251.
250 outputs are provided. The outputs of the AND gates G201 and G251 are passed through the NOR gate G300,
It is applied to the clock terminal of the flip-flop 452 and the reset terminal R of the counter 451. The Q output of the flip-flop 452 is output as the basic clock CL.

【0026】以下、上述した構成のタイミング信号発生
回路45の動作を説明する。スロットイネーブルライン
から取り込まれるスロットイネーブル信号SEは、2ビ
ットのデータで構成され、
The operation of the timing signal generating circuit 45 having the above-mentioned structure will be described below. The slot enable signal SE fetched from the slot enable line is composed of 2-bit data,

〔00〕がバススロット#0
に、〔01〕がバススロット#1に、〔10〕がバスス
ロット#2に、〔11〕がバススロット#3にそれぞれ
対応している。システム制御部5から与えられるバスス
ロット時間情報BTは、各バススロット#0〜#3にそ
れぞれ対応したバススロット時間情報BT0,BT1,
BT2,BT3からなり、
[00] is bus slot # 0
In addition, [01] corresponds to bus slot # 1, [10] corresponds to bus slot # 2, and [11] corresponds to bus slot # 3. The bus slot time information BT given from the system control unit 5 is the bus slot time information BT0, BT1, corresponding to each of the bus slots # 0 to # 3.
It consists of BT2 and BT3,

〔0〕が200nsec 、
〔1〕が250nsec に対応する。
[0] is 200 nsec,
[1] corresponds to 250 nsec.

【0027】いま、スロットイネーブルラインにバスス
ロット#0のスロットイネーブル信号SE
Now, the slot enable signal SE of the bus slot # 0 is set on the slot enable line.

〔00〕が出
力され、このときシステム制御部5から200nsec の
バススロット時間が指定されたとしよう。その結果、バ
ススロット時間判定用の4対のANDゲートのうち、A
NDゲートG00の出力のみが『H』レベルになり、他
のANDゲートの出力は『L』レベルになる。したがっ
て、NORゲートG200の出力は『L』レベルにな
り、NORゲートG250の出力は『H』レベルにな
る。
It is assumed that [00] is output and the bus slot time of 200 nsec is designated by the system controller 5 at this time. As a result, of the four pairs of AND gates for bus slot time determination, A
Only the output of the ND gate G00 becomes "H" level, and the outputs of the other AND gates become "L" level. Therefore, the output of the NOR gate G200 becomes "L" level, and the output of the NOR gate G250 becomes "H" level.

【0028】一方、カウンタ451は発振器OSCの出
力パルスを計数している。本実施例では、80MHzの
発振器を使用しているので、カウンタ451の計数値
は、12.5nsec ごとに、その状態が変化する。カウ
ンタ451の計数値が0→1→2→3と変化したとき、
すなわち、カウンタ451の出力〔C2,C1,C0〕
が〔011〕になったとき、ANDゲートG201の出
力が『H』レベルになる。これにより、NORゲートG
300の出力が『L』レベルになり、この出力がカウン
タ451のリセット端子Rに与えられる。その結果、カ
ウンタ451は、次のクロックパルスでリセットされ、
その出力が
On the other hand, the counter 451 counts the output pulse of the oscillator OSC. In this embodiment, since the 80 MHz oscillator is used, the count value of the counter 451 changes its state every 12.5 nsec. When the count value of the counter 451 changes from 0 → 1 → 2 → 3,
That is, the output of the counter 451 [C2, C1, C0]
Becomes [011], the output of the AND gate G201 becomes "H" level. As a result, the NOR gate G
The output of 300 becomes "L" level, and this output is given to the reset terminal R of the counter 451. As a result, the counter 451 is reset at the next clock pulse,
The output is

〔000〕に戻る。以下、同様にカウンタ4
51の計数値が0→1→2→3と変化するごとに、NO
RゲートG300が『L』レベルを出力する。つまり、
NORゲートG300の出力は、50nsec ごとに
『L』レベルになる。NORゲートG300の出力は、
フリップ・フロップ452のクロックとしても使用され
る。フリップ・フロップ452のD端子には反転信号Q
バーが入力されているので、フリップ・フロップ452
は、NORゲートG300から『L』レベルが出力され
るごと、すなわち、50nsec ごとにその状態が変化す
る。したがって、フリップ・フロップ452のQ端子か
らは、周期が100nsec の基本クロックパルスCLが
出力されることになる。上述したように、バススロット
時間は、基本クロックパルスCLの倍周期に等しいの
で、結局、200nsec のバススロット時間が設定され
たことになる。図8は、上述した200nsec のバスス
ロット時間を設定する場合のタイミング信号発生回路4
5の動作タイミングを示している。
Return to [000]. Hereinafter, similarly, the counter 4
Whenever the count value of 51 changes from 0 → 1 → 2 → 3, NO
The R gate G300 outputs the "L" level. That is,
The output of the NOR gate G300 becomes "L" level every 50 nsec. The output of the NOR gate G300 is
It is also used as a clock for the flip-flop 452. The inverted signal Q is applied to the D terminal of the flip-flop 452.
Since the bar is input, flip-flop 452
Changes every time the NOR gate G300 outputs the "L" level, that is, every 50 nsec. Therefore, the basic clock pulse CL with a cycle of 100 nsec is output from the Q terminal of the flip-flop 452. As described above, since the bus slot time is equal to the double cycle of the basic clock pulse CL, the bus slot time of 200 nsec is set. FIG. 8 shows a timing signal generation circuit 4 for setting the above-mentioned bus slot time of 200 nsec.
5 shows the operation timing of No. 5.

【0029】次に、スロットイネーブル信号SEが〔0
0〕(すなわち、バススロット#0)で、システム制御
部5から250nsec のバススロット時間が指定された
場合を説明する。このときのバススロット時間情報BT
0は〔1〕である。その結果、バススロット時間判定用
の4対のANDゲートのうち、ANDゲートG01の出
力のみが『H』レベルになるので、NORゲートG20
0は『H』レベルを出力し、NORゲートG250は
『L』レベルを出力する。
Next, the slot enable signal SE becomes [0
0] (that is, bus slot # 0), the case where the bus slot time of 250 nsec is designated by the system controller 5 will be described. Bus slot time information BT at this time
0 is [1]. As a result, of the four pairs of AND gates for determining the bus slot time, only the output of the AND gate G01 becomes the “H” level, so the NOR gate G20
0 outputs the “H” level, and the NOR gate G250 outputs the “L” level.

【0030】一方、カウンタ451の計数値が0→1→
2→3→4と変化したとき、すなわち、カウンタ451
の出力〔C2,C1,C0〕が〔100〕になったと
き、ANDゲートG251の出力が『H』レベルにな
る。これにより、NORゲートG300が『L』レベル
を出力するので、カウンタ451は、次のクロックパル
スでリセットされる。以下、同様にカウンタ451の計
数値が0→1→2→3→4と変化するごとに、NORゲ
ートG300は『L』レベルを出力する。NORゲート
G300は、62.5nsec ごとに『L』レベルを出力
することになるので、フリップ・フロップ452のQ端
子からは、周期が125nsec の基本クロックパルスC
Lが出力される。したがって、バススロット時間は、基
本クロックパルスCLの倍周期である250nsec に設
定される。図9は、上述した250nsec のバススロッ
ト時間を設定する場合のタイミング信号発生回路45の
動作タイミングを示している。
On the other hand, the count value of the counter 451 is 0 → 1 →
When it changes from 2 → 3 → 4, that is, the counter 451
When the output [C2, C1, C0] of the above becomes [100], the output of the AND gate G251 becomes "H" level. As a result, the NOR gate G300 outputs the "L" level, and the counter 451 is reset at the next clock pulse. Similarly, every time the count value of the counter 451 changes in the order of 0 → 1 → 2 → 3 → 4, the NOR gate G300 outputs the “L” level. Since the NOR gate G300 outputs the "L" level every 62.5 nsec, the basic clock pulse C having a cycle of 125 nsec is output from the Q terminal of the flip-flop 452.
L is output. Therefore, the bus slot time is set to 250 nsec which is a double cycle of the basic clock pulse CL. FIG. 9 shows the operation timing of the timing signal generation circuit 45 when the bus slot time of 250 nsec described above is set.

【0031】次に、バスコントローラ4において、任意
個数のバススロットを発生させる場合の動作を説明す
る。図10のタイミングチャートを参照する。例えば、
システム制御部5から二つのバススロット#0,#1を
設定する要求と、バススロット#0についてはバススロ
ット時間を200nsec に、バススロット#1について
はバススロット時間を250nsec に設定する要求とが
バスコントローラ4へ出されたとする。
Next, the operation when the bus controller 4 generates an arbitrary number of bus slots will be described. Reference is made to the timing chart of FIG. For example,
A request from the system control unit 5 to set two bus slots # 0 and # 1 and a request to set the bus slot time to 200 nsec for the bus slot # 0 and 250 nsec to the bus slot # 1. It is assumed that the data is sent to the bus controller 4.

【0032】システム制御部5からのバススロット設定
要求に基づき、バスコントローラ4のCPU41は、そ
のスロットセット出力ポート<2>にデータ出力パルス
を発すると同時に、CPUバスにバススロット#0に対
応した2ビットデータ
Based on the bus slot setting request from the system controller 5, the CPU 41 of the bus controller 4 issues a data output pulse to the slot set output port <2>, and at the same time, corresponds to the bus slot # 0 on the CPU bus. 2-bit data

〔00〕を出力する。このデータ
は、出力ポート<2>に出力されたデータ出力パルスの
立ち上がりのタイミング(図10のタイミングT1 )で
ラッチ回路L2aにラッチされる。
[00] is output. That data is latched in the latch circuit L2a at the rising edge of the output to the output port <2> data output pulses (timing T 1 of the FIG. 10).

【0033】続いて、CPU41は、スロットセット出
力ポート<3>にデータ出力パルスを発するとともに、
CPUバスにバススロット#1に対応したデータ〔0
1〕を出力する。このデータは、出力ポート<2>に前
記と同様に出力されたデータ出力パルス(図示せず)の
立ち上がりのタイミング(図10のタイミングT2 )で
ラッチ回路L3aにラッチされる。
Subsequently, the CPU 41 issues a data output pulse to the slot set output port <3> and
Data corresponding to bus slot # 1 on the CPU bus [0
1] is output. This data, the a is latched by the latch circuit L3a in the same output data output pulse rise timing (not shown) (timing T 2 of the FIG. 10) to the output port <2>.

【0034】バススロット#0,#1に対応したデータ
がラッチされると、CPU41は、スロット番号セット
出力ポート<N>にデータ出力パルスを発すると同時
に、現在発生しているバススロットの数の、2ビット構
成における2の補数値をCPUバスに出力する。例え
ば、1バスサイクルにおけるバススロットの数が『1』
であれば『3』、『2』であれば『2』、『3』であれ
ば『1』、『4』であれば『0』を出力する。ここで
は、設定バススロット数は『2』であるから、CPUバ
ス上には『2』(すなわち、2ビットデータ〔10〕)
が出力される。このデータは、出力ポート<N>に出力
されたデータ出力パルスの立ち上がりのタイミング(図
10のタイミングT3 )でラッチ回路LN1にラッチさ
れる。このデータは次の基準パルスP3の立ち上がりで
ラッチ回路LN2にラッチされる。
When the data corresponding to the bus slots # 0 and # 1 is latched, the CPU 41 issues a data output pulse to the slot number set output port <N> and, at the same time, determines the number of bus slots currently occurring. The 2's complement value in the 2-bit configuration is output to the CPU bus. For example, the number of bus slots in one bus cycle is "1".
If so, "3", if "2", "2", if "3", "1", and if "4", "0" is output. Here, since the number of set bus slots is "2", "2" (that is, 2-bit data [10]) on the CPU bus.
Is output. This data is latched by the latch circuit LN1 at the output port <N> output data output pulse of the rise timing (the timing T 3 in FIG. 10). This data is latched in the latch circuit LN2 at the next rising edge of the reference pulse P3.

【0035】全てのラッチ回路LXa(添字Xは『3』〜
『0』を表す)へのデータ設定が終了すると、CPU4
1はこれらのデータを対応するラッチ回路LXbに移すた
めに、出力ポート<L-end>に制御パルスを発行する。
この制御パルスはRSフリップ・フロップ49へのリセ
ット信号となり、そのQ端子出力信号LEを『L』レベ
ルに設定する(図10のタイミングT4 に対応する)。
RSフリップ・フロップ49の『L』レベルの出力信号
LEはラッチ回路51のD入力端子に与えられる。その
結果、ラッチ回路51のクロック端子CKに入力する基
準パルスP2の立ち上がりタイミングで、ラッチ回路5
1のQバー端子出力信号LE’が『H』レベルになるこ
とにより、NANDゲート48のゲートが解除され、カ
ウンタ43のキャリー端子信号Cを出力側信号Load−b
として通過させる状態とする。
All latch circuits L Xa (subscript X is "3"-
When the data setting to "0" is completed, the CPU 4
1 issues a control pulse to the output port <L-end> in order to transfer these data to the corresponding latch circuit L Xb .
The control pulse becomes a reset signal to the RS flip-flop 49 (corresponding to the timing T 4 in FIG. 10) to set its Q terminal output signal LE to the "L" level.
The “L” level output signal LE of the RS flip-flop 49 is given to the D input terminal of the latch circuit 51. As a result, at the rising timing of the reference pulse P2 input to the clock terminal CK of the latch circuit 51, the latch circuit 5
When the Q-bar terminal output signal LE 'of 1 becomes "H" level, the gate of the NAND gate 48 is released, and the carry terminal signal C of the counter 43 is changed to the output side signal Load-b.
And let it pass.

【0036】カウンタ43は、入力されるクロックCK
(基準パルスP1)が立ち上がる毎に出力データ(2ビ
ット)がカウントアップされる。一方、ロード・クロッ
ク端子LDEが『H』レベルであるとき、クロックCK
の立ち上がりで、ロード・データ端子LDDに入力して
いるデータをプリセットするように構成されている。キ
ャリー端子Cは、カウンタ43の計数値が『3』になっ
たときに『H』レベルを出力するものである。カウンタ
43に『2』がプリセットされると同時に、キャリー端
子Cは『L』レベルになる。
The counter 43 receives the input clock CK.
Every time (reference pulse P1) rises, output data (2 bits) is counted up. On the other hand, when the load clock terminal LDE is at "H" level, the clock CK
The data input to the load data terminal LDD is preset at the rising edge of. The carry terminal C outputs an "H" level when the count value of the counter 43 becomes "3". At the same time that "2" is preset in the counter 43, the carry terminal C becomes "L" level.

【0037】図10のタイミング図の初期状態におい
て、ラッチ回路LN2に値『1』が設定されていたと仮
定する。このときカウンタ43は、タイミングT5 でキ
ャリー端子Cを『H』レベルにすることにより、NAN
Dゲート48を介してそのキャリー端子信号Cを出力側
信号Load−bとして通過させる。そして、出力信号Load
−bの立ち上がりタイミングT6 で、ラッチ回路LXa
内容をラッチ回路LXbに移すとともに、単安定マルチバ
イブレータ50にトリガを与える。単安定マルチバイブ
レータ50は、このトリガ信号により一定時間幅(例え
ば、200nsec)のパルスを発生する。このパルス
(SET信号)によりRSフリップ・フロップ49がセ
ットされ、その結果、ラッチ回路51のQバー端子出力
信号LE’が『L』レベルになってNANDゲート48
がゲートされることにより、以後に発生するカウンタ4
3のキャリー信号によってラッチ回路LXaの出力データ
がラッチ回路LXbへラッチされないようにしている。
In the initial state of the timing chart of FIG. 10, it is assumed that the value "1" is set in the latch circuit LN2. At this time, the counter 43 sets the carry terminal C to the “H” level at timing T 5 ,
The carry terminal signal C is passed through the D gate 48 as the output side signal Load-b. And the output signal Load
At the rising edge T 6 of -b, with transfer the contents of the latch circuits L Xa in the latch circuit L Xb, to trigger the monostable multivibrator 50. The monostable multivibrator 50 generates a pulse having a constant time width (for example, 200 nsec) by this trigger signal. The RS flip-flop 49 is set by this pulse (SET signal), and as a result, the Q-bar terminal output signal LE ′ of the latch circuit 51 becomes “L” level and the NAND gate 48.
Is generated, the counter 4 is generated later
Output data of the latch circuit L Xa is prevented from being latched into the latch circuit L Xb by 3 carry signal.

【0038】これにより、選択回路42の入力端子<2
>に2ビットデータ
As a result, the input terminal <2 of the selection circuit 42
> To 2-bit data

〔00〕が、入力端子<3>に2ビ
ットデータ〔01〕がそれぞれ入力される。一方、同じ
タイミングT6 の時点でカウンタ43はラッチ回路LN
2のデータ(ここでは『2』)をLDD入力端子より取
り込み、プリセットデータとする。
2-bit data [01] is input to the input terminal <3>. On the other hand, at the same timing T 6 , the counter 43 has the latch circuit LN
Data 2 (here, “2”) is fetched from the LDD input terminal and used as preset data.

【0039】このときのカウンタ43の計数値は『2』
であり、この出力データが選択回路42の選択端子SE
Lに与えられることにより、選択回路42の入力端子<
2>に入力している2ビットデータ
The count value of the counter 43 at this time is "2".
And the output data is the selection terminal SE of the selection circuit 42.
By being applied to L, the input terminal of the selection circuit 42 <
2-bit data input to 2>

〔00〕が選択さ
れ、バッファ44を介して、バスライン1中のスロット
イネーブルラインに出力される。この2ビットデータ
が、バススロット#0に対応したスロットイネーブル信
号SE#0である。スロットイネーブルラインにスロッ
トイネーブル信号SE#0が出力されると、上述したタ
イミング信号発生回路45が作動し、バススロット時間
(図10のタイミングT6 からT7 までの時間)を20
0nsec に設定するのは上述したとおりである。なお、
本実施例では、初期状態において、スロットイネーブル
ライン上に例えば、スロットイネーブル信号SE#0
(すなわち、データ
[00] is selected and output to the slot enable line in the bus line 1 via the buffer 44. This 2-bit data is the slot enable signal SE # 0 corresponding to the bus slot # 0. When the slot enable line slot enable signal SE # 0 is output to actuate the timing signal generation circuit 45 described above, bus slot time (time from the timing T 6 in FIG. 10 to T 7) 20
The setting to 0 nsec is as described above. In addition,
In the present embodiment, in the initial state, for example, the slot enable signal SE # 0 is provided on the slot enable line.
(Ie data

〔00〕)を出力するようにしてい
るので、図10のタイミングT6 以前の基準パルスP1
の周期も200nsec になっている。
[00]), so as to output a timing T 6 earlier reference pulse P1 in FIG. 10
The cycle is also 200nsec.

【0040】そして、次の基準パルスP1(図10のタ
イミングT7 )により、カウンタ43がインクリメント
されて、その計数値が『3』になる。この出力データが
選択回路42の選択端子SELに与えられることによ
り、選択回路42の入力端子<3>に入力している2ビ
ットデータ〔01〕が選択され、スロットイネーブルラ
インに出力される。この出力データが、スロット#1に
対応したスロットイネーブル信号SE#1である。スロ
ットイネーブルラインにスロットイネーブル信号SE#
1が出力されると、タイミング信号発生回路45が作動
し、そのときのバススロット時間(図10のタイミング
7 からT8 までの時間)を250nsecに設定する。
The counter 43 is incremented by the next reference pulse P1 (timing T 7 in FIG. 10), and the count value becomes "3". By supplying this output data to the selection terminal SEL of the selection circuit 42, the 2-bit data [01] input to the input terminal <3> of the selection circuit 42 is selected and output to the slot enable line. This output data is the slot enable signal SE # 1 corresponding to the slot # 1. Slot enable signal SE # on the slot enable line
When 1 is output, the timing signal generating circuit 45 operates and sets the bus slot time (time from timing T 7 to T 8 in FIG. 10) at that time to 250 nsec.

【0041】カウンタ43の計数値が『3』になると同
時に、キャリー端子Cから再び『H』レベルが出力され
る。そして、次の基準パルスP1 の立ち上がりのタイミ
ング(図10のタイミングT8 )で、ラッチ回路LN2
のデータ『2』がカウンタ43に再びプリセットされ
る。これにより、カウンタ43の出力データが『2』に
なり、選択回路42からスロット#0に対応したスロッ
トイネーブル信号SE#0が出力されるとともに、タイ
ミング信号発生回路45によりバススロット時間が20
0nsec に設定される。
At the same time when the count value of the counter 43 becomes "3", the "H" level is output from the carry terminal C again. Then, at the next rising timing of the reference pulse P 1 (timing T 8 in FIG. 10), the latch circuit LN2
The data "2" is reset to the counter 43 again. As a result, the output data of the counter 43 becomes "2", the slot enable signal SE # 0 corresponding to the slot # 0 is output from the selection circuit 42, and the bus slot time is 20 by the timing signal generation circuit 45.
It is set to 0 nsec.

【0042】さらに次の基準パルスP1(図10のタイ
ミングT9 )によりカウンタ43がインクリメントされ
て、その出力データが『3』になると、選択回路42か
らスロットイネーブル信号SE#1が出力されるととも
に、バススロット時間が250nsec に設定される。
When the counter 43 is further incremented by the next reference pulse P1 (timing T 9 in FIG. 10) and the output data becomes "3", the selection circuit 42 outputs the slot enable signal SE # 1. , The bus slot time is set to 250 nsec.

【0043】以下、同様に、基準パルスP1の立ち上が
りのタイミングに同期して、バススロット時間が200
nsec のバススロット#0と、バススロット時間が25
0nsec のバススロット#1とで構成されたバスサイク
ルが繰り返される。
Thereafter, similarly, the bus slot time is set to 200 in synchronization with the rising timing of the reference pulse P1.
nsec bus slot # 0 and bus slot time is 25
The bus cycle composed of 0 nsec and bus slot # 1 is repeated.

【0044】本実施例に係る装置では、1バスサイクル
を構成するバススロットの数を最大4個までの範囲で任
意に増減することが可能である。バススロットの増減
は、本発明の要旨であるバススロット時間の制御とは直
接関係がないので、ここでは簡単な説明に止める。例え
ば、現在の使用スロットが#0,#1である場合に、シ
ステム制御部5は外部データ処理装置2から新たなデー
タ転送要求を受け取ると、現在使用されていない空きス
ロットの内から適宜なスロット(例えば、スロット#
2)を指定して、そのスロットの発生要求と、データ転
送要求を出した外部データ処理装置2のアクセスタイム
に対応したバススロット時間情報をバスコントローラ4
に出力することにより、新たなバススロットが設定され
る。また、ある外部データ処理装置2の間でデータ転送
が完了すると、システム制御部5は、それらの外部デー
タ処理装置2からデータ転送完了の通知を受けるので、
この通知に基づいてバスコントローラ4へ、前記データ
転送に使用していたスロットの消滅指令を出すことによ
り、そのスロットを消滅させる。
In the device according to the present embodiment, the number of bus slots forming one bus cycle can be arbitrarily increased or decreased within the range of up to 4. Since the increase / decrease of the bus slot is not directly related to the control of the bus slot time which is the gist of the present invention, only a brief description will be given here. For example, when the currently used slots are # 0 and # 1, when the system control unit 5 receives a new data transfer request from the external data processing device 2, an appropriate slot is selected from the currently unused empty slots. (For example, slot #
2) is designated, bus slot time information corresponding to the slot generation request and the access time of the external data processing device 2 which has issued the data transfer request is provided to the bus controller 4
To a new bus slot is set. Further, when the data transfer is completed between certain external data processing devices 2, the system control unit 5 receives a notification of the data transfer completion from those external data processing devices 2.
Based on this notification, the bus controller 4 is instructed to erase the slot used for the data transfer to erase the slot.

【0045】以上で、バスコントローラ4の動作説明を
終り、次に、図4に示したデータ受信専用のインターフ
ェース回路3aおよびデータ送信専用のインターフェー
ス回路3bの具体的な構成を説明する。なお、データの
送受信が可能なインターフェース回路3の場合は、後述
するインターフェース回路3aおよび3bの各構成を兼
ね備える構成であるので、その説明は省略する。まず、
図11を参照して送信専用のインターフェース回路3b
の構成を説明する。
The operation of the bus controller 4 has been described above. Next, the specific configurations of the interface circuit 3a dedicated to data reception and the interface circuit 3b dedicated to data transmission shown in FIG. 4 will be described. Note that the interface circuit 3 capable of transmitting and receiving data has a configuration that also includes the configurations of interface circuits 3a and 3b to be described later, and a description thereof will be omitted. First,
Referring to FIG. 11, an interface circuit 3b dedicated to transmission
The configuration of will be described.

【0046】インターフェース回路3bは、システム制
御部5からコマンドライン7を介してスロット設定指令
を受けてスロット番号(SL0T#)を設定する制御コ
マンド処理部31と、前記スロット番号とバスコントロ
ーラ4から順に送られてくるスロットイネーブル信号S
E#とを比較する比較器32と、バスライン1のデータ
バリッドラインを介した送信先との間のハンドシェイク
に基づき比較器32の出力を有効なものにする第1ハン
ドシェイク処理部33と、外部データ処理装置2bとの
間でハンドシェイクをとるための第2ハンドシェイク処
理部34と、外部データ処理装置2bから送られてきた
データをラッチするためのラッチ回路35等を備えてい
る。なお、図示していないが、インターフェース回路3
bはバスコントローラ4から送られてきた基準クロック
CKおよびバスクロックBCLに基づいて、図6に示し
たような基準パルスP1〜P4を生成する内部回路をも
備えている。
The interface circuit 3b receives a slot setting command from the system control section 5 via the command line 7 and sets a slot number (SL0T #), a control command processing section 31, and the slot number and the bus controller 4 in this order. Slot enable signal S sent
A comparator 32 that compares E # with a first handshake processing unit 33 that validates the output of the comparator 32 based on a handshake between the destination via the data valid line of the bus line 1; A second handshake processing unit 34 for performing a handshake with the external data processing device 2b, a latch circuit 35 for latching the data sent from the external data processing device 2b, and the like. Although not shown, the interface circuit 3
b also includes an internal circuit that generates reference pulses P1 to P4 as shown in FIG. 6 based on the reference clock CK and the bus clock BCL sent from the bus controller 4.

【0047】以下、図12のタイミングチャートを参照
して、インターフェース回路3bの動作を説明する。な
お、図中の斜線領域は、そのデータあるいはレベルがど
のような状態であってもよいことを意味する。ここで
は、スロット#1を使ってデータを転送するものとす
る。制御コマンド処理部31は、システム制御部5から
スロット#1の設定指令を受けることにより、スロット
#1に対応したデータ(ここでは、2ビットデータ〔0
1〕)を生成して、これを比較器32の一方への入力と
して与える。比較器32は、制御コマンド処理部31で
設定されたスロット番号と、バスコントローラ4から順
に送られてくるスロットイネーブル信号SE#とを比較
し、バススロット#1に対応したスロットイネーブル信
号SE#1が送られてきたときに、一致信号EQを第1
ハンドシェイク処理部33に出力する(図12のタイミ
ングT1 )。
The operation of the interface circuit 3b will be described below with reference to the timing chart of FIG. The shaded area in the figure means that the data or level may be in any state. Here, it is assumed that data is transferred using slot # 1. The control command processing unit 31 receives the setting command of the slot # 1 from the system control unit 5, and thereby the data (here, 2-bit data [0
1]) and provides it as an input to one of the comparators 32. The comparator 32 compares the slot number set by the control command processing unit 31 with the slot enable signal SE # sequentially sent from the bus controller 4, and the slot enable signal SE # 1 corresponding to the bus slot # 1. Is sent, the match signal EQ
The data is output to the handshake processing unit 33 (timing T 1 in FIG. 12).

【0048】このとき、送信先のインターフェース回路
3がデータを受け入れられる状態であって、データバリ
ッドライン上に『H』レベルのDVOUT 信号が乗ってい
ると、このDVOUT 信号がバッファB1を介してAND
ゲートG1の一方への入力として与えられている。その
結果、比較器32の一致信号EQがANDゲートG1を
通過して、フリップ・フロップFF1のD端子に入力す
る。この一致信号EQは、フリップ・フロップFF1の
T端子に与えられた基準パルスP4の立ち上がりのタイ
ミング(図12のタイミングT2 )でラッチされる。
At this time, if the destination interface circuit 3 is in a state of accepting data and the DV OUT signal of "H" level is on the data valid line, this DV OUT signal is passed through the buffer B1. AND
It is provided as an input to one of the gates G1. As a result, the coincidence signal EQ of the comparator 32 passes through the AND gate G1 and is input to the D terminal of the flip-flop FF1. This coincidence signal EQ is latched at the rising timing (timing T 2 in FIG. 12) of the reference pulse P4 given to the T terminal of the flip-flop FF1.

【0049】フリップ・フロップFF1の出力信号SL
TEは、NANDゲートG2およびANDゲートG3の
それぞれ一方への入力として与えられる。いま、ラッチ
回路35に転送されるデータがラッチされているとす
る。そうすると、ANDゲートG3の出力が、基準パル
スP4が出ていない期間(すなわち、基準パルスP1か
らP3までの期間)、『H』レベルになることによっ
て、バッファB3が開かれ、ラッチ回路35の出力デー
タがデータバスに出力される。ここで、基準パルスP4
の期間を避けてデータを転送するのは、隣接するバスロ
ットで転送されるデータ同士がデータバス上で緩衝する
のを防止するためである。
Output signal SL of flip-flop FF1
TE is provided as an input to each one of NAND gate G2 and AND gate G3. Now, it is assumed that the data transferred to the latch circuit 35 is latched. Then, the output of the AND gate G3 becomes "H" level during the period when the reference pulse P4 is not output (that is, the period from the reference pulse P1 to P3), the buffer B3 is opened, and the output of the latch circuit 35 is output. Data is output on the data bus. Here, the reference pulse P4
The reason why the data is transferred while avoiding the period is to prevent the data transferred in the adjacent bus slots from buffering each other on the data bus.

【0050】一方、NANDゲートG2は、フリップ・
フロップFF1の出力信号SLTEが与えられている状
態で、他方入力として次の基準パルスP3を与えられる
と(図12のタイミングT3 )、NANDゲートG2の
出力が立ち下がり、第2ハンドシェイク処理部34のフ
リップ・フロップFF2のリセット端子RSバーをアク
ティブにする。その結果、フリップ・フロップFF2の
Qバー出力が『H』レベルになり、この出力が外部デー
タ処理装置2bにデータ入力準備完了信号IRとして与
えられる。なお、このときフリップ・フロップFF2の
Q端子の出力信号DVINが『L』レベルになる。この出
力信号DVINは、第1ハンドシェイク処理部33のバッ
ファB2を介してデータバリッドラインを出力され、転
送先のインターフェース回路3にデータが出力されない
状態であることを知らせる。
On the other hand, the NAND gate G2 is a flip-flop.
When the next reference pulse P3 is applied as the other input (timing T 3 in FIG. 12) while the output signal SLTE of the flop FF1 is applied, the output of the NAND gate G2 falls and the second handshake processing unit The reset terminal RS bar of the flip-flop FF2 of 34 is activated. As a result, the Q-bar output of the flip-flop FF2 becomes "H" level, and this output is given to the external data processing device 2b as the data input preparation completion signal IR. At this time, the output signal DV IN of the Q terminal of the flip-flop FF2 becomes "L" level. The output signal DV IN is output from the data valid line via the buffer B2 of the first handshake processing unit 33 and informs the transfer destination interface circuit 3 that no data is output.

【0051】外部データ処理装置2bの図示しないCP
Uが、前記データ入力準備完了信号IRが『H』レベル
になったことを確認すると、インターフェース回路3b
のフリップ・フロップFF3にデータ転送信号DTを出
力する(図12のタイミングT4 )。これにより、第2
ハンドシェイク処理部34のフリップ・フロップFF3
は、次の基準パルスP1の立ち上がりタイミング(図1
2のタイミングT5 )で、前記データ転送信号DTをラ
ッチし、『H』レベルを出力する。この出力信号IDG
がラッチ回路35に与えられることにより、外部データ
処理装置2b内のラッチ回路21から出力されている次
の転送データが、ラッチ回路35にラッチされる。な
お、この例では、データ転送信号DTのパルス幅は基準
パルスP1の周期よりも長いものとし、ラッチ回路35
に入力されるデータも充分安定に確定しているものとす
る。
CP (not shown) of the external data processing device 2b
When U confirms that the data input preparation completion signal IR has become "H" level, the interface circuit 3b
And outputs the data transfer signal DT to the flip-flop FF3 (timing T 4 in FIG. 12). This makes the second
Flip-flop FF3 of the handshake processing unit 34
Is the rising timing of the next reference pulse P1 (see FIG.
In second timing T 5), latches the data transfer signal DT, and outputs the "H" level. This output signal IDG
Is supplied to the latch circuit 35, the next transfer data output from the latch circuit 21 in the external data processing device 2b is latched in the latch circuit 35. In this example, the pulse width of the data transfer signal DT is longer than the cycle of the reference pulse P1, and the latch circuit 35 is used.
It is assumed that the data input to is also stable enough.

【0052】IDG信号が『H』レベルになると、フリ
ップ・フロップFF2の出力が反転し、ハンドシェイク
用のDVIN信号が『H』レベルになり、データを送信で
きる状態であることを転送先に知らせる。
When the IDG signal goes to the "H" level, the output of the flip-flop FF2 is inverted, the DV IN signal for handshake goes to the "H" level, and the state in which data can be transmitted is transferred to the transfer destination. Inform.

【0053】以下、上述したと同様に、バスコントロー
ラ4からスロットイネーブル信号SE#1が転送される
とともに、ハンドシェイク用のDVOUT 信号が『H』レ
ベルになることに基づき、ラッチ回路35のデータが転
送される。
Thereafter, in the same manner as described above, when the slot enable signal SE # 1 is transferred from the bus controller 4 and the DV OUT signal for handshake becomes the "H" level, the data of the latch circuit 35 is changed. Is transferred.

【0054】次に、図4に示した受信専用のインターフ
ェース回路3aの構成を図13を参照して説明する。受
信専用のインターフェース回路3aも、上述した送信専
用のインターフェース回路3bと同様の制御コマンド処
理部31、比較器32、第1ハンドシェイク処理部33
と、インターフェース回路3a固有の第2ハンドシェイ
ク処理部36を備えている。
Next, the structure of the interface circuit 3a dedicated to reception shown in FIG. 4 will be described with reference to FIG. The interface circuit 3a dedicated to reception also has the same control command processing unit 31, comparator 32, and first handshake processing unit 33 as the interface circuit 3b dedicated to transmission described above.
And a second handshake processing unit 36 unique to the interface circuit 3a.

【0055】以下、図14のタイミングチャートを参照
してインターフェース回路3aの動作を説明する。ここ
ではスロット#1を使ってデータ転送を行う場合を説明
する。
The operation of the interface circuit 3a will be described below with reference to the timing chart of FIG. Here, a case where data transfer is performed using slot # 1 will be described.

【0056】上述したインターフェース回路3bの場合
と同様に、バスライン1内のデータバリットラインのD
OUT 信号が『H』レベルになっている状態で、バスコ
ントローラ4からスロットイネーブル信号SE#1が送
られてくると、比較器32が一致信号EQを出力するこ
とにより、第1ハンドシェイク処理部33から『H』レ
ベルのSLTE信号が出力される(図14のタイミング
1 )。このSLTE信号が第2ハンドシェイク処理部
36のフリップ・フロップFF4のD端子に入力され
る。
As in the case of the interface circuit 3b described above, D of the data valid line in the bus line 1
When the slot enable signal SE # 1 is sent from the bus controller 4 while the V OUT signal is at “H” level, the comparator 32 outputs the coincidence signal EQ, whereby the first handshake process is performed. The SLTE signal of "H" level is output from the section 33 (timing T 1 in FIG. 14). This SLTE signal is input to the D terminal of the flip-flop FF4 of the second handshake processing unit 36.

【0057】フリップ・フロップFF4のQ端子の出力
信号(BDG信号)は、T端子に入力する基準パルスP
3の立ち上がりのタイミング(図14のタイミング
2 )で、『H』レベルになる。このBDG信号により
バスライン1上の転送データがラッチ回路35にラッチ
される。
The output signal (BDG signal) from the Q terminal of the flip-flop FF4 is the reference pulse P input to the T terminal.
At the rising timing of 3 (timing T 2 in FIG. 14), the level becomes “H”. The BDG signal causes the transfer data on the bus line 1 to be latched in the latch circuit 35.

【0058】BDG信号が『H』レベルになるととも
に、フリップ・フロップFF5のQ端子の出力が『H』
レベルに、Qバー端子の出力が『L』レベルに反転す
る。Q出力はデータ出力準備完了信号ORとして、外部
データ処理装置2aの図示しないCPUに送られる。ま
た、Qバー出力(DVIN信号)は第1ハンドシェイク処
理部33のバッファB2を介してデータバリッドライン
に出力され、このデータバリッドラインを『L』レベル
にすることにより、データが受け入れられない状態であ
ることを送信先に知らせる。
When the BDG signal becomes "H" level, the output of the Q terminal of the flip-flop FF5 becomes "H".
The output of the Q bar terminal is inverted to the “L” level. The Q output is sent to a CPU (not shown) of the external data processing device 2a as a data output preparation completion signal OR. Further, the Q-bar output (DV IN signal) is output to the data valid line via the buffer B2 of the first handshake processing unit 33, and the data is not accepted by setting this data valid line to the “L” level. Notify the destination that the status is.

【0059】前記データ出力準備完了信号ORを受け取
った外部データ処理装置2aのCPUは、データ受取信
号DGを第2ハンドシェイク処理部36へ返送するとと
もに(図14のタイミングT3 )、外部データ処理装置
2内のラッチ回路21にラッチ回路35の出力データを
ラッチする。ここで、DG信号のパルス幅は基準パルス
P1の周期よりも長いものと仮定する。
The CPU of the external data processing device 2a, which has received the data output preparation completion signal OR, returns the data reception signal DG to the second handshake processing unit 36 (timing T 3 in FIG. 14) and performs external data processing. The output data of the latch circuit 35 is latched in the latch circuit 21 in the device 2. Here, it is assumed that the pulse width of the DG signal is longer than the cycle of the reference pulse P1.

【0060】DG信号を受け取った第2ハンドシェイク
処理部36のフリップ・フロップFF6は、次の基準パ
ルスP1の立ち上がりのタイミング(図14のタイミン
グT4 )で、そのQ出力が『H』レベルに反転し、この
Q出力がNANDゲートG4の一方入力として与えられ
る。そして、さらに次の基準パルスP1の立ち上がりの
タイミング(図14のタイミングT5 )でNANDゲー
トG4の出力がアクティブになることにより、フリップ
・フロップFF5がリセットされてQ,Qバー出力が反
転し、データ出力準備完了信号ORが立ち下がるととも
に、DVIN信号が立ち上がる。データ出力準備完了信号
ORが『L』レベルになることによって、外部データ処
理装置2aへデータ出力の準備が完了してないこを知ら
せる。また、DVIN信号が立ち上がることにより、デー
タの受け入れ準備が完了したことを転送先に知らせる。
[0060] Flip-flop FF6 in the second handshake processor 36 for receiving the DG signal at the rising edge of the next reference pulse P1 (timing T 4 in FIG. 14), at its Q output is "H" level Inversion, and this Q output is given as one input of the NAND gate G4. Then, the output of the NAND gate G4 becomes active at the timing of the next rising of the reference pulse P1 (timing T 5 in FIG. 14), whereby the flip-flop FF5 is reset and the Q and Q bar outputs are inverted, The data output preparation completion signal OR falls and the DV IN signal rises. When the data output preparation completion signal OR becomes the “L” level, the external data processing device 2a is notified that the preparation for data output is not completed. Further, when the DV IN signal rises, the transfer destination is notified that the preparation for accepting the data is completed.

【0061】以下、上述したと同様にバスライン1のデ
ータバリッドラインのDVOUT 信号が『H』レベルの状
態でスロットイネーブル信号SE#1が送られてくる
と、比較器32が一致信号EQを出力することにより、
第1ハンドシェイク処理部33からSLTE信号が出さ
れ、データバス上のデータがラッチ回路35にラッチさ
れる。そして、外部データ処理装置2aとの間でハンド
シェイクを取ることによって、ラッチ回路35のデータ
が外部データ処理装置2aに転送される。
In the same manner as described above, when the slot enable signal SE # 1 is sent while the DV OUT signal of the data valid line of the bus line 1 is at "H" level, the comparator 32 outputs the coincidence signal EQ. By outputting
The SLTE signal is output from the first handshake processing unit 33, and the data on the data bus is latched by the latch circuit 35. Then, the data in the latch circuit 35 is transferred to the external data processing device 2a by performing a handshake with the external data processing device 2a.

【0062】なお、上述した実施例では、200nsec
と250nsec の2種類のバススロット時間を設定でき
るようにしたが、本発明はこれに限定されず、設定され
るバススロット時間の種類や、各々の時間は任意であ
る。例えば、図15は、4種類のバススロット#0〜#
3に対して、4種類のバススロット時間100nsec ,
150nsec ,200nsec ,250nsec を設定する
場合に使用されるタイミング信号発生回路45の構成例
を示している。時分割転送装置の他の構成は、上述の実
施例と同様である。
In the above embodiment, 200 nsec.
Although two types of bus slot times of 250 nsec and 250 nsec can be set, the present invention is not limited to this, and the type of bus slot time set and each time are arbitrary. For example, FIG. 15 shows four types of bus slots # 0 to #.
3 types, 4 types of bus slot time 100 nsec,
The configuration example of the timing signal generation circuit 45 used when setting 150 nsec, 200 nsec, and 250 nsec is shown. The other configuration of the time division transfer device is the same as that of the above-mentioned embodiment.

【0063】この例では、4種類のバススロット時間を
設定するために、バススロット時間情報BTは、各バス
スロット#0〜#3について、それぞれ2ビットのデー
タで構成されている。ここでは、バススロット時間情報
BTX0,BTX1(添字Xは、バススロット#0〜#3に
対応した『0』〜『3』の何れかである)が、
In this example, in order to set four types of bus slot times, the bus slot time information BT is composed of 2-bit data for each of the bus slots # 0 to # 3. Here, the bus slot time information BT X0 , BT X1 (the subscript X is any of “0” to “3” corresponding to the bus slots # 0 to # 3),

〔00〕
のときは100nsec 、〔01〕のときは150nsec
、〔10〕のときは200nsec 、〔11〕のときは
250nsec に、バススロット時間が設定されるように
なっている。
[00]
Is 100 nsec when, and [01] is 150 nsec
, [10] is set to 200 nsec, and [11] is set to 250 nsec.

【0064】このタイミング信号発生回路45は、バス
スロット#0〜#3に対応して4つのANDゲート群G
00〜G03、G10〜G13、G20〜G23、G3
0〜G33を備え、各ANDゲート群は4種類のバスス
ロット時間に対応して4つのANDゲートで構成されて
いる。また、4種類のバススロット時間に対応して4つ
のNORゲートG100,G150,G200,G25
0と、4つのANDゲートG101,G151,G20
1,G251を備えている。
The timing signal generating circuit 45 includes four AND gate groups G corresponding to the bus slots # 0 to # 3.
00-G03, G10-G13, G20-G23, G3
0 to G33, and each AND gate group is composed of four AND gates corresponding to four types of bus slot times. Also, four NOR gates G100, G150, G200, G25 are provided corresponding to four types of bus slot times.
0 and four AND gates G101, G151, G20
1, G251.

【0065】例えば、スロットイネーブルライン上に、
バススロット#1に対応したスロットイネーブル信号
〔01〕が出現すると、ANDゲート群G10〜G13
が選択される。このときバススロット#1に対応したバ
ススロット時間情報BT10,BT11が〔01〕であった
とすると、ANDゲート群G10〜G13の内のAND
ゲートG11が選択されて『H』レベルを出力する。そ
の結果、NORゲートG150が『L』レベルを出力
し、ANDゲートG151が選択される。ANDゲート
G151は、カウンタ451が〔010〕を出力するご
とに『H』レベルを出力し、これに伴いNORゲート3
00が『L』レベルを出力する。その結果、カウンタ4
51がクリアされるとともに、フリップ・フロップ45
2のQ出力が反転する。カウンタ451は37.5nse
c ごとに〔010〕を出力するので、フリップ・フロッ
プ452は75nsec の基本クロックCLを出力する。
すなわち、バススロット時間は、基本クロックの2倍周
期である150nsec に設定される。
For example, on the slot enable line,
When the slot enable signal [01] corresponding to the bus slot # 1 appears, AND gate groups G10 to G13
Is selected. At this time, if the bus slot time information BT 10 and BT 11 corresponding to the bus slot # 1 is [01], AND of the AND gate groups G10 to G13 is performed.
The gate G11 is selected and outputs "H" level. As a result, the NOR gate G150 outputs the "L" level, and the AND gate G151 is selected. The AND gate G151 outputs "H" level every time the counter 451 outputs [010], and accordingly, the NOR gate 3
00 outputs the “L” level. As a result, counter 4
51 is cleared and the flip-flop 45
The Q output of 2 is inverted. Counter 451 is 37.5nse
Since [010] is output for each c, the flip-flop 452 outputs the basic clock CL of 75 nsec.
That is, the bus slot time is set to 150 nsec which is a double cycle of the basic clock.

【0066】なお、バススロットの種類も4種類に限定
されない。例えば、スロットイネーブル信号を4ビット
構成にすれば、16種類のバススロットを発生させるこ
とができる。これに伴い、図15に示したタイミング信
号発生回路45のバススロット判定用のANDゲート群
を16個に増設し、各ANDゲート群に各々のバススロ
ットに対応したバススロット時間情報(4種類であれば
2ビットデータ)を与える。ANDゲート群の増設に伴
い、NORゲートG100〜G250には、各々16本
の信号線が接続されるのは言うまでもない。
The types of bus slots are not limited to four types. For example, if the slot enable signal has a 4-bit structure, 16 types of bus slots can be generated. Along with this, 16 AND gate groups for bus slot determination of the timing signal generating circuit 45 shown in FIG. 15 are added, and bus slot time information (in 4 types) corresponding to each bus slot is added to each AND gate group. If there is 2-bit data). It goes without saying that 16 signal lines are connected to each of the NOR gates G100 to G250 as the AND gate group is added.

【0067】また、バス制御手段としてのバスコントロ
ーラ4や、モジュールとしてのインターフェース回路3
a,3bの構成は、上述した実施例のものに限定され
ず、適宜に変更実施することが可能である。要するに、
バスコントローラ4は、システム制御部5からの指令に
基づき、各外部データ処理装置2の間でデータ転送する
のに必要にして十分なバススロットを発生させるととも
に、各バススロットについて外部データ処理装置2のア
クセスタイムに応じたバススロット時間を設定できれば
よい。さらに、インターフェース回路3は、バスコント
ローラ4から送られてくる一連のスロットイネーブル信
号と、システム制御部5によって予め与えられたスロッ
ト番号とを比較し、両者が一致したことに基づいて、デ
ータバスに対してデータの授受を行うようなものであれ
ばよい。
A bus controller 4 as a bus control means and an interface circuit 3 as a module
The configurations of a and 3b are not limited to those of the above-described embodiment, and can be appropriately modified and implemented. in short,
The bus controller 4 generates a bus slot necessary and sufficient for data transfer between the external data processing devices 2 based on a command from the system control unit 5, and the external data processing device 2 for each bus slot. It is only necessary to be able to set the bus slot time according to the access time. Further, the interface circuit 3 compares a series of slot enable signals sent from the bus controller 4 with a slot number given in advance by the system control unit 5, and based on the fact that the two coincide with each other, the interface bus 3 stores the data in the data bus. Any data transmission / reception can be used.

【0068】[0068]

【発明の効果】以上の説明から明らかなように、本発明
に係るデータの時分割転送装置によれば、データ転送の
要求のあったモジュールのアクセスタイムに応じて、バ
ススロット時間、すなわち、当該データ転送に使用する
バススロットに固有のスロットイネーブル信号を送出す
る時間を制御しているので、従来装置のように、アクセ
スタイムの遅いモジュールに合わせてバススロット時間
を一律に長く設定しておくものに比べ、システム全体の
データ転送効率を向上することができる。また、本発明
によれば、複数個のモジュールの中にアクセスタイムの
遅いモジュールが存在しても、システム全体のデータ転
送効率を著しく低下させることがないので、アクセスタ
イムの遅い既存のモジュールを使用することができ、そ
れだけシステムの開発期間の短縮および開発費用の低減
を図ることもできる。
As is apparent from the above description, according to the time-division transfer device for data according to the present invention, the bus slot time, that is, the time corresponding to the access time of the module which has requested the data transfer, Since the time to send the slot enable signal specific to the bus slot used for data transfer is controlled, the bus slot time is set to be uniformly long according to the module with the slow access time as in the conventional device. Compared with, the data transfer efficiency of the entire system can be improved. Further, according to the present invention, even if there is a module with a slow access time among a plurality of modules, the data transfer efficiency of the entire system is not significantly deteriorated, so that the existing module with a slow access time is used. Therefore, it is possible to shorten the development period of the system and reduce the development cost.

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

【図1】本発明に係るデータの時分割転送装置の一実施
例の概略構成を示したブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a time division transfer device for data according to the present invention.

【図2】外部データ処理装置間の転送例の説明図であ
る。
FIG. 2 is an explanatory diagram of an example of transfer between external data processing devices.

【図3】複数のバススロットから構成されるバスサイク
ルの説明図である。
FIG. 3 is an explanatory diagram of a bus cycle including a plurality of bus slots.

【図4】インターフェース回路の接続構造の説明図であ
る。
FIG. 4 is an explanatory diagram of a connection structure of an interface circuit.

【図5】バスコントローラの具体的構成を示したブロッ
ク図である。
FIG. 5 is a block diagram showing a specific configuration of a bus controller.

【図6】時分割伝送の制御のために使用されるパルスの
波形図である。
FIG. 6 is a waveform diagram of pulses used for controlling time division transmission.

【図7】タイミング信号発生回路の具体的構成を示した
ブロック図である。
FIG. 7 is a block diagram showing a specific configuration of a timing signal generation circuit.

【図8】タイミング信号発生回路の動作説明に供するタ
イミング図である。
FIG. 8 is a timing chart for explaining the operation of the timing signal generation circuit.

【図9】タイミング信号発生回路の動作説明に供するタ
イミング図である。
FIG. 9 is a timing chart for explaining the operation of the timing signal generation circuit.

【図10】複数のバススロットを発生させる場合のバス
コントローラの動作に係るタイミング図である。
FIG. 10 is a timing diagram relating to the operation of the bus controller when generating a plurality of bus slots.

【図11】データ送信専用のインターフェース回路の具
体的構成を示したブロック図である。
FIG. 11 is a block diagram showing a specific configuration of an interface circuit dedicated to data transmission.

【図12】データ送信専用のインターフェース回路の動
作説明に係るタイミング図である。
FIG. 12 is a timing chart for explaining the operation of the interface circuit dedicated to data transmission.

【図13】データ受信専用のインターフェース回路の具
体的構成を示したブロック図である。
FIG. 13 is a block diagram showing a specific configuration of an interface circuit dedicated to data reception.

【図14】データ受信専用のインターフェース回路の動
作説明に係るタイミング図である。
FIG. 14 is a timing chart for explaining the operation of the interface circuit dedicated to data reception.

【図15】タイミング信号発生回路の別実施例の構成を
示したブロック図である。
FIG. 15 is a block diagram showing a configuration of another embodiment of the timing signal generation circuit.

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

1…バスライン 2(21 ,…,2i ,…,2n )…外部データ処理装置 3(31 ,…,3i ,…,3n )…インターフェース回
路 3a…データ受信専用インターフェース回路 3b…データ送信専用インターフェース回路 (2,3…モジュール) 4…バスコントローラ(バス制御手段) 5…システム制御部(システム制御手段) 45…タイミング信号発生回路
1 ... Bus line 2 (2 1 , ..., 2 i , ..., 2 n ) ... External data processing device 3 (3 1 , ..., 3 i , ..., 3 n ) ... Interface circuit 3 a ... Data reception dedicated interface circuit 3 b ... Data transmission dedicated interface circuit (2, 3 ... module) 4 ... Bus controller (bus control means) 5 ... System control unit (system control means) 45 ... Timing signal generation circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ転送の最小時間単位であるバスス
ロットを設定し、データ転送の要求数に応じた複数のバ
ススロットで構成されたバスサイクルを繰り返すことに
よって、データを時分割転送する装置であって、 共通のデータバスに接続され、前記データバスを通じて
データの授受を行う複数のモジュールと、前記データ授
受の時分割転送を制御するバス制御手段と、前記各モジ
ュールおよび前記バス制御手段に関連して設けられたシ
ステム制御手段とを含み、 前記システム制御手段は、各モジュールからデータ転送
の要求を受けることにより、前記バス制御手段に対し
て、当該データ転送に必要なバススロットの設定指令
と、データ転送に係るモジュールのアクセスタイムに応
じたバススロット時間の設定指令とを出すとともに、前
記データ転送に係るモジュールにデータ転送に使用する
スロット番号を知らせ、 前記バス制御手段は、前記システム制御手段からのバス
スロット設定指令に基づき、データ転送に使用する各バ
ススロットに固有のスロットイネーブル信号を繰り返し
送出するとともに、前記システム制御手段からのバスス
ロット時間設定指令に基づき、前記各スロットイネーブ
ル信号を送出する時間を制御し、 前記各モジュールは、前記バス制御手段から送られてく
る一連のスロットイネーブル信号を、前記システム制御
手段によって予め与えられたスロット番号と逐次比較
し、両者が一致したことに基づいて、データバスに対し
てデータの授受を行うこと、 を特徴とするデータの時分割転送装置。
1. An apparatus for time-division transfer of data by setting a bus slot, which is the minimum time unit of data transfer, and repeating a bus cycle composed of a plurality of bus slots according to the number of data transfer requests. A plurality of modules that are connected to a common data bus and exchange data through the data bus; a bus control unit that controls time-division transfer of the data exchange; and the modules and the bus control unit. The system control means is provided with a bus slot setting command necessary for the data transfer to the bus control means by receiving a data transfer request from each module. , Issuing a bus slot time setting command according to the access time of the module related to data transfer, and The module for data transfer is informed of the slot number used for data transfer, and the bus control means, based on the bus slot setting command from the system control means, a slot enable signal unique to each bus slot used for data transfer. Repeatedly, and controls the time for sending each slot enable signal based on the bus slot time setting command from the system control means, and each module controls the series of slots sent from the bus control means. A time-division transfer of data, characterized in that the enable signal is sequentially compared with a slot number given in advance by the system control means, and data is transferred to and from the data bus based on the coincidence between the two. apparatus.
JP4125533A 1992-04-17 1992-04-17 Time-division transfer device for data Expired - Fee Related JP2848738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4125533A JP2848738B2 (en) 1992-04-17 1992-04-17 Time-division transfer device for data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4125533A JP2848738B2 (en) 1992-04-17 1992-04-17 Time-division transfer device for data

Publications (2)

Publication Number Publication Date
JPH05298246A true JPH05298246A (en) 1993-11-12
JP2848738B2 JP2848738B2 (en) 1999-01-20

Family

ID=14912547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4125533A Expired - Fee Related JP2848738B2 (en) 1992-04-17 1992-04-17 Time-division transfer device for data

Country Status (1)

Country Link
JP (1) JP2848738B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008135068A (en) * 2000-08-29 2008-06-12 Agere Systems Guardian Corp Shared device and memory using split bus and time slot interface bus arbitration
JP2014078816A (en) * 2012-10-10 2014-05-01 Renesas Electronics Corp Semiconductor device, data transmission control method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58111456A (en) * 1981-12-24 1983-07-02 Nippon Telegr & Teleph Corp <Ntt> Information transmission system
JPS61217855A (en) * 1985-03-22 1986-09-27 Toshiba Corp Bus controlling system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58111456A (en) * 1981-12-24 1983-07-02 Nippon Telegr & Teleph Corp <Ntt> Information transmission system
JPS61217855A (en) * 1985-03-22 1986-09-27 Toshiba Corp Bus controlling system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008135068A (en) * 2000-08-29 2008-06-12 Agere Systems Guardian Corp Shared device and memory using split bus and time slot interface bus arbitration
JP2014078816A (en) * 2012-10-10 2014-05-01 Renesas Electronics Corp Semiconductor device, data transmission control method, and program

Also Published As

Publication number Publication date
JP2848738B2 (en) 1999-01-20

Similar Documents

Publication Publication Date Title
KR950014505B1 (en) Dynamic bus arbitration with concurrent same bus granting evey cycle
GB2255212A (en) Peripheral controller.
US4802161A (en) Packet bus interface
JP2705709B2 (en) Time-division transfer device for data
EP0185370B1 (en) Arbitration circuit
JPH05229162A (en) Thermal head and electronic appliance provided with that
JP2848738B2 (en) Time-division transfer device for data
JPH0691546B2 (en) Communication control method and apparatus
US5197065A (en) Distribution mechanism for establishing communications between user interfaces of a communication system
US3999170A (en) Multiple access interconnect system
JPS60245063A (en) Access system for shared memory
GB2234372A (en) Mass memory device
JP3389616B2 (en) Bus control method
JP3280694B2 (en) Serial interface circuit
JP2790748B2 (en) Serial data communication device
US6970477B2 (en) Data transmission circuit and method
SU646326A2 (en) System for information exchange between control computer and peripheral device
SU1486990A1 (en) System for numerical program control of group of machines
KR900006798Y1 (en) Device for sharing printers
KR100194657B1 (en) System control signal transmission circuit
JP2002024168A (en) Serial data transfer device
SU1267397A1 (en) Information input-output device
JPS5886652A (en) Time-division multifile access control circuit
JP2773637B2 (en) Line test pulse generator
KR940003332B1 (en) Dbus requester controlling accessing to system bus

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees