JPH09149043A - Contention multiplexer - Google Patents
Contention multiplexerInfo
- Publication number
- JPH09149043A JPH09149043A JP30584295A JP30584295A JPH09149043A JP H09149043 A JPH09149043 A JP H09149043A JP 30584295 A JP30584295 A JP 30584295A JP 30584295 A JP30584295 A JP 30584295A JP H09149043 A JPH09149043 A JP H09149043A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transmission
- transmission request
- fixed length
- address
- 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
Links
Landscapes
- Time-Division Multiplex Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、複数のデータ発
生源から非同期で出力される複数のデータを互いに重な
ることがないように1つの多重伝送路に送出する競合多
重装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a competitive multiplexing apparatus for sending a plurality of data output asynchronously from a plurality of data sources to one multiplex transmission line so as not to overlap each other.
【0002】[0002]
【従来の技術】近年、通信システムの開発が盛んに行わ
れている。この通信システムの中に、主となる1つの通
信装置に従となる複数の通信装置を接続して、通信を行
う多対1通信システムである。この多対1通信システム
の代表的な例として、ホストコンピュータに複数の端末
を接続する通信システムがある。2. Description of the Related Art In recent years, communication systems have been actively developed. This communication system is a many-to-one communication system in which a plurality of communication devices according to one main communication device are connected to perform communication. A typical example of this many-to-one communication system is a communication system in which a plurality of terminals are connected to a host computer.
【0003】このような通信システムにおいては、各端
末から送信されてきた通信データは、通常、多重された
後、ホストコンピュータの処理装置に供給される。した
がって、各端末から通信データが互いに非同期で送出さ
れる場合には、各端末から送信されてきた通信データの
競合による衝突を防止するための競合多重装置が必要に
なる。In such a communication system, the communication data transmitted from each terminal is usually multiplexed and then supplied to the processing unit of the host computer. Therefore, when the communication data is sent out asynchronously from each terminal, a contention multiplexer for preventing collision due to contention of the communication data sent from each terminal is required.
【0004】通信データが固定長データである場合、こ
の衝突を防止するための競合多重装置としては、従来、
優先順位方式と固定スケジューリング方式の競合多重装
置が考えられている。In the case where the communication data is fixed length data, a competitive multiplex device for preventing this collision has hitherto been known.
A competitive multiplex system of a priority system and a fixed scheduling system is considered.
【0005】ここで、優先順位方式の競合多重装置と
は、各端末ごとに、対応する端末から送信されてきた固
定長データを一時的に保持するバッファ部を設け、複数
のバッファ部で固定長データの送出要求が同時に発生し
た場合、これらの送出要求の中から、所定の優先順位に
従って、1つの送出要求を選択し、選択された送出要求
を発生したバッファ部から固定長データを送出する装置
である。Here, the priority system contention multiplexing apparatus is provided with a buffer unit for temporarily holding fixed length data transmitted from the corresponding terminal for each terminal, and the fixed length is composed of a plurality of buffer units. When data transmission requests are generated simultaneously, one transmission request is selected from these transmission requests in accordance with a predetermined priority order, and fixed length data is transmitted from the buffer unit that has generated the selected transmission request. Is.
【0006】また、固定スケジューリング方式の競合多
重装置とは、各端末ごとに、対応する端末から送信され
てきた固定長データを一時的に保持するバッファ部を設
け、各バッファ部に保持されている固定長データを、予
め定めたスケジュールに従って送出する装置である。Further, the fixed-scheduling contention multiplexer is provided with a buffer unit for temporarily holding the fixed-length data transmitted from the corresponding terminal for each terminal, and is held in each buffer unit. This is a device that sends fixed-length data according to a predetermined schedule.
【0007】優先順位方式の競合多重装置によれば、複
数のバッファ部で送出要求が同時に発生した場合でも、
所定の優先順位に従って、これらの中から1つの送出要
求を選択することができるので、複数の固定長データが
競合した場合でも、これらの衝突を防止することができ
る。According to the priority-based contention multiplexer, even when transmission requests are simultaneously generated in a plurality of buffer units,
Since one transmission request can be selected from these in accordance with a predetermined priority order, even if a plurality of fixed length data conflict, these collisions can be prevented.
【0008】また、固定スケジューリング方式の競合多
重装置によれば、各バッファ部に保持されている固定長
データは、予め定めたスケジュールに従って送出される
ので、複数の固定長データが競合した場合でも、これら
の衝突を防止することができる。Further, according to the fixed scheduling type competitive multiplexer, the fixed length data held in each buffer unit is sent out according to a predetermined schedule, so that even when a plurality of fixed length data competes with each other, These collisions can be prevented.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、優先順
位方式の競合多重装置においては、競合が発生するたび
に、所定の優先順位に従って、勝者を決定するようにな
っているため、各端末から送信される情報量の統計的性
質(ある単位時間内に発生する固定長データ数の平均
値、最大値、または、分散)が各端末ごとに大きく異な
る場合、情報量の多い端末の優先順位が低いと、この端
末から送信される固定長データの待合せ時間が長くな
り、この固定長データの遅延ゆらぎが大きくなるという
問題があった。However, in the contention multiplexer of the priority order system, the winner is determined in accordance with a predetermined priority order every time a conflict occurs, and therefore, it is transmitted from each terminal. If the statistical characteristics of the amount of information (average value, maximum value, or variance of the number of fixed-length data that occur within a unit time) differ greatly from terminal to terminal, then the terminal with a large amount of information has a low priority. However, there is a problem that the waiting time for the fixed length data transmitted from this terminal becomes long and the delay fluctuation of the fixed length data becomes large.
【0010】これにより、この競合多重装置を、固定長
データとして、音声と、画像と、データ等を扱うマルチ
メディア通信システムの競合多重装置に適用すると、音
声や画像を正常に再生することができなくなるおそれが
あった。Thus, when this competitive multiplex device is applied to a competitive multiplex device of a multimedia communication system that handles voice, image, data, etc. as fixed length data, voice and image can be reproduced normally. There was a risk of disappearing.
【0011】すなわち、音声や画像を伝送する場合は、
通信システム内で発生する遅延ゆらぎが伝送品質に大き
な影響を与え、この遅延ゆらぎが許容範囲を越えると、
受信側で、音声や画像を正常に再生することができなく
なる。したがって、音声や画像を伝送する場合は、遅延
ゆらぎを小さくする必要がある。That is, when transmitting voice and images,
Delay fluctuations that occur in the communication system have a great influence on the transmission quality, and if this delay fluctuation exceeds the allowable range,
It becomes impossible for the receiving side to properly play back the sound or image. Therefore, when transmitting voice or images, it is necessary to reduce delay fluctuation.
【0012】しかし、音声や画像は、通常、情報量が多
い。したがって、優先順位方式の競合多重装置を、マル
チメディア通信システムの競合多重装置に適用すると、
音声や画像の優先順位が低い場合、その待合せ時間が長
くなり、遅延ゆらぎが大きくなってしまう。その結果、
この場合は、音声や画像を正常に再生することができな
くなるおそれがあるわけである。However, voice and images usually have a large amount of information. Therefore, when the priority-based contention multiplexer is applied to a contention multiplexer of a multimedia communication system,
If the priority of voice or image is low, the waiting time becomes long and the delay fluctuation becomes large. as a result,
In this case, there is a possibility that the sound or the image cannot be reproduced normally.
【0013】また、固定スケジューリング方式の競合多
重装置においては、固定長データの送出要求の発生時刻
に関係なく、予め定めたスケジュールに従って、固定長
データを送出するようになっているため、固定長データ
の送出要求の発生時刻によっては、固定長データの待合
せ時間が長くなり、遅延ゆらぎが大きくなるという問題
があった。Further, in the fixed-scheduling contention multiplexer, fixed-length data is transmitted according to a predetermined schedule regardless of the generation time of the fixed-length data transmission request. There is a problem that the waiting time for the fixed length data becomes long and the delay fluctuation becomes large, depending on the generation time of the transmission request.
【0014】[0014]
【課題を解決するための手段】上記課題を解決するため
に、この発明は、各データ発生源ごとに設けられ、対応
するデータ発生源から出力される固定長データを保持す
る複数のデータ保持手段と、各データ保持手段ごとに、
このデータ保持手段に予め定めた数の固定長データが保
持されると、この固定長データの送出要求を出力する送
出要求出力手段と、この送出要求出力手段から複数の送
出要求が同時に出力されると、この複数の送出要求の中
から、所定の優先順位に従って、1つの送出要求を選択
し、1つの送出要求が出力されると、これを選択する送
出要求選択手段と、この送出要求選択手段により選択さ
れた送出要求を発生したデータ保持手段のデータ送出時
刻を、このデータ保持手段に定められた許容最小データ
送出間隔を満たすように予約する送出時刻予約手段と、
この送出時刻予約手段により予約されたデータ送出時刻
に基づいて、複数のデータ保持手段に保持されている固
定長データを多重伝送路に送出するデータ送出手段とを
設け、送出要求出力手段から複数の送出要求が同時に出
力された場合は、この複数の送出要求の中から、所定の
優先順位に従って、1つの送出要求を選択し、1つの送
出要求が出力された場合は、これを選択し、選択された
送出要求を発生したデータ保持手段のデータ送出時刻
を、このデータ保持手段に定められた許容最小データ送
出時間間隔を満たすように予約し、予約されたデータ送
出時刻に基づいて、複数のデータ保持手段に保持されて
いる固定長データを多重伝送路に送出するようにしたも
のである。In order to solve the above-mentioned problems, the present invention provides a plurality of data holding means provided for each data generation source and holding fixed length data output from the corresponding data generation source. And, for each data holding means,
When a predetermined number of fixed length data is held in the data holding means, a sending request output means for outputting a sending request for the fixed length data and a plurality of sending requests are simultaneously output from the sending request output means. And, from the plurality of transmission requests, one transmission request is selected in accordance with a predetermined priority order, and when one transmission request is output, the transmission request selection means and the transmission request selection means. A transmission time reservation means for reserving the data transmission time of the data holding means which has generated the transmission request selected by so as to satisfy the allowable minimum data transmission interval defined in the data holding means,
Based on the data transmission time reserved by the transmission time reservation means, there is provided data transmission means for transmitting the fixed length data held in the plurality of data holding means to the multiplex transmission line, and a plurality of transmission request output means are provided. When the transmission requests are output simultaneously, one transmission request is selected from the plurality of transmission requests according to a predetermined priority order, and when one transmission request is output, this is selected and selected. The data transmission time of the data holding means that generated the specified transmission request is reserved so as to satisfy the allowable minimum data transmission time interval defined in this data holding means, and a plurality of data is stored based on the reserved data transmission time. The fixed length data held in the holding means is sent to the multiplex transmission line.
【0015】[0015]
【発明の実施の形態】以下、図面を参照しながら、この
発明の実施の形態を詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.
【0016】[一実施の形態] [一実施の形態の全体的な構成]図1は、この発明の一
実施の形態の構成を示すブロック図である。なお、以下
の説明では、この発明を、(N+1)個の端末T(0)
〜T(N)が接続されているホストコンピュータにおい
て、各端末T(n)(n=0,1,…,N)から互いに
非同期に送信されてくる固定長データを互いに重なるこ
とがないように1つ多重バスに送出する競合多重装置に
適用した場合を代表として説明する。[One Embodiment] [Overall Structure of One Embodiment] FIG. 1 is a block diagram showing the structure of one embodiment of the present invention. In the following description, the present invention will be described as (N + 1) terminals T (0).
~ In a host computer to which T (N) is connected, fixed length data transmitted asynchronously from each terminal T (n) (n = 0, 1, ..., N) should not overlap each other. A case where the present invention is applied to a competitive multiplex device that sends data to one multiplex bus will be described as a representative.
【0017】図示の競合多重装置は、(N+1)個のバ
ッファ部10(0)〜10(N)と、サイクリックプラ
イオリティエンコーダ11と、ダイナミックスケジュー
ラ12を有する。The illustrated competitive multiplexer has (N + 1) buffer units 10 (0) to 10 (N), a cyclic priority encoder 11, and a dynamic scheduler 12.
【0018】ここで、各バッファ部10(n)は、対応
する端末T(n)から送信されてきた固定長データ17
(n)を保持する機能を有する。また、各バッファ部1
0(n)は後述するスケジューラ12により予約された
送出時刻に従って、保持データを多重バス13に送出す
る機能を有する。さらに、各バッファ部10(n)は、
例えば、1個以上の固定長データ17(n)を保持する
と、送出要求信号14(n)をアクティブ状態に設定す
る機能を有する。Here, each buffer unit 10 (n) has fixed length data 17 transmitted from the corresponding terminal T (n).
It has a function of holding (n). In addition, each buffer unit 1
0 (n) has a function of transmitting the held data to the multiplex bus 13 according to a transmission time reserved by the scheduler 12 described later. Furthermore, each buffer unit 10 (n)
For example, when one or more pieces of fixed length data 17 (n) are held, it has a function of setting the transmission request signal 14 (n) to the active state.
【0019】エンコーダ11は、複数の送出要求信号1
4(n)が同時にアクティブ状態に設定されると、所定
の優先順位に従って、この複数の送出要求信号14
(n)の中から1つの送出要求信号14(n)を選択
し、1つの送出要求信号14(n)がアクティブ状態に
設定されると、この送出要求信号14(n)を選択する
機能を有する。また、このエンコーダ11は上記優先順
位を所定の周期で巡回的に変更する機能を有する。The encoder 11 has a plurality of transmission request signals 1
4 (n) are simultaneously set to the active state, the plurality of transmission request signals 14
When one transmission request signal 14 (n) is selected from among (n) and one transmission request signal 14 (n) is set to the active state, a function of selecting this transmission request signal 14 (n) is provided. Have. Further, the encoder 11 has a function of cyclically changing the priority order at a predetermined cycle.
【0020】スケジューラ32は、エンコーダ31によ
り送出要求信号14(n)が選択されるたびに、この送
出要求信号14(n)をアクティブ状態に設定したバッ
ファ部10(n)に保持されている固定長データを送出
する時刻を予約する機能を有する。この予約は、このバ
ッファ部10(n)から固定長データを送出する際の送
出間隔が許容最小データ送出間隔T0(n)より小さく
なることがないようにして行われる。Each time the scheduler 32 selects the transmission request signal 14 (n) by the encoder 31, the scheduler 32 holds the transmission request signal 14 (n) in the buffer unit 10 (n) which is set in the active state. It has the function of reserving the time to send long data. This reservation is performed so that the transmission interval when transmitting the fixed length data from the buffer unit 10 (n) does not become smaller than the allowable minimum data transmission interval T0 (n).
【0021】ここで、許容最小データ間隔T0(n)と
は、各バッファ部10(n)から複数の固定長データを
連続的に送出する場合に許容可能な最小データ送出間隔
をいう。この許容最小データ送出間隔T0(n)は、各
バッファ部10(n)ごとに定められる。Here, the allowable minimum data interval T0 (n) is the minimum allowable data transmission interval when a plurality of fixed length data is continuously transmitted from each buffer unit 10 (n). The allowable minimum data transmission interval T0 (n) is set for each buffer unit 10 (n).
【0022】[動作]上記構成において、動作を説明す
る。[Operation] The operation of the above configuration will be described.
【0023】各端末T(n)から互いに非同期で送出さ
れた固定長データ17(n)は、対応するバッファ部1
0(n)に供給される。バッファ部10(n)に供給さ
れた固定長データ17(n)は、このバッファ部10
(n)によって、その内部メモリ(以下「バッファメモ
リ」という)に書き込まれる。The fixed length data 17 (n) transmitted from each terminal T (n) asynchronously with each other is stored in the corresponding buffer unit 1.
0 (n). The fixed length data 17 (n) supplied to the buffer unit 10 (n) is stored in the buffer unit 10 (n).
The data is written in the internal memory (hereinafter referred to as “buffer memory”) by (n).
【0024】このバッファメモリに1個以上の固定長デ
ータ17(n)が蓄積されると、バッファ部10(n)
によって、送出要求信号14(n)がアクティブ状態に
設定される。これにより、バッファ部10(n)のバッ
ファメモリに、多重バス13に送出すべき固定長データ
17(n)が存在することがエンコーダ11に通知され
る。When one or more pieces of fixed length data 17 (n) are accumulated in this buffer memory, the buffer unit 10 (n)
Causes the send request signal 14 (n) to be set to the active state. As a result, the encoder 11 is notified that the fixed length data 17 (n) to be transmitted to the multiplex bus 13 exists in the buffer memory of the buffer unit 10 (n).
【0025】アクティブ状態に設定された送出要求信号
14(n)は、エンコーダ11によって選択される。こ
の場合、複数の送出要求信号14(n)が同時にアクテ
ィ部状態に設定された場合は、所定の優先順位に従っ
て、アクティブ状態に設定された送出要求信号14
(n)の中から、1つの送出要求信号14(n)が選択
される。これに対し、1つの送出要求信号14(n)の
みがアクティブ状態に設定された場合は、この送出要求
信号14(n)が選択される。The transmission request signal 14 (n) set to the active state is selected by the encoder 11. In this case, when a plurality of transmission request signals 14 (n) are simultaneously set to the active section state, the transmission request signals 14 set to the active state according to a predetermined priority order.
One transmission request signal 14 (n) is selected from among (n). On the other hand, when only one transmission request signal 14 (n) is set to the active state, this transmission request signal 14 (n) is selected.
【0026】なお、上記優先順位は、所定の周期で巡回
的に変更される。これは、公正な競合多重を維持するた
めである。The priority order is cyclically changed in a predetermined cycle. This is to maintain fair competition multiplexing.
【0027】送出要求信号14(n)が選択されると、
選択された送出要求信号14(n)を示す情報がスケジ
ューラ32に供給される。これにより、選択された送出
要求信号14(n)をアクティブ状態に設定したバッフ
ァ部10(n)に保持されている固定長データの送出時
刻を予約する処理が実行される。この処理は、このバッ
ファ部10(n)のデータ送出間隔がこのバッファ部1
0(n)に定められた許容最小データ送出間隔T0
(n)より小さくなることがないように実行される。When the transmission request signal 14 (n) is selected,
Information indicating the selected transmission request signal 14 (n) is supplied to the scheduler 32. As a result, a process of reserving the transmission time of the fixed length data held in the buffer unit 10 (n) which sets the selected transmission request signal 14 (n) to the active state is executed. In this process, the data transmission interval of the buffer unit 10 (n) is
Allowable minimum data transmission interval T0 set to 0 (n)
It is executed so as not to be smaller than (n).
【0028】これにより、固定長データ17(n)の送
出時刻は、送出要求の発生順ではなく、この発生順序
と、許容最小データ送出間隔T0(n)と、空き時間
(予約可能時間)の有無に従って定められる。As a result, the transmission time of the fixed length data 17 (n) is not the generation order of the transmission requests, but the generation order, the allowable minimum data transmission interval T0 (n), and the vacant time (reservable time). Determined according to the presence or absence.
【0029】予約された送出時刻を示すデータは、スケ
ジューラ12によって、所定の周期で、順次読み出され
る。この読出し出力は、送出許可信号16としてバッフ
ァ部10(0)〜10(N)を供給される。これによ
り、読み出された送出時刻に従って、各バッファ部10
(n)に保持されている固定長データ17(n)が多重
バス13に送出される。The data indicating the reserved sending time is sequentially read by the scheduler 12 at a predetermined cycle. This read output is supplied to the buffer units 10 (0) to 10 (N) as the transmission permission signal 16. As a result, each buffer unit 10 is read according to the read out time.
The fixed length data 17 (n) held in (n) is sent to the multiplex bus 13.
【0030】[エンコーダ11の構成]図2は、エンコ
ーダ11の具体的構成の一例を示す回路図である。[Structure of Encoder 11] FIG. 2 is a circuit diagram showing an example of a concrete structure of the encoder 11.
【0031】図示のエンコーダ11は、選択部111
と、エンコーダ112と、カウンタ113と、デコーダ
114を有する。The encoder 11 shown in the figure includes a selection unit 111.
It has an encoder 112, a counter 113, and a decoder 114.
【0032】ここで、選択部111は、複数の送出要求
信号14(n)が同時にアクティブ状態に設定される
と、所定の優先順位に従って、1つの送出要求信号14
(n)を選択し、1つの送出要求信号14(n)のみが
アクティブ状態に設定されると、この送出要求信号14
(n)を選択する機能を有する。Here, when a plurality of sending request signals 14 (n) are simultaneously set to the active state, the selecting section 111 sets one sending request signal 14 according to a predetermined priority.
When (n) is selected and only one transmission request signal 14 (n) is set to the active state, this transmission request signal 14
It has a function of selecting (n).
【0033】エンコーダ112は、この選択部111に
より選択された送出要求信号14(n)をデコードして
バッファ識別子B(n)を生成し、このバッファ識別子
B(n)を含むバッファ識別子信号15を出力する機能
を有する。なお、このバッファ識別子信号15には、バ
ッファ識別子B(n)の他に、これが有効か否かを示す
1ビットのフラグが挿入される。The encoder 112 decodes the transmission request signal 14 (n) selected by the selecting unit 111 to generate a buffer identifier B (n), and outputs a buffer identifier signal 15 including this buffer identifier B (n). Has a function to output. In addition to the buffer identifier B (n), a 1-bit flag indicating whether or not this is valid is inserted in the buffer identifier signal 15.
【0034】カウンタ113とデコーダ114は、優先
順位を示す信号を発生する機能と、この優先順位を所定
の周期で巡回的に変更する機能を有する。ここで、カウ
ンタ113は、クロック信号CK1をカウントすること
により巡回的にカウントアップする機能を有する。ま
た、デコーダ114は、カウンタ113のカウント出力
をデコードして、(N+1)個の優先順位信号18
(0)〜18(N)を生成する機能を有する。The counter 113 and the decoder 114 have a function of generating a signal indicating a priority order and a function of cyclically changing the priority order at a predetermined cycle. Here, the counter 113 has a function of cyclically counting up by counting the clock signal CK1. Also, the decoder 114 decodes the count output of the counter 113 to obtain (N + 1) priority order signals 18
It has a function of generating (0) to 18 (N).
【0035】各優先順位信号18(n)は、互いに重な
ることなく、かつ、クロック信号CK1の周期に相当す
る時間だけ、周期的にアクティブ状態に設定される。ま
た、1つの優先順位信号18(n)がアクティブ状態に
設定されると、1つの優先順位が指定される。いま、優
先順位信号18(0)〜18(N)により指定される優
先順位をそれぞれP(0)〜P(N)とすると、これら
は、例えば、次のように表される。The priority signals 18 (n) are set to the active state periodically without overlapping with each other and for a time corresponding to the cycle of the clock signal CK1. When one priority signal 18 (n) is set to the active state, one priority is designated. Now, assuming that the priority orders designated by the priority order signals 18 (0) to 18 (N) are P (0) to P (N), these are expressed as follows, for example.
【0036】 P(0):14(0)→14(1)→…→14(N) P(1):14(1)→14(2)→…→14(0) ・ ・ ・ P(N):14(N)→14(0)→…→14(N−1) 但し、優先順位は、矢印方向に向かうほど低くなる。P (0): 14 (0) → 14 (1) → ... → 14 (N) P (1): 14 (1) → 14 (2) → ... → 14 (0) N): 14 (N) → 14 (0) → ... → 14 (N-1) However, the priority becomes lower toward the arrow direction.
【0037】なお、選択部111は、各送出要求信号1
4(n)ごとに設けられた(N+1)個の論理回路11
1(0)〜111(N)を有する。各論理回路111
(n)は、2入力アンド回路a1(n),a3(n)
と、インバータ回路a2(n)と、2入力オア回路a4
(n)を有する。The selecting unit 111 determines that each transmission request signal 1
(N + 1) logic circuits 11 provided every 4 (n)
It has 1 (0) to 111 (N). Each logic circuit 111
(N) is a 2-input AND circuit a1 (n), a3 (n)
, An inverter circuit a2 (n), and a 2-input OR circuit a4
Have (n).
【0038】[エンコーダ11の動作]上記構成におい
て、動作を説明する。まず、送出要求信号14(n)の
選択動作を説明する。[Operation of Encoder 11] The operation of the above configuration will be described. First, the operation of selecting the transmission request signal 14 (n) will be described.
【0039】(N+1)個の送出要求信号14(0)〜
14(N)は、選択部111に供給される。選択部11
1は、設定中の優先順位P(n)に従って、アクティブ
状態に設定されている送出要求信号14(n)の中から
1つの送出要求信号14(n)を選択する。(N + 1) transmission request signals 14 (0) to
14 (N) is supplied to the selection unit 111. Selector 11
1 selects one transmission request signal 14 (n) from the transmission request signals 14 (n) set in the active state according to the priority order P (n) being set.
【0040】これを具体例を使って説明する。まず、送
出要求信号14(0)〜14(N)がアクティブ状態に
設定され、かつ、優先順位P(0)が設定されている場
合について説明する。この場合、送出要求信号14
(0)の優先度が最も高い。したがって、この場合は、
送出要求信号14(0)が選択される。This will be described using a specific example. First, the case where the transmission request signals 14 (0) to 14 (N) are set to the active state and the priority order P (0) is set will be described. In this case, the transmission request signal 14
(0) has the highest priority. So, in this case,
The transmission request signal 14 (0) is selected.
【0041】次に、送出要求信号14(1)〜14
(N)がアクティブ状態に設定され、かつ、優先順位P
(0)が設定されている場合について説明する。この場
合、送出要求信号14(0)の優先度が最も高い。しか
し、この場合、この送出要求信号14(0)はインアク
ティブ状態に設定されている。したがって、この場合
は、次に優先度が高い送出要求信号14(1)が選択さ
れる。Next, the transmission request signals 14 (1) to 14
(N) is set to the active state and the priority order P
The case where (0) is set will be described. In this case, the transmission request signal 14 (0) has the highest priority. However, in this case, the transmission request signal 14 (0) is set to the inactive state. Therefore, in this case, the transmission request signal 14 (1) having the next highest priority is selected.
【0042】以上から、優先順位P(0)が設定されて
いる場合、送出要求信号14(0)がインアクティブ状
態に設定されている場合は、優先権は、送出要求信号1
4(0)から送出要求信号14(1)に譲渡されること
なる。From the above, when the priority order P (0) is set and the sending request signal 14 (0) is set to the inactive state, the priority is the sending request signal 1
4 (0) is transferred to the transmission request signal 14 (1).
【0043】選択部111で選択された送出要求信号1
4(n)は、エンコーダ112に供給される。エンコー
ダ112に供給された送出要求信号14(n)は、この
送出要求信号14(n)をアクティブ状態に設定したバ
ッファ部10(n)の識別子B(n)に変換される。こ
の変換が終了すると、この識別子B(n)とこれが有効
か否かを示す1ビットのフラグを含むバッファ識別子信
号15が生成される。Transmission request signal 1 selected by the selection unit 111
4 (n) is supplied to the encoder 112. The transmission request signal 14 (n) supplied to the encoder 112 is converted into the identifier B (n) of the buffer unit 10 (n) which sets the transmission request signal 14 (n) in the active state. When this conversion is completed, a buffer identifier signal 15 including this identifier B (n) and a 1-bit flag indicating whether or not this is valid is generated.
【0044】ここで、このバッファ識別子信号15に含
まれるフラグは、送出要求信号14(0)〜14(N)
の少なくとも1つがアクティブ状態に設定されている場
合は、”1”に設定される。これに対し、すべてがイン
アクティブ状態に設定されている場合は、”0”に設定
される。Here, the flags included in the buffer identifier signal 15 are the transmission request signals 14 (0) to 14 (N).
If at least one of these is set to the active state, it is set to "1". On the other hand, when all are set to the inactive state, they are set to "0".
【0045】この場合、フラグが”1”であれば、バッ
ファ識別子が有効であることを示され、”0”であれ
ば、無効であることが示される。言い換えれば、フラグ
が”1”の場合は、バッファ識別子は本来のB(n)で
表され、”0”の場合は、B(n)以外の値で示され
る。In this case, if the flag is "1", it indicates that the buffer identifier is valid, and if the flag is "0", it indicates that it is invalid. In other words, when the flag is "1", the buffer identifier is represented by the original B (n), and when it is "0", it is represented by a value other than B (n).
【0046】以上が、送出要求信号14(n)の選択動
作である。次に、優先順位の変更動作を説明する。The above is the operation of selecting the transmission request signal 14 (n). Next, the priority changing operation will be described.
【0047】カウンタ113は、クロック信号CK1を
カウントすることにより、0から1ずつカウントアップ
する。このカウント出力は、デコーダ114に供給され
る。デコーダ114は、カウンタ113のカウント出力
に基づいて、優先順位信号18(0)〜18(N)を順
次1つずつアクティブ状態に設定する。The counter 113 counts up the clock signal CK1 to increment from 0 by 1. This count output is supplied to the decoder 114. The decoder 114 sequentially sets the priority signals 18 (0) to 18 (N) one by one in the active state based on the count output of the counter 113.
【0048】この場合、カウンタ113のカウント出力
が”0”であれば、例えば、優先順位信号18(0)が
アクティブ状態に設定され、”1”であれば、優先順位
信号18(1)がアクティブ状態に設定される。以下、
同様に、カウント出力が”N”であれば、優先順位信号
18(N)がアクティブ状態に設定される。これによ
り、優先順位はカウンタ113のカウント動作に同期し
て、順次変更される。In this case, if the count output of the counter 113 is "0", for example, the priority signal 18 (0) is set to the active state, and if it is "1", the priority signal 18 (1) is set. Set to active state. Less than,
Similarly, if the count output is "N", the priority signal 18 (N) is set to the active state. As a result, the priority order is sequentially changed in synchronization with the counting operation of the counter 113.
【0049】以上が、優先順位の変更動作である。次
に、選択部111の内部動作について、具体例を使って
説明する。なお、以下の説明では、信号のアクティブレ
ベルは、すべて”1”であるとする。The above is the priority changing operation. Next, the internal operation of the selection unit 111 will be described using a specific example. In the following description, it is assumed that the signal active levels are all “1”.
【0050】まず、送出要求信号14(0)〜14
(N)と優先順位信号18(0)がアクティブ状態に設
定されている場合について説明する。この場合、論理回
路111(0)の2入力アンド回路a1(0)の出力信
号は”1”となる。これにより、インバータ回路2a
(0)の出力信号は”0”となる。その結果、他の論理
回路111(1)〜111(N)の2入力アンド回路a
1(1)〜a1(N)の出力信号が、すべて”0”とな
る。これにより、この場合は、送出要求信号14(0)
が選択されることになる。First, the transmission request signals 14 (0) -14
A case where (N) and the priority signal 18 (0) are set to the active state will be described. In this case, the output signal of the 2-input AND circuit a1 (0) of the logic circuit 111 (0) becomes "1". Thereby, the inverter circuit 2a
The output signal of (0) becomes "0". As a result, the 2-input AND circuit a of the other logic circuits 111 (1) to 111 (N)
The output signals of 1 (1) to a1 (N) are all "0". As a result, in this case, the transmission request signal 14 (0)
Will be selected.
【0051】次に、送出要求信号14(1)〜14
(N)と優先順位信号18(0)がアクティブ状態に設
定され、送出要求信号14(0)がインアクティブ状態
に設定されている場合について説明する。この場合、論
理回路111(0)の2入力アンド回路a1(0)の出
力信号は”0”となる。これにより、インバータ回路2
a(0)の出力信号は”1”となる。Next, the transmission request signals 14 (1) to 14
(N) and the priority signal 18 (0) are set to the active state, and the transmission request signal 14 (0) is set to the inactive state. In this case, the output signal of the 2-input AND circuit a1 (0) of the logic circuit 111 (0) becomes "0". As a result, the inverter circuit 2
The output signal of a (0) becomes "1".
【0052】その結果、論理回路111(1)の2入力
オア回路4a(1)の出力信号が”1”となる。これに
より、2入力アンド回路a1(1)の出力信号は”1”
となる。その結果、インバータ回路2a(1)の出力信
号は”0”となる。これにより、他の論理回路111
(2)〜111(N),111(0)の2入力アンド回
路a1(2)〜a1(N),a1(0)の出力信号が、
すべて”0”となる。その結果、この場合は、送出要求
信号14(1)が選択されることになる。As a result, the output signal of the 2-input OR circuit 4a (1) of the logic circuit 111 (1) becomes "1". As a result, the output signal of the 2-input AND circuit a1 (1) is "1".
Becomes As a result, the output signal of the inverter circuit 2a (1) becomes "0". As a result, the other logic circuit 111
The output signals of the 2-input AND circuits a1 (2) to a1 (N) and a1 (0) of (2) to 111 (N) and 111 (0) are
All become "0". As a result, in this case, the transmission request signal 14 (1) is selected.
【0053】以上から、優先順位信号18(0)がアク
ティブ状態に設定されている場合、送出要求信号14
(0)がインアクティブ状態にあれば、優先権は、送出
要求信号14(0)から送出要求信号14(1)に譲渡
されることなる。From the above, when the priority signal 18 (0) is set to the active state, the transmission request signal 14
If (0) is in the inactive state, the priority is transferred from the transmission request signal 14 (0) to the transmission request signal 14 (1).
【0054】以下、同様に、送出要求信号14(0)〜
14(N)のいずれか1つ以上がアクティブ状態に設定
されると、2入力アンド回路1a(0)〜1a(N)の
出力信号のいずれか1つがアクティブ状態に設定され
る。Similarly, the transmission request signals 14 (0) to 14 (0)-
When any one or more of 14 (N) is set to the active state, one of the output signals of the 2-input AND circuits 1a (0) to 1a (N) is set to the active state.
【0055】これに対し、送出要求信号14(0)〜1
4(N)のすべてがインアクティブ状態に設定されてい
る場合は、2入力アンド回路1a(0)〜1a(N)の
出力信号のすべてがインアクティブ状態に設定される。On the other hand, the transmission request signals 14 (0) to 1
When all 4 (N) are set to the inactive state, all output signals of the 2-input AND circuits 1a (0) to 1a (N) are set to the inactive state.
【0056】[スケジューラ12の構成]図3は、スケ
ジューラ12の具体的な構成の一例を示すブロック図で
ある。[Configuration of Scheduler 12] FIG. 3 is a block diagram showing an example of a specific configuration of the scheduler 12.
【0057】図示のスケジューラ12は、スケジュール
メモリ部121と、カウンタ122と、管理メモリ部1
23と、予約検索スタートアドレス決定部124と、予
約アドレス決定部125と、タイミング発生部126を
有する。The illustrated scheduler 12 includes a schedule memory unit 121, a counter 122, and a management memory unit 1.
23, a reservation search start address determining unit 124, a reservation address determining unit 125, and a timing generating unit 126.
【0058】ここで、スケジュールメモリ部121は、
例えば、ランダムアクセスメモリで構成されたスケジュ
ールメモリを有する。固定長データ17(n)の送出時
刻の予約は、バッファ識別子信号15から抽出されたバ
ッファ識別子B(n)をこのスケジュールメモリに書き
込むことにより行われる。Here, the schedule memory unit 121 is
For example, it has a schedule memory composed of a random access memory. The reservation of the transmission time of the fixed length data 17 (n) is performed by writing the buffer identifier B (n) extracted from the buffer identifier signal 15 into this schedule memory.
【0059】図4は、スケジュールメモリの一例を示す
図である。図示のごとく、スケジュールメモリは、複数
の領域b(0),b(1),…を有する。各領域b
(m)(m=0,1,2,…)には、バッファ識別子信
号15に含まれるバッファ識別子B(n)が書き込まれ
る。また、各領域b(m)には、1つずつアドレスA
(m)が付与されている。FIG. 4 is a diagram showing an example of the schedule memory. As shown, the schedule memory has a plurality of areas b (0), b (1), .... Each area b
The buffer identifier B (n) included in the buffer identifier signal 15 is written in (m) (m = 0, 1, 2, ...). In addition, each area b (m) has one address A
(M) is given.
【0060】スケジュールメモリ部121は、スケジュ
ールメモリに書き込まれたバッファ識別子B(n)を所
定の周期TSで順次1つずつ読み出す機能を有する。こ
の読出し出力は、送出許可信号16として、バッファ部
10(0)〜10(N)に供給される。ここで、周期T
Sは、多重バス13を1つの固定長データ17(n)が
占有する時間に相当する。The schedule memory unit 121 has a function of sequentially reading the buffer identifiers B (n) written in the schedule memory one by one in a predetermined cycle TS. This read output is supplied to the buffer units 10 (0) to 10 (N) as the transmission permission signal 16. Here, the period T
S corresponds to the time when one fixed length data 17 (n) occupies the multiplex bus 13.
【0061】また、スケジュールメモリ部121は、ス
ケジュールメモリに、バッファ識別子信号15に含まれ
るバッファ識別子B(n)を書き込む機能を有する。こ
れにより、バッファ部10(n)のバッファメモリに保
持されている固定長データ17(n)の送出時刻が予約
されることになる。なお、この書込みは、詳細は後述す
るが、上述した許容最小データ送出間隔T0(n)に基
づいて行われる。The schedule memory unit 121 also has a function of writing the buffer identifier B (n) included in the buffer identifier signal 15 into the schedule memory. As a result, the transmission time of the fixed length data 17 (n) held in the buffer memory of the buffer unit 10 (n) is reserved. Note that this writing is performed based on the above-described allowable minimum data transmission interval T0 (n), which will be described in detail later.
【0062】カウンタ122は、周期TSのクロック信
号CK2をカウントすることにより、スケジュールメモ
リからバッファ識別子B(n)を読み出す際の読出しア
ドレスを生成する機能を有する。The counter 122 has a function of counting the clock signal CK2 of the cycle TS to generate a read address for reading the buffer identifier B (n) from the schedule memory.
【0063】管理メモリ部123は、例えば、ランダム
アクセスメモリで構成された管理メモリを有する。この
管理メモリには、各バッファ部10(n)ごとに、予約
アドレス決定データが格納されている。ここで、予約ア
ドレス決定データとは、バッファ部10(n)のバッフ
ァ識別子B(n)をスクジュールメモリに書き込む際の
予約アドレスを決定するのに必要なデータである。The management memory section 123 has a management memory composed of, for example, a random access memory. Reserved address determination data is stored in this management memory for each buffer unit 10 (n). Here, the reserved address determination data is data required to determine a reserved address when writing the buffer identifier B (n) of the buffer unit 10 (n) in the schedule memory.
【0064】図5に、管理メモリの構成を示す。図示の
ごとく、管理メモリは(N+1)個の領域を有するc
(0)〜c(N)。各領域c(n)は、バッファ部10
(n)に対応する。各領域c(n)には、1つずつアド
レスが付与されている。各アドレスは、バッファ識別子
B(n)により表される。FIG. 5 shows the configuration of the management memory. As shown, the management memory has (N + 1) areas c
(0) to c (N). Each area c (n) has a buffer section 10
(N). One address is assigned to each area c (n). Each address is represented by a buffer identifier B (n).
【0065】各領域c(n)には、対応するバッファ部
10(n)の予約アドレス決定データが格納されてい
る。このアドレス決定データは、許容最小データ送出間
隔T0(n)を示すデータと、前回データ送出時刻TR
-1(n)を示すデータと、前回データ送出時刻TR
-1(n)が有効であるか否かを示すフラグF(n)を有
する。The reserved address determination data of the corresponding buffer unit 10 (n) is stored in each area c (n). This address determination data includes the data indicating the allowable minimum data transmission interval T0 (n) and the previous data transmission time TR.
-1 (n) data and the previous data transmission time TR
-1 (n) has a flag F (n) indicating whether it is valid or not.
【0066】ここで、前回データ送出時刻TR-1(n)
とは、前回の固定長データ17(n)の送出要求に従っ
て、スケジューメモリ部121で予約された固定長デー
タ17(n)の送出時刻である。この前回データ送出時
刻TR-1(n)は、次の固定長データ17(n)の送出
要求が発生した時点で、この前回データ送出時刻TR-1
(n)がすでに経過していなければ、有効とされ、経過
していれば、無効とされる。Here, the previous data transmission time TR -1 (n)
Is the transmission time of the fixed length data 17 (n) reserved in the schedule memory unit 121 according to the previous transmission request of the fixed length data 17 (n). The last data transmission time TR -1 (n) is a time when the delivery request of the next fixed length data 17 (n) is generated, the previous data transmission time TR -1
If (n) has not passed, it is validated, and if it has passed, it is invalidated.
【0067】管理メモリ部123は、バッファ識別子信
号15に含まれるバッファ識別子B(n)に対応するア
ドレスから予約アドレス決定データを読み出す機能を有
する。The management memory unit 123 has a function of reading the reserved address determination data from the address corresponding to the buffer identifier B (n) included in the buffer identifier signal 15.
【0068】また、この管理メモリ部123は、後述す
る予約アドレス決定部125で、バッファ識別子B
(n)の予約アドレスが決定されると、これを管理メモ
リの対応するアドレスに、前回データ送出時刻TR
-1(n)として登録するとともに、この送出時刻TR-1
(n)が有効であることを示すフラグF(n)を設定す
る機能を有する。Further, the management memory unit 123 is used by a reserved address determining unit 125, which will be described later, in the buffer identifier B.
When the reserved address of (n) is determined, this is set to the corresponding address of the management memory, and the previous data transmission time TR
-1 (n), and the transmission time TR -1
It has a function of setting a flag F (n) indicating that (n) is valid.
【0069】さらに、この管理メモリ部123は、この
送出時刻TR-1(n)が有効であることを示すフラグF
(n)を設定した後、カウンタ122により生成される
スケジュールメモリの読出しアドレスを監視し、この読
出しアドレスが上記予約アドレスを越えると、前回デー
タ送出時刻TR-1(n)が無効であることを示すフラグ
F(n)を設定する機能を有する。Further, the management memory unit 123 has a flag F indicating that the sending time TR -1 (n) is valid.
After setting (n), the read address of the schedule memory generated by the counter 122 is monitored, and when this read address exceeds the reserved address, it is confirmed that the previous data transmission time TR -1 (n) is invalid. It has a function of setting the flag F (n) shown.
【0070】予約検索スタートアドレス決定部124
は、予約アドレスを決定する際の検索スタートアドレス
を決定する機能を有する。この検索スタートアドレス
は、カウンタ122で生成されている読出しアドレスの
次のアドレスに設定される。Reservation search start address determination unit 124
Has a function of determining a search start address when determining a reserved address. This search start address is set to the address next to the read address generated by the counter 122.
【0071】予約アドレス決定部125は、スケジュー
ルメモリを検索しながら、管理メモリ部123の管理メ
モリから読み出された予約アドレス決定データに基づい
て、予約アドレスを決定する機能を有する。The reserved address determination unit 125 has a function of determining a reserved address based on the reserved address determination data read from the management memory of the management memory unit 123 while searching the schedule memory.
【0072】タイミング発生部126は、クロック信号
CK3に基づいて、スケジュ−ラ12で必要とする各種
タイミング信号を生成する機能を有する。ここで、クロ
ック信号CK3は、クロック信号CK2の周波数を逓倍
することにより生成される。The timing generator 126 has a function of generating various timing signals required by the scheduler 12 based on the clock signal CK3. Here, the clock signal CK3 is generated by multiplying the frequency of the clock signal CK2.
【0073】[スケジューラ12の動作]上記構成にお
いて、動作を説明する。まず、スケジュールメモリにバ
ッファ部10(n)のバッファメモリに格納された固定
長データ17(n)の送出時刻を予約する動作を説明す
る。[Operation of Scheduler 12] The operation of the above configuration will be described. First, the operation of reserving the transmission time of the fixed length data 17 (n) stored in the buffer memory of the buffer unit 10 (n) in the schedule memory will be described.
【0074】エンコーダ11から出力されるバッファ識
別子信号15は、スケジュールメモリ部121と管理メ
モリ部123に供給される。スケジュールメモリ部12
1は、バッファ識別子信号15に含まれるフラグが”
1”の場合は、予約動作を実行し、”0”の場合は、予
約動作を実行しない。The buffer identifier signal 15 output from the encoder 11 is supplied to the schedule memory unit 121 and the management memory unit 123. Schedule memory unit 12
1 indicates that the flag included in the buffer identifier signal 15 is "
If it is "1", the reservation operation is executed, and if it is "0", the reservation operation is not executed.
【0075】予約動作を実行する場合、スケジュールメ
モリ部121は、予約アドレス決定部125で決定され
た予約アドレスに、バッファ識別子信号15に含まれる
バッファ識別子B(n)を書き込む。この場合、予約ア
ドレスは、次のようにして決定される。When executing the reservation operation, the schedule memory unit 121 writes the buffer identifier B (n) included in the buffer identifier signal 15 into the reservation address determined by the reservation address determination unit 125. In this case, the reserved address is determined as follows.
【0076】カウンタ122は、クロック信号CK2を
カウントすることにより、スケジュールメモリの読出し
アドレスを生成する。この読出しアドレスは、スケジュ
ールメモリ部121に供給されるとともに、予約検索ス
タートアドレス決定部124に供給される。The counter 122 counts the clock signal CK2 to generate a read address of the schedule memory. The read address is supplied to the schedule memory unit 121 and the reservation search start address determining unit 124.
【0077】一方、管理メモリ123は、バッファ識別
子信号15に含まれるバッファ識別子B(n)をアドレ
スとする管理メモリの領域c(n)から予約アドレス決
定データを読み出す。読み出された予約アドレス決定デ
ータは、図示しない内部レジスタに保持される。On the other hand, the management memory 123 reads the reserved address determination data from the area c (n) of the management memory whose address is the buffer identifier B (n) included in the buffer identifier signal 15. The read reserved address determination data is held in an internal register (not shown).
【0078】内部レジスタに保持された予約アドレス決
定データは、予約アドレス決定部125に供給される。
なお、内部レジスタのラッチ用クロック信号は、クロッ
ク信号CK2の周期と同じTSに設定されている。この
ラッチ用クロック信号は、タイミング発生部126から
出力される。The reserved address determining data held in the internal register is supplied to the reserved address determining unit 125.
The latching clock signal of the internal register is set to the same TS as the cycle of the clock signal CK2. The latch clock signal is output from the timing generator 126.
【0079】予約検索スタートアドレス決定部124
は、カウンタ122により現在生成されている読出しア
ドレスの次のアドレスを検索スタートアドレスとして決
定する。予約アドレス決定部125は、決定された検索
スタートアドレスと、管理メモリから読み出された予約
アドレス決定データとに基づいて、予約アドレスを決定
する。Reservation search start address determination unit 124
Determines the address next to the read address currently generated by the counter 122 as the search start address. The reserved address determination unit 125 determines a reserved address based on the determined search start address and the reserved address determination data read from the management memory.
【0080】この決定動作を図4を参照しながら説明す
る。いま、エンコーダ11で、送出要求信号14(2)
が選択され、カウンタ122で、読出しアドレスA
(3)が生成されているものとする。This determining operation will be described with reference to FIG. Now, in the encoder 11, the transmission request signal 14 (2)
Is selected, and the counter 122 reads the read address A.
It is assumed that (3) has been generated.
【0081】この場合、予約検索スタートアドレス決定
部124は、検索スタートアドレスとしてA(4)を決
定する。決定されたスタートアドレスA(4)を示すデ
ータは、予約アドレス決定部125に供給される。In this case, the reserved search start address determining unit 124 determines A (4) as the search start address. Data indicating the determined start address A (4) is supplied to the reserved address determination unit 125.
【0082】また、管理メモリ部123は、アドレス決
定データとして、バッファ部10(2)のアドレス決定
データを読み出す。読み出されたアドレス決定データ
は、予約アドレス決定部125に供給される。Further, the management memory unit 123 reads the address determination data of the buffer unit 10 (2) as the address determination data. The read address determination data is supplied to the reserved address determination unit 125.
【0083】予約アドレス決定部125は、まず、アド
レス決定データに含まれるフラグFに基づいて、前回デ
ータ送出時刻TR-1(2)が有効か否かを判定する。有
効であれば、前回の固定長データ17(2)の送出要求
に従って、バッファ識別子B(2)が格納されたアドレ
スを検出する。この検出は、前回データ送出時刻TR-1
(2)に従って行われる。この場合、前回データ送出時
刻TR-1(2)に相当するアドレスが目的とするアドレ
スとなる。この検出処理により、図4の例では、アドレ
スA(5)が検出される。First, the reserved address determination unit 125 determines whether or not the previous data transmission time TR -1 (2) is valid based on the flag F included in the address determination data. If it is valid, the address at which the buffer identifier B (2) is stored is detected according to the previous transmission request for the fixed length data 17 (2). This detection is the previous data transmission time TR -1.
It is performed according to (2). In this case, the address corresponding to the previous data transmission time TR -1 (2) is the target address. By this detection processing, the address A (5) is detected in the example of FIG.
【0084】次に、予約アドレス決定部124は、アド
レスA(5)から許容最小データ送出間隔T0(2)に
相当するアドレス数だけ離れたアドレスを検出する。い
ま、バッファ部10(2)の許容最小データ送出間隔T
0(2)を3TSとすれば、アドレスA(5)から3ア
ドレス分だけ離れたアドレスが検出される。これによ
り、図4の例では、アドレスA(8)が検出される。Next, the reserved address determination unit 124 detects an address separated from the address A (5) by the number of addresses corresponding to the allowable minimum data transmission interval T0 (2). Now, the allowable minimum data transmission interval T of the buffer unit 10 (2)
If 0 (2) is set to 3TS, an address separated by 3 addresses from address A (5) is detected. As a result, in the example of FIG. 4, the address A (8) is detected.
【0085】次に、予約アドレス決定部124は、アド
レスA(8)に、すでに、他のバッファ識別子B(n)
が格納されているか否かを判定する。格納されていなけ
れば、このアドレスA(8)を予約アドレスとして決定
する。これに対し、すでに、他のバッファ識別子B
(n)が格納されている場合は、バッファ識別子B
(2)の書き込みを行わない。図4の例では、アドレス
A(8)に、すでに、バッファ識別子B(0)が格納さ
れているので、バッファ識別子B(2)の書込みは実行
されない。Next, the reserved address determination unit 124 has already assigned another buffer identifier B (n) to the address A (8).
Is stored. If not stored, this address A (8) is determined as the reserved address. On the other hand, already another buffer identifier B
If (n) is stored, the buffer identifier B
Writing in (2) is not performed. In the example of FIG. 4, since the buffer identifier B (0) is already stored in the address A (8), the writing of the buffer identifier B (2) is not executed.
【0086】この場合、予約アドレス決定部124は、
アドレスA(8)の次のアドレスA(9)以降のアドレ
スを検索し、空アドレスを検出する。そして、この空ア
ドレスが検出されると、この空アドレスを予約アドレス
として決定する。図4の例では、アドレスA(9)が空
アドレスとなっている。したがって、この場合は、この
アドレスA(9)が予約アドレスとして決定される。こ
れにより、スケジュールメモリの内容は、図6のように
更新される。In this case, the reserved address determining unit 124
Addresses after the address A (8), which is next to the address A (9), are searched for empty addresses. Then, when this empty address is detected, this empty address is determined as a reserved address. In the example of FIG. 4, the address A (9) is an empty address. Therefore, in this case, this address A (9) is determined as the reserved address. As a result, the contents of the schedule memory are updated as shown in FIG.
【0087】なお、前回データ送出時刻TR-1(2)が
無効である場合は、予約アドレス決定部125は、検索
スタートアドレスA(4)以降のアドレスのうち、最初
に現れた空アドレスを予約アドレスとして決定する。If the previous data transmission time TR -1 (2) is invalid, the reserved address determination unit 125 reserves the first empty address among the addresses after the search start address A (4). Determine as address.
【0088】決定された予約アドレスを示すデータは、
スケジュールメモリ121に供給されるとともに、管理
メモリ部123に供給される。管理メモリ部123は、
このデータを受けると、決定された予約アドレスを新た
な前回データ送出時刻TR-1(2)を示すデータとして
管理メモリに登録するとともに、フラグF(2)の内容
を「有効」とする。この後、管理メモリ部123はカウ
ンタ122から出力される読出しアドレスを監視し、こ
の読出しアドレスが前回データ送出時刻TR-1を越える
と、フラグF(2)の内容を「無効」にする。The data indicating the determined reserved address is
It is supplied to the schedule memory 121 and the management memory unit 123. The management memory unit 123
When this data is received, the determined reserved address is registered in the management memory as data indicating the new previous data transmission time TR -1 (2), and the content of the flag F (2) is set to "valid". After that, the management memory unit 123 monitors the read address output from the counter 122, and when the read address exceeds the previous data transmission time TR -1 , the content of the flag F (2) is made "invalid".
【0089】以上が、スケジュールメモリに対する予約
動作である。次に、スケジュールメモリからバッファ識
別子B(n)を読み出す動作を説明する。The above is the reservation operation for the schedule memory. Next, the operation of reading the buffer identifier B (n) from the schedule memory will be described.
【0090】カウンタ122は、クロック信号CK2を
カウントすることにより、スケジュールメモリの読出し
アドレスを生成する。この読出しアドレスは、スケジュ
ールメモリ部121に供給される。このスケジュールメ
モリ部121は、この読出しアドレスに対応するスケジ
ュールメモリの領域からバッファ識別子B(n)を読み
出す。この読出し出力は、送出許可信号16として、バ
ッファ部10(0)〜10(N)に供給される。The counter 122 counts the clock signal CK2 to generate a read address of the schedule memory. This read address is supplied to the schedule memory unit 121. The schedule memory unit 121 reads the buffer identifier B (n) from the area of the schedule memory corresponding to this read address. This read output is supplied to the buffer units 10 (0) to 10 (N) as the transmission permission signal 16.
【0091】[効果]以上詳述したこの実施の形態によ
れば、次のような効果が得られる。[Effect] According to this embodiment described in detail above, the following effects can be obtained.
【0092】(1)まず、この実施の形態によれば、複
数の送出要求信号14(n)が同時にアクティブ状態に
設定されると、所定の優先順位に従って、この複数の送
出要求信号14(n)の中から1つの送出要求信号14
(n)を選択し、1つの送信要求信14(n)がアクテ
ィブ状態に設定されると、この送出要求信号14(n)
を選択し、送出要求信号14(n)が選択されるたび
に、選択された送出要求信号14(n)をアクティブ状
態に設定したバッファ部10(n)の送出時刻をスケジ
ュールメモリに予約するようにしたので、固定長データ
17(n)の送出要求が発生するたびに、その送出時刻
を予約することができる。これにより、固定長データ1
7(n)の待合せ時間を短縮することができるので、そ
の遅延ゆらぎを小さくすることができる。(1) First, according to this embodiment, when a plurality of transmission request signals 14 (n) are simultaneously set to the active state, the plurality of transmission request signals 14 (n) are set in accordance with a predetermined priority. ), One transmission request signal 14
When (n) is selected and one transmission request signal 14 (n) is set to the active state, this transmission request signal 14 (n)
Every time the transmission request signal 14 (n) is selected, the transmission time of the buffer unit 10 (n) in which the selected transmission request signal 14 (n) is set to the active state is reserved in the schedule memory. Therefore, each time a request for sending the fixed length data 17 (n) is issued, the sending time can be reserved. As a result, fixed length data 1
Since the waiting time of 7 (n) can be shortened, the delay fluctuation can be reduced.
【0093】(2)また、この実施の形態によれば、優
先順位を所定の周期で巡回的に変更するようにしたの
で、公正な競合多重を確保することができる。(2) Further, according to this embodiment, the priority order is cyclically changed in a predetermined cycle, so that fair competition multiplexing can be ensured.
【0094】(3)また、この実施の形態によれば、固
定長データ17(n)の前回のデータ送出時刻TR-1を
管理メモリに登録しておくようにしたので、予約アドレ
スを迅速に決定することができる。(3) Further, according to this embodiment, the previous data transmission time TR -1 of the fixed length data 17 (n) is registered in the management memory, so that the reserved address can be quickly obtained. You can decide.
【0095】[その他の実施例]以上、この発明の一実
施の形態を詳細に説明したが、この発明は、上述したよ
うな実施の形態に限定されるものではない。[Other Examples] Although one embodiment of the present invention has been described in detail above, the present invention is not limited to the above-described embodiment.
【0096】例えば、先の実施の形態では、優先順位を
所定の周期で、巡回的に変更する場合を説明した。しか
し、この発明は、優先順位を固定にするようにしてもよ
い。この他にも、この発明は、その要旨を逸脱しない範
囲で種々様々変形実施可能なことは勿論である。For example, in the above embodiment, the case where the priority order is cyclically changed in a predetermined cycle has been described. However, in the present invention, the priority may be fixed. In addition to this, it goes without saying that the present invention can be variously modified and implemented without departing from the scope of the invention.
【0097】[0097]
【発明の効果】以上詳述したこの発明によれば、複数の
送出要求が同時に発生すると、所定の優先順位に従っ
て、この複数の送出要求の中から1つの送出要求を選択
し、1つの送信要求が発生すると、この送出要求を選択
し、送出要求が選択されるたびに、選択された送出要求
を発生したデータ保持手段の送出時刻を予約するように
したので、固定長データの送出要求が発生するたびに、
その送出時刻を予約することができる。これにより、固
定長データの待合せ時間を短縮することができるので、
その遅延ゆらぎを小さくすることができる。According to the present invention described in detail above, when a plurality of transmission requests are generated at the same time, one transmission request is selected from the plurality of transmission requests according to a predetermined priority, and one transmission request is selected. When this occurs, this transmission request is selected, and each time the transmission request is selected, the transmission time of the data holding means that generated the selected transmission request is reserved, so that a fixed-length data transmission request is generated. Every time you,
The sending time can be reserved. As a result, the waiting time for fixed length data can be shortened,
The delay fluctuation can be reduced.
【図1】この発明の一実施の形態の構成を示す回路図で
ある。FIG. 1 is a circuit diagram showing a configuration of an embodiment of the present invention.
【図2】一実施の形態のエンコーダ31の具体的な構成
の一例を示す回路図である。FIG. 2 is a circuit diagram showing an example of a specific configuration of an encoder 31 according to an embodiment.
【図3】一実施の形態のスケジューラ32の具体的な構
成の一例を示す回路図である。FIG. 3 is a circuit diagram showing an example of a specific configuration of a scheduler 32 according to an embodiment.
【図4】一実施の形態のスケジュールメモリの構成を示
す図である。FIG. 4 is a diagram showing a configuration of a schedule memory according to an embodiment.
【図5】一実施の形態の管理メモリの構成を示す図であ
る。FIG. 5 is a diagram showing a configuration of a management memory according to an embodiment.
【図6】一実施の形態の管理メモリの更新動作を説明す
るための図である。FIG. 6 is a diagram for explaining an update operation of the management memory according to the embodiment.
10(0)〜10(N)…バッファ部 11…サイクリックプライオリティエンコーダ 12…ダイナミックスケジューラ 13…多重バス 111…選択部 112…エンコーダ 113…カウンタ 114…デコーダ 121…スケジュールメモリ部 122…カウンタ 123…管理メモリ部 124…予約検索スタートアドレス決定部 125…予約アドレス決定部 126…タイミング発生部 111(0)〜111(N)…論理回路 a1(0)〜a1(N),a3(0)〜a3(N)…2
入力アンド回路 a2(0)〜a2(N)…インバータド回路 a4(0)〜a4(N)…オア回路10 (0) to 10 (N) ... Buffer unit 11 ... Cyclic priority encoder 12 ... Dynamic scheduler 13 ... Multiplex bus 111 ... Selection unit 112 ... Encoder 113 ... Counter 114 ... Decoder 121 ... Schedule memory unit 122 ... Counter 123 ... Management Memory unit 124 ... Reserved search start address determination unit 125 ... Reserved address determination unit 126 ... Timing generation unit 111 (0) to 111 (N) ... Logic circuit a1 (0) to a1 (N), a3 (0) to a3 ( N) ... 2
Input AND circuit a2 (0) to a2 (N) ... Inverted circuit a4 (0) to a4 (N) ... OR circuit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 小林 務 東京都港区虎ノ門1丁目7番12号 沖電気 工業株式会社内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Tsutomu Kobayashi 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd.
Claims (1)
れる複数の固定長データを互いに重なることがないよう
に、1つの多重伝送路に送出する競合多重装置におい
て、 各データ発生源ごとに設けられ、対応するデータ発生源
から出力される固定長データを保持する複数のデータ保
持手段と、 各データ保持手段ごとに、このデータ保持手段に予め定
めた数の固定長データが保持されると、この固定長デー
タの送出要求を出力する送出要求出力手段と、 この送出要求出力手段から複数の送出要求が同時に出力
されると、この複数の送出要求の中から、所定の優先順
位に従って、1つの送出要求を選択し、1つの送出要求
が出力されると、これを選択する送出要求選択手段と、 この送出要求選択手段により選択されたデータ送出要求
を発生したデータ保持手段のデータ送出時刻を、このデ
ータ保持手段に定められた許容最小データ送出間隔を満
たすように予約する送出時刻予約手段と、 この送出時刻予約手段により予約された送出時刻に基づ
いて、前記複数のデータ保持手段に保持されている固定
長データを前記多重伝送路に送出するデータ送出手段と
を備えたことを競合多重装置。1. A competitive multiplex device for sending a plurality of fixed length data output asynchronously from a plurality of data generation sources to one multiplex transmission path so as not to overlap each other, and provided for each data generation source. A plurality of data holding means for holding the fixed length data output from the corresponding data generating source, and a predetermined number of fixed length data is held in the data holding means for each data holding means, When a plurality of transmission requests are simultaneously output from the transmission request output means for outputting the transmission request for the fixed length data, one of the plurality of transmission requests is output in accordance with a predetermined priority order. When a transmission request is selected and one transmission request is output, a transmission request selection means for selecting this and a data transmission request selected by this transmission request selection means are generated. The data transmission time of the data holding means is reserved based on the transmission time reservation means which reserves the data transmission time to satisfy the allowable minimum data transmission interval defined in the data holding means, and the transmission time reserved by the transmission time reservation means, And a data sending unit for sending the fixed length data held in the plurality of data holding units to the multiplex transmission path.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30584295A JPH09149043A (en) | 1995-11-24 | 1995-11-24 | Contention multiplexer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30584295A JPH09149043A (en) | 1995-11-24 | 1995-11-24 | Contention multiplexer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09149043A true JPH09149043A (en) | 1997-06-06 |
Family
ID=17950031
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30584295A Pending JPH09149043A (en) | 1995-11-24 | 1995-11-24 | Contention multiplexer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09149043A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6711130B1 (en) | 1999-02-01 | 2004-03-23 | Nec Electronics Corporation | Asynchronous transfer mode data transmitting apparatus and method used therein |
| WO2023089785A1 (en) * | 2021-11-19 | 2023-05-25 | 日本電信電話株式会社 | Transmission device, communication system, transmission method, and program |
-
1995
- 1995-11-24 JP JP30584295A patent/JPH09149043A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6711130B1 (en) | 1999-02-01 | 2004-03-23 | Nec Electronics Corporation | Asynchronous transfer mode data transmitting apparatus and method used therein |
| WO2023089785A1 (en) * | 2021-11-19 | 2023-05-25 | 日本電信電話株式会社 | Transmission device, communication system, transmission method, and program |
| JPWO2023089785A1 (en) * | 2021-11-19 | 2023-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2170458C (en) | Multi-cluster computer system | |
| EP1027657B1 (en) | A fully-pipelined fixed-latency communications system with a real-time dynamic bandwidth allocation | |
| US8327089B2 (en) | Method and apparatus for sending data from multiple sources over a communications bus | |
| JP3098769B2 (en) | RAM-based event counter device and method | |
| JPH06295336A (en) | Video display device | |
| JPH01303543A (en) | Memory access control system | |
| JP3444154B2 (en) | Memory access control circuit | |
| KR19980086729A (en) | Multiple address holding memory device | |
| US6473821B1 (en) | Multiple processor interface, synchronization, and arbitration scheme using time multiplexed shared memory for real time systems | |
| EP0137609A2 (en) | Multi-master communication bus | |
| JPH1173397A (en) | Arbitration circuit | |
| US6546451B1 (en) | Method and apparatus for decoupling processor speed from memory subsystem speed in a node controller | |
| JPH09149043A (en) | Contention multiplexer | |
| JP2000269988A (en) | Multiple address data transmission system | |
| JP2001156733A (en) | High-speed slot assignment method and system | |
| US5875299A (en) | disk access apparatus for performing a stride processing of data | |
| US7155580B2 (en) | Information processing apparatus and method of controlling memory thereof | |
| JP2850605B2 (en) | Transmission method | |
| JP2001175634A (en) | Data transfer device | |
| JP2625396B2 (en) | Receive data processing device | |
| JPH11143822A (en) | Request processor | |
| JP2000207350A (en) | Device and method for data transfer | |
| JPH04246744A (en) | Arbitration circuit | |
| JPS592455A (en) | Time division multiplex transmitting system | |
| JPH08125670A (en) | Bus contention control method |