TW201128400A - A multi-facet hardware template for arbiters - Google Patents

A multi-facet hardware template for arbiters Download PDF

Info

Publication number
TW201128400A
TW201128400A TW99103161A TW99103161A TW201128400A TW 201128400 A TW201128400 A TW 201128400A TW 99103161 A TW99103161 A TW 99103161A TW 99103161 A TW99103161 A TW 99103161A TW 201128400 A TW201128400 A TW 201128400A
Authority
TW
Taiwan
Prior art keywords
arbiter
token
priority
begin
hardware
Prior art date
Application number
TW99103161A
Other languages
Chinese (zh)
Inventor
Jer-Min Jou
Original Assignee
Jer-Min Jou
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 Jer-Min Jou filed Critical Jer-Min Jou
Priority to TW99103161A priority Critical patent/TW201128400A/en
Publication of TW201128400A publication Critical patent/TW201128400A/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

In this invention, a new multi-facet arbiter hardware template with reusability, modularity, composability, and expansibility is presented. This hardware template consists of 4 modules: PREEMPTION module, TOKEN_GENERATION module, TOKEN_CONTROL module, and BANDWIDTH module, and is easily implemented.

Description

201128400 九、發明說明: 【發明所屬之技術領域】 本仲裁器多面向硬體框架發明是一種彈性硬體架構,用來 設計實現多種仲裁器硬體,以便其有效管理獨佔使用之共用資 ,(例如:匯流排、共用記億體、交換開關、與共用處理^單元 等)於各時段使用權誰屬的問題。 °σ 【先前技術】201128400 IX. Description of the invention: [Technical field of invention] The arbitrator is mostly oriented to the hardware framework. The invention is an elastic hardware architecture designed to implement a variety of arbitrator hardware so that it can effectively manage the exclusive use of exclusive use. For example, the problem of who is the right to use in each period of time, such as bus bar, shared memory, switch, and shared processing unit. °σ [Prior technology]

Round robin仲裁器可保證所有輸入端皆被服務,而且都以 公平方式對待。它基本上是由一個可編程優先編碼器(ppE), 暫存器用以記錄優先權指標,一個漸增器(incrementer)和二進 編碼器所構成。可編程優先編碼器(PPE)包括兩個簡單的優先 編碼器jsmpl—PE),熱編碼器和位運算AND/〇R閘。該兩種設 計對於簡單的round_robin機制來說都太複雜,而不易整合於 SoC 中。 、 ,快和較簡單的smpl—PE仲魅使Μ層、前瞻、和折疊 被,出,而,集以優先權指標之設計使麵d — 碉度裔(scheduler)變更複雜。The Round robin arbiter guarantees that all inputs are served and are treated fairly. It basically consists of a Programmable Priority Encoder (ppE), which is used to record priority indicators, an incrementer and a binary encoder. The Programmable Priority Encoder (PPE) consists of two simple priority encoders, jsmpl-PE), a thermal encoder and bitwise AND/〇R gates. Both of these designs are too complex for the simple round_robin mechanism to be easily integrated into the SoC. , fast and simpler smpl-PE Zhongmei makes the layer, forward-looking, and folding, and the design of the priority index makes the face d-scheduler change complicated.

t攻,剩下輸入端的請求由另一半 該仲裁器會認可一個輸入端撕2t attack, the rest of the request from the other half by the arbiter will recognize an input to tear 2

I 昀根π%理乏這種運作模式下, Τ· t· ' i 5 5 201128400 -人以上超過其餘TV/2輸入端,導致不公平。在此情況下,ppA 無法提供round-robm式之公平。ppA之調度(scheciuling)效能 不如基於PPE之iSLIP和DRRM。 ' 使用相同的”兵兵”想法,另一個仲裁器設計,即所謂的交換 . 仲裁,(SA)。SA是由一個4 x4 SA服務節點所組成的樹狀結 構。每一 SA節點由一個D正反器,4個優先編碼器,一個4 位元環形計數器,5個4輸入之〇R閘,4個2輸入AND閘所 構成。SA速度比PPA快,是目前已知速度最快之仲裁器,且 其電路結構具階層化設計之優點。但它電路較大較複雜,作為 鲁 PPA,SA對非均勻分佈的要求之處理是不具公平性的 分散式階層樹狀(distributed hierarchy tree)的仲裁架構是網 路crossbar switch和crossbar arbiter的混合體,仲裁和資料傳 遞是同時進行的,加上階層式樹狀的特性,每一個節點所需要 的仲裁數目較少,複雜度較上述SA架構低,因此cr〇ssbar延 遲較小。這種樹狀仲裁架構結構也是不具公平性的。 至於仲裁器多面向硬體框架(arbiter hardware muW_faeet template)之設計則過去未曾有過。 【發明内容】 隨著技術的快速發展’在設計和實現具餅幾千顆核心的 嵌入式从廳時之猜槪然成為一個最關鍵問題。在 其中許多的/P (Intelleetuamoperty),如處理器、記情片 /網路、周邊單位皆匯集在-個晶片上,彼此與其他/p相互競 201128400 异:源。由於同—晶片上相同或不同類型的使用 理二源的競爭將會更加激烈。因此,用以處 ίί問題之多面向、高雖和低成本的仲 裁益(arbiters)變得越來越重要。 裁11的設計已經被提出。但是,多面向仲裁器的設 计:間”硬體框架普遍都沒有分析和探討,缺乏-個系統化 的彈性硬體框縣設計功能柯之各仲裁器。在此,我們推 導設計出該彈性仲裁器多面向硬體框架。 本發明之仲裁器多面向硬體框架如圖丨所示由四個模組構 成· PREEMPTION 填挺、TOKEN—GENERATION 壤紅、 TOKEN—CONTROL槙紕、與BANDWIDTH槙組。嵐中各模级 之動作、行為、與規格由各自之演算法分別定義描述於下。I 昀 π π 理 这种 这种 这种 This operating mode, Τ·t· 'i 5 5 201128400 - more than the rest of the TV/2 input, resulting in unfairness. In this case, ppA cannot provide round-robm-style fairness. The scheduling performance of ppA is not as good as that of PPE-based iSLIP and DRRM. The idea of using the same "military", another arbiter design, the so-called exchange. Arbitration, (SA). The SA is a tree structure composed of a 4 x 4 SA service node. Each SA node consists of a D flip-flop, four priority encoders, a 4-bit ring counter, five 4-input R-gates, and four 2-input AND gates. SA speed is faster than PPA, and it is the fastest known arbiter, and its circuit structure has the advantages of hierarchical design. However, its circuit is large and complex. As a non-uniform distribution of SA, the treatment of non-uniform distribution is a non-fair distributed hierarchical tree arbitration architecture is a hybrid of network crossbar switch and crossbar arbiter. Arbitration and data transfer are performed at the same time. In addition to the hierarchical tree-like characteristics, each node requires less arbitration and the complexity is lower than the above-mentioned SA architecture, so the cr〇ssbar delay is small. This tree-arbitrating architecture is also not fair. As for the design of the arbiter hardware muW_faeet template, the design of the arbiter hardware muW_faeet template has never been seen before. [Summary of the Invention] With the rapid development of technology, the guessing of designing and implementing an embedded hall with thousands of cores has become one of the most critical issues. In many of them, /P (Intelleetuamoperty), such as processor, sensation film / network, peripheral units are all on one chip, competing with each other / other than / 201128400 different: source. The competition for the same or different types of use of the same source on the same wafer will be more intense. Therefore, it is becoming more and more important to use arbiters for ίί problems, high and low cost. The design of the cut 11 has been proposed. However, the design of multi-arbitrage-oriented devices: the "hard-frame" is generally not analyzed and discussed, and there is a lack of a systematic and flexible hardware-frame design function of Ke's arbitrators. Here, we deduced to design the elasticity. The arbitrator is mostly oriented to the hardware frame. The arbitrator of the present invention is composed of four modules as shown in the figure. PREEMPTION fills, TOKEN-GENERATION, TOKEN-CONTROL槙纰, and BANDWIDTH槙The actions, behaviors, and specifications of each model level in 岚 are described by their respective algorithms.

8n.j W 圖1.仲裁器多面向硬體框架. PREEMPTION槙組之演算法如Ύ ·· Algorithm PREEMPTION{ri〇~ ri^.i, g〇 ~ gN-i) input,. ri〇~ riN.iiN requests (jnasked)) 201128400 output: g〇 - gN.j (N output grants) begin for / = 0 to N-\ do gi ^~0; for i = 0 to TV-1 do begin if r,· ==1 then g, 1; break; end-for end TOKEN—GENERATION槙紕之演箕法如Ύ ..8n.j W Figure 1. The arbitrator is mostly oriented to the hardware framework. The algorithm of the PREEMPTION group is as follows: · Algorithm PREEMPTION{ri〇~ ri^.i, g〇~ gN-i) input,. ri〇~ riN .iiN requests (jnasked)) 201128400 output: g〇- gN.j (N output grants) begin for / = 0 to N-\ do gi ^~0; for i = 0 to TV-1 do begin if r,· ==1 then g, 1; break; end-for end TOKEN—GENERATION槙纰 The deductive method is as follows:

Aigorithm TOKEN—GENERATIONS ή〇 〜riw,g0 〜如,Q〇 〜h D〇〜Dn 〇 Input·. I,ri〇 〜rir^,g〇 〜gN.i {N grants)Aigorithm TOKEN—GENERATIONS ή〇 riw,g0 〜如,Q〇 〜h D〇~Dn 〇 Input·. I,ri〇 〜rir^,g〇 〜gN.i {N grants)

Input: Qe 〜Qn-i {N internal states)Input: Qe ~Qn-i {N internal states)

Output: D〇 ~ Dnj {N tokens) begin anyRl〇 0; anyRJj ri〇; if /==1 // for equal-priority arbitration then begin for z = 0 to N-l do begin ifi>2 then anyRIi n/./ oranyRI^Output: D〇~ Dnj {N tokens) begin anyRl〇0; anyRJj ri〇; if /==1 // for equal-priority arbitration then begin for z = 0 to Nl do begin ifi>2 then anyRIi n/./ OranyRI^

D,· <- Qi and anyRlj; end end else begin // for non-equal-priority arbitration as Γ for z = 0 to N-l do D-, gt\ end if... begin Z),· = ... end // expansible for any other arbitration output all Di end •L·遂 TOKEN—GENERATION 演%法今,tokens 能/敗"错、松專 優先權、非相等優先權或其他仲裁性質來產生。因此 201128400 TOKEN—GENERATION模紙的功能具有可擴交姓。 TOKEN CONTROL模紙之淚暮法如飞·· A\goritYim TOKEN—CONTROLire。〜reN.u D。〜DN.h E, r% 〜riN.丨,Q()〜QN.d input: E, re〇~ reN.j (N unmasked requests), D0~DNm] output: ri〇 〜riN-h iN masked requests), Q0 〜QN-t begin for i = Oto N-l do Q-t <- 1; for each arbitration time unit do begin for i=0 to N-l do Q,· D,·; if E == 1 //for preemptive arbitration under ΓD,· <- Qi and anyRlj; end end else begin // for non-equal-priority arbitration as Γ for z = 0 to Nl do D-, gt\ end if... begin Z),· = .. End // expansible for any other arbitration output all Di end • L·遂TOKEN—GENERATION is generated by the % method, tokens can/loss" wrong, loose priority, non-equal priority or other arbitration property. Therefore, the function of 201128400 TOKEN-GENERATION is extended with the surname. The tears of TOKEN CONTROL are like a fly · A\goritYim TOKEN—CONTROLire. ~reN.u D. ~DN.h E, r% ~riN.丨,Q()~QN.d input: E, re〇~ reN.j (N unmasked requests), D0~DNm] output: ri〇~riN-h iN masked Requests), Q0 ~QN-t begin for i = Oto Nl do Qt <- 1; for each arbitration time unit do begin for i=0 to Nl do Q,· D,·; if E == 1 //for Preemptive arbitration under Γ

then for i = OioN-l do rij ref, else begin // non-preemptive arbitr. under Γ or others for i = Oto N-l do rij re·, and Qf, end end-for end 凡模組之演算法如下:Then for i = OioN-l do rij ref, else begin // non-preemptive arbitr. under Γ or others for i = Oto N-l do rij re·, and Qf, end end-for end The algorithm of the module is as follows:

Algorithm BANDWIDTH(r〇 〜rN.h w〇 〜g0 〜gN.h W,re0 ~ input: W, r〇 ~ rN.j (TV input requests), go 〜gN·】 input: w〇 〜wn-i (N bandwidth requests set by requesters) output: re〇 ~ reN.j (N unmasked requests) begin load <— 0; for / = 0 to Λ^-l do QBtw,·; for each arbitration time unit do if W== 1 // with bandwidth constraints then begin if load = 1 then for / = 0 to A^-l do QBi<—QBj + wf, else begin for / = 0 to N-\ do 9 201128400 if QBi == 0 then 〇; else begin rei — n·,if gi== 1 then QBt QBi A ; end end—for end end else // without bandwidth constraints f〇r/ = 〇to7V-l do re^n; end^f〇 ^ aU mi ^ 〇 then l〇ad 1 ; " new bandwidth quota endAlgorithm BANDWIDTH(r〇~rN.hw〇~g0 ~gN.h W,re0 ~ input: W, r〇~ rN.j (TV input requests), go ~gN·] input: w〇~wn-i ( N bandwidth requests set by requesters) output: re〇~ reN.j (N unmasked requests) begin load <— 0; for / = 0 to Λ^-l do QBtw,·; for each arbitration time unit do if W= = 1 // with bandwidth constraints then begin if load = 1 then for / = 0 to A^-l do QBi<-QBj + wf, else begin for / = 0 to N-\ do 9 201128400 if QBi == 0 then Begin; else begin rei — n·, if gi== 1 then QBt QBi A ; end end—for end end else // without bandwidth constraints f〇r/ = 〇to7V-l do re^n; end^f〇^ aU mi ^ 〇then l〇ad 1 ; " new bandwidth quota end

我們可藉由設^圖丨中之參數『、,與五,來實現具一個或 性質之不同仲裁器。也就是說® 1之仲裁11多面向硬 匚,疋可重用的、具擴充性、與可組合的。6種仲裁器如表 所不可由圖1中相應的三個參數^"與五適當設定而得之。We can implement a different arbiter with one or one property by setting the parameters ",, and five" in the figure. That is to say, the arbitration of the 1 is more than hard, reusable, expandable, and combinable. The six kinds of arbiters are not allowed to be properly set by the corresponding three parameters in Figure 1.

赛器之參數設定與產生. 相對優先權Equal-priority 無頻寬限制 No BW-constraint W=〇 W’l arbiter 優先權不對 Non-equal priority /=0Parameter setting and generation of the game. Relative priority Equal-priority No bandwidth limit No BW-constraint W=〇 W’l arbiter Priority is not right Non-equal priority /=0

相對偷先權Equal-priority / 優先權不對 Non-equal priorityRelative privilege equal-priority / priority is not right Non-equal priority

Non-preemption 不搶先,五=〇 W,I,E,arbiterNon-preemption is not preemptive, five = 〇 W, I, E, arbiter

Preemption 搶先,五: W’I’E arbiter WI arbiterPreemption preemptive, five: W’I’E arbiter WI arbiter

Non-preemption 不搶先,£ = 〇 WI’E’arbiterNon-preemption is not preemptive, £ = 〇 WI’E’arbiter

Preemption 不搶先,五=1 WI*E arbiter 201128400 【實施方式】 同【發明内容】 【圖式簡單說明】 圖1.仲裁器多面向硬體框架. 【主要元件符號說明】 Μ使用者之個數。 r,·:從使用者/發出之共享資源的獨佔使用要求,OSzSTV·/。 沿或g〇']:若沿訊號為1代表使用者/已經得到的獨占資源的 使用認可,。 W,·:各個輸入(使用者)之頻寬要求量,0 S z· S尽7。Preemption is not preemptive, five=1 WI*E arbiter 201128400 [Embodiment] Same as [Invention] [Simplified description] Figure 1. The arbitrator is more oriented to the hardware frame. [Main component symbol description] ΜNumber of users . r, ·: The exclusive use requirement of the shared resource from the user/issued, OSzSTV·/. Along or g〇']: If the signal is 1 on behalf of the user / the use of the exclusive resources already obtained is recognized. W, ·: The bandwidth requirement for each input (user), 0 S z· S is 7.

Di ·. N 値 tokens,Q < i < N-1。 奶頻寬要求設定參數。 /:優先權要求設定參數。 五:先佔要求參設定數。Di ·. N 値 tokens, Q < i < N-1. Milk bandwidth requires setting parameters. /: Priority requires setting parameters. Five: Preemptive requirements are set.

Claims (1)

201128400 十、申請專利範圍: 1.圖1仲裁器多面向硬體框架之設計。 規格、與其演算法。 、行為、規格、與其演算 2· PREEMPTIONm瓦之動作、行馬、 3. TOKEN-GENERATION壤斂义動作 法。 4· TOKEN—CONTROL 模包之私仏Λ 法。 、 動作、仃為、規格、與其演瞀 5. 似仍m模組之動作 、、外 仃為、規格、與其演算法。201128400 X. Patent application scope: 1. Figure 1 Arbiter is designed for hardware framework. Specifications, and its algorithm. , behavior, specifications, and its calculations 2 · PREEMPTIONm tile action, line horse, 3. TOKEN-GENERATION. 4· TOKEN—CONTROL The private method of the mold package. , action, ambiguity, specification, and deduction 5. It seems that the action of the m module, the external 仃, the specification, and its algorithm. 6. 表1: 6種不同仲裁器之參數設定與產生。6. Table 1: Parameter setting and generation for six different arbiter. 1212
TW99103161A 2010-02-03 2010-02-03 A multi-facet hardware template for arbiters TW201128400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99103161A TW201128400A (en) 2010-02-03 2010-02-03 A multi-facet hardware template for arbiters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99103161A TW201128400A (en) 2010-02-03 2010-02-03 A multi-facet hardware template for arbiters

Publications (1)

Publication Number Publication Date
TW201128400A true TW201128400A (en) 2011-08-16

Family

ID=45025184

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99103161A TW201128400A (en) 2010-02-03 2010-02-03 A multi-facet hardware template for arbiters

Country Status (1)

Country Link
TW (1) TW201128400A (en)

Similar Documents

Publication Publication Date Title
US6877053B2 (en) High performance communication architecture for circuit designs using probabilistic allocation of resources
US7698486B1 (en) Method and apparatus for bus arbitration dynamic priority based on waiting period
US5274774A (en) First-come first-serve arbitration protocol
TW201019129A (en) Methods and apparatus for shared resource arbitration
US20070260792A1 (en) Method and system for N dimension arbitration algorithm - scalable to any number of end points
US7739436B2 (en) Method and apparatus for round robin resource arbitration with a fast request to grant response
CN103765852A (en) Providing adaptive bandwidth allocation for a fixed priority arbiter
Billaud et al. hClock: Hierarchical QoS for packet scheduling in a hypervisor
JP2006523902A5 (en)
Ugurdag et al. Fast parallel prefix logic circuits for n2n round-robin arbitration
Park et al. Position-based weighted round-robin arbitration for equality of service in many-core network-on-chips
TW201128400A (en) A multi-facet hardware template for arbiters
Halak et al. A dynamic CDMA network for multicore systems
Khan et al. Fault-tolerant buffer aware round robin arbiter design for NoC architectures
Kumar et al. Timing analysis of precedence constraint messages scheduled with slot multiplexing over dynamic segment of flexray
Tanasa et al. Probabilistic timing analysis for the dynamic segment of flexray
Monemi et al. An enhanced dynamic weighted incremental technique for QoS support in NoC
WO2021101717A1 (en) Forward progress mechanisms for a communications network having multiple nodes
Doifode et al. Dynamic lottery bus arbiter for shared bus system on chip: a design approach with VHDL
Nitnaware et al. Time Efficient Arbiter in the design of Scheduler embodying Islip algorithm for on chip interconnection
Jou et al. Efficient design and generation of a multi-facet arbiter
Hwang et al. Implementation of a self-motivated arbitration scheme for the multilayer AHB busmatrix
Jou et al. Model-driven design and generation of new multi-facet arbiters: from the design model to the hardware synthesis
Jou et al. New model-driven design and generation of multi-facet arbiters part I: From the design model to the architecture model
Gautam et al. An efficient arbitration technique for system-on-chip communications