JP4915172B2 - 調停回路 - Google Patents
調停回路 Download PDFInfo
- Publication number
- JP4915172B2 JP4915172B2 JP2006222335A JP2006222335A JP4915172B2 JP 4915172 B2 JP4915172 B2 JP 4915172B2 JP 2006222335 A JP2006222335 A JP 2006222335A JP 2006222335 A JP2006222335 A JP 2006222335A JP 4915172 B2 JP4915172 B2 JP 4915172B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- arbitration
- priority coefficient
- priority
- count
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
- G06F13/364—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Description
まず、この発明の実施の形態にかかる調停回路の構成について説明する。図1は、この発明の実施の形態にかかる調停回路を備えた装置の要部の構成を示すブロック図である。図1に示すように、調停回路1は、初期値設定レジスタ10、優先度係数算出部11、優先度係数レジスタ12、優先度係数比較部13、優先順位判定部14、受付判定部15、非受付回数カウント部16、非受付回数レジスタ17、閾値レジスタ18および非受付回数比較部19を備えている。
W(n)=W0(n)+W1(n) ・・・(1)
S(n)=a(n)×P(n)+W(n) ・・・(2)
次に、この発明の実施の形態にかかる調停回路による処理手順について説明する。図2は、この発明の実施の形態にかかる調停回路による処理手順を示すフローチャートである。図2に示すように、調停処理が開始されると、まず、CPU2が、乗算係数a(n)、スコア初期値W0(n)、インクリメント値W1(n)および非受付回数の閾値Wth_reg(n)を設定する(ステップS1)。乗算係数a(n)、スコア初期値W0(n)およびインクリメント値W1(n)は、初期値設定レジスタ10に格納される。非受付回数の閾値Wth_reg(n)は、閾値レジスタ18に格納される。
次に、リクエスト要求元がA、B、CおよびDの4つある場合を例にして、具体的な数値を挙げて説明する。まず、システムリセット後、予めCPU2側から初期値設定レジスタ10に、リクエスト要求元A4、リクエスト要求元B5、リクエスト要求元C6およびリクエスト要求元D7にそれぞれ対応する乗算係数a(n)、スコア初期値W0(n)およびインクリメント値W1(n)が設定される。ここでは、一例として、[a(0)=a(1)=a(2)=a(3)=1]、[W0(0)=W0(1)=2]、[W0(2)=W0(3)=3]、[W1(0)=3]、[W1(1)=W1(2)=1]および[W1(3)=2]とする。また、CPU2側から閾値レジスタ18に、非受付回数の閾値Wth_reg(n)として、[Wth_reg(0)=Wth_reg(1)=Wth_reg(2)=31]および[Wth_reg(3)=2]が設定される。
P(n) 優先度
REQ(n) リクエスト信号
S(n) 調停優先度係数
Wcnt_reg(n) 非受付回数の値
Wth_reg(n) 非受付回数の閾値
1 調停回路
4,5,6,7 リクエスト要求元
11 優先度係数算出部
13 優先度係数比較部
14 優先順位判定部
15 受付判定部
16 非受付回数カウント部
19 非受付回数比較部
Claims (6)
- 複数のリクエスト要求元からの各リクエストの調停優先度係数を比較する優先度係数比較手段と、
前記複数のリクエストの存在を周期的に確認し、前記複数のリクエストのうち少なくともいずれか一つのリクエストの存在が確認される都度、前記優先度係数比較手段による比較結果に基づいて各リクエストの受け付けを判定する受付判定手段と、
リクエストごとに外部から設定された優先度および増加量に基づいて前記各リクエストの調停優先度係数を算出するとともに、前記受付判定手段によって受け付けられなかったリクエストについては、当該リクエストの増加量を前回の調停優先度係数に加算することで調停優先度係数を再算出する優先度係数算出手段と、
リクエスト要求元ごとに、リクエストが受け付けられない回数を計数する非受付回数カウント手段と、
リクエスト要求元ごとに、前記非受付回数カウント手段により計数された非受付回数の計数値と、外部から設定された非受付回数の閾値を比較する非受付回数比較手段と、を備え、
前記非受付回数比較手段は、前記非受付回数の計数値が前記非受付回数の閾値に等しくなると、割り込みを発生して前記外部へ通知し、
前記外部からの制御により、割り込みを発生されたリクエストの要求元についての前記増加量の増加または前記非受付回数の閾値の低下のうち何れか一方を実行することを特徴とする調停回路。 - 前記優先度係数算出手段により算出された2つ以上のリクエストについて調停優先度係数が同じである場合のリクエスト受け付けの優先順位を判定する優先順位判定手段、をさらに備えることを特徴とする請求項1に記載の調停回路。
- 前記非受付回数カウント手段は、前回のリクエストの受け付け判定によりリクエストが受け付けられたリクエスト要求元の非受付回数の計数値をリセットすることを特徴とする請求項1または2に記載の調停回路。
- 前記優先度係数算出手段は、前記受付判定手段によって受け付けられたリクエストについては、当該リクエストの増加量を前回の調停優先度係数に加算せずに前回の調停優先度係数を維持することを特徴とする請求項1〜3のいずれか一つに記載の調停回路。
- 前記優先度係数算出手段は、リクエスト要求元ごとに外部から設定された係数を用いて各リクエスト要求元の調停優先度係数に重み付けを行うことを特徴とする請求項1〜4のいずれか一つに記載の調停回路。
- 複数のリクエスト要求元からの各リクエストの調停優先度係数を比較する優先度係数比較部と、
前記優先度係数比較部に機能的に接続され、前記複数のリクエストの存在を周期的に確認し、前記複数のリクエストのうち少なくともいずれか一つのリクエストの存在が確認される都度、前記優先度係数比較部による比較結果に基づいて各リクエストの受け付けを判定する受付判定部と、
前記受付判定部に機能的に接続され、リクエストごとに外部から設定された優先度および増加量に基づいて前記各リクエストの調停優先度係数を算出するとともに、前記受付判定部によって受け付けられなかったリクエストについては、当該リクエストの増加量を前回の調停優先度係数に加算することで調停優先度係数を再算出する優先度係数算出部と、
リクエスト要求元ごとに、リクエストが受け付けられない回数を計数する非受付回数カウント部と、
リクエスト要求元ごとに、前記非受付回数カウント部により計数された非受付回数の計数値と、外部から設定された非受付回数の閾値を比較する非受付回数比較部と、を備え、
前記非受付回数比較部は、前記非受付回数の計数値が前記非受付回数の閾値に等しくなると、割り込みを発生して前記外部へ通知し、
前記外部からの制御により、割り込みを発生されたリクエストの要求元についての前記増加量の増加または前記非受付回数の閾値の低下のうち何れか一方を実行することを特徴とする調停回路。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006222335A JP4915172B2 (ja) | 2006-08-17 | 2006-08-17 | 調停回路 |
US11/790,337 US7650451B2 (en) | 2006-08-17 | 2007-04-25 | Arbiter circuit |
CNB2007100973449A CN100565488C (zh) | 2006-08-17 | 2007-05-11 | 仲裁器电路 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006222335A JP4915172B2 (ja) | 2006-08-17 | 2006-08-17 | 調停回路 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008046892A JP2008046892A (ja) | 2008-02-28 |
JP4915172B2 true JP4915172B2 (ja) | 2012-04-11 |
Family
ID=39095057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006222335A Expired - Fee Related JP4915172B2 (ja) | 2006-08-17 | 2006-08-17 | 調停回路 |
Country Status (3)
Country | Link |
---|---|
US (1) | US7650451B2 (ja) |
JP (1) | JP4915172B2 (ja) |
CN (1) | CN100565488C (ja) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4983160B2 (ja) * | 2006-09-04 | 2012-07-25 | 富士通株式会社 | 動画像処理装置 |
US20090106058A1 (en) * | 2007-10-17 | 2009-04-23 | Yahoo! Inc. | Assessing ad value |
US7983171B2 (en) * | 2008-09-30 | 2011-07-19 | International Business Machines Corporation | Method to manage path failure thresholds |
US8027263B2 (en) | 2008-09-30 | 2011-09-27 | International Business Machines Corporation | Method to manage path failure threshold consensus |
CN101930417B (zh) * | 2010-08-13 | 2012-10-10 | 北京飞利信科技股份有限公司 | 用于基于串行数据总线的流媒体传输系统终端设备中的仲裁器 |
CN110515871B (zh) * | 2019-08-09 | 2021-05-25 | 苏州浪潮智能科技有限公司 | 一种中断方法、装置及fpga和存储介质 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05313917A (ja) * | 1992-05-06 | 1993-11-26 | Nec Ibaraki Ltd | 割込み制御回路 |
JPH0713923A (ja) * | 1993-06-24 | 1995-01-17 | Ricoh Co Ltd | バス制御方法 |
US5778200A (en) * | 1995-11-21 | 1998-07-07 | Advanced Micro Devices, Inc. | Bus arbiter including aging factor counters to dynamically vary arbitration priority |
US5956493A (en) * | 1996-03-08 | 1999-09-21 | Advanced Micro Devices, Inc. | Bus arbiter including programmable request latency counters for varying arbitration priority |
US6393505B1 (en) * | 1999-01-06 | 2002-05-21 | Dvdo, Inc. | Methods and apparatus for data bus arbitration |
JP2000201161A (ja) * | 1999-01-08 | 2000-07-18 | Nec Eng Ltd | ア―ビトレ―ション制御回路 |
JP3407200B2 (ja) * | 2000-08-08 | 2003-05-19 | 松下電器産業株式会社 | アービトレーション装置および方法 |
JP2004126873A (ja) * | 2002-10-01 | 2004-04-22 | Sony Corp | 情報処理装置および方法、記録媒体、並びにプログラム |
US7062582B1 (en) * | 2003-03-14 | 2006-06-13 | Marvell International Ltd. | Method and apparatus for bus arbitration dynamic priority based on waiting period |
US7284080B2 (en) * | 2003-07-07 | 2007-10-16 | Sigmatel, Inc. | Memory bus assignment for functional devices in an audio/video signal processing system |
-
2006
- 2006-08-17 JP JP2006222335A patent/JP4915172B2/ja not_active Expired - Fee Related
-
2007
- 2007-04-25 US US11/790,337 patent/US7650451B2/en active Active
- 2007-05-11 CN CNB2007100973449A patent/CN100565488C/zh active Active
Also Published As
Publication number | Publication date |
---|---|
CN100565488C (zh) | 2009-12-02 |
US20080046611A1 (en) | 2008-02-21 |
JP2008046892A (ja) | 2008-02-28 |
US7650451B2 (en) | 2010-01-19 |
CN101127021A (zh) | 2008-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4915172B2 (ja) | 調停回路 | |
KR100784385B1 (ko) | 공유 자원에 대한 접근 요청을 중재하는 시스템 및 방법 | |
US20070016709A1 (en) | Bus control system and a method thereof | |
JP2003157227A (ja) | バスアクセス調停装置及びバスアクセス調停方法 | |
EP0454605A2 (en) | Bus request device in a direct memory access (DMA) system | |
CN115129645A (zh) | 一种基于总线的事务处理方法、系统、存储介质及设备 | |
JP2004005677A (ja) | 集積回路装置のバスアービター | |
US20120290745A1 (en) | Dma transfer control device | |
JP2004078508A (ja) | バス調停回路、バス調停方法およびそのプログラム | |
JPH0713923A (ja) | バス制御方法 | |
US7254661B2 (en) | Methods, circuits, and computer program products for variable bus arbitration | |
JP2003006139A (ja) | Dma転送装置 | |
JP2000066995A (ja) | バス調停方法および装置とその利用装置およびシステム | |
JP3082838B2 (ja) | データ転送方法および装置、閾値調整方法および装置 | |
US11842071B2 (en) | Data transfer device and data transfer method | |
JP4601657B2 (ja) | トラヒックシェーピング装置および方法 | |
JP3407200B2 (ja) | アービトレーション装置および方法 | |
JP2005004563A (ja) | Dma転送制御装置 | |
JP3072168B2 (ja) | メモリ動作調停回路 | |
JP4282297B2 (ja) | バス調停機能を備える装置及び数値制御装置 | |
JP3151810B2 (ja) | Dmaアービタ及びその調停方法 | |
JPH10334042A (ja) | バス調停制御装置及びバス調停制御方法並びにバス調停制御プログラムを記録した記録媒体 | |
JP2007026284A (ja) | データ処理装置 | |
CN113711192A (zh) | 信息处理装置 | |
JPS62264349A (ja) | バス優先判定方式 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20080730 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090423 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110527 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110607 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110808 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110927 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111128 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111227 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120109 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150203 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4915172 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |