WO2012129878A1 - Method and system for on-chip interconnection bus arbitration - Google Patents

Method and system for on-chip interconnection bus arbitration Download PDF

Info

Publication number
WO2012129878A1
WO2012129878A1 PCT/CN2011/078420 CN2011078420W WO2012129878A1 WO 2012129878 A1 WO2012129878 A1 WO 2012129878A1 CN 2011078420 W CN2011078420 W CN 2011078420W WO 2012129878 A1 WO2012129878 A1 WO 2012129878A1
Authority
WO
WIPO (PCT)
Prior art keywords
arbitration
peripheral
request
signal
buffer
Prior art date
Application number
PCT/CN2011/078420
Other languages
French (fr)
Chinese (zh)
Inventor
刘凯
李炜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012129878A1 publication Critical patent/WO2012129878A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system

Definitions

  • the present invention relates to the field of chips, and in particular to an arbitration method and system for an on-chip interconnect bus. Background technique
  • the internal bus interconnection of the chip is a key area of current chip research. With the continuous improvement of chip processing capability, processing frequency and processing functions, higher requirements are placed on the internal interconnect bus of the chip, and the chip interconnection is realized in the case of multi-device shared bus. The speed and efficiency of the bus.
  • bus arbitration In the case of inter-chip bus interconnection, multiple bus units are often required to access bus resources, thus forming an arbitration relationship for the on-chip bus.
  • chip arbitration is often required. The bus request is initiated as soon as it is initiated (as shown in Figure 1), but this bus arbitration structure requires the bus request to arrive at the bus arbitration after the bus has been transmitted, and then sent to the requesting unit after the arbitration logic operation. This type of operation often consumes a large amount of delay, so the bus operating frequency is often not very high, which will greatly reduce the actual transmission efficiency of the bus.
  • the main object of the present invention is to provide an arbitration method and system for an on-chip interconnect bus to continuously obtain a bus arbitration signal and improve the transmission efficiency of the bus.
  • An arbitration method for an on-chip interconnect bus including:
  • the current peripheral request is buffered; an arbitration acknowledgement signal is sent to the peripheral when the peripheral request can be acknowledged or buffered.
  • the process of buffering the peripheral request includes:
  • the peripheral request is first sent to the normal transmission path, and a backup requested by the peripheral is sent to the sliding buffer skid buffer circuit; the appropriate path is selected from the normal transmission path and the skid buffer path, and the peripheral request is sent to a combinational logic circuit for bus arbitration decisions;
  • the value of the Skid buffer is empty, and when a transfer request is externally provided but not acknowledged, the next peripheral request is also sent to the skid buffer; when the skid buffer is full, And then initiating a new arbitration permission signal as an arbitration response signal to the peripheral;
  • the request signal is first taken from the skid buffer.
  • the final arbitration enable signal as the arbitration acknowledge signal is the timing output; if the peripheral continues to obtain the low arbitration enable signal, the peripheral continues to obtain the arbitration enable signal.
  • the final arbitration enable signal as the arbitration acknowledgement signal is the timing output; if the peripheral does not obtain the low level arbitration enable signal, it also checks whether the peripheral has a request currently, or has a request in the cache; if there is a request The request is processed first, and the arbitration permission signal is no longer sent to the peripheral.
  • An arbitration system for an on-chip interconnect bus comprising a request buffer unit and an arbitration processing unit;
  • the request cache unit is configured to cache a current peripheral request
  • the arbitration processing unit is configured to: when the peripheral request can be answered or cached, An arbitration response signal is sent to the peripheral.
  • the request cache unit is configured to: when caching the current peripheral request:
  • the peripheral request is first sent to the normal transmission path, and a backup requested by the peripheral is sent to the skid buffer circuit; the appropriate path is selected from the normal transmission path and the skip buffer path, and the peripheral request is sent to the bus arbitration.
  • the combined logic circuit of the decision In the combined logic circuit of the decision;
  • the initial value is that the value of the Skid buffer is empty.
  • the request buffer unit is further configured to trigger the skid buffer to receive a next peripheral request.
  • the arbitration processing unit is configured to: after the skid buffer is full, no longer initiate a new arbitration permission signal as an arbitration response signal to the peripheral device.
  • the final arbitration enable signal as the arbitration acknowledge signal is the timing output; if the peripheral continues to obtain the low arbitration enable signal, the peripheral is also used to continuously obtain the arbitration enable signal.
  • the final arbitration enable signal as the arbitration acknowledgement signal is a timing output; if the peripheral does not obtain the low level arbitration enable signal, the request buffer unit is further configured to check whether the peripheral has a request, or cache There is a request; if there is a request, the request is processed first, and the arbitration processing unit is no longer triggered to send an arbitration permission signal to the peripheral.
  • the arbitration technique of the on-chip interconnect bus of the present invention can continuously obtain the bus arbitration signal in the case of a single device request, thereby greatly improving the transmission efficiency of the bus.
  • Figure la and Figure lb are schematic diagrams of the chip arbitration principle of the prior art
  • 2a and 2b are schematic diagrams showing the principle of chip arbitration in the prior art 2;
  • 3a and 3b are schematic diagrams showing a bus arbitration structure and a chip arbitration principle according to an embodiment of the present invention.
  • 4 is a schematic diagram showing the detailed structure of an arbitration circuit and a principle of chip arbitration according to an embodiment of the present invention;
  • FIG. 5 is a schematic diagram of an arbitration process of an on-chip interconnect bus according to an embodiment of the present invention. detailed description
  • an interconnect bus arbitration circuit can be proposed, which is designed with a skid buffer circuit capable of buffering current peripheral requests, and in the case where peripheral requests can be acknowledged or cached, Initiate an arbitration response signal. This will ensure that the actual bus arbitration is not calculated before it can initiate an arbitration response signal to the peripheral, thereby ensuring the timeliness of the response of the arbitration signal and ensuring the efficiency of the bus arbitration response.
  • the buffer buffer used in bus arbitration can store deep bus requests.
  • the response signal will jointly determine the buffer state of the buffer unit and the combined logic arbitration signal of the bus to determine the bus acknowledge signal to be transmitted.
  • the bus arbitration acknowledgement signal is a sequential circuit design, that is, the signal is a register beat design, has a good timing characteristic, and can improve the overall operating frequency of the bus.
  • Skid buffer buffer logic general combination logic arbitration circuit
  • arbitration response signal output circuit the whole can be divided into the following parts: Skid buffer buffer logic, general combination logic arbitration circuit, arbitration response signal output circuit.
  • the peripheral request signal (with the request access address) is first sent to the circuit (normal transmission path), and a backup requested by the peripheral is sent to the skid buffer circuit, the multiplexer (mux) circuit. It is responsible for selecting an appropriate path from the normal transmission path and the skid buffer path to send the peripheral request signal to the combinational logic circuit of the bus arbitration decision.
  • the skid buffer circuit refers to a differential flip flop (DFF) 1.
  • the DFF is mainly used to implement the register function, and may also be replaced by a storage device other than the DFF.
  • the mux logic gates the normal path (the portion above DFF 1); otherwise, the data of the skid buffer path is selected.
  • the combinatorial logic decision circuit is a general digital decider circuit, which can be designed as a polling, priority, etc. circuit as needed.
  • the result of the combinational logic decision circuit is ORed with the state of the register in the current skid buffer to indicate whether it can be succeeded next time.
  • the response signal is continuously sent, and the signal is sent to the peripheral unit after being beat.
  • the Skid buffer circuit is capable of buffering a deep peripheral request. Under the initial conditions, the value of the Skid buffer is empty. When there is a transfer request but is not acknowledged by the arbiter, the circuit will send the next peripheral request to the skid buffer. When the skid buffer is full, the arbitration circuit will ensure that no new arbitration enable signals are issued to the peripherals. Whenever the skid buffer has a buffered arbitration signal, when the peripheral obtains new arbitration permission, the peripheral request signal will be removed from the skid buffer.
  • the general combinational logic arbitration circuit can follow a plurality of arbitration priority algorithms, which are essentially combined logic circuits for returning an arbitration enable signal to a peripheral device under the beat clock according to the input signals of the plurality of bus peripherals.
  • the arbitration response output signal is shown in Figure 4.
  • the final arbitration enable signal (gnt) is a timing output whose output is related to the combination logic arbitration output ( gnt_raw ) and whether there is still a peripheral request signal present. If the peripheral continues to receive the gnt_raw signal, indicating that the peripheral can continue to transmit, the peripheral can continue to obtain the arbitration enable signal. If the peripheral does not get the gnt_raw signal at this time, it needs to check whether the current peripheral has a request, or has a request in the cache. If there is a request, the request is processed first, and the arbitration permission signal is no longer sent to the peripheral.
  • the peripheral first sends the address al. Since the skid buffer is empty in the initial state, after the address al is sent, the peripheral continues to transmit the address a2 on the next clock cycle beat 2. Since the address al is not arbitrated at beat 1, the gnt signal is pulled low after the address a2 is sent, the address al is held in the skid buffer, and the address al is held on the output port. At beat 2, address al gets arbitration, then on beat 3, the gnt signal is pulled high again, at which point address a2 is output at beat 3.
  • the peripheral can continuously obtain arbitration, its address can be transmitted continuously, which can ensure the maximum bus transmission efficiency, and the gnt signal is the register output, which greatly improves the running frequency of the bus.
  • Step 510 Cache the current peripheral request.
  • Step 520 When the peripheral request can be acknowledged or buffered, an arbitration acknowledgement signal is sent to the peripheral.
  • the arbitration technique of the on-chip interconnect bus of the present invention can continuously obtain the bus arbitration signal in the case of a single device request, thereby greatly improving the transmission efficiency of the bus.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

Disclosed in the invention are a method and a system for on-chip interconnection bus arbitration, a request of a peripheral can be buffered by them; a signal of arbitration response is initiated to the peripheral when the request of the peripheral can be responded or be buffered. The on-chip interconnection bus arbitration technology of the application can obtain continuously the signal of bus arbitration in the case of a request of single equipment therefore transmission efficiency of the bus is improved greatly.

Description

一种片上互联总线的仲裁方法和系统 技术领域  Arbitration method and system for on-chip interconnect bus
本发明涉及芯片领域, 具体涉及一种片上互联总线的仲裁方法和系统。 背景技术  The present invention relates to the field of chips, and in particular to an arbitration method and system for an on-chip interconnect bus. Background technique
芯片内部总线互联是目前芯片研究的一个重点领域, 随着芯片处理能 力、 处理频率和处理功能的不断提升, 对芯片内部互联总线提出了更高的 要求, 力求实现多设备共享总线情况下芯片互联总线的高速和高效性。  The internal bus interconnection of the chip is a key area of current chip research. With the continuous improvement of chip processing capability, processing frequency and processing functions, higher requirements are placed on the internal interconnect bus of the chip, and the chip interconnection is realized in the case of multi-device shared bus. The speed and efficiency of the bus.
在芯片内总线互联的情况下, 经常需要多个总线单元去访问总线资源, 这样就形成了片内总线的仲裁关系, 一般情况下为了保证获得仲裁的单元 能够连续传输数据, 往往需要芯片仲裁在总线请求发起后就立刻进行(如 图 1所示), 但是这种总线仲裁结构要求总线请求在经过总线传输后到达总 线仲裁, 经过仲裁逻辑运算后再发送给申请的单元。 这种操作方式往往消 耗掉大量延时, 因此总线工作频率往往不能够做的很高, 这将大大降低总 线的实际传输效率。  In the case of inter-chip bus interconnection, multiple bus units are often required to access bus resources, thus forming an arbitration relationship for the on-chip bus. In general, in order to ensure that the unit that obtains arbitration can continuously transmit data, chip arbitration is often required. The bus request is initiated as soon as it is initiated (as shown in Figure 1), but this bus arbitration structure requires the bus request to arrive at the bus arbitration after the bus has been transmitted, and then sent to the requesting unit after the arbitration logic operation. This type of operation often consumes a large amount of delay, so the bus operating frequency is often not very high, which will greatly reduce the actual transmission efficiency of the bus.
另外一种常见的做法就是将仲裁后的组合逻辑信号打拍后传送回总线 (如图 2所示), 这样虽然可以提升总线的传输频率, 但是由于仲裁结果不 能立刻返回发送设备, 因而导致发送设备等待, 这导致总线无法实现连续 传输, 也会降低总线的实际传输效率。 发明内容  Another common practice is to transfer the combined logic signal after arbitration to the bus (as shown in Figure 2). This can increase the transmission frequency of the bus, but the arbitration result cannot be immediately returned to the transmitting device, thus causing the transmission. The device waits, which causes the bus to fail to achieve continuous transmission and also reduces the actual transmission efficiency of the bus. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种片上互联总线的仲裁方法 和系统, 以连续获得总线仲裁信号, 提升总线的传输效率。  In view of this, the main object of the present invention is to provide an arbitration method and system for an on-chip interconnect bus to continuously obtain a bus arbitration signal and improve the transmission efficiency of the bus.
为达到上述目的, 本发明的技术方案是这样实现的: 一种片上互联总线的仲裁方法, 包括: In order to achieve the above object, the technical solution of the present invention is achieved as follows: An arbitration method for an on-chip interconnect bus, including:
緩存当前的外设请求; 当所述外设请求能够被应答或者被緩存时, 向 外设发起仲裁应答信号。  The current peripheral request is buffered; an arbitration acknowledgement signal is sent to the peripheral when the peripheral request can be acknowledged or buffered.
其中, 緩存所述外设请求的过程包括:  The process of buffering the peripheral request includes:
所述外设请求首先被送入正常传输通路, 同时该外设请求的一个备份 发向滑动緩存 skid buffer电路;从正常传输通路和 skid buffer通路选择合适 的通路, 将所述外设请求送到总线仲裁判决的组合逻辑电路中;  The peripheral request is first sent to the normal transmission path, and a backup requested by the peripheral is sent to the sliding buffer skid buffer circuit; the appropriate path is selected from the normal transmission path and the skid buffer path, and the peripheral request is sent to a combinational logic circuit for bus arbitration decisions;
如果计算出仲裁结果,则选通正常通路;反之则选择 skid buffer通路的 数据。  If the arbitration result is calculated, the normal path is gated; otherwise, the data of the skid buffer path is selected.
其中, 初始条件下, 所述 Skid buffer的值为空, 当外设有传输请求、 但是不被应答时,还将下一个外设请求送入所述 skid buffer中;当 skid buffer 满后, 不再向外设发起新的作为仲裁应答信号的仲裁允许信号;  Wherein, under initial conditions, the value of the Skid buffer is empty, and when a transfer request is externally provided but not acknowledged, the next peripheral request is also sent to the skid buffer; when the skid buffer is full, And then initiating a new arbitration permission signal as an arbitration response signal to the peripheral;
每当所述 skid buffer有緩存的仲裁信号, 当外设获得新的仲裁允许后, 还先从 skid buffer中将请求信号取走。  Whenever the skid buffer has a buffered arbitration signal, when the peripheral obtains new arbitration permission, the request signal is first taken from the skid buffer.
其中, 最终的作为仲裁应答信号的仲裁允许信号为时序输出; 如果外设持续获得低电平的仲裁允许信号, 该外设还持续获得仲裁允 许信号。  The final arbitration enable signal as the arbitration acknowledge signal is the timing output; if the peripheral continues to obtain the low arbitration enable signal, the peripheral continues to obtain the arbitration enable signal.
其中, 最终的作为仲裁应答信号的仲裁允许信号为时序输出; 如果外设没有获得低电平的仲裁允许信号, 则还查看当前该外设是否 还有请求, 或緩存中具有请求; 如果具有请求则先处理该请求, 而不再向 外设发送仲裁允许信号。  Wherein, the final arbitration enable signal as the arbitration acknowledgement signal is the timing output; if the peripheral does not obtain the low level arbitration enable signal, it also checks whether the peripheral has a request currently, or has a request in the cache; if there is a request The request is processed first, and the arbitration permission signal is no longer sent to the peripheral.
一种片上互联总线的仲裁系统, 包括请求緩存单元、 仲裁处理单元; 其中,  An arbitration system for an on-chip interconnect bus, comprising a request buffer unit and an arbitration processing unit; wherein
所述请求緩存单元, 用于緩存当前的外设请求;  The request cache unit is configured to cache a current peripheral request;
所述仲裁处理单元, 用于当所述外设请求能够被应答或者被緩存时, 向外设发起仲裁应答信号。 The arbitration processing unit is configured to: when the peripheral request can be answered or cached, An arbitration response signal is sent to the peripheral.
其中, 所述请求緩存单元在緩存当前的外设请求时, 用于:  The request cache unit is configured to: when caching the current peripheral request:
所述外设请求首先被送入正常传输通路, 同时该外设请求的一个备份 发向 skid buffer电路; 从正常传输通路和 skid buffer通路选择合适的通路, 将所述外设请求送到总线仲裁判决的组合逻辑电路中;  The peripheral request is first sent to the normal transmission path, and a backup requested by the peripheral is sent to the skid buffer circuit; the appropriate path is selected from the normal transmission path and the skip buffer path, and the peripheral request is sent to the bus arbitration. In the combined logic circuit of the decision;
如果计算出仲裁结果,则选通正常通路;反之则选择 skid buffer通路的 数据。  If the arbitration result is calculated, the normal path is gated; otherwise, the data of the skid buffer path is selected.
其中, 初始条件下, 所述 Skid buffer的值为空, 当外设有传输请求、 但是不被应答时,所述请求緩存单元还用于触发所述 skid buffer接收下一个 外设请求;  The initial value is that the value of the Skid buffer is empty. When a transmission request is externally provided but is not acknowledged, the request buffer unit is further configured to trigger the skid buffer to receive a next peripheral request.
所述仲裁处理单元, 用于: 当所述 skid buffer满后, 不再向外设发起新 的作为仲裁应答信号的仲裁允许信号。  The arbitration processing unit is configured to: after the skid buffer is full, no longer initiate a new arbitration permission signal as an arbitration response signal to the peripheral device.
其中, 最终的作为仲裁应答信号的仲裁允许信号为时序输出; 如果外设持续获得低电平的仲裁允许信号, 该外设还用于持续获得仲 裁允许信号。  The final arbitration enable signal as the arbitration acknowledge signal is the timing output; if the peripheral continues to obtain the low arbitration enable signal, the peripheral is also used to continuously obtain the arbitration enable signal.
其中, 最终的作为仲裁应答信号的仲裁允许信号为时序输出; 如果外设没有获得低电平的仲裁允许信号, 则所述请求緩存单元用于 还查看当前该外设是否还有请求, 或緩存中具有请求; 如果具有请求则先 处理该请求, 而不再触发所述仲裁处理单元向外设发送仲裁允许信号。  Wherein, the final arbitration enable signal as the arbitration acknowledgement signal is a timing output; if the peripheral does not obtain the low level arbitration enable signal, the request buffer unit is further configured to check whether the peripheral has a request, or cache There is a request; if there is a request, the request is processed first, and the arbitration processing unit is no longer triggered to send an arbitration permission signal to the peripheral.
本发明片上互联总线的仲裁技术, 在单设备请求的情况下可以连续获 得总线仲裁信号, 因而大大提升了总线的传输效率。 附图说明  The arbitration technique of the on-chip interconnect bus of the present invention can continuously obtain the bus arbitration signal in the case of a single device request, thereby greatly improving the transmission efficiency of the bus. DRAWINGS
图 la和图 lb为现有技术一的芯片仲裁原理示意图;  Figure la and Figure lb are schematic diagrams of the chip arbitration principle of the prior art;
图 2a和图 2b为现有技术二的芯片仲裁原理示意图;  2a and 2b are schematic diagrams showing the principle of chip arbitration in the prior art 2;
图 3a和图 3b为本发明实施例的总线仲裁结构及芯片仲裁原理示意图; 图 4为本发明实施例的仲裁电路细节结构及芯片仲裁原理示意图; 图 5为本发明实施例的片上互联总线的仲裁流程简图。 具体实施方式 3a and 3b are schematic diagrams showing a bus arbitration structure and a chip arbitration principle according to an embodiment of the present invention; 4 is a schematic diagram showing the detailed structure of an arbitration circuit and a principle of chip arbitration according to an embodiment of the present invention; FIG. 5 is a schematic diagram of an arbitration process of an on-chip interconnect bus according to an embodiment of the present invention. detailed description
在实际应该中, 可以提出一种互联总线仲裁电路, 该电路设计有滑动 緩存( skid buffer ) 电路, 能够緩存当前外设请求, 在外设请求能够被应答 或者被緩存的情况下, 就向外设发起仲裁应答信号。 这样将保证实际的总 线仲裁未计算出来之前, 就能够向外设发起仲裁应答信号, 进而保证仲裁 信号的响应的及时性, 保证总线仲裁应答的效率。  In practice, an interconnect bus arbitration circuit can be proposed, which is designed with a skid buffer circuit capable of buffering current peripheral requests, and in the case where peripheral requests can be acknowledged or cached, Initiate an arbitration response signal. This will ensure that the actual bus arbitration is not calculated before it can initiate an arbitration response signal to the peripheral, thereby ensuring the timeliness of the response of the arbitration signal and ensuring the efficiency of the bus arbitration response.
需要说明的是, 在总线仲裁上釆用的緩冲结构 (skid buffer )可以存储 深度的总线请求。 另外, 针对总线仲裁应答信号设计而言, 该应答信号将 联合判断緩冲单元的空满状态和总线的组合逻辑仲裁信号, 来确定将要发 送的总线应答信号。 并且, 总线仲裁应答信号是时序电路设计, 即该信号 是寄存器打拍设计, 具有很好的时序特性, 能够提高总线的总体运行频率。  It should be noted that the buffer buffer used in bus arbitration can store deep bus requests. In addition, for the bus arbitration response signal design, the response signal will jointly determine the buffer state of the buffer unit and the combined logic arbitration signal of the bus to determine the bus acknowledge signal to be transmitted. Moreover, the bus arbitration acknowledgement signal is a sequential circuit design, that is, the signal is a register beat design, has a good timing characteristic, and can improve the overall operating frequency of the bus.
参见图 3中的仲裁架构的整体框架结构, 其整体可以分为以下几部分: Skid buffer緩冲逻辑、 通用的组合逻辑仲裁电路、 仲裁应答信号输出电路。  Referring to the overall frame structure of the arbitration architecture in Figure 3, the whole can be divided into the following parts: Skid buffer buffer logic, general combination logic arbitration circuit, arbitration response signal output circuit.
如图 3 所示, 外设请求信号 (伴随有请求访问地址)首先被送入电路 (正常传输通路), 同时该外设请求的一个备份发向 skid buffer电路, 多路 选择器( mux )电路负责从正常传输通路和 skid buffer通路选择合适的通路, 以便将所述外设请求信号送到总线仲裁判决的组合逻辑电路中。 所述 skid buffer电路指差分触发器(DFF ) 1。 所述 DFF主要用于实现寄存器功能, 也可以由 DFF以外的存储设备代替。  As shown in Figure 3, the peripheral request signal (with the request access address) is first sent to the circuit (normal transmission path), and a backup requested by the peripheral is sent to the skid buffer circuit, the multiplexer (mux) circuit. It is responsible for selecting an appropriate path from the normal transmission path and the skid buffer path to send the peripheral request signal to the combinational logic circuit of the bus arbitration decision. The skid buffer circuit refers to a differential flip flop (DFF) 1. The DFF is mainly used to implement the register function, and may also be replaced by a storage device other than the DFF.
如果计算出仲裁结果,则 mux逻辑选通正常通路(DFF 1上面的部分); 反之则选择 skid buffer通路的数据。组合逻辑判决电路为一般的数字判决器 电路, 其可以根据需要设计为轮询、 优先级等电路。 组合逻辑判决电路产 生的结果与当前 skid buffer中寄存器的状态相或,以表明是否在下次可以继 续发送响应信号, 该信号打拍后送入外设单元。 If the arbitration result is calculated, the mux logic gates the normal path (the portion above DFF 1); otherwise, the data of the skid buffer path is selected. The combinatorial logic decision circuit is a general digital decider circuit, which can be designed as a polling, priority, etc. circuit as needed. The result of the combinational logic decision circuit is ORed with the state of the register in the current skid buffer to indicate whether it can be succeeded next time. The response signal is continuously sent, and the signal is sent to the peripheral unit after being beat.
Skid buffer电路能够緩存一个深度的外设请求。 初始条件下, 该 Skid buffer的值为空, 当外设有传输请求、 但是不被仲裁器应答时, 电路会将下 一个外设请求送入该 skid buffer中。 当 skid buffer满后, 仲裁电路会保证不 再向外设发起新的仲裁允许信号。每当 skid buffer有緩存的仲裁信号, 当外 设获得新的仲裁允许后, 将先从 skid buffer中将外设请求信号取走。  The Skid buffer circuit is capable of buffering a deep peripheral request. Under the initial conditions, the value of the Skid buffer is empty. When there is a transfer request but is not acknowledged by the arbiter, the circuit will send the next peripheral request to the skid buffer. When the skid buffer is full, the arbitration circuit will ensure that no new arbitration enable signals are issued to the peripherals. Whenever the skid buffer has a buffered arbitration signal, when the peripheral obtains new arbitration permission, the peripheral request signal will be removed from the skid buffer.
通用的组合逻辑仲裁电路可以遵循多种仲裁优先级算法, 其实质为组 合逻辑电路, 用于根据多个总线外设的输入信号, 在当拍时钟下返回对某 个外设的仲裁允许信号。  The general combinational logic arbitration circuit can follow a plurality of arbitration priority algorithms, which are essentially combined logic circuits for returning an arbitration enable signal to a peripheral device under the beat clock according to the input signals of the plurality of bus peripherals.
仲裁应答输出信号如图 4所示。 最终的仲裁允许信号 (gnt )为时序输 出, 其输出与组合逻辑仲裁输出 ( gnt_raw )和当前是否还存在有外设请求 信号两个条件相关。如果外设持续获得 gnt_raw信号,表明该外设可以持续 传输, 则该外设可以持续获得仲裁允许信号。 如果在该时刻该外设没有获 得 gnt_raw信号,则需要查看当前该外设是否还有请求,或緩存中具有请求, 如果具有请求则先处理该请求, 而不再向外设发送仲裁允许信号。  The arbitration response output signal is shown in Figure 4. The final arbitration enable signal (gnt) is a timing output whose output is related to the combination logic arbitration output ( gnt_raw ) and whether there is still a peripheral request signal present. If the peripheral continues to receive the gnt_raw signal, indicating that the peripheral can continue to transmit, the peripheral can continue to obtain the arbitration enable signal. If the peripheral does not get the gnt_raw signal at this time, it needs to check whether the current peripheral has a request, or has a request in the cache. If there is a request, the request is processed first, and the arbitration permission signal is no longer sent to the peripheral.
如图 3所示, 在节拍 1 , 外设首先发送地址 al。 由于初始状态下 skid buffer为空, 因此在发送完地址 al后, 在下一个时钟周期节拍 2上, 外设 继续发送地址 a2。 由于在节拍 1下, 地址 al未获得仲裁, 因此在地址 a2 发出后, gnt信号被拉低, 地址 al则在 skid buffer中被保持, 并且地址 al 在输出端口上被保持。 在节拍 2, 地址 al 获得仲裁, 则在节拍 3上, gnt 信号重新被拉高, 此时地址 a2在节拍 3被输出。  As shown in Figure 3, at beat 1, the peripheral first sends the address al. Since the skid buffer is empty in the initial state, after the address al is sent, the peripheral continues to transmit the address a2 on the next clock cycle beat 2. Since the address al is not arbitrated at beat 1, the gnt signal is pulled low after the address a2 is sent, the address al is held in the skid buffer, and the address al is held on the output port. At beat 2, address al gets arbitration, then on beat 3, the gnt signal is pulled high again, at which point address a2 is output at beat 3.
可见, 如果外设能够连续获得仲裁, 则其地址能够连续进行发射, 这 样能够保证最大的总线传输效率,且 gnt信号为寄存器输出, 这大大提高了 总线的运行频率。  It can be seen that if the peripheral can continuously obtain arbitration, its address can be transmitted continuously, which can ensure the maximum bus transmission efficiency, and the gnt signal is the register output, which greatly improves the running frequency of the bus.
结合以上技术描述可见, 本发明片上互联总线的仲裁操作思路可以表 示如图 5所示的流程, 该流程包括以下步骤: It can be seen from the above description of the technology that the arbitration operation idea of the on-chip interconnect bus of the present invention can be expressed. The process shown in FIG. 5 is shown, and the process includes the following steps:
步骤 510: 緩存当前的外设请求。  Step 510: Cache the current peripheral request.
步骤 520: 当外设请求能够被应答或者被緩存时, 向外设发起仲裁应答 信号。  Step 520: When the peripheral request can be acknowledged or buffered, an arbitration acknowledgement signal is sent to the peripheral.
综上所述可见, 无论是方法还是系统, 本发明片上互联总线的仲裁技 术, 在单设备请求的情况下可以连续获得总线仲裁信号, 因而大大提升了 总线的传输效率。  In summary, the arbitration technique of the on-chip interconnect bus of the present invention can continuously obtain the bus arbitration signal in the case of a single device request, thereby greatly improving the transmission efficiency of the bus.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种片上互联总线的仲裁方法, 包括:  1. An arbitration method for an on-chip interconnect bus, comprising:
緩存当前的外设请求; 当所述外设请求能够被应答或者被緩存时, 向 外设发起仲裁应答信号。  The current peripheral request is buffered; an arbitration acknowledgement signal is sent to the peripheral when the peripheral request can be acknowledged or buffered.
2、根据权利要求 1所述的方法,其中,緩存所述外设请求的过程包括: 所述外设请求首先被送入正常传输通路, 同时该外设请求的一个备份 发向滑动緩存 skid buffer电路;从正常传输通路和 skid buffer通路选择合适 的通路, 将所述外设请求送到总线仲裁判决的组合逻辑电路中;  2. The method of claim 1, wherein the process of buffering the peripheral request comprises: the peripheral request being first sent to a normal transmission path, and a backup requested by the peripheral is sent to a sliding buffer skid buffer a circuit; selecting a suitable path from the normal transmission path and the skid buffer path, and sending the peripheral request to the combination logic circuit of the bus arbitration decision;
如果计算出仲裁结果,则选通正常通路;反之则选择 skid buffer通路的 数据。  If the arbitration result is calculated, the normal path is gated; otherwise, the data of the skid buffer path is selected.
3、 根据权利要求 2所述的方法, 其中,  3. The method according to claim 2, wherein
初始条件下, 所述 Skid buffer的值为空, 当外设有传输请求、 但是不 被应答时,还将下一个外设请求送入所述 skid buffer中;当 skid buffer满后, 不再向外设发起新的作为仲裁应答信号的仲裁允许信号;  Under initial conditions, the value of the Skid buffer is empty. When a transfer request is externally provided but is not acknowledged, the next peripheral request is also sent to the skid buffer; when the skid buffer is full, it is no longer The peripheral initiates a new arbitration enable signal as an arbitration response signal;
每当所述 skid buffer有緩存的仲裁信号, 当外设获得新的仲裁允许后, 还先从 skid buffer中将请求信号取走。  Whenever the skid buffer has a buffered arbitration signal, when the peripheral obtains new arbitration permission, the request signal is first taken from the skid buffer.
4、 根据权利要求 1至 3任一项所述的方法, 其中, 最终的作为仲裁应 答信号的仲裁允许信号为时序输出;  The method according to any one of claims 1 to 3, wherein the final arbitration permission signal as an arbitration response signal is a timing output;
如果外设持续获得低电平的仲裁允许信号, 该外设还持续获得仲裁允 许信号。  If the peripheral continues to acquire a low arbitration enable signal, the peripheral continues to acquire the arbitration enable signal.
5、 根据权利要求 1至 3任一项所述的方法, 其中, 最终的作为仲裁应 答信号的仲裁允许信号为时序输出;  The method according to any one of claims 1 to 3, wherein the final arbitration permission signal as an arbitration response signal is a timing output;
如果外设没有获得低电平的仲裁允许信号, 则还查看当前该外设是否 还有请求, 或緩存中具有请求; 如果具有请求则先处理该请求, 而不再向 外设发送仲裁允许信号。 If the peripheral does not obtain a low-level arbitration enable signal, it also checks whether the current peripheral has a request, or has a request in the cache; if there is a request, the request is processed first, and the arbitration permission signal is no longer sent to the peripheral. .
6、一种片上互联总线的仲裁系统, 包括请求緩存单元、仲裁处理单元; 其中, 6. An arbitration system for an on-chip interconnect bus, comprising a request buffer unit and an arbitration processing unit; wherein
所述请求緩存单元, 用于緩存当前的外设请求;  The request cache unit is configured to cache a current peripheral request;
所述仲裁处理单元, 用于当所述外设请求能够被应答或者被緩存时, 向外设发起仲裁应答信号。  The arbitration processing unit is configured to initiate an arbitration response signal to the peripheral device when the peripheral request can be acknowledged or cached.
7、 根据权利要求 6所述的系统, 其中, 所述请求緩存单元在緩存当前 的外设请求时, 用于:  7. The system according to claim 6, wherein the request cache unit is configured to: when caching a current peripheral request:
所述外设请求首先被送入正常传输通路, 同时该外设请求的一个备份 发向 skid buffer电路; 从正常传输通路和 skid buffer通路选择合适的通路, 将所述外设请求送到总线仲裁判决的组合逻辑电路中;  The peripheral request is first sent to the normal transmission path, and a backup requested by the peripheral is sent to the skid buffer circuit; the appropriate path is selected from the normal transmission path and the skip buffer path, and the peripheral request is sent to the bus arbitration. In the combined logic circuit of the decision;
如果计算出仲裁结果,则选通正常通路;反之则选择 skid buffer通路的 数据。  If the arbitration result is calculated, the normal path is gated; otherwise, the data of the skid buffer path is selected.
8、 根据权利要求 7所述的系统, 其中,  8. The system according to claim 7, wherein
初始条件下, 所述 Skid buffer的值为空, 当外设有传输请求、 但是不 被应答时,所述请求緩存单元还用于触发所述 skid buffer接收下一个外设请 求;  Under initial conditions, the value of the Skid buffer is empty. When a transmission request is externally provided but is not acknowledged, the request buffer unit is further configured to trigger the skid buffer to receive the next peripheral request;
所述仲裁处理单元, 用于: 当所述 skid buffer满后, 不再向外设发起新 的作为仲裁应答信号的仲裁允许信号。  The arbitration processing unit is configured to: after the skid buffer is full, no longer initiate a new arbitration permission signal as an arbitration response signal to the peripheral device.
9、 根据权利要求 6至 8任一项所述的系统, 其中, 最终的作为仲裁应 答信号的仲裁允许信号为时序输出;  The system according to any one of claims 6 to 8, wherein the final arbitration permission signal as an arbitration response signal is a timing output;
如果外设持续获得低电平的仲裁允许信号, 该外设还用于持续获得仲 裁允许信号。  If the peripheral continues to acquire a low arbitration enable signal, the peripheral is also used to continuously obtain the arbitration enable signal.
10、 根据权利要求 6至 8任一项所述的系统, 其中, 最终的作为仲裁 应答信号的仲裁允许信号为时序输出;  10. The system according to any one of claims 6 to 8, wherein the final arbitration permission signal as an arbitration response signal is a timing output;
如果外设没有获得低电平的仲裁允许信号, 则所述请求緩存单元用于 还查看当前该外设是否还有请求, 或緩存中具有请求; 如果具有请求则先 处理该请求, 而不再触发所述仲裁处理单元向外设发送仲裁允许信号。 If the peripheral does not obtain a low level arbitration enable signal, the request cache unit is used It also checks whether the peripheral currently has a request, or has a request in the cache; if there is a request, the request is processed first, and the arbitration processing unit is no longer triggered to send an arbitration permission signal to the peripheral.
PCT/CN2011/078420 2011-04-01 2011-08-15 Method and system for on-chip interconnection bus arbitration WO2012129878A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110081907.1 2011-04-01
CN201110081907.1A CN102736997B (en) 2011-04-01 2011-04-01 Method and system for on-chip interconnection bus arbitration

Publications (1)

Publication Number Publication Date
WO2012129878A1 true WO2012129878A1 (en) 2012-10-04

Family

ID=46929377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078420 WO2012129878A1 (en) 2011-04-01 2011-08-15 Method and system for on-chip interconnection bus arbitration

Country Status (2)

Country Link
CN (1) CN102736997B (en)
WO (1) WO2012129878A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346303A (en) * 2013-08-08 2015-02-11 中兴通讯股份有限公司 Bus arbitration method and device
CN112765072A (en) * 2021-01-28 2021-05-07 北京方天长久科技股份有限公司 Serial interconnection bus data frame format and transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858724A (en) * 2005-11-12 2006-11-08 华为技术有限公司 Buffer storaging method and system for multiple users access
CN101324869A (en) * 2008-07-03 2008-12-17 北京中星微电子有限公司 Multiplexor based on AXI bus
CN101917231A (en) * 2010-08-27 2010-12-15 电子科技大学 Data caching method of fibre channel switch

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7461190B2 (en) * 2005-08-11 2008-12-02 P.A. Semi, Inc. Non-blocking address switch with shallow per agent queues
US20070038829A1 (en) * 2005-08-11 2007-02-15 Via Technologies, Inc. Wait aware memory arbiter
CN100580804C (en) * 2008-01-21 2010-01-13 戴葵 Dynamic RAM device with data-handling capacity

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858724A (en) * 2005-11-12 2006-11-08 华为技术有限公司 Buffer storaging method and system for multiple users access
CN101324869A (en) * 2008-07-03 2008-12-17 北京中星微电子有限公司 Multiplexor based on AXI bus
CN101917231A (en) * 2010-08-27 2010-12-15 电子科技大学 Data caching method of fibre channel switch

Also Published As

Publication number Publication date
CN102736997B (en) 2017-05-03
CN102736997A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US8489792B2 (en) Transaction performance monitoring in a processor bus bridge
US8924612B2 (en) Apparatus and method for providing a bidirectional communications link between a master device and a slave device
CN101194475B (en) Routing grouping system and method
US10802995B2 (en) Unified address space for multiple hardware accelerators using dedicated low latency links
US20130179613A1 (en) Network on chip (noc) with qos features
US8977882B2 (en) System for data transfer between asynchronous clock domains
US10805392B2 (en) Distributed gather/scatter operations across a network of memory nodes
Singh et al. Design and implementation of high performance AHB reconfigurable arbiter for onchip bus architecture
GB2478795A (en) Requests and data handling in a bus architecture
US11567893B2 (en) Method and a mirrored serial interface (MSI) for transferring data
WO2023160192A1 (en) Interconnection apparatus for bus
WO2014169876A1 (en) Bus arbitration method and apparatus, and storage medium
TW201303870A (en) Effective utilization of flash interface
JP2009059122A (en) Data processing system
CN115729864A (en) Storage device, electronic device, and method for operating electronic device
WO2012129878A1 (en) Method and system for on-chip interconnection bus arbitration
CN111684391B (en) Full system low power management
US20020161953A1 (en) Bus arbitrator supporting multiple isochronous streams in a split transactional unidirectional bus architecture and method of operation
US6785758B1 (en) System and method for machine specific register addressing in a split transactional unidirectional bus architecture
KR20220103931A (en) Data transfer between memory and distributed compute arrays
RU2014147026A (en) DELAY-insensitive TRANSFER BOOF FOR COMMUNICATION WITH Acknowledgment
US20180157435A1 (en) Acceleration and dynamic allocation of random data bandwidth in multi-core processors
US11636061B2 (en) On-demand packetization for a chip-to-chip interface
JP2024514178A (en) Event-driven readout system with non-priority arbitration for multichannel data sources
EP4022445B1 (en) An apparatus and method for handling ordered transactions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11861905

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11861905

Country of ref document: EP

Kind code of ref document: A1