Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2643776B2 - Arbiter device and arbiter method - Google Patents
[go: Go Back, main page]

JP2643776B2 - Arbiter device and arbiter method - Google Patents

Arbiter device and arbiter method

Info

Publication number
JP2643776B2
JP2643776B2 JP5166898A JP16689893A JP2643776B2 JP 2643776 B2 JP2643776 B2 JP 2643776B2 JP 5166898 A JP5166898 A JP 5166898A JP 16689893 A JP16689893 A JP 16689893A JP 2643776 B2 JP2643776 B2 JP 2643776B2
Authority
JP
Japan
Prior art keywords
circuit
clock
line
memory
line control
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.)
Expired - Fee Related
Application number
JP5166898A
Other languages
Japanese (ja)
Other versions
JPH0721115A (en
Inventor
雅行 福永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5166898A priority Critical patent/JP2643776B2/en
Publication of JPH0721115A publication Critical patent/JPH0721115A/en
Application granted granted Critical
Publication of JP2643776B2 publication Critical patent/JP2643776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、バスマスタ(回線制御
回路)のメモリアクセス要求に対するアービタ装置およ
びアービタ方法に関し、特に、外部回路と通信する複数
のバスマスタが唯一のメモリをメモリアクセスにより共
有するアービタ装置およびアービタ方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arbiter device and an arbiter method for a memory access request of a bus master (line control circuit), and more particularly to an arbiter in which a plurality of bus masters communicating with an external circuit share a single memory by memory access. An apparatus and an arbiter method.

【0002】[0002]

【従来の技術】従来から種々のアービタ装置が提案され
ている(例えば、特開平2−44445号公報、特開平
2−300955号公報)。
2. Description of the Related Art Conventionally, various arbiter devices have been proposed (for example, JP-A-2-44445 and JP-A-2-300955).

【0003】図2に従来のメモリアクセスを調停するア
ービタ装置を示す。従来のアービタ装置は、外部回路
(図示せず)と通信する第1乃至第N(Nは2以上の整
数)のバスマスタ201−1,201−2,…,201
−Nと、第1乃至第Nのバスマスタ201−1〜201
−Nから供給されるメモリアクセス要求信号BRQ1〜
BRQNを調停し、1個のバスマスタに対してメモリア
クセス許可信号BAK(添字省略)を与える優先順位調
停回路202と、メモリアクセスにより共有する1個の
メモリ203とを有している。
FIG. 2 shows a conventional arbiter for arbitrating memory access. The conventional arbiter device includes first to Nth (N is an integer of 2 or more) bus masters 201-1, 201-2,..., 201 communicating with an external circuit (not shown).
-N and the first to N-th bus masters 201-1 to 201-201
-N supplied from the memory access request signal BRQ1.
It has a priority arbitration circuit 202 that arbitrates BRQN and gives a memory access permission signal BAK (subscript omitted) to one bus master, and one memory 203 shared by memory access.

【0004】次に、従来のアービタ装置の動作について
説明する。各バスマスタ201(添字省略)は、図示し
ない外部回路と接続し、通信制御を行う。すなわち、バ
スマスタ201は、外部回路からデータを受信すると、
入力クロックCLK(添字省略)と同期したデータを内
部に取り込み、優先順位調停回路202に対して、メモ
アクセス要求信号を出力する。優先順位調停回路20
2は最大N個のメモリアクセス要求信号を調停して唯一
のメモリアクセス許可信号BAKをあるバスマスタ20
1に与える。メモリアクセス許可信号BAKを与えられ
たバスマスタ201は、共有メモリ203に対して、メ
モリアクセスにより外部から取り込んだ受信データを順
次書き込む。
Next, the operation of the conventional arbiter will be described. Each bus master 201 (subscript omitted) is connected to an external circuit (not shown) to perform communication control. That is, when the bus master 201 receives data from the external circuit,
Data synchronized with the input clock CLK (subscript omitted) is taken in, and a memory access request signal is output to the priority arbitration circuit 202. Priority arbitration circuit 20
2 arbitrates a maximum of N memory access request signals and outputs only one memory access permission signal BAK to a certain bus master 20.
Give to 1. The bus master 201 to which the memory access permission signal BAK has been given sequentially writes the received data fetched from outside by the memory access into the shared memory 203.

【0005】外部回路に対しての送信時には、バスマス
タ201は優先順位調停回路202に対してメモリアク
セス要求信号を出力する。優先順位調停回路202は最
大N個のメモリアクセス要求信号BRQ1〜BRQNを
調停して唯一のメモリアクセス許可信号BAKをあるバ
スマスタ201に与える。メモリアクセス許可信号BA
Kを与えられたバスマスタ201は、共有メモリ203
からメモリアクセスにより順次データを読み出し、その
読み出したデータを外部回路に対して入力クロックCL
Kに同期して出力する。
At the time of transmission to an external circuit, the bus master 201 outputs a memory access request signal to the priority arbitration circuit 202. The priority arbitration circuit 202 arbitrates a maximum of N memory access request signals BRQ1 to BRQN and applies a unique memory access permission signal BAK to a certain bus master 201. Memory access permission signal BA
The bus master 201 given K receives the shared memory 203
From the memory by memory access, and reads the read data to an external circuit with an input clock CL.
Output in synchronization with K.

【0006】ここで、一回のメモリアクセスで読み書き
されるデータ量はあらかじめ決められたデータ量であ
る。例えば、送受信されるデータがパケットデータであ
れば、1パケットの送受信データ発生に対して一回のダ
イレクト・メモリ・アクセス(DMA)転送を行う。
Here, the amount of data read and written in one memory access is a predetermined amount of data. For example, if the data to be transmitted / received is packet data, one direct memory access (DMA) transfer is performed for one packet of transmitted / received data.

【0007】[0007]

【発明が解決しようとする課題】上述した従来のアービ
タ装置は、優先順位調停回路202に対して各バスマス
タ201から出力されるメモリアクセス要求信号が均等
に入力されるため、メモリアクセス要求信号の発生間隔
に関係なく優先順位調停回路202はメモリアクセス要
求信号を調停し、唯一のバスマスタ201に対してメモ
リアクセス許可信号を与えてしまう。このため、外部回
路との通信データを入力クロックCLKと同期して送受
信するバスマスタ201は、入力されるクロックCLK
が高速なほど単位時間当たりの通信データ量が多くな
り、従ってメモリ203に対するメモリアクセス要求も
増大する。しかしながら、バスマスタ201は、低速ク
ロックで外部回路とデータを送受信するバスマスタと同
等の割合でしか優先順位調停回路202からメモリアク
セスが許可されない。このため、各バスマスタ201か
らメモリアクセス要求が増大すると、入力クロックCL
Kが高速であるほど、メモリアクセス要求信号を出力し
ても優先順位調停回路202からメモリアクセス許可信
号が返ってこないで待たされる時間が増大するため、バ
スマスタ201内で送受信データのオーバラン/アンダ
ランが発生する確率が増大するという欠点がある。
In the above-described conventional arbiter, the memory access request signal output from each bus master 201 is equally input to the priority arbitration circuit 202. Regardless of the interval, the priority arbitration circuit 202 arbitrates the memory access request signal and gives a memory access permission signal to only one bus master 201. Therefore, the bus master 201 that transmits and receives communication data with an external circuit in synchronization with the input clock CLK receives the input clock CLK.
The higher the speed, the greater the amount of communication data per unit time, and therefore the more memory access requests to the memory 203. However, the bus arbitration circuit 202 permits the bus master 201 to access the memory only at a rate equivalent to that of the bus master that transmits and receives data to and from an external circuit at a low speed clock. Therefore, when the memory access request from each bus master 201 increases, the input clock CL
As K is a high speed, since the time be output memory access request signal wait is not returned memory access permission signal from the priority arbitration circuit 202 is increased, transmitting and receiving data in the bus <br/> Sumasuta 201 Has a disadvantage that the probability of occurrence of overrun / underrun increases.

【0008】また、高速クロックでデータの送受信を行
うバスマスタから出力されるメモリアクセス要求信号に
対してあらかじめ優先順位調停回路202での優先順位
を高くして、優先順位調停回路202から出力するメモ
リアクセス許可信号を低速クロックでデータの送受信を
行うバスマスタに対して早くし、それによって、メモリ
アクセス要求に対するメモリアクセス許可の待ち時間を
短くするという方法もある。しかしながら、この場合に
も優先順位調停回路202での優先順位はあらかじめ決
まってしまっているので、いったん入力クロックCLK
に合わせて優先順位を決めてしまえば、その後の入力ク
ロックを変えられないという欠点がある。例えば、当初
入力クロックが64kbps回線のバスマスタ201に
対して、入力クロックが9.6kbps回線のものを収
容することが不可能となる。
In addition, the priority of the memory access request signal output from the bus master transmitting and receiving data at a high speed clock is increased in the priority arbitration circuit 202 in advance, and the memory access request output from the priority arbitration circuit 202 is increased. There is also a method in which the permission signal is sent to a bus master that transmits and receives data at a low-speed clock, thereby shortening the waiting time of the memory access permission for the memory access request. However, also in this case, the priority in the priority arbitration circuit 202 is determined in advance, so that the input clock CLK
Once the priorities are determined according to, there is a disadvantage that the subsequent input clock cannot be changed. For example, it becomes impossible to accommodate a bus master having an input clock of 9.6 kbps for the bus master 201 having an input clock of 64 kbps.

【0009】本発明の目的は、メモリから/へ読み/書
きしたデータを回線クロックと同期して転送する場合
に、回線クロックの速度によりメモリアクセスの調停優
先度を変換させることにより、オーバラン/アンダラン
の確率を低下させることができるアービタ装置およびア
ービタ方法を提供することにある。
It is an object of the present invention to convert the arbitration priority of memory access according to the speed of the line clock when transferring data read / written from / to the memory in synchronization with the line clock, thereby achieving overrun / underrun. To provide an arbiter apparatus and an arbiter method capable of reducing the probability of the arbiter.

【0010】[0010]

【課題を解決するための手段】本発明によれば、メモリ
リード/ライトが可能で回線クロックと同期したデータ
の通信を外部回路と行える第1乃至第n(nは2以上の
整数)の回線制御回路と、第1乃至第nの回線制御回路
が外部回路と通信するデータをメモリリード/ライトに
より共有してアクセスできる1個のメモリと、第1乃至
第nの回線制御回路に対応して設けられ、単位時間当り
の回線クロックの数を計測することによりm(mは2以
上の整数)通りのクロック速度範囲を検出し、検出状態
を数値化し外部に出力できる第1乃至第nのクロック速
度検出回路と、第1乃至第nの回線制御回路に対応して
設けられ、それぞれ第1乃至第nの回線制御回路からメ
モリリード/ライト要求と第1乃至第nのクロック速度
検出回路から数値化した状態を入力することにより、m
個のメモリリード/ライト要求を出力できる第1乃至第
nのメモリアクセス重み付け回路と、メモリリード/ラ
イト要求を入力できる(n×m)個の入力端と調停結果
を出力できる(n×m)個の出力端とを具備し、複数の
メモリリード/ライト要求を調停し、出力端から唯一の
メモリリード/ライト許可信号を出力できる1個の優先
順序調停回路と、第1乃至第nの回線制御回路に対応し
て設けられ、優先順序調停回路から出力される各回線制
御回路毎m個の調停結果を論理和する第1乃至第nのメ
モリアクセス許可信号生成回路とを有することを特徴と
するアービタ装置が得られる。
According to the present invention, first to n-th (n is an integer of 2 or more) lines capable of memory read / write and capable of communicating data synchronized with a line clock with an external circuit. A control circuit, one memory in which data communicated with the external circuit by the first to n-th line control circuits can be shared and accessed by memory read / write, and a first to n-th line control circuit. The first to n-th clocks which are provided and detect m (m is an integer of 2 or more) clock speed ranges by measuring the number of line clocks per unit time, and digitize the detection state and output to the outside. A speed detection circuit, a memory read / write request from the first to n-th line control circuits, and a numerical value from the first to n-th clock speed detection circuit, respectively. By inputting state, m
First to n-th memory access weighting circuits capable of outputting memory read / write requests, (n × m) input terminals capable of receiving memory read / write requests, and capable of outputting arbitration results (nxm) One priority arbitration circuit having a plurality of output terminals, arbitrating a plurality of memory read / write requests, and outputting a single memory read / write enable signal from the output terminals; and a first to n-th lines A first to an n-th memory access permission signal generation circuit that is provided corresponding to the control circuit and that ORs m arbitration results for each line control circuit output from the priority order arbitration circuit. An arbiter device is obtained.

【0011】また、本発明によれば、外部回路と通信す
る複数の回線制御回路が唯一のメモリをメモリアクセス
により共有するアービタ方法において、回線制御回路ご
とに外部回路と通信する回線クロック速度を単位時間当
りのクロック数の計測により検出し、回線クロック速度
の速度範囲によりm(mは2以上の整数)通りの状態値
を数値化して出力し、回線制御回路からメモリアクセス
要求を調停回路へ入力する際に、状態値分のメモリアク
セス要求を入力するステップを含み、これにより、回線
クロック速度に合わせて、メモリアクセス要求入力を変
化できることを特徴とするアービタ方法が得られる。
According to the present invention, there is provided an arbiter method in which a plurality of line control circuits communicating with an external circuit share a single memory by memory access. Detected by measuring the number of clocks per time, digitizes and outputs m (m is an integer of 2 or more) status values according to the speed range of the line clock speed, and inputs a memory access request from the line control circuit to the arbitration circuit. Inputting a memory access request corresponding to the state value, thereby obtaining an arbiter method characterized in that the memory access request input can be changed according to the line clock speed.

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は本発明の一実施例によるアービタ装
置の構成を示すブロック図である。図示のアービタ装置
は、第1乃至第n(nは2以上の整数)の回線制御回路
101−1,101−2,…,101−nと、第1乃至
第nの回線クロック速度検出回路102−1,102−
2,…,102−nと、第1乃至第nのDMA転送要求
重み付け回路103−1,103−2,…,103−n
と、優先順位調停回路104と、第1乃至第nのDMA
転送許可信号生成回路105−1,105−2,…,1
05−nと、メモリ106とを有する。
FIG. 1 is a block diagram showing the configuration of an arbiter device according to one embodiment of the present invention. The illustrated arbiter apparatus includes first to n-th (n is an integer of 2 or more) line control circuits 101-1, 101-2,..., 101-n, and first to n-th line clock speed detection circuits 102. -1,102-
, 102-n and first to n-th DMA transfer request weighting circuits 103-1, 103-2, ..., 103-n
, A priority arbitration circuit 104, and first to n-th DMAs
Transfer permission signal generation circuits 105-1, 105-2,..., 1
05-n and a memory 106.

【0014】回線制御出回路101(添字省略)は、D
MA転送要求信号BRQ(添字省略)を出力した後DM
A転送許可信号BAK(添字省略)が入力されると、D
MA転送によりメモリ106に対してデータの書き込み
/読み出しを行うことが可能であり、図示しない外部回
路から入力される回線クロックCLK(添字省略)と同
期したデータをDMA転送にてメモリ106に書き込む
と共に、DMA転送にて読み出したデータを回線クロッ
クCLKと同期して出力できる。
The line control output circuit 101 (subscript omitted)
After outputting MA transfer request signal BRQ (subscript omitted),
When the A transfer permission signal BAK (subscript omitted) is input, D
Data can be written to / read from the memory 106 by MA transfer, and data synchronized with a line clock CLK (subscript omitted) input from an external circuit (not shown) is written to the memory 106 by DMA transfer. , Data read by DMA transfer can be output in synchronization with the line clock CLK.

【0015】回線クロック速度検出回路102(添字省
略)は、入力される回線クロックCLKを入力し、その
回線クロックCLKの速度範囲によって決められた数字
を出力できる。
The line clock speed detection circuit 102 (subscript omitted) can input the input line clock CLK and output a number determined by the speed range of the line clock CLK.

【0016】図3を参照して、回線クロック速度検出回
路102は、発振器301と、カウンタ302と、ラッ
チ回路303と、比較器304とを有する。
Referring to FIG. 3, line clock speed detection circuit 102 includes an oscillator 301, a counter 302, a latch circuit 303, and a comparator 304.

【0017】発振器301は、回線クロックと比較して
充分に低速の局部クロックを生成する。カウンタ302
は、発振器301で生成した局部クロックが論理“H”
レベルの間のみ、外部から入力する回線クロックCLK
の数を計測し、その計測結果をラッチ回路303へ送出
する。ラッチ回路303は、発振器301で生成される
局部クロックが論理“H”レベルから論理“L”レベル
に変化するたびに、カウンタ302の出力値(計測結
果)を保持する。比較器304は、ラッチ回路303で
保持した値とあらかじめ決められた値とを比較すること
により、ラッチ回路303で保持した値の範囲を数字と
して出力する。例えば、比較器304は、保持した値が
10未満なら数字“1”を、10以上50未満なら数字
“2”を、50以上100未満なら数字“3”を、10
0以上なら“4”を出力する。
The oscillator 301 generates a local clock that is sufficiently slower than the line clock. Counter 302
Indicates that the local clock generated by the oscillator 301 has a logic “H”.
Line clock CLK input from outside only during level
And sends the measurement result to the latch circuit 303. The latch circuit 303 holds the output value (measurement result) of the counter 302 every time the local clock generated by the oscillator 301 changes from the logic “H” level to the logic “L” level. The comparator 304 compares the value held by the latch circuit 303 with a predetermined value, and outputs the range of the value held by the latch circuit 303 as a number. For example, the comparator 304 determines the number “1” if the held value is less than 10, the number “2” if it is 10 or more and less than 50, and the number “3” if it is 50 or more and less than 100.
If it is 0 or more, "4" is output.

【0018】図1に戻って、DMA転送要求重み付け回
路103(添字省略)は、前述の回線クロック速度検出
回路102から供給される数字mにより、回線制御回路
101から供給されるDMA転送要求をm倍する回路で
ある。
Returning to FIG. 1, the DMA transfer request weighting circuit 103 (subscript omitted) uses the number m supplied from the line clock speed detection circuit 102 to convert the DMA transfer request supplied from the line control circuit 101 to m. It is a circuit to multiply.

【0019】図4にmの最大値が3の場合のDMA転送
要求重み付け回路103の回路構成を示す。DMA転送
要求重み付け回路103はデコーダ401とオアゲート
402,403から構成される。デコーダ401は回線
クロック速度検出回路102からの速度検出結果を入力
する入力端子Aと、回線制御回路101からのDMA転
送要求信号BRQを入力する入力端子Xと、第1乃至第
3のデコーダ出力端子Y1,Y2およびY3とをもつ。
DMA転送要求重み付け回路103は第1乃至第3の回
路出力端子Z1,Z2およびZ3をもつ。第1の回路出
力端子Z1はオアゲート402を介して第1乃至第3の
デコーダ出力端子Y1〜Y3に接続されている。第2の
回路出力端子Z2はオアゲート403を介して第2及び
第3のデコーダ出力端子Y2およびY3に接続されてい
る。第3の回路出力端子Z3は第3のデコーダ出力端子
Y3に接続されている。
FIG. 4 shows a circuit configuration of the DMA transfer request weighting circuit 103 when the maximum value of m is 3. The DMA transfer request weighting circuit 103 includes a decoder 401 and OR gates 402 and 403. The decoder 401 has an input terminal A for inputting a speed detection result from the line clock speed detection circuit 102, an input terminal X for inputting a DMA transfer request signal BRQ from the line control circuit 101, and first to third decoder output terminals. Y1, Y2 and Y3.
The DMA transfer request weighting circuit 103 has first to third circuit output terminals Z1, Z2 and Z3. The first circuit output terminal Z1 is connected via an OR gate 402 to first to third decoder output terminals Y1 to Y3. The second circuit output terminal Z2 is connected via an OR gate 403 to the second and third decoder output terminals Y2 and Y3. The third circuit output terminal Z3 is connected to the third decoder output terminal Y3.

【0020】このような構成において、m=1の時、第
1の回路出力端子Z1にのみDMA転送要求信号が出力
される。m=2の時、第1および第2の回路出力端子Z
1およびZ2にDMA転送要求信号が出力される。m=
3の時、第1乃至第3の回路出力端子Z1〜Z3にDM
A転送要求信号が出力される。
In such a configuration, when m = 1, a DMA transfer request signal is output only to the first circuit output terminal Z1. When m = 2, the first and second circuit output terminals Z
DMA transfer request signals are output to 1 and Z2. m =
3, when the first to third circuit output terminals Z1 to Z3 are DM
An A transfer request signal is output.

【0021】図1に戻って、優先順位調停回路104
は、(m×n)個のDMA転送要求入力端から複数のD
MA転送要求信号を入力し、最優先の入力に対して入力
端に一対一に対応した出力端にDMA転送許可信号を出
力する。
Returning to FIG. 1, the priority arbitration circuit 104
Is a plurality of D from the (m × n) DMA transfer request input terminals.
An MA transfer request signal is input, and a DMA transfer permission signal is output to an output terminal corresponding to the input terminal one-to-one with respect to the input with the highest priority.

【0022】DMA転送許可信号生成回路105(添字
省略)は、各回線制御回路101に対応する優先順位調
停回路104の出力端の信号を論理和し、論理和結果を
対応する回線制御回路101に対して出力する。
The DMA transfer permission signal generation circuit 105 (subscript omitted) performs a logical sum of the output terminal of the priority arbitration circuit 104 corresponding to each line control circuit 101, and outputs the logical sum to the corresponding line control circuit 101. Output to

【0023】ゆえに、回線クロック速度検出回路102
にて“x”が出力された回線制御回路101は、DMA
転送要求信号BRQに対してx倍の優先度を有し、DM
A転送許可信号BAKが与えられることにより、DMA
転送により、外部回路と通信できる。
Therefore, the line clock speed detection circuit 102
The line control circuit 101 to which “x” has been output at
X times the priority of the transfer request signal BRQ,
By receiving the A transfer permission signal BAK, the DMA
The transfer enables communication with an external circuit.

【0024】尚、本発明を実施例によって説明してきた
が、本発明は実施例に限定せず、本発明の趣旨を逸脱し
ない範囲内で種々の変更/変形が可能であるのは勿論で
ある。
Although the present invention has been described with reference to the embodiment, the present invention is not limited to the embodiment, and it is needless to say that various changes / modifications can be made without departing from the spirit of the present invention. .

【0025】[0025]

【発明の効果】以上説明したように本発明は、回線制御
回路が外部回路と通信する入力クロック速度によりメモ
リアクセス許可の優先度が変えられるため、低速クロッ
クで外部回路と通信する回線制御回路と高速クロックで
外部回路と通信する回線制御回路とのメモリアクセス許
可優先度が固定でなく、回線クロック速度が変化すると
自動的に優先度が変化する。したがって、特に、低速ク
ロックから高速クロックに変わった回線を収容する回線
制御回路において、転送データのオーバラン/アンダラ
ンが発生する可能性を低下できるという効果がある。
As described above, according to the present invention, the priority of memory access permission can be changed depending on the input clock speed at which the line control circuit communicates with the external circuit. The priority of memory access permission with the line control circuit that communicates with the external circuit using the high-speed clock is not fixed, and the priority automatically changes when the line clock speed changes. Therefore, in particular, in a line control circuit accommodating a line changed from a low-speed clock to a high-speed clock, there is an effect that the possibility of occurrence of overrun / underrun of transfer data can be reduced.

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

【図1】本発明の一実施例によるアービタ装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an arbiter device according to one embodiment of the present invention.

【図2】従来のアービタ装置の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of a conventional arbiter device.

【図3】図1中の回線クロック速度検出回路の構成を示
すブロック図である。
FIG. 3 is a block diagram showing a configuration of a line clock speed detection circuit in FIG. 1;

【図4】mの最大値が3の時の、図1中のDMA転送要
求重み付け回路の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of a DMA transfer request weighting circuit in FIG. 1 when the maximum value of m is 3.

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

101−1〜101−n 回線制御回路 102−1〜102−n 回線クロック速度検出回路 103−1〜103−n DMA転送要求重み付け回
路 104 優先順位調停回路(m×n入力調停) 105−1〜105−n DMA転送許可信号生成回
路 106 メモリ 201−1〜201−N バスマスタ 202 優先順位調停回路(N入力調停) 203 メモリ 301 発振器 302 カウンタ 303 ラッチ回路 304 比較器 401 デコーダ 402,403 オアゲート
101-1 to 101-n line control circuit 102-1 to 102-n line clock speed detection circuit 103-1 to 103-n DMA transfer request weighting circuit 104 priority arbitration circuit (m × n input arbitration) 105-1 105-n DMA transfer permission signal generation circuit 106 memory 201-1 to 201-N bus master 202 priority arbitration circuit (N input arbitration) 203 memory 301 oscillator 302 counter 303 latch circuit 304 comparator 401 decoder 402, 403 or gate

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリリード/ライトが可能で回線クロ
ックと同期したデータの通信を外部回路と行える第1乃
至第n(nは2以上の整数)の回線制御回路と、 前記第1乃至前記第nの回線制御回路が前記外部回路と
通信するデータをメモリリード/ライトにより共有して
アクセスできる1個のメモリと、 前記第1乃至前記第nの回線制御回路に対応して設けら
れ、単位時間当りの前記回線クロックの数を計測するこ
とによりm(mは2以上の整数)通りのクロック速度範
囲を検出し、検出状態を数値化し外部に出力できる第1
乃至第nのクロック速度検出回路と、 前記第1乃至前記第nの回線制御回路に対応して設けら
れ、それぞれ前記第1乃至前記第nの回線制御回路から
メモリリード/ライト要求と前記第1乃至前記第nのク
ロック速度検出回路から前記数値化した状態を入力する
ことにより、m個のメモリリード/ライト要求を出力で
きる第1乃至第nのメモリアクセス重み付け回路と、 メモリリード/ライト要求を入力できる(n×m)個の
入力端と調停結果を出力できる(n×m)個の出力端と
を具備し、複数のメモリリード/ライト要求を調停し、
前記出力端から唯一のメモリリード/ライト許可信号を
出力できる1個の優先順序調停回路と、 前記第1乃至前記第nの回線制御回路に対応して設けら
れ、前記優先順序調停回路から出力される各回線制御回
路毎m個の調停結果を論理和する第1乃至第nのメモリ
アクセス許可信号生成回路とを有することを特徴とする
アービタ装置。
A first to an n-th (n is an integer of 2 or more) line control circuits capable of performing memory read / write and communicating data synchronized with a line clock with an external circuit; one memory in which n line control circuits can access data shared with the external circuit by memory read / write, and one memory corresponding to the first to n-th line control circuits; By measuring the number of line clocks per one block, m (m is an integer of 2 or more) clock speed ranges are detected, and the detection state is digitized and output to the outside.
To a n-th clock speed detection circuit; and a memory read / write request from the first to the n-th line control circuits. A first to an n-th memory access weighting circuit capable of outputting m number of memory read / write requests by inputting the digitized state from the n-th clock speed detection circuit; It has (n × m) input terminals capable of inputting and (n × m) output terminals capable of outputting arbitration results, and arbitrates a plurality of memory read / write requests.
One priority arbitration circuit capable of outputting only one memory read / write permission signal from the output terminal; and a priority arbitration circuit provided corresponding to the first to n-th line control circuits and output from the priority arbitration circuit. And a first to n-th memory access permission signal generation circuit for performing a logical sum of m arbitration results for each line control circuit.
【請求項2】 前記第1乃至前記第nのクロック速度検
出回路の各々が、 前記回線クロックと比較して充分に低速の局部クロック
を生成する発振器と、 該発振器で生成した局部クロックが第1の論理レベルの
間のみ、前記回線クロックCLKの数を計測するカウン
タと、 前記発振器で生成される局部クロックが前記第1の論理
レベルから第2の論理レベルに変化するたびに、前記カ
ウンタの計測結果を保持するラッチ回路と、 該ラッチ回路で保持した値とあらかじめ決められた値と
を比較することにより、前記ラッチ回路で保持した値の
範囲を数字として出力する比較器とを有することを特徴
とする請求項1記載のアービタ装置。
2. An oscillator in which each of the first to n-th clock speed detecting circuits generates a local clock sufficiently lower than the line clock, and wherein the local clock generated by the oscillator is a first clock. A counter for measuring the number of the line clocks CLK only during the logical level of the counter, and measuring the counter each time the local clock generated by the oscillator changes from the first logical level to the second logical level. A latch circuit that holds a result, and a comparator that compares a value held by the latch circuit with a predetermined value to output a range of values held by the latch circuit as a number. The arbiter device according to claim 1, wherein
【請求項3】 外部回路と通信する複数の回線制御回路
が唯一のメモリをメモリアクセスにより共有するアービ
タ方法において、 前記回線制御回路ごとに前記外部回路と通信する回線ク
ロック速度を単位時間当りのクロック数の計測により検
出し、 前記回線クロック速度の速度範囲によりm(mは2以上
の整数)通りの状態値を数値化して出力し、 前記回線制御回路からメモリアクセス要求を調停回路へ
入力する際に、前記状態値分のメモリアクセス要求を入
力するステップを含み、 これにより、前記回線クロック速度に合わせて、メモリ
アクセス要求入力を変化できることを特徴とするアービ
タ方法。
3. An arbiter method in which a plurality of line control circuits communicating with an external circuit share a single memory by memory access, wherein the line clock speed for communicating with the external circuit is controlled by a clock per unit time for each of the line control circuits. When the number is detected by counting the number, m (m is an integer of 2 or more) state values are quantified and output according to the speed range of the line clock speed, and a memory access request is input from the line control circuit to the arbitration circuit. Inputting a memory access request corresponding to the state value, whereby the memory access request input can be changed in accordance with the line clock speed.
JP5166898A 1993-07-06 1993-07-06 Arbiter device and arbiter method Expired - Fee Related JP2643776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5166898A JP2643776B2 (en) 1993-07-06 1993-07-06 Arbiter device and arbiter method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5166898A JP2643776B2 (en) 1993-07-06 1993-07-06 Arbiter device and arbiter method

Publications (2)

Publication Number Publication Date
JPH0721115A JPH0721115A (en) 1995-01-24
JP2643776B2 true JP2643776B2 (en) 1997-08-20

Family

ID=15839680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5166898A Expired - Fee Related JP2643776B2 (en) 1993-07-06 1993-07-06 Arbiter device and arbiter method

Country Status (1)

Country Link
JP (1) JP2643776B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60221864A (en) * 1984-04-18 1985-11-06 Matsushita Electric Ind Co Ltd Control method of common memory
JPH0496164A (en) * 1990-08-08 1992-03-27 Nec Ibaraki Ltd Channel priority discrimination circuit

Also Published As

Publication number Publication date
JPH0721115A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
US4458314A (en) Circuitry for allocating access to a demand shared bus
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
EP0476990A2 (en) Dynamic bus arbitration
US4802161A (en) Packet bus interface
US4612542A (en) Apparatus for arbitrating between a plurality of requestor elements
US5898895A (en) System and method for controlling data transmission rates between circuits in different clock domains via selectable acknowledge signal timing
EP1132818B1 (en) Method and data processing system for access arbitration of a plurality of processors to a time multiplex shared memory in a real time system
US8799699B2 (en) Data processing system
US5784624A (en) Multiple asynchronous event arbitrator
US6728813B1 (en) Method and apparatus for converting non-burst write cycles to burst write cycles across a bus bridge
JP2643776B2 (en) Arbiter device and arbiter method
US6701407B1 (en) Multiprocessor system with system modules each having processors, and a data transfer method therefor
US5898847A (en) Bus arbitration method and appparatus for use in a multiprocessor system
EP0226053A1 (en) Bus arbitration controller
EP0130471A2 (en) Interface controller for connecting multiple asynchronous buses and data processing system including such controller
JP3240863B2 (en) Arbitration circuit
JP2000276437A (en) Dma controller
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
JPH0560625B2 (en)
GB2234372A (en) Mass memory device
JP2626137B2 (en) Bus control method
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
SU1683022A1 (en) The unit interface a computer with groups of peripherals running at different speeds
KR100666950B1 (en) Multiple Memory Access System and Method for Packet Processing
WO2003014948A1 (en) System architecture of a high bit rate switch module between functional units in a system on a chip

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970401

LAPS Cancellation because of no payment of annual fees