GB2568124A - Arbitration systems and methods - Google Patents

Arbitration systems and methods Download PDF

Info

Publication number
GB2568124A
GB2568124A GB1804750.6A GB201804750A GB2568124A GB 2568124 A GB2568124 A GB 2568124A GB 201804750 A GB201804750 A GB 201804750A GB 2568124 A GB2568124 A GB 2568124A
Authority
GB
United Kingdom
Prior art keywords
priority
requestor
cycle
requestors
information
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.)
Granted
Application number
GB1804750.6A
Other versions
GB2568124B (en
GB201804750D0 (en
Inventor
Olof Gunnar Källén Jonas
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.)
Imagination Technologies Ltd
Original Assignee
Imagination Technologies 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 Imagination Technologies Ltd filed Critical Imagination Technologies Ltd
Priority to GB1804750.6A priority Critical patent/GB2568124B/en
Publication of GB201804750D0 publication Critical patent/GB201804750D0/en
Priority to CN201910222612.8A priority patent/CN110297710B/en
Priority to EP19164736.1A priority patent/EP3543862B1/en
Priority to EP19164571.2A priority patent/EP3543861B1/en
Priority to CN201910223726.4A priority patent/CN110297782B/en
Priority to US16/362,902 priority patent/US10901922B2/en
Priority to US16/362,960 priority patent/US20190294475A1/en
Publication of GB2568124A publication Critical patent/GB2568124A/en
Application granted granted Critical
Publication of GB2568124B publication Critical patent/GB2568124B/en
Priority to US17/153,620 priority patent/US11422953B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • 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
    • 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/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • 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/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control
    • 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
    • G06F13/368Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control
    • G06F13/37Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control using a physical-position-dependent priority, e.g. daisy chain, round robin or token passing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

Disclosed is an arbiter for arbitrating between ordered requestors and a shared resource based on priorities allocated to the requestors. The arbiter has requestor selection logic that receives active information indicating which of the requestors have requested access to the resource 602, and priority information indicating which of the requestors have priority in the cycle 604. The arbiter selects one of the requestors by determining whether there is one requestor that has requested access in the current cycle and has priority in the current cycle 606, if there is then selecting the lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle 608. If there are no requestors that have requested access in the current cycle and have priority in the current cycle 610, the highest ordered requestor that has requested access in the current cycle is selected 612. The selection logic may be a decision tree.

Description

ARBITRATION SYSTEMS AND METHODS
BACKGROUND [0001] Many computer systems have resources that can receive more requests in a particular cycle than can be processed in that cycle. This often occurs when a resource is shared between multiple requestors. For example, a memory cache that can only execute, or process, one request per cycle may be shared by four requestors that can simultaneously request access to the cache. In such cases, an arbiter may be used to determine the order in which the requests will be processed. Specifically, the arbiter receives the requests from the requestors and selects which request is to be processed by the resource in accordance with an arbitration scheme (e.g. a rule or set of rules). In many cases, the arbitration scheme is based on priorities assigned to the requestors so that requests from higher priority requestors are granted before requests from lower priority requestors. However, other arbitration schemes may also be used to prioritize the requestors and/or requests according to a specified arbitration scheme.
[0002] It is generally desirable that the arbitration scheme ensures that all of the requestors gain access to the shared resource eventually (i.e. that none of the requestors are starved out). It is also generally desirable that the arbitration scheme minimize the maximum time that a requestor may have to wait to gain access to the resource. In many cases, it is also desirable that the arbitration is fair (i.e. that the requestors are granted access roughly equally often).
[0003] Since a requestor cannot gain access to a shared resource until the arbiter has selected which request is to be processed by the resource in the current cycle, it is important that the arbiter be able to select the request to be processed quickly.
[0004] The embodiments described below are provided by way of example only and are not limiting of implementations which solve any or all of the disadvantages of known arbiters and/or arbitration schemes.
SUMMARY [0005] This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
[0006] Described herein are methods and arbiters for arbitrating between a plurality of ordered requestors that shared a resource based on priorities allocated to the requestors. The methods include determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle; in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access.
[0007] A first aspect provides an arbiter for arbitrating between a plurality of ordered requestors and a resource in a computing system, the arbiter comprising: requestor selection logic configured to: receive active information indicating which of the plurality of requestors have requested access to the resource in a cycle; receive priority information indicating which of the plurality of requestors have priority in the cycle; select one of the plurality of requestors based on the active information and the priority information by: determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle; in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and output information identifying the selected requestor.
[0008] A second aspect provides a method of arbitrating between a plurality of ordered requestors and a shared resource in a computing system, the method comprising: receiving active information indicating which of the plurality of requestors have requested access to the resource in a cycle; receiving priority information indicating which of the plurality of requestors have priority in the cycle; selecting one of the plurality of requestors that has requested access based on the active information and the priority information by: determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle; in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and outputting information identifying the selected requestor.
[0009] The arbiters, arbiter systems and logic blocks described herein may be embodied in hardware on an integrated circuit. There may be provided a method of manufacturing, at an integrated circuit manufacturing system, the arbiters, arbiter systems and/or logic blocks described herein. There may be provided an integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, configures the system to manufacture the arbiter, arbiter system, and/or any of the logic blocks described herein. There may be provided a non-transitory computer readable storage medium having stored thereon a computer readable description of the arbiter, arbiter system, and/or any of the logic blocks described herein that, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to manufacture an integrated circuit embodying an arbiter, arbiter system or a logic block described herein.
[0010] There may be provided an integrated circuit manufacturing system comprising: a nontransitory computer readable storage medium having stored thereon a computer readable description of the arbiter, arbiter system or logic block described herein; a layout processing system configured to process the computer readable description so as to generate a circuit layout description of an integrated circuit embodying the arbiter, arbiter system, or logic block; and an integrated circuit generation system configured to manufacture the arbiter, arbiter system, or logic block according to the circuit layout description.
[0011] There may be provided computer program code for performing a method as described herein. There may be provided non-transitory computer readable storage medium having stored thereon computer readable instructions that, when executed at a computer system, cause the computer system to perform the methods as described herein.
[0012] The above features may be combined as appropriate, as would be apparent to a skilled person, and may be combined with any of the aspects of the examples described herein.
BRIEF DESCRIPTION OF THE DRAWINGS [0013] Examples will now be described in detail with reference to the accompanying drawings in which:
[0014] FIG. 1 is a block diagram of an example system comprising an arbiter that controls access to a shared resource;
[0015] FIG. 2 is a schematic diagram of an example arbiter of FIG. 1 comprising requestor selection logic;
[0016] FIG. 3 is a schematic diagram of example information that may be received by and/or generated by the requestor selection logic of FIG. 2;
[0017] FIG. 4 is a schematic diagram of an example binary decision tree to select a requestor from a plurality of requestors;
[0018] FIG. 5 is a schematic diagram of the binary decision tree of FIG. 4 configured to implement a round robin scheme for a first example set of requestor data;
[0019] FIG. 6 is a flow diagram of an exemplary method for selecting a requestor from a plurality of requestors based on the priority allocated to the requestors;
[0020] FIG. 7 is a flow diagram of an exemplary method for populating a decision node of a binary decision tree configured to implement the method of FIG. 6;
[0021] FIG. 8 is a schematic diagram of a binary decision tree configured to implement the requestor selection method of FIG. 6 for the first example set of requestor data;
[0022] FIG. 9 is a schematic diagram of the binary decision tree of FIG. 4 configured to implement a round robin scheme for a second example set of requestor data;
[0023] FIG. 10 is a schematic diagram of the binary decision tree of FIG. 8 configured to implement the requestor selection method of FIG. 6 for the second example set of requestor data;
[0024] FIG. 11 is a flow diagram of a first example method for generating the priority information for the next cycle;
[0025] FIG. 12 is a flow diagram of a second example method for generating the priority information for the next cycle;
[0026] FIG. 13 is a flow diagram of a third example method for generating the priority information for the next cycle;
[0027] FIG. 14 is a flow diagram of a fourth example method for generating the priority information for the next cycle;
[0028] FIG. 15 is a block diagram of a system comprising an arbiter system that controls access to multiple shared resources;
[0029] FIG. 16 is a block diagram of an example implementation of the arbiter system of FIG. 15 comprising common priority selection logic;
[0030] FIG. 17 is a block diagram of an example implementation of the common priority selection logic of FIG. 16;
[0031] FIG. 18 is a flow diagram illustrating an example method of generating common priority information;
[0032] FIG. 19 is a schematic diagram illustrating generating common priority information for an example scenario;
[0033] FIG. 20 is a block diagram of an example computer system in which the arbiters, arbiter systems and logic blocks described herein may be implemented; and [0034] FIG. 21 is a block diagram of an example integrated circuit manufacturing system for generating an integrated circuit embodying any of the arbiters, arbiter systems, and logic blocks described herein.
[0035] The accompanying drawings illustrate various examples. The skilled person will appreciate that the illustrated element boundaries (e.g., boxes, groups of boxes, or other shapes) in the drawings represent one example of the boundaries. It may be that in some examples, one element may be designed as multiple elements or that multiple elements may be designed as one element. Common reference numerals are used throughout the figures, where appropriate, to indicate similar features.
DETAILED DESCRIPTION [0036] The following description is presented by way of example to enable a person skilled in the art to make and use the invention. The present invention is not limited to the embodiments described herein and various modifications to the disclosed embodiments will be apparent to those skilled in the art. Embodiments are described by way of example only.
[0037] Described herein are arbitration schemes for arbitrating between a plurality of requestors that share a common resource, and arbiters that implement such an arbitration scheme. The requestors are ordered and each cycle each requestor is allocated priority (or high priority) or not. According to the described arbitration schemes the requestor that is granted access to the resource is the lowest ordered requestor that has requested access to the resource in the cycle and has been allocated priority. If there are no requestors that have requested access in the cycle and have been allocated priority, the requestor that is granted access to the resource is the highest ordered requestor that has requested access to the resource. As described in more detail below, such an arbitration scheme can be implemented more efficiently in hardware (e.g. in terms of the number of logic gates) compared to other arbitration schemes, such as a round robin arbitration scheme.
[0038] The term ‘cycle’ is used herein to mean a processing cycle of the resource. The processing cycle of the resource may be, but is not limited to being, a clock cycle.
[0039] As described above, many computer systems comprise one or more shared resources which can receive more requests in a particular cycle than can be processed by the resource in that cycle. For example, FIG. 1 shows an example computer system 100 that comprises a resource 102 shared by a plurality of requestors 104A-H. The resource 102 may be, for example, but is not limited to, a shared memory, a networking switch fabric, a specialised state machine, or a complex computation element or the like. In any cycle none, one, or more than one of the plurality of requestors 104A-H may request access to the resource 102. In the example shown in FIG. 1, requestor i (Rj) makes a request to access the resource 102 by pulling signal Active[j] high. However, this is an example only and the requestors may make a request in another manner. When a requestor has requested access to the resource in a cycle the requestor is said to be active or valid in that cycle. There may be data associated with the requests which is to be processed by the resource 102. The data associated with requestor i is denoted Data[j], [0040] Since the resource 102 can only process one request per cycle an arbiter 106 arbitrates between the requestors. Specifically, the arbiter 106 receives the requests from the requestors and each cycle selects one of the active requestors to be granted access to the resource 102. The arbiter 106 then provides information to the resource identifying the selected requestor (RS) (e.g. a requestor ID or number) and any data (Data[RS]) associated with the selected requestor.
[0041] Reference is now made to FIG. 2 which illustrates an example arbiter 106. In this example the arbiter 106 comprises requestor selection logic 202 that is configured to select a requestor 104A-H that is to be granted access to the resource 102 in the current cycle in accordance with an arbitration scheme. Each cycle the requestor selection logic 202 receives active information indicating which requestors have requested access to the resource 102 in the current cycle, and priority information indicating which requestors have priority (or high priority) in the current cycle. The requestor selection logic 202 selects one of the active requestors in the current cycle to be granted access to the resource based on the active information, the priority information and the arbitration scheme implemented by the arbiter 106. The arbiter 106 may also comprise data selection logic 206 which is configured to receive information identifying the selected requestor and select and forward the data associated with the selected requestor to the resource 102. The data selection logic 206 may be implemented as a multiplexor.
[0042] The active information may be implemented as an active mask or vector that comprises one bit for each requestor that indicates whether that requestor has requested access to the resource in the current cycle. For example, the jihbit of the active mask may indicate whether the ith requestor, according to a predetermined ordering of the requestors, has requested access to the resource in the current cycle. Any criteria may be used to order the requestors. For example, the requestors may be ordered in numerical order or in any other suitable order. In some cases, a ‘T may indicate that the corresponding requestor has requested access to the resource and a Ό’ may indicate that the corresponding requestor has not requested access to the resource. However, it will be evident that this is an example only and that in other cases a Ό’ may indicate that the corresponding requestor has requested access to the resource and a ‘T may indicate that the corresponding requestor has not requested access to the resource.
[0043] Reference is now made to FIG. 3 which illustrates example active information 302 where there are eight requestors numbered from 0 to 7 and the requestors are ordered in numerical order. In this example, the active information 302 comprises eight bits where the ith bit of the active information 302 corresponds to requestor i (Rj). Specifically, bit 0 corresponds to requestor 0, bit 1 corresponds to requestors 1, bit 2 corresponds to requestor 2 etc. In this example a ‘1’ indicates that the corresponding requestor has requested access therefore the example active information 302 of [0 1 0 0 1 1 0 0] indicates that requestors 1, 4 and 5 are active (i.e. have requested access to the resource in the current cycle).
[0044] Similarly, the priority information may be implemented as a priority mask that comprises one bit for each requestor that indicates whether that requestor has priority or not. Specifically, the ith bit of the priority mask may indicate whether the ith requestor, according to a predetermined ordering of the requestors, has priority in the current cycle. Preferably the same ordering of the requestors is used for both the active information and the priority information such that the ith bit of the active mask and the ith bit of the priority mask correspond to the same requestor. In some cases, a ‘T may indicate that the corresponding requestor has priority (or has high priority) and a Ό’ may indicate that the corresponding requestor does not have priority (or has low priority). However, it will be evident to a person of skill in the art that this is an example only and that in other cases a Ό’ may indicate that the corresponding requestor has priority (or has high priority) and a ‘T may indicate that the corresponding requestor does not have priority (or has low priority). As described in more detail below, the priority information for each cycle may be dynamically determined in accordance with the arbitration scheme by priority selection logic 204 which may form part of the arbiter 106 as shown in FIG. 2 or may be external to the arbiter 106. The priority selection logic 204 may be configured to store the priority information generated in a cycle in a storage unit, such as a register 208.
[0045] Reference is again made to FIG. 3 which illustrates example priority information 304 where there are eight requestors numbered from 0 to 7 and the requestors are ordered in numerical order. Like the active information 302 shown in FIG. 3, the priority information 304 comprises eight bits where the ith bit of the priority information 304 corresponds to requestor i (Rj). In this example a ‘T indicates that the corresponding requestor has priority (or high priority) therefore the example priority information 304 of [0 0 0 0 1 1 1 1] indicates that requestors 4, 5, 6 and 7 have priority (or have high priority).
[0046] In some cases, the requestor selection logic 202 may be configured to generate active_priority information from the active information 302 and the priority information 304 that indicates which of the requestors are both active and have priority in the current cycle. As described in more detail below, this may aid the requestor selection logic 202 in selecting the requestor to be granted access more quickly and efficiently. Like the active information and the priority information the active_priority information may be implemented as a mask that has a bit for each requestor that indicates whether that requestor is both active and has priority (or high priority). Where the active information is in the form of an active mask and the priority information is in the form of a priority mask, the active_priority information may be generated by performing a bit-wise AND of the active mask and the priority mask.
[0047] Reference is again made to FIG. 3 which illustrates example active_priority information 306 where there are eight requestors numbered from 0 to 7 and the requestors are ordered in numerical order. The active_priority information 306 comprises eight bits where the ith bit of the active_priority information 306 corresponds to requestor i (Rj). Since the active information and the priority information indicate that only requestors 4 and 5 are both active and have priority the active_priority information only has bits 4 and 5 set to a ‘T.
[0048] An arbitration scheme is a rule or a set of rules that define the relative priority of requests received in a cycle. In other words, an arbitration scheme is a rule or set of rules which are used to determine which requestor is to be granted access to the resource in each cycle. In the examples described herein the arbitration schemes comprise one or more selection rules that define how a requestor is selected based on the priority information and one or more priority rules that define what priority information is used each cycle (or how the priority information is generated each cycle).
[0049] An example arbitration scheme is a round robin scheme. In a round-robin scheme the requestors are ordered (e.g. left to right, right to left etc.) from lowest to highest according to one or more criteria and in any cycle the lowest ordered active requestor with priority is granted access to the resource, and if there are no active requestors with priority, the lowest ordered active requestor is granted access to the resource. In the next cycle, all higher ordered requestors, relative to the requestor granted access in the current cycle, are given priority (or high priority) and the remainder of the requestors are not given priority (or are given low priority). Accordingly, the priority information for a round-robin scheme will comprise a contiguous block 310 of requestors with priority (or high priority) (which may also be referred to as the priority block or the priority region) and a contiguous block 308 of requestors without priority (or with low priority).
[0050] For example, where the requestors are ordered from left to right such that the leftmost requestor is the lowest ordered requestor and the rightmost requestor is the highest ordered requestor, in any cycle the leftmost active requestor that has priority is selected. If, however, there are no active requestors that have priority then the leftmost active requestor is selected. In this example, in the next cycle, all requestors to the right of the requestor granted access to the resource in the current cycle are given priority (or high priority) and the remainder of the requestors are not given priority (or are given low priority).
[0051] Requestor selection logic 202 that is configured to select requestors in accordance with the described round robin scheme may be implemented as a binary decision tree. As shown in FIG. 4, a binary decision tree 400 is a structure that can be configured to select one element from a plurality of elements by comparing pairs of elements. A binary decision tree configured to select one element from a plurality of elements comprises a plurality of leaf nodes 402A-H that are connected to one or more layers of decision nodes 404A-D, 406A-B, 408. There are typically log2(/V) layers of decision nodes where N is the number of elements. For example, in the example of FIG. 4 where there are eight elements (i.e. eight requestors) there are three levels of decision nodes - level-1 decision nodes 404A-D, level-2 decision nodes 406A-B, and a level-3 decision node 408.
[0052] Each node is populated with data relating to one of the plurality of elements. Each leaf node 402A-H is initially populated with information about a different one of the plurality of elements and the decision nodes are populated based on the features of the elements and predetermined criteria such that the “best” element according to the predetermined criteria rises to the top of the tree (i.e. the top decision node 408). Specifically, each decision node 404A-D, 406A-B, 408 is connected to two nodes in the layer below (e.g. a left node and a right node), which may be referred to herein as child nodes, and is populated with the data of one of its child nodes according to one or more predetermined criteria. In particular, the level-1 decision nodes 404A-D are connected to two leaf nodes 402A-H and are populated with the data of one of the connected leaf nodes; the level-2 decision nodes 406A-B are connected to two level-1 decision nodes 404A-D and are populated with the data of one of the connected level-1 nodes; and, the level-3 decision node 408 is connected to two level-2 decision nodes and is populated with the data of one of the connected level-2 nodes.
[0053] To implement the round robin scheme described above using such a decision tree, each node 402A-H, 404A-D, 406A-B, 408 may be configured to hold information identifying a requestor (e.g. a requestor ID for requestor j), information indicating whether the identified requestor has requested access to the resource in the current cycle (e.g. active [j]), and information indicating whether the identified requestor has requested access and has priority in the current cycle (e.g. active_priority [j]). Each cycle the leaf nodes 402A-H are populated with information corresponding to the requestors in the same order used for the active information and the priority information. The decision nodes 404A-D, 406A-B and 408 are then configured to select the “best” requestor according to the scheme. For example, where the requestors are ordered from left to right such that the leftmost requestor is the lowest ordered requestor and the right-most requestor is the highest ordered requestor each decision node is configured to select which child to be populated by according to the following rule:
current node
left child node, right child node, if left, active apriority V (left, active Λ right. active_priority) otherwise where left, active _priority is set if the left child node relates to an active requestor with priority, lef t. active is set if the left child node relates to an active requestor, and right, active_pnonty is set if the right child node relates to a requestor that is not active with priority.
[0054] In other words, each decision node is populated with the left child node if the left child node is populated with a requestor that is active and has priority, or, if the left child node is populated with a requestor that is active and the right child node is not populated with a requestor that is active and has priority. Otherwise the decision node is populated with the right child node. In this manner the decision tree will select the leftmost requestor that is active and has priority, of if no such requestor exists, it will select the leftmost requestor that is active.
[0055] An example of the operation of such a decision tree is illustrated in FIG. 5. In this example decision tree 500, there are eight requestors numbered from 0 to 7 wherein Rj is used to denote the ith requestor, the priority mask is [0 00001 1 1] indicating that requestors 5, 6 and 7 (R5, R6, and R7) have priority in the current cycle, and the active mask is [0 1 1 0 1 0 1 0] indicating that requestors 1,2, 4 and 6 (R1, R2, R4 and R6) are active (e.g. have requested access to the resource) in the current cycle. These priority and active masks result in an active_priority mask of [ 0 0 0 0 0 1 0] indicating that only requestor 6 (R6) is active and has priority in the current cycle. Based on the round robin scheme described above this means that requestor 6 should be selected as the requestor which is granted access to the resource. It can be seen from FIG. 5 that this is indeed what happens.
[0056] The leaf nodes 402A-H are populated with requestors 0-7 respectively. The level-1 decision nodes 404A-D are populated with requestors 1,2, 4 and 6 respectively since requestor 1 is active and requestor 0 is not; requestor 2 is active and requestor 3 is not; requestor 4 is active and requestor 5 is not; and requestor 6 is active with priority and requestor 7 is not active. The level-2 decision nodes 406A-B are populated with requestors 1 and 6 respectively as requestor 1 is the leftmost active requestor, and requestor 6 is active and has priority and requestor 4 does not have priority. The level-3 decision node 408 is populated with requestor 6 as requestor 6 is active and has priority and requestor 1 does not have priority.
[0057] The described binary decision tree to implement a round robin arbitration scheme requires two logic gates per decision node to control the selection. For example, there may be a first logic gate to determine left, active Aright, activepriority (i.e. a single logic gate can perform the AND and the NOT) and a second logic gate to determine left, activepriority v output of first logic gate (i.e. a single logic gate can perform the OR). Since the binary decision tree will have [log2GV)] layers of decision nodes, the critical path will include roughly 2 [log2 GV)] logic gates. The inventor has identified, however, that the control logic may be simplified, without affecting the fairness of the arbitration, by implementing an arbitration scheme that comprises modified selection rules that specify that, instead of the lowest ordered active requestor being selected when there are no active requestors with priority, the highest ordered active requestor is selected when there are no active requestors with priority. In other words, the modified selection rules specify that the lowest ordered active requestor with priority is selected, or if there are no active requestors with priority then the highest ordered active requestor is selected.
[0058] This means that where the requestors are ordered from left to right such that the leftmost requestor is the lowest ordered requestor and the rightmost requestor is the highest ordered requestor, the leftmost active requestor with priority is selected, or if there are no active requestors with priority then the rightmost active requestor is selected.
[0059] Reference is now made to FIG. 6 which illustrates an example method 600, which may be executed by the requestor selection logic 202 of FIG. 2, for selecting a requestor in accordance with the modified selection rules. The method 600 begins at blocks 602 and 604 where the requestor selection logic receives active information and priority information for the current cycle respectively. Although in the example method 600 of FIG. 6 the active information and the priority information are received sequentially, in other example methods the priority information may be received before the active information, or the priority information and the active information may be received concurrently or in parallel. Once the active information and the priority information have been received the method 600 proceeds to block 606.
[0060] At block 606, the requestor selection logic 202 determines from the active information and the priority information whether there are any active requestors with priority (or high priority) in the current cycle. In some cases, this may comprise generating an active_priority mask based on the active information and the priority information, and determining whether there are any active requestors with priority (or high priority) based on whether the active_priority mask has any ‘1’s. For example, if the active_priority mask does not have any ‘1’s then the requestor selection logic 202 may determine that there are no active requestors with priority. Conversely, if the active_priority mask does have at least one ‘1’ then the requestor selection logic 202 may determine that there is at least one active requestor with priority. If the requestor selection logic 202 determines that there is at least one requestor with priority in the current cycle, then the method 600 proceeds to block 608. If, however, the requestor selection logic 202 determines that there are no active requestors with priority in the current cycle then the method 600 proceeds to block 610.
[0061] At block 608, after the requestor selection logic 202 has determined that there is at least one active requestor with priority (or high priority), the requestor selection logic 202 selects the lowest ordered active requestor with priority (or high priority) as the requestor to be granted access to the resource. Where the requestors are ordered from left to right such that the leftmost requestor is the lowest ordered requestor and the rightmost requestor is the highest ordered requestor then the leftmost active requestor with priority will be selected. Once the lowest ordered active requestor with priority has been selected the method 600 ends.
[0062] At block 610, after the requestor selection logic 202 has determined that there are no active requestors with priority (or high priority), the requestor selection logic 202 determines from the active information whether there are any active requestors. Where the active information is implemented by an active mask the requestor selection logic 202 may determine whether there are any active requestors based on whether the active mask has any ‘1’s. For example, if the active mask does not have any 1’s then the requestor selection logic 202 may determine that there are no active requestors in the current cycle. Conversely, if the active mask has at least one ‘T then the requestor selection logic 202 may determine that there is at least one active requestor in the current cycle. If the requestor selection logic 202 determines that there is at least one active requestor in the current cycle, then the method 600 proceeds to block 612. If, however, the requestor selection logic 202 determines that there are no active requestors then no request is selected and the method 600 ends.
[0063] At block 612, after the requestor selection logic 202 has determined that there are no active requestors with priority (or high priority), but there is at least one active requestor the requestor selection logic 202 selects the highest ordered active requestor as the requestor to be granted access to the resource. Where the requestors are ordered from left to right such that the leftmost requestor is the lowest ordered requestor and the rightmost requestor is the highest ordered requestor then the rightmost active requestor is selected. Once the highest ordered active requestor has been selected the method 600 ends.
[0064] The modified selection rules described above (and implemented by the method 600 of FIG. 6) may be implemented using a decision tree, such as the decision tree 400 described above with respect to FIG. 4. Except, instead of the decision nodes 404A-D, 406A-B, 408 selecting which child node to be populated by according to the rule described above, when the leaf nodes are populated with the requestors in order from left to right the decision nodes may be configured to select which child to be populated by according to the following rule:
A , ( left child node, if left, active priority V riqht. active current node = , (right child node, otherwise where left. active_priority is set if the left child node is populated with an active requestor with priority, and right, active is set if the right child node is populated with a requestor that is not active.
[0065] Since the leaf nodes will be populated by the requestors in order (either left to right, or right to left) each decision node will have a child node that is populated with information corresponding to a higher ordered requestor (which may be referred to as the high child node) and a child node that is populated with information corresponding to a lower ordered requestor (which may be referred to as the low child node). When the leaf nodes are populated with the requestors in order from left to right the left child node is the low child node and the right child node is the high child node. If, however, the leaf nodes are populated with the requestors in order from right to left, the left child node is the high child node and the right child node is the low child node. Accordingly, the rule implemented by the decision nodes may be generalized as:
A , ( low child node, if low. active priority V hiqh. active current node = t (high child node, otherwise
This generalized rule which is implemented at each decision node is summarized in FIG. 7 via method 700. Specifically, at block 702 the decision node receives the active information for the child nodes, at block 704 the decision node receives active_priority information for the child nodes. At block 706 the decision node determines from the active information and the active_priority information if the low node has active_priority or the high node is not active. If either of these conditions are satisfied, then the decision node is populated with the information from the low child node (block 708). Otherwise the decision node is populated with the information from the high child node (block 710).
[0066] Configuring the decision nodes to use the modified selection rules as opposed to the rules set out above for the round robin scheme allows the number of logic gates per decision node to be reduced from two to one. This is because the selection condition left, active apriority v right, active can be determined with a single logic gate since the “NOT” function can be merged with the “OR” function. Reducing the number of gates per decision node reduces the total number of gates in the requestor selection logic 202 which may reduce the area to implement the requestor selection logic 202. Reducing the number of gates per decision node also reduces the number of logic gates in the critical path which may significantly reduce the amount of time for the requestor selection logic 202 to produce a result (i.e. make a selection). Specifically, as described above, in the round robin binary decision tree implementation there are two gates per decision node and thus 2 [log2GV)] logic gates in the critical path. By only having one logic gate per decision node the number of logic gates in the critical path is reduced to |Tog2 (TV)] which may significantly improve the timing of the requestor selection logic 202.
[0067] In some cases, selecting a requestor in accordance with the modified selection rules may result in the same requestor being selected relative to the round robin scheme. Specifically, where there is at least one active requestor with priority both the round robin scheme and the modified selection rules will select the same requestor - the lowest ordered active requestor with priority. For example, FIG. 8 illustrate an example of a binary decision tree 800 which is the same as the decision tree 400 of FIG. 4 - it comprises eight leaf nodes 802A-H, four level-1 decision nodes 804A-D, two level-2 decision nodes 806A-B and one level-3 decision node or top decision node 808 - except the decision nodes 804A-D, 806A-B, 808 are configured in accordance with the modified selection rule.
[0068] In FIG. 8 the decision tree 800 is provided with the same inputs as the example shown in FIG. 5 - specifically there are eight requestors numbered from 0 to 7 wherein Rj is used to denote the ith requestor, the priority mask is [0 00001 1 1] indicating that requestors 5, 6 and 7 (R5, R6, and R7) have priority in the current cycle, and the active mask is [Ο 1 1 Ο 1 Ο 1 0] indicating that requestors 1,2, 4 and 6 (R1, R2, R4 and R6) are active (e.g. have requested access to the resource) in the current cycle.
[0069] As with the example of FIG. 5, the leaf nodes 802A-H are populated with requestors 0 to 7 respectively. In this example the level-1 decision nodes 804A-D are populated with requestors 1,2, 4 and 6 respectively because requestor 1 is active and requestor 0 is not; requestor 2 is active and requestor 3 is not; requestor 4 is active and requestor 5 is not; and requestor 6 is active with priority and requestor 7 is not active. The level-2 decision nodes 806A-B are populated with requestors 2 and 6 respectively as requestor 2 is the highest ordered active requestor, and requestor 6 is active and has priority and requestor 4 does not have priority. The level-3 decision node 808 is populated with requestor 6 as requestor 6 is active and has priority and requestor 2 does not have priority.
[0070] It can be seen that, although not all the decision nodes of FIG. 8 are populated with the same requestors as the decision nodes in the round-robin binary decision tree shown in FIG. 5 (e.g. decision node 806A of FIG. 8 is populated with a different requestor than decision node 406A of FIG. 5), the result is the same - requestor 6 is selected. Both the round robin scheme and the modified arbitration scheme will also select the same requestor when there are no active requestors with priority and only one active requestor without priority. Specifically, they will both select the active requestor without priority.
[0071] However, in other cases, using the modified selection rules may result in a different requestor being selected relative to the round robin scheme. For example, where there are no active requestors with priority and there are two or more active requestors without priority, the round robin scheme and the modified selection rules will select different requestors. The round robin scheme will select the lowest ordered active requestor without priority and the modified selection rules will select the highest ordered active requestor without priority. This is illustrated in FIGS. 9 and 10 which show binary decision trees 900, 1000 that implement a round robin scheme and the modified selection rules respectively. In both cases there are eight requestors numbered from 0 to 7 wherein Rj is used to denote the ith requestor, the priority mask is [0 00001 1 1] indicating that requestors 5, 6 and 7 (R5, R6, and R7) have priority in the current cycle, and the active mask is [0 1 1 0 1 0 0 0] indicating that requestors 1, 2, and 4 (R1, R2, R4) are active (e.g. have requested access to the resource) in the current cycle.
[0072] In FIG. 9 the leaf nodes 402A-H are populated with requestors 0 to 7 respectively. In this example the level-1 decision nodes 404A-D are populated with requestors 1, 2, 4 and 7 respectively because requestor 1 is active and requestor 0 is not; requestor 2 is active and requestor 3 is not; requestor 4 is active and requestor 5 is not; and neither requestor 6 or 7 is active or has priority and requestor 7 is the highest ordered node. The level-2 decision nodes 406A-B are populated with requestors 1 and 4 respectively as requestor 2 is the lowest ordered active requestor, and requestor 4 is active and requestor 7 is not. The level-3 decision node 408 is populated with requestor 1 as requestor 1 is the lowest ordered active requestor.
[0073] In FIG. 10 the leaf nodes 802A-H are populated with requestors 0 to 7 respectively. In this example, the level-1 decision nodes 804A-D are populated with requestors 1,2, 4 and 7 respectively because requestor 1 is active and requestor 0 is not; requestor 2 is active and requestor 3 is not; requestor 4 is active and requestor 5 is not; and neither requestor 6 or 7 is active or has priority and requestor 7 is the highest ordered node. The level-2 decision nodes 806A-B are populated with requestors 2 and 4 respectively as requestor 2 is the highest ordered active requestor, and requestor 4 is active and requestor 7 is not. The level3 decision node 808 is populated with requestor 4 as requestor 4 is the highest ordered active requestor.
[0074] It can be seen from FIG. 9 that in the round robin scheme requestor 1 (R1) is selected as this is the lowest ordered active requestor, and it can be seen from FIG. 10 that using the modified selection rules requestor 4 (R4) is selected as this is the highest ordered active requestor. Despite the fact that the modified selection rules will not result in the exact same requestor being selected as in the round robin scheme, testing has shown that the two schemes can achieve a similar level of fairness.
[0075] As described above, each cycle the requestor selection logic 202 receives priority information to be used in that cycle. The priority information for each cycle may be generated by priority selection logic 204 in accordance with the priority rules of the arbitration scheme. The priority selection logic 204 may be part of the arbiter 106 as shown in FIG. 2 or it may be external to the arbiter and in communication with the requestor selection logic 202. In the round-robin scheme described above, the priority selection logic 204 is configured to generate the priority information for the next cycle based solely on the selected requestor of the current cycle. Specifically, in the round robin scheme described above, the priority selection logic 204 is configured to generate priority information for the next cycle such that all higher ordered requestors relative to the requestor selected in the current cycle have priority (or high priority) and the remaining requestors (i.e. the selected requestor and all lower ordered requestors) do not have priority (or have low priority). However, if the priority information is generated in this manner when the modified selection rules are used it may be possible to reach a situation where the lowest ordered requestors are not gaining access to the resource.
[0076] Accordingly, in the embodiments described herein the priority information may be generated based on at least the priority information used in the current cycle. Four example methods for generating the priority information for the next cycle based on the priority information used in the current cycle are described below in reference to FIGS. 11-14, however, it will be evident to a person of skill in the art that these are examples only and the priority information for the next cycle may be generated based on the priority information used in the current cycle in any suitable manner.
[0077] Reference is now made to FIG. 11 which illustrates a first example method 1100 for generating the priority information for the next cycle which may be implemented by the priority selection logic 204. In this method 1100 the priority information for the next cycle is based on the requestor selected in the current cycle and whether that requestor has priority. Specifically, in this method if the selected requestor has priority then in the next cycle all of the higher ordered requestors, relative to the selected requestor, are given priority and all other requestors are not given priority, and if the selected requestor does not have priority then in the next cycle all of the requestors are given priority.
[0078] The method 1100 begins at block 1102 where the priority selection logic 204 receives information that indicates which requestor was selected in the current cycle. In some cases, the requestor selection logic 202 may be configured to provide information (e.g. the requestor ID) identifying the selected requestor. At block 1104 the priority selection logic 204 also receives information indicating whether the requestor selected in the current cycle has priority. In some cases, the priority selection logic 204 may be configured to store the priority information generated in each cycle in a storage unit, such as a register 208. In these cases, the priority selection logic 204 determines whether the selected requestor has priority from the stored priority information. In other cases, the requestor selection logic 202 may be configured to provide all or a portion the priority information for the current cycle to the priority selection logic 204. For example, the requestor selection logic 202 may only provide the priority information that pertains to the selected requestor. In yet other cases, the requestor selection logic 202 may be configured to provide the active_priority information for the selected requestor (e.g. active_priority [RS]) since this will be output at the top of the binary decision tree along with the selected requestor ID. Once the priority selection logic
204 receives information indicating the priority of the requestor selected in the current cycle the method 1100 proceeds to block 1106.
[0079] At block 1106, the priority selection logic 204 determines, based on the received information, whether the requestor selected in the current cycle has priority. If it is determined that the selected requestor has priority the method 1100 proceeds to block 1108. If, however, it is determined that the selected requestor does not have priority then the method 1100 proceeds to block 1110.
[0080] At block 1108, after determining that the requestor selected in the current cycle has priority, the priority selection logic 204 generates priority information for the next cycle that gives priority (or high priority) to all the higher ordered requestors, relative to the selected requestor, and does not give priority to the remaining requestors. For example, if there are eight requestors, numbered from 0-7 and ordered numerically and requestor 5 is granted access in the current cycle then the priority selection logic may generate priority information for the next cycle that gives requestors 6 and 7 priority (or high priority) and does not give priority (or gives low priority) to requestors 0, 1,2, 3, 4, 5. A priority mask that implements this may be [0 0 0 0 0 0 1 1], The method 1100 then ends.
[0081] At block 1110, after determining that the requestor selected in the current cycle does not have priority, the priority selection logic 204 generates priority information for the next cycle that gives priority (or high priority) to all of the requestors. A priority mask that implements this for eight requestors may be [1 1 1 1 1 1 1 1], The method 1100 then ends.
[0082] An arbitration scheme based on the modified requestor selection method described above with respect to FIG. 6 and the priority selection method described with respect to FIG. 11 is both fair (i.e. the requestors are granted access roughly equally often) and the maximum number cycles a requestor will have to wait before they are granted access to the resource is relatively low. Specifically, a requestor will only have to wait a maximum of N cycles where N is the number of requestors.
[0083] Reference is now made to FIG. 12 which illustrates a second example method 1200 for generating the priority information for the next cycle which may be implemented by the priority selection logic 204 of FIG. 2. In this method 1200 the priority selection logic 204 shifts the priority region by one requestor each cycle. This method is designed to work for cases: (i) where the priority information in any cycle has a block of 0’s followed by a block of 1’s or is all 1’s; or (ii) only a single requestor has priority in any given cycle.
[0084] The method 1200 begins at block 1202 where the priority selection logic 204 receives the priority information for the current cycle. In some cases, the priority selection logic 204 may be configured store the priority information generated each cycle. In these cases, the priority selection logic 204 may obtain the priority information for the current cycle from the stored priority information. In other cases, the requestor selection logic 202 may be configured to provide the priority information for the current cycle to the priority selection logic 204. Once the priority selection logic 204 has received the priority information for the current cycle the method 1200 proceeds to block 1204.
[0085] At block 1204, the priority selection logic 204 shifts the priority region (or priority block) in the priority information for the current cycle by one requestor to generate the priority information for the next cycle. The priority region is the contiguous block of one or more requestors that have high priority. Shifting the priority region by one requestor may comprise shifting the start of the priority region by one requestor to the next highest priority requestor. The start of the priority region may be the lowest ordered requestor in the priority region. The requestors may be considered to wrap around such that if the start of the priority region is the highest ordered requestor, that the priority region is shifted by one requestor by making the lowest ordered requestor the start of the priority region in the next cycle.
[0086] For example, where the priority information is configured to have a block of 0’s followed by a block of 1’s, or all 1’s, shifting the priority region by one requestor may comprise removing priority from the lowest ordered requestor in the priority region and leaving all other priorities the same. Where the lowest ordered requestor in the priority region is the highest ordered requestor in the order all requestors may be given priority in the next cycle. For example, if the priority mask is [0 0 0 0 1 1 1 1] the priority region comprises requestors 4, 5, 6 and 7. If the requestors are ordered in numerical order the lowest ordered requestor in the priority region is requestor 4 and thus shifting the priority region by one requestor may comprise taking away priority from requestor 4 and leaving all other priorities the same which results in a priority mask of [0 0 0 0 0 1 1 1] for the next cycle. If, however, the priority mask is [0 0000001] the priority region comprises requestor 7. If the requestors are ordered in numerical order the lowest ordered requestor in the priority region is requestor 7, and since requestor 7 is the highest ordered requestor all requestors are given priority in the next cycle resulting in a priority mask of [1 1 1 1 1 1 1 1] for the next cycle.
[0087] In cases where only a single requestor is given priority in a cycle, shifting the priority region by one requestor may comprise only giving priority to the next highest ordered requestor, relative to the requestor that has priority in the current cycle, in the next cycle. The order of the requestors may be considered to wrap around so that the next highest ordered requestor for the highest ordered requestor may be the lowest ordered requestor. For example, if the priority mask is [0 0 0 1 0 0 0 0] the priority region comprises requestor 3. If the requestors are ordered in numerical order, then shifting the priority region by one requestor may comprise only granting priority to the next highest requestor (requestor 4) resulting in a priority mask of [0 0 0 0 1 0 0 0] in the next cycle. If the priority mask is [0 0 0 0 0 0 0 1] then the priority region is requestor 7. If the requestors are ordered in numerical order then shifting the priority region by one requestor may comprise only granting priority to the next highest requestor (requestor 0) in the next cycle resulting in a priority mask of [1 0 0 0 0 0 0 0] for the next cycle. Once the priority information for the next cycle has been generated the method 1200 ends.
[0088] An arbitration scheme based on the modified requestor selection method described above with respect to FIG. 6 and the priority selection method described with respect to FIG. 12 allows the priority selection logic to be small in hardware. It also ensures that no requestor has to wait more than N-1 cycles to be granted access to the resource where N is the number of requestors. However, the drawback of the method of FIG. 12 is that it is possible to construct a sequence where one requestor is granted access to the resource more often than other requestors so it is not as “fair” as an arbitration scheme based on the method of FIG. 11, for example, as higher ordered requestors will be granted access more often than lower ordered requestors.
[0089] Reference is now made to FIG. 13 which illustrates a third example method 1300 for generating the priority information for the next cycle which may be implemented by the priority selection logic 204 of FIG. 2. In this method 1300, the priority information for the next cycle is based on the priority information in the current cycle and whether the selected requestor has priority. Specifically, if the selected requestor has priority then the priority information for the next cycle is the same as the current cycle except that the selected requestor does not have priority, and if the selected requestor does not have priority then in the next cycle all requestors, other than the selected requestor, have priority.
[0090] The method 1300 begins at block 1302 where the priority selection logic receives information that identifies the requestor selected in the current cycle. In some cases, the requestor selection logic 202 may be configured to provide information (e.g. the requestor ID) identifying the selected requestor. At block 1304, the priority selection logic 204 receives the priority information for the current cycle. In some cases, the priority selection logic 204 may be configured store the priority information generated each cycle. In these cases, the priority selection logic 204 may obtain the priority information for the current cycle from the stored priority information. In other cases, the requestor selection logic 202 may be configured to provide the priority information for the current cycle to the priority selection logic 204. Once the priority selection logic 204 has received the priority information for the current cycle and information identifying the selected requestor the method 1300 proceeds to block 1306.
[0091] At block 1306, the priority selection logic 204 determines, based on the received information, whether the requestor selected in the current cycle has priority. If it is determined that the selected requestor does have priority the method 1300 proceeds to block 1308. If, however, it is determined that the selected requestor does not have priority then the method 1300 proceeds to block 1310.
[0092] At block 1308, after determining that the selected requestor has priority, the priority selection logic 204 generates priority information for the next cycle by taking the priority information for the current cycle and taking away priority from the selected requestor (e.g. the priority bit for the selected requestor may be set to O’). For example, if the priority mask for the current cycle is [0 0001 1 1 1] and requestor 6 is selected then the priority mask for the next cycle may be [ 0 0 0 0 1 1 0 1], Once the priority information for the next cycle is generated the method 1300 ends.
[0093] At block 1310, after determining that the selected requestor does not have priority the priority selection logic 204 generates priority information for the next cycle wherein all requestors except the selected requestor have priority. For example, if requestor 2 is the selected requestor then the priority mask for the next cycle may be [1 1 0 1 1 1 1 1], Once the priority information for the next cycle is generated the method 1300 ends.
[0094] An arbitration scheme based on the modified requestor selection method described above with respect to FIG. 6 and the priority selection method described with respect to FIG.
ensures that no requestor has to wait more than an order of 2N cycles to be granted access to the resource, where N is the number of requestors. However, the hardware required to implement the priority selection logic is more complex than that required to implement the method 1200 of FIG. 12.
[0095] Reference is now made to FIG. 14 which illustrates a fourth example method 1400 for generating the priority information for the next cycle which may be implemented by the priority selection logic 204 of FIG. 2. In this method 1400 the priority information for the next cycle is based on the priority information in the current cycle and whether the selected requestor has priority. Specifically, if the selected requestor has priority then priority information for the next cycle is the same as the current cycle except that the selected requestor does not have priority, and if the selected requestor does not have priority then in the next cycle all requestors that were active in the current cycle, other than the selected requestor, have priority.
[0096] The method 1400 begins at block 1402 where the priority selection logic 204 receives information that identifies the requestor selected in the current cycle. In some cases, the requestor selection logic 202 may be configured to provide information (e.g. the requestor ID) identifying the selected requestor. At block 1404, the priority selection logic 204 receives the priority information for the current cycle. In some cases, the priority selection logic 204 may be configured store the priority information generated each cycle. In these cases, the priority selection logic 204 may obtain the priority information for the current cycle from the stored priority information. In other cases, the requestor selection logic 202 may be configured to provide the priority information for the current cycle to the priority selection logic 204. At block 1406, the priority selection logic 204 receives the active information for the current cycle. In some cases, the requestor selection logic 202 may be configured to provide the active information for the current cycle to the priority selection logic 202. Once the priority selection logic 204 has received the priority information for the current cycle, the active information for the current cycle, and information identifying the selected requestor the method 1400 proceeds to block 1408.
[0097] At block 1408, the priority selection logic 204 determines, based on the received information, whether the requestor selected in the current cycle has priority. If it is determined that the selected requestor does have priority the method 1400 proceeds to block 1410. If, however, it is determined that the selected requestor does not have priority then the method 1400 proceeds to block 1412.
[0098] At block 1410, after determining that the selected requestor has priority the priority selection logic 204 generates priority information for the next cycle by taking the priority information for the current cycle and taking away priority from the selected requestor (e.g. the priority bit for the selected requestor may be set to O’). For example, if the priority mask for the current cycle is [0 0001 1 1 1] and requestor 6 is selected then the priority mask for the next cycle may be [0 0 0 0 1 1 0 1], Once the priority information for the next cycle is generated the method 1400 ends.
[0099] At block 1412, after determining that the selected requestor does not have priority the priority selection logic 204 generates priority information for the next cycle wherein all requestors that are active in the current cycle, other than the selected requestor, are given priority and all other requestors are not given priority. For example, if the active mask is [0 1 1 1 0 0 0 0] indicating requestors 1,2 and 3 are active and requestor 3 is the selected requestor then only requestors 1 and 2 are given priority since they are active, but were not selected, resulting in priority mask for the next cycle of [0 1 1 0 0 0 0 0], Once the priority information for the next cycle is generated the method 1400 ends.
[00100] An arbitration scheme based on the modified requestor selection method described above with respect to FIG. 6 and the priority selection method described with respect to FIG. 14 ensures that no requestor has to wait more than an order of 2N cycles to be granted access to the resource, where N is the number of requestors. However, the hardware required to implement the priority selection logic is more complex than that required to implement the method 1200 of FIG. 12.
[00101] The inventor has identified that for any priority scheme (such as, but not limited to, the priority schemes implemented by methods 1100, 1200, 1300, 1400 of FIGS. 11-14) where there is an upper bound for the number of priority requestors that can be selected before a low priority requestor must be selected, the maximum number of cycles a requestor has to wait to be granted access to a resource can be reduced by one cycle by treating the highest ordered requestor as never having priority. This means that the highest ordered requestor can never be the lowest ordered active requestor with priority. This prevents the highest ordered requestor from being granted access to the resource in multiple consecutive cycles (once when it is the lowest ordered active requestor with priority and once when it is the highest active requestor) unless it is the only active requestor, in which case no other requestor is being delayed anyway. Note that any other requestor could still be granted access to the resource in two consecutive cycles, but in that case the highest ordered requestor will not have been requesting access, so the maximum delay is still reduced by one cycle. This may be implemented by (i) modifying the priority scheme so that the priority information generated for a cycle always indicates that the highest ordered requestor does not have priority, or by (ii) modifying the requestor selection logic 202 to treat the highest ordered requestor as not having priority regardless of the priority information for the cycle.
[00102] In some cases, the priority selection logic 204 may be configured to execute one of the methods 1100, 1200, 1300, 1400 described above with respect to FIGS. 11-14 only after determining that there was an active requestor in the current cycle. If the priority selection logic 204 determines that there was not an active requestor in the current cycle then the priority selection logic 204 may generate priority information for the next cycle that is the same as the priority information in the current cycle, or the priority selection logic 204 may generate new priority information for the next cycle. Since there are no requestors currently waiting to be served then it is not relevant what the priority information is for the next cycle. For example, in some cases, the priority selection logic 204 may be configured to generate priority information for the next cycle so that all requestors are given priority (e.g. a priority mask of all 1’s such as [1 1 1 1 1 1 1 1]) when there are no active requestors in the current cycle. This may be simpler to implement in hardware than outputting the same priority information as the current information. However, it will be evident to a person of skill in the art that this is an example only and that the priority selection logic 204 may be configured to generate priority information for the next cycle in another manner when there are no active requestors in the current cycle.
[00103] Although the arbiter 106 of FIG. 1 is shown as a separate component from the resource 102, in other examples some, or all, of the arbiter 106 may form part of, or be integral to, the resource 102. For example, in some cases the requestor selection logic 202, the priority selection logic 204, and/or the data selection logic 206 may form part of the resource 102.
[00104] In some cases, there may be multiple requestors which share multiple resources. For example, FIG. 15 shows an example computer system 1500 that comprises two resources 1502A-B shared by a plurality of requestors 1504A-1504H. In this example there are two shared resources numbered 0 and 1 and eight requestors numbered from 0 to 7, however, it will be evident to a person of skill in the art that the methods and techniques described herein may be applied to any system where there are two or more requestors that share two or more resources. In any cycle none, one, or more than one of the plurality of requestors 1504A-H may request access to the resources 1502A, 1502B. In this example when a requestor i wants to request access to resource 0 the requestor pulls the Active_0 [i] signal high and when a requestor i wants to request access to resource 1, the requestor pulls the Active_1 [j] signal high. When a requestor has requested access to a resource then the requestor is said to be active for that resource. As described above, there may be data associated with the requests which are to be processed by the relevant resource. The data associated with requestor i is denoted Data [j ]. In some cases, as shown in FIG. 15 there may be only one data stream per requestor that is either forwarded to resource 0 or resource as appropriate. However, in other cases there may be one data stream per requestor per resource.
[00105] An arbiter system 1506 arbitrates between the requestors 1504A-H and the shared resources 1502A-B. Specifically, each clock cycle the arbiter system 1506 selects an active requestor for each resource in accordance with an arbitration scheme and provides information to each resource identifying the selected requestor for that resource (e.g. the ID of the selected requestor) along with the associated data for the selected requestor.
[00106] In many cases, an arbiter system to arbitrate between a plurality of requestors and a plurality of resources will have a plurality of arbiters (one per resource) that perform parallel and independent arbitrations. In these cases, in each cycle each arbiter receives priority information for that resource and selects one of the active requestors for the corresponding resource based on the priority information and an arbitration scheme implemented by the arbiter. In some cases, the arbiters may implement different arbitration schemes. Since the priority information for a particular cycle is calculated in the previous cycle (e.g. the priority information for cycle 5 is calculated in cycle 4) the priority information is typically stored in a storage device or unit, such as, but not limited to, a register. Where there is one set of priority information per arbiter the arbiter system 1506 will have one storage device (e.g. register) per resource.
[00107] If, however, the arbiters are able to use the same priority information then only one storage element (e.g. register) may be required to store the priority information for the arbiter system 1506. The inventor has identified that common priority information can be used to select an appropriate requestor for multiple resources in systems where the requestors cannot make a request for more than one resource in a cycle, and if a request is not granted then the requestor continues to request access to the same resource until it has been granted access to that resource. Common priority information can be used in such systems because in such systems no requestor will be requesting access to two different resources in the same cycle and thus the relevant part of the priority information - the part that indicates the priority of the requestors that requested access to a resource in the current cycle but were not granted access to the resource - are independent and thus a common set of priority information can be generated by combining the relevant portions of the priority information for each resource.
[00108] Accordingly, described herein are methods and systems for generating a single common set of priority information which can be used to arbitrate between a plurality of requestors and a plurality of resources in a next cycle. Specifically, in the methods and systems described herein common priority information is generated by: generating priority information for the next cycle for each resource according to an arbitration scheme (which may be specific to that resource); generating relevant priority information for the next cycle for each resource based on the priority information for the next cycle for that resource, wherein the relevant priority information is the priority information that relates to relevant requestors (requestors that requested access to the resource in the current cycle but were not granted access to the resource); and then combining the relevant priority information for the next cycle for each resource. This works because each resource will have a different set of relevant requestors - requestors that have requested access in the current cycle but were not granted access to the resource in the current cycle - and thus the relevant priority information for each resource will not overlap. Since only one set of priority information is used to select between requestors for multiple resources the number of storage devices (e.g. registers) in the arbiter system can be reduced. Generally, the more resources there are, the more significant the savings.
[00109] It has been shown that this compression of several sets of priority information into a single set of priority information does not increase the maximum possible wait time and it does not significantly change the arbitration scheme compared to running several independent arbitrations in parallel. In fact, generating a single common set of priority information may decrease the area without increasing the delay.
[00110] Reference is now made to FIG. 16 which illustrates an example arbiter system 1506 in which a single set of priority information is used to arbitrate between multiple requestors and multiple resources. In this example the arbiter system 1506 is configured to arbitrate between eight requestors which share two resources, but it will be evident to a person of skill in the art that the methods and techniques described herein could be equally applied to any system where there are at least two requestors and at least two resources. The arbiter system 1506 comprises an arbiter 1602A, 1602B per resource and common priority selection logic 1604. Each cycle each arbiter 1602A and 1602B receives active information for the corresponding resource that indicates which requestors have requested access to that resource in that cycle, and common priority information that indicates which requestors have priority in that cycle and selects an active requestor to be granted access to the resource based on the common priority information, the active information and an arbitration scheme. The arbiters may use the same or different arbitration schemes. Once an arbiter 1602A, 1602B has selected one of the active requestors for the corresponding resource, the arbiter 1602A, 1602B provides the corresponding resource with information identifying the selected requestor (e.g. an ID of the selected requestor) along with any relevant data (Data[RS_0] or Data [RS_1]) associated with the selected requestor.
[00111] One or more of the arbiters 1602A, 1602B may comprise the requestor selection logic 202 and/or the data selection logic 206 described above. Specifically, one or more of the arbiters 1602A, 1602B may be configured to select a requestor in accordance with the method 600 described above with respect to FIG. 6.
[00112] The common priority selection logic 1604 is configured to generate, each cycle, common priority information which is used by all of the arbiters 1602A, 1602B in the next cycle. The common priority selection logic 1604 may store the generated common priority information for the next cycle in a storage unit or device, such as a register 1606 which is accessible by the arbiters 1602A and 1602B. The common priority selection logic 1604 generates the common priority information for the next cycle by generating priority information for the next cycle for each resource according to an arbitration scheme (which may be specific to that resource); generating relevant priority information for the next cycle for each resource based on the priority information for the next cycle for that resource, wherein the relevant priority information for a resource is the priority information that relates to relevant requestors for that resource (requestors that requested access to the resource in the current cycle but were not granted access to the resource); and then combining the relevant priority information for the next cycle for each resource.
[00113] This will now be explained by way of example. In the example there are eight requestors numbered 0 to 7 and two shared resources numbered 0 and 1, requestors 0-3 request access to resource 0 in a cycle and requestor 0 is granted access to resource 0 in that cycle, and requestors 4-7 request access to resource 1 in the cycle and requestor 6 is granted access to resource 1. In this example, the relevant requestors for resource 0 are requestors 1-3 as they requested access to resource 0 but were not granted access to resource 0, and requestors 4-5 and 7 are the relevant requestors for resource 1 since they requested access to resource 1 but were not granted access to resource 1. In this example the common priority selection logic 1604 determines the priority of the requestors for resource 0 in the next cycle in accordance with an arbitration scheme for resource 0 and determines the priority of the requestors for resource 1 in the next cycle in accordance with an arbitration scheme for resource 1. The common priority selection logic 1604 then combines the priority for requestors 1-3 for resource 0 with the priority for requestors 4,5 and 7 for resource 1 to generate the common priority information. All other non-relevant requestors (those that did not request access to any resource or that were granted access to a resource) are not given priority (e.g. are set to zero). An example implementation of common priority selection logic 1604 is described below with reference to FIG. 17, an example method for generating the common priority information which may be implemented by the common priority selection logic 1604 is described below with reference to FIG. 18, and an example generation of common priority information is described below with reference to FIG. 19.
[00114] Reference is now made to FIG. 17 which illustrates an example implementation of the common priority selection logic 1604 of FIG. 16. In this example the common priority selection logic 1604 comprises priority selection logic 1702A, 1702B for each resource, modification logic 1704A, 1704B for each resource and one combination logic block 1706. Each priority selection logic block 1702A, 1702B is configured to generate priority information for the next cycle for the corresponding resource in accordance with an arbitration scheme. The priority selection logic blocks 1702A, 1702B may implement the same or different arbitration schemes. In some cases, one or more of the priority selection logic blocks 1702A, 1702B may be implemented as the priority selection logic 204 described above. Specifically, one or more priority selection logic blocks 1702A, 1702B may be configured to generate the priority information in accordance with any of methods 1100, 1200, 1300, 1400 described above with respect to FIGS. 11-14. In the example shown in FIG. 17 each priority selection logic block 1702A, 1702B receives information identifying the selected requestor and the common priority information and generates the priority information for the next cycle for the associated resource based on this information, however, it will be evident to a person of skill in the art that this is an example only and the priority selection logic blocks 1702A, 1702B may receive additional information and/or different information and/or different priority selection blocks may receive different information.
[00115] Each modification logic block 1704A, 1704B receives the priority information for the next cycle for a corresponding resource and generates relevant priority information for the next cycle for that resource. As described above, the relevant priority information is the priority information related to the relevant requestors. In other words, the modification logic 1704A, 1704B essentially strips out the priority data related to the non-relevant requestors. In some cases, the modification logic 1704A, 1704B may do this by setting the priority information for the non-relevant requestors to zero. In some cases, one or more of the modification logic blocks 1704A, 1704B may be configured to generate the relevant priority information for the next cycle for a resource by performing a bit-wise AND operation between the priority information for the next cycle for that resource (prior ity_next_cycle_i) generated by the priority selection logic 1702A, 1702B and the active information for that resource (active_i) for the current cycle as shown in equation (1):
relevant apriority _next_cycle_i = priority _next_cycle_i Λ active_i (1) [00116] The combination logic 1706 receives the relevant priority information for the next cycle for each resource and combines the relevant priority information for the next cycle for each resource to generate the common priority information. In some cases, the combination logic 1706 is configured to generate the common priority information for the next cycle by performing a bit-wise OR operation between the relevant priority information for the next cycle for each resource as shown in equation (2) where S is the set of all resources:
common_priority_next_cycle = V irrelevant apriority_next_cycle_i (2) [00117] Reference is now made to FIG. 18 which illustrates an example method 1800 which may be implemented by the common priority selection logic 1604 to generate common priority information for a next cycle. The method 1800 begins at block 1802 where the common priority selection logic 1604 generates priority information for a next cycle for each resource according to an arbitration scheme (which may be specific to that resource). At block 1804 the common priority selection logic 1604 generates relevant priority information for the next cycle for each resource based on the priority information for the next cycle for that resource, wherein the relevant priority information is the priority information that relates to relevant requestors (requestors that requested access to the resource in the current cycle but were not granted access to the resource). At block 1806, the common priority selection logic 1604 combines the relevant priority information for the next cycle for each resource. The method 1800 then ends.
[00118] Reference is now made to FIG. 19 which illustrates the generation of common priority information for an example scenario where there are eight requestors numbered and ordered from 0 to 7 and two resources numbered 0 and 1. In this scenario the requestor granted access to a resource in a particular cycle is selected in accordance with the method 600 of FIG. 6 (i.e. the lowest ordered active requestor with priority is selected or the highest ordered active requestor is selected) and the priority for the next cycle for a resource is generated in accordance with the method 1100 of FIG. 11 (i.e. if a requestor with priority is selected then in the next cycle all higher ordered requestors relative to the selected requestor have priority, and otherwise all requestors have priority in the next cycle) except if the selected requestor does not have priority then the selected requestor is not given priority in the next cycle.
[00119] In a first example cycle (cycle 1) the active mask for resource 0 is [1 1 10 0 0 0 0] indicating that requestors 0, 1 and 2 are active for resource 0, the active mask for resource 1 is [0 00001 1 1] indicating that requestors 5, 6 and 7 are active for resource 1, and the common priority mask for cycle 1 is [0 0001 1 1 1] indicating that requestors 4, 5, 6 and 7 have priority (or high priority). In accordance with method 600, the selected requestor for resource 0 is requestor 2 since there are no active requestors with priority for resource 0 requestor 2 is the highest ordered active requestor. As for resource 1, requestor 5 is the selected requestor because it is the lowest ordered active requestor with priority.
[00120] In accordance with the modified method 1100, the next priority for resource 0 is [1 1 0 1 1 1 1 1] because a requestor without priority was selected so all of the requestors are to have priority in the next cycle except the selected requestor (requestor 2). The next priority for resource 1 is [0 000001 1] because a requestor with priority was selected so only those requestors that are higher ordered requestors, with respect to the selected requestor, have priority in the next cycle.
[00121] The relevant requestors for resource 0 are requestors 0 and 1 since they were the only requestors who requested access to resource 0 but were not granted access to resource 0. Therefore, the relevant priority information for the next cycle for resource 0 is [1 1 00000 0]- i.e. the priority for all of the non-relevant requestors is set to zero. Similarly, the relevant requestors for resource 1 are requestors 6 and 7 since they were the only requestors who requested access of resource 1 but were not granted access to resource 1. Therefore, the relevant priority information for the next cycle for resource 1 is [0 0 0 0 0 0 1 1] - i.e. the priority for all of the non-relevant requestors is set to zero.
[00122] The common priority for the next cycle is then [1 1 0 0 0 0 1 1] - the OR’d combination of the relevant priority information for resources 0 and 1.
[00123] In a second example cycle (cycle 2) the active mask for resource 0 is [1 10 1 1 0 0 0] indicating that requestors 0,1,3 and 4 are active for resource 0, the active mask for resource 1 is [0 0 1 0 0 0 1 1] indicating that requestors 2, 6 and 7 are active for resource 1, and the common priority mask for cycle 2 is [1 100001 1] indicating that requestors 0, 1, 6 and 7 have priority (or high priority). In accordance with method 600, the selected requestor for resource 0 is requestor 0 since it is the lowest ordered active requestor with priority. As for resource 1, requestor 6 is the selected requestor because it is the lowest active ordered requestor with priority.
[00124] In accordance with the modified method 1100, the next priority for resource 0 is [0 1 1 1 1 1 1 1] because a requestor with priority was selected so all of the higher ordered requestors with respect to the selected requestor have priority in the next cycle. The next priority for resource 1 is [0 0000001] because a requestor with priority was selected so all of those requestors that are higher ordered with respect to the selected requestor have high priority in the next cycle.
[00125] The relevant requestors for resource 0 are requestors 1, 3 and 4 since they were the only requestors who requested access of resource 0 but were not granted access. Therefore, the relevant priority information for the next cycle for resource 0 is [0 1 0 1 1 0 0 0] - i.e. the priority for all of the non-relevant requestors is set to zero. Similarly, the relevant requestors for resource 1 are 2 and 7 since they were the only requestors who requested access of resource 1 but were not granted access to resource 1. Therefore, the relevant priority information for the next cycle for resource 1 is [0 0000001] - i.e. the priority for all of the non-relevant requestors is set to zero.
[00126] The common priority for the next cycle is then [0 1 0 1 1 0 0 1] - the OR’d combination of the relevant priority information for resources 0 and 1.
[00127] FIG. 20 shows a computer system in which the arbiters, arbiter systems and/or logic blocks described herein may be implemented. The computer system comprises a CPU 902, a GPU 2004, a memory 2006 and other devices 2014, such as a display 2016, speakers 2018 and a camera 2020. A logic block 2010 (corresponding to an arbiter, arbiter system, or any other logic block described herein) is implemented on the GPU 2004. In other examples, the processing block 2010 may be implemented on the CPU 2002. The components of the computer system can communicate with each other via a communications bus 2022.
[00128] The arbiters, arbiter systems, and logic blocks of FIGS. 2, 16 and 17 are shown as comprising a number of functional blocks. This is schematic only and is not intended to define a strict division between different logic elements of such entities. Each functional block may be provided in any suitable manner. It is to be understood that intermediate values described herein as being formed by a particular block need not be physically generated by the particular block at any point and may merely represent logical values which conveniently describe the processing performed by the block between its input and output.
[00129] The arbiters, arbiter systems, and logic blocks described herein may be embodied in hardware on an integrated circuit. The arbiters, arbiter systems, and logic blocks described herein may be configured to perform any of the relevant methods described herein. Generally, any of the functions, methods, techniques or components described above can be implemented in software, firmware, hardware (e.g., fixed logic circuitry), or any combination thereof. The terms “module,” “functionality,” “component”, “element”, “unit”, “block” and “logic” may be used herein to generally represent software, firmware, hardware, or any combination thereof. In the case of a software implementation, the module, functionality, component, element, unit, block or logic represents program code that performs the specified tasks when executed on a processor. The algorithms and methods described herein could be performed by one or more processors executing code that causes the processor(s) to perform the algorithms/methods. Examples of a computer-readable storage medium include a random-access memory (RAM), read-only memory (ROM), an optical disc, flash memory, hard disk memory, and other memory devices that may use magnetic, optical, and other techniques to store instructions or other data and that can be accessed by a machine.
[00130] The terms computer program code and computer readable instructions as used herein refer to any kind of executable code for processors, including code expressed in a machine language, an interpreted language or a scripting language. Executable code includes binary code, machine code, bytecode, code defining an integrated circuit (such as a hardware description language or netlist), and code expressed in a programming language code such as C, Java or OpenCL. Executable code may be, for example, any kind of software, firmware, script, module or library which, when suitably executed, processed, interpreted, compiled, executed at a virtual machine or other software environment, cause a processor of the computer system at which the executable code is supported to perform the tasks specified by the code.
[00131] A processor, computer, or computer system may be any kind of device, machine or dedicated circuit, or collection or portion thereof, with processing capability such that it can execute instructions. A processor may be any kind of general purpose or dedicated processor, such as a CPU, GPU, System-on-chip, state machine, media processor, an application-specific integrated circuit (ASIC), a programmable logic array, a field-programmable gate array (FPGA), or the like. A computer or computer system may comprise one or more processors.
[00132] It is also intended to encompass software which defines a configuration of hardware as described herein, such as HDL (hardware description language) software, as is used for designing integrated circuits, or for configuring programmable chips, to carry out desired functions. That is, there may be provided a computer readable storage medium having encoded thereon computer readable program code in the form of an integrated circuit definition dataset that when processed (i.e. run) in an integrated circuit manufacturing system configures the system to manufacture an arbiter, arbiter system or logic block configured to perform any of the relevant methods described herein, or to manufacture an arbiter, arbiter system or logic block comprising any apparatus described herein. An integrated circuit definition dataset may be, for example, an integrated circuit description.
[00133] Therefore, there may be provided a method of manufacturing, at an integrated circuit manufacturing system, an arbiter, an arbiter system and/or any logic block described herein. Furthermore, there may be provided an integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, causes the method of manufacturing an arbiter, arbiter system or logic block to be performed.
[00134] An integrated circuit definition dataset may be in the form of computer code, for example as a netlist, code for configuring a programmable chip, as a hardware description language defining hardware suitable for manufacture in an integrated circuit at any level, including as register transfer level (RTL) code, as high-level circuit representations such as Verilog or VHDL, and as low-level circuit representations such as OASIS (RTM) and GDSII. Higher level representations which logically define hardware suitable for manufacture in an integrated circuit (such as RTL) may be processed at a computer system configured for generating a manufacturing definition of an integrated circuit in the context of a software environment comprising definitions of circuit elements and rules for combining those elements in order to generate the manufacturing definition of an integrated circuit so defined by the representation. As is typically the case with software executing at a computer system so as to define a machine, one or more intermediate user steps (e.g. providing commands, variables etc.) may be required in order for a computer system configured for generating a manufacturing definition of an integrated circuit to execute code defining an integrated circuit so as to generate the manufacturing definition of that integrated circuit.
[00135] An example of processing an integrated circuit definition dataset at an integrated circuit manufacturing system so as to configure the system to manufacture an arbiter will now be described with respect to FIG. 21. Similar processes may be used to manufacture an arbiter system, or any logic block described herein.
[00136] FIG. 21 shows an example of an integrated circuit (IC) manufacturing system 2102 which is configured to manufacture an arbiter as described in any of the examples herein. In particular, the IC manufacturing system 2102 comprises a layout processing system 2104 and an integrated circuit generation system 2106. The IC manufacturing system 2102 is configured to receive an IC definition dataset (e.g. defining an arbiter as described in any of the examples herein), process the IC definition dataset, and generate an IC according to the IC definition dataset (e.g. which embodies an arbiter as described in any of the examples herein). The processing of the IC definition dataset configures the IC manufacturing system 2102 to manufacture an integrated circuit embodying an arbiter as described in any of the examples herein.
[00137] The layout processing system 2104 is configured to receive and process the IC definition dataset to determine a circuit layout. Methods of determining a circuit layout from an IC definition dataset are known in the art, and for example may involve synthesising RTL code to determine a gate level representation of a circuit to be generated, e.g. in terms of logical components (e.g. NAND, NOR, AND, OR, MUX and FLIP-FLOP components). A circuit layout can be determined from the gate level representation of the circuit by determining positional information for the logical components. This may be done automatically or with user involvement in order to optimise the circuit layout. When the layout processing system 2104 has determined the circuit layout it may output a circuit layout definition to the IC generation system 2106. A circuit layout definition may be, for example, a circuit layout description.
[00138] The IC generation system 2106 generates an IC according to the circuit layout definition, as is known in the art. For example, the IC generation system 2106 may implement a semiconductor device fabrication process to generate the IC, which may involve a multiple-step sequence of photo lithographic and chemical processing steps during which electronic circuits are gradually created on a wafer made of semiconducting material. The circuit layout definition may be in the form of a mask which can be used in a lithographic process for generating an IC according to the circuit definition. Alternatively, the circuit layout definition provided to the IC generation system 2106 may be in the form of computerreadable code which the IC generation system 2106 can use to form a suitable mask for use in generating an IC.
[00139] The different processes performed by the IC manufacturing system 2102 may be implemented all in one location, e.g. by one party. Alternatively, the IC manufacturing system 2102 may be a distributed system such that some of the processes may be performed at different locations, and may be performed by different parties. For example, some of the stages of: (i) synthesising RTL code representing the IC definition dataset to form a gate level representation of a circuit to be generated, (ii) generating a circuit layout based on the gate level representation, (iii) forming a mask in accordance with the circuit layout, and (iv) fabricating an integrated circuit using the mask, may be performed in different locations and/or by different parties.
[00140] In other examples, processing of the integrated circuit definition dataset at an integrated circuit manufacturing system may configure the system to manufacture an arbiter without the IC definition dataset being processed so as to determine a circuit layout. For instance, an integrated circuit definition dataset may define the configuration of a reconfigurable processor, such as an FPGA, and the processing of that dataset may configure an IC manufacturing system to generate a reconfigurable processor having that defined configuration (e.g. by loading configuration data to the FPGA).
[00141] In some embodiments, an integrated circuit manufacturing definition dataset, when processed in an integrated circuit manufacturing system, may cause an integrated circuit manufacturing system to generate a device as described herein. For example, the configuration of an integrated circuit manufacturing system in the manner described above with respect to FIG. 21 by an integrated circuit manufacturing definition dataset may cause a device as described herein to be manufactured.
[00142] In some examples, an integrated circuit definition dataset could include software which runs on hardware defined at the dataset or in combination with hardware defined at the dataset. In the example shown in FIG. 21, the IC generation system may further be configured by an integrated circuit definition dataset to, on manufacturing an integrated circuit, load firmware onto that integrated circuit in accordance with program code defined at the integrated circuit definition dataset or otherwise provide program code with the integrated circuit for use with the integrated circuit.
[00143] The implementation of concepts set forth in this application in devices, apparatus, modules, and/or systems (as well as in methods implemented herein) may give rise to performance improvements when compared with known implementations. The performance improvements may include one or more of increased computational performance, reduced latency, increased throughput, and/or reduced power consumption. During manufacture of such devices, apparatus, modules, and systems (e.g. in integrated circuits) performance improvements can be traded-off against the physical implementation, thereby improving the method of manufacture. For example, a performance improvement may be traded against layout area, thereby matching the performance of a known implementation but using less silicon. This may be done, for example, by reusing functional blocks in a serialised fashion or sharing functional blocks between elements of the devices, apparatus, modules and/or systems. Conversely, concepts set forth in this application that give rise to improvements in the physical implementation of the devices, apparatus, modules, and systems (such as reduced silicon area) may be traded for improved performance. This may be done, for example, by manufacturing multiple instances of a module within a predefined area budget.
[00144] The applicant hereby discloses in isolation each individual feature described herein and any combination of two or more such features, to the extent that such features or combinations are capable of being carried out based on the present specification as a whole in the light of the common general knowledge of a person skilled in the art, irrespective of whether such features or combinations of features solve any problems disclosed herein. In view of the foregoing description it will be evident to a person skilled in the art that various modifications may be made within the scope of the invention.

Claims (47)

1. An arbiter for arbitrating between a plurality of ordered requestors and a resource in a computing system, the arbiter comprising:
requestor selection logic configured to:
receive active information indicating which of the plurality of requestors have requested access to the resource in a cycle;
receive priority information indicating which of the plurality of requestors have priority in the cycle;
select one of the plurality of requestors based on the active information and the priority information by:
determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle;
in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and output information identifying the selected requestor.
2. The arbiter of claim 1, wherein the requestor selection logic comprises logic that implements a binary decision tree configured to perform the selection.
3. The arbiter of claim 2, wherein the binary decision tree comprises a plurality of decision nodes and each decision node comprises only one logic gate that controls the population of that decision node.
4. The arbiter of claim 2 or claim 3, wherein the binary decision tree comprises a plurality of leaf nodes connected to one or more layers of decision nodes, and the requestor selection logic is configured to populate each leaf node with information corresponding to one of the plurality of requestors and the decision nodes are configured to perform the selection based on the information in the leaf nodes.
5. The arbiter of claim 4, wherein each node is configured to be populated with information identifying a requestor, information indicating whether that requestor has requested access to the resource in the current cycle and information indicating whether that requestor has requested access and has priority in the current cycle.
6. The arbiter of claim 4 or claim 5, wherein the requestor selection logic is configured to populate the leaf nodes with the information corresponding to the requestors in order.
7. The arbiter of claim 6, wherein each decision node is connected to two child nodes, one child node is populated with information corresponding to a higher ordered requestor and the other child node is populated with information corresponding to a lower ordered requestor, and each decision node is configured to be populated with information corresponding to the lower ordered requestor when the lower ordered requestor has requested access and has priority or the higher ordered requestor has not requested access, and is configured to be populated with information corresponding to the higher ordered requestor otherwise.
8. The arbiter of any preceding claim, wherein the priority information for the cycle is based on priority information for a previous cycle.
9. The arbiter of claim 8, wherein:
if the requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates that all higher priority requestors in a first set of requestors relative to the requestor selected in the previous cycle have priority; and if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates that all of the requestors in the first set of requestors have priority.
10. The arbiter of claim 8, wherein:
if a requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates a same set of requestors in a first set of requestors have priority in the cycle as in the previous cycle except the requestor selected in the previous cycle, and if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates that all requestors in the first set of requestors, except the requestor selected in the previous cycle, have priority.
11. The arbiter of claim 8, wherein:
if the requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates a same set of requestors in a first set of requestors have priority in the cycle as in the previous cycle, except the requestor selected in the previous cycle, and if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates those requestors in the first set of requestors that requested access to the resource in the previous cycle, but were not the selected requestor, have priority.
12. The arbiter of claim 8, wherein the priority information for the cycle comprises a priority region and a start of the priority region is shifted one requestor relative to a start of a priority region of the priority information for a previous cycle.
13. The arbiter of claim 12, wherein the start of the priority region of the priority information for the cycle is a next highest priority requestor relative to the start of the priority region of the priority information for the previous cycle.
14. The arbiter of any of claims 9 to 13, wherein the first set of requestors comprises all of the plurality of requestors.
15. The arbiter of any of claims 9 to 13, wherein the first set of requestors comprises all of the plurality of requestors except a highest ordered requestor, and the priority information for the cycle indicates that the highest ordered requestor does not have priority.
16. The arbiter of any preceding claim, wherein the requestor selection logic is configured to treat the highest ordered requestor as not having priority.
17. The arbiter of any preceding claim, further comprising priority selection logic configured to generate the priority information for the cycle.
18. The arbiter of any preceding claim, wherein the priority information comprises a bit for each of the plurality of requestors that indicates whether that requestor has priority in the cycle.
19. The arbiter of any preceding claim, wherein the active information comprises a bit for each of the plurality of requestors that indicates whether that requestor has requested access in the cycle.
20. A method of arbitrating between a plurality of ordered requestors and a shared resource in a computing system, the method comprising:
receiving active information indicating which of the plurality of requestors have requested access to the resource in a cycle;
receiving priority information indicating which of the plurality of requestors have priority in the cycle;
selecting one of the plurality of requestors that has requested access based on the active information and the priority information by:
determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle;
in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and outputting information identifying the selected requestor.
21. The method of claim 20, wherein the selection is performed by populating a binary decision tree.
22. The method of claim 21, wherein the binary decision tree comprises a plurality of leaf nodes connected to one or more layers of decision nodes and populating the binary decision tree comprises directly populating the leaf nodes with information corresponding to one of the plurality of requestors and automatically populating the decision nodes with information corresponding to a requestor based on the information in the leaf nodes.
23. The method of claim 22, wherein populating a node with information corresponding to a requestor comprising populating the node with information identifying that requestor, information indicating whether that requestor has requested access to the resource in the current cycle, and information indicating whether that requestor has requested access and has priority in the current cycle.
24. The method of claim 22 or 23, wherein the leaf nodes are populated with the information corresponding to the requestors in order.
25. The method of claim 24, wherein each decision node is connected to two child nodes, one child node is populated with information corresponding to a higher ordered requestor and the other child node is populated with information corresponding to a lower ordered requestor, and each decision node is configured to be populated with information corresponding to the lower ordered requestor when the lower ordered requestor has requested access and has priority or the higher ordered requestor has not requested access, and is configured to be populated with information corresponding to the higher ordered requestor otherwise.
26. The method of any of claims 20 to 25, further comprising generating the priority information for the cycle.
27. The method of claim 26, wherein the priority information is generated based on priority information for a previous cycle.
28. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving information indicating a requestor selected in the previous cycle; and determining based on the information indicating the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in that cycle;
in response to determining that the requestor selected in the previous cycle had priority in that cycle, generating priority information for the cycle that indicates that all higher ordered requestors in a first set of requestors relative to the requestor selected in the previous cycle have priority; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates that all of the requestors in the first set of requestors have priority.
29. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving information identifying a requestor selected in the previous cycle;
determining based on the information identifying the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in the previous cycle;
in response to determining that the requestor selected in the previous cycle had priority in the previous cycle, generating priority information for the cycle that indicates a same set of requestors in a first set of requestors have priority as in the priority information for the previous cycle except the requestor selected in the previous cycle; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates all requestors in the first set of requestors except the requestor that was selected in the previous cycle have priority.
30. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving active information for the previous cycle;
receiving information identifying a requestor selected in the previous cycle;
determining based on the information identifying the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in the previous cycle;
in response to determining that the requestor selected in the previous cycle had priority in the previous cycle, generating priority information for the cycle that indicates a same set of requestors in a first set of requestors have priority as in the priority information for the previous cycle except the requestor selected in the previous cycle; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates those requestors in the first set of requestors that requested access to the resource in the previous cycle but were not the selected requestor in the previous cycle have priority.
31. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle, the priority information for the previous cycle comprising a priority region having a start; and generating the priority information for the cycle such that a start of a priority region of the priority information for the cycle is shifted by one requestor relative to the start of the priority region of the priority information for the previous cycle.
32. The method of claim 31, wherein the start of the priority region of the priority information for the cycle is a next highest ordered requestor in a first set of requestors relative to the start of the priority region of the priority information of the previous cycle.
33. The method of any of claims 28 to 32, wherein the first set of requestors comprises all of the requestors of the plurality of requestors.
34. The method of any of claims 28 to 32, wherein the first set of requestors comprises all of the requestors of the plurality of requestors except the highest ordered requestor and the priority information for the cycle indicates that the highest ordered requestor does not have priority.
35. The method of any of claims 20 to 34, wherein the priority information comprises a bit for each of the plurality of requestors that indicates whether that requestor has priority in the cycle.
36. The method of any of claims 20 to 35, wherein the active information comprises a bit for each of the plurality of requestors that indicates whether that requestor has requested access in the cycle.
37. An arbiter configured to perform the method of any of claims 20 to 36.
38. The arbiter of any of claims 1 to 19 wherein the arbiter is embodied in hardware on an integrated circuit.
39. A method of manufacturing, using an integrated circuit manufacturing system, an arbiter as claimed in any of claims 1 to 19.
40. A method of manufacturing, using an integrated circuit manufacturing system, an arbiter as claimed in any of claims 1 to 19, the method comprising: processing, using a layout processing system, a computer readable description of the arbiter so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and manufacturing, using an integrated circuit generation system, the arbiter according to the circuit layout description
41. Computer readable code configured to cause the method of any of claims 20-36 and 39-40 to be performed when the code is run.
42. A computer readable storage medium having encoded thereon the computer readable code of claim 41.
43. An integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, configures the integrated circuit manufacturing system to manufacture an arbiter as claimed in any of claims 1 to 19.
44. A computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19 that, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to manufacture an integrated circuit embodying the arbiter.
45. A computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19 which, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to:
process, using a layout processing system, the computer readable description of the arbiter so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and manufacture, using an integrated circuit generation system, the arbiter according to the circuit layout description.
46. An integrated circuit manufacturing system configured to manufacture an arbiter as claimed in any of claims 1 to 19.
47. A computing system comprising the arbiter of any of claims 1 to 19.
21 02 19
47. An integrated circuit manufacturing system comprising:
a computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19;
a layout processing system configured to process the computer readable description so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and an integrated circuit generation system configured to manufacture the arbiter according to the circuit layout description.
48. A computing system comprising the arbiter of any of claims 1 to 19.
Amendments to the claims have been filed as follows;
21 02 19
48 IMA01-130419GB
1. An arbiter for arbitrating between a plurality of ordered requestors and a resource in a computing system, the plurality of requestors being ordered from lowest to highest according to one or more criteria, the arbiter comprising:
requestor selection logic configured to:
receive active information indicating which of the plurality of requestors have requested access to the resource in a cycle;
receive priority information indicating which of the plurality of requestors have priority in the cycle;
select one of the plurality of requestors based on the active information and the priority information by:
determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle;
in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle, selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and output information identifying the selected requestor.
2. The arbiter of claim 1, wherein the requestor selection logic comprises logic that implements a binary decision tree configured to perform the selection.
IMA01-130419GB
21 02 19
3. The arbiter of claim 2, wherein the binary decision tree comprises a plurality of decision nodes and each decision node comprises only one logic gate that controls the population of that decision node.
4. The arbiter of claim 2 or claim 3, wherein the binary decision tree comprises a plurality of leaf nodes connected to one or more layers of decision nodes, and the requestor selection logic is configured to populate each leaf node with information corresponding to one of the plurality of requestors and the decision nodes are configured to perform the selection based on the information in the leaf nodes.
5. The arbiter of claim 4, wherein each node is configured to be populated with information identifying a requestor, information indicating whether that requestor has requested access to the resource in the current cycle and information indicating whether that requestor has requested access and has priority in the current cycle.
6. The arbiter of claim 4 or claim 5, wherein the requestor selection logic is configured to populate the leaf nodes with the information corresponding to the requestors in order.
7. The arbiter of claim 6, wherein each decision node is connected to two child nodes, one child node is populated with information corresponding to a higher ordered requestor and the other child node is populated with information corresponding to a lower ordered requestor, and each decision node is configured to be populated with information corresponding to the lower ordered requestor when the lower ordered requestor has requested access and has priority or the higher ordered requestor has not requested access, and is configured to be populated with information corresponding to the higher ordered requestor otherwise.
8. The arbiter of any preceding claim, wherein the priority information for the cycle is based on priority information for a previous cycle.
9. The arbiter of claim 8, wherein:
if the requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates that all higher ordered requestors in a first set of requestors relative to the requestor selected in the previous cycle have priority; and
IMA01-130419GB
21 02 19 if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates that all of the requestors in the first set of requestors have priority.
10. The arbiter of claim 8, wherein:
if a requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates a same set of requestors in a first set of requestors have priority in the cycle as in the previous cycle except the requestor selected in the previous cycle, and if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates that all requestors in the first set of requestors, except the requestor selected in the previous cycle, have priority.
11. The arbiter of claim 8, wherein:
if the requestor selected in the previous cycle had priority in the previous cycle, the priority information for the cycle indicates a same set of requestors in a first set of requestors have priority in the cycle as in the previous cycle, except the requestor selected in the previous cycle, and if the requestor selected in the previous cycle did not have priority in the previous cycle, the priority information for the cycle indicates those requestors in the first set of requestors that requested access to the resource in the previous cycle, but were not the selected requestor, have priority.
12. The arbiter of claim 8, wherein the priority information for the cycle comprises a priority region and a start of the priority region is shifted one requestor relative to a start of a priority region of the priority information for a previous cycle.
13. The arbiter of claim 12, wherein the start of the priority region of the priority information for the cycle is a next highest priority requestor relative to the start of the priority region of the priority information for the previous cycle.
14. The arbiter of any of claims 9 to 11, wherein the first set of requestors comprises all of the plurality of requestors.
IMA01-130419GB
21 02 19
15. The arbiter of any of claims 9 to 11, wherein the first set of requestors comprises all of the plurality of requestors except a highest ordered requestor, and the priority information for the cycle indicates that the highest ordered requestor does not have priority.
16. The arbiter of any preceding claim, wherein the requestor selection logic is configured to treat the highest ordered requestor as not having priority.
17. The arbiter of any preceding claim, further comprising priority selection logic configured to generate the priority information for the cycle.
18. The arbiter of any preceding claim, wherein the priority information comprises a bit for each of the plurality of requestors that indicates whether that requestor has priority in the cycle.
19. The arbiter of any preceding claim, wherein the active information comprises a bit for each of the plurality of requestors that indicates whether that requestor has requested access in the cycle.
20. A method of arbitrating between a plurality of ordered requestors and a shared resource in a computing system, the plurality of requestors being ordered from lowest to highest according to one or more criteria, the method comprising:
receiving active information indicating which of the plurality of requestors have requested access to the resource in a cycle;
receiving priority information indicating which of the plurality of requestors have priority in the cycle;
selecting one of the plurality of requestors that has requested access based on the active information and the priority information by:
determining whether there is at least one requestor that has requested access in the current cycle and has priority in the current cycle;
in response to determining that there is at least one requestor that has requested access in the current cycle and has priority in the current cycle,
IMA01-130419GB
21 02 19 selecting a lowest ordered requestor that has requested access in the current cycle and has priority in the current cycle; and in response to determining that there are no requestors that have requested access in the current cycle and have priority in the current cycle, selecting a highest ordered requestor that has requested access in the current cycle; and outputting information identifying the selected requestor.
21. The method of claim 20, wherein the selection is performed by populating a binary decision tree.
22. The method of claim 21, wherein the binary decision tree comprises a plurality of leaf nodes connected to one or more layers of decision nodes and populating the binary decision tree comprises directly populating the leaf nodes with information corresponding to one of the plurality of requestors and automatically populating the decision nodes with information corresponding to a requestor based on the information in the leaf nodes.
23. The method of claim 22, wherein populating a node with information corresponding to a requestor comprising populating the node with information identifying that requestor, information indicating whether that requestor has requested access to the resource in the current cycle, and information indicating whether that requestor has requested access and has priority in the current cycle.
24. The method of claim 22 or 23, wherein the leaf nodes are populated with the information corresponding to the requestors in order.
25. The method of claim 24, wherein each decision node is connected to two child nodes, one child node is populated with information corresponding to a higher ordered requestor and the other child node is populated with information corresponding to a lower ordered requestor, and each decision node is configured to be populated with information corresponding to the lower ordered requestor when the lower ordered requestor has requested access and has priority or the higher ordered requestor has not requested access, and is configured to be populated with information corresponding to the higher ordered requestor otherwise.
IMA01-130419GB
21 02 19
26. The method of any of claims 20 to 25, further comprising generating the priority information for the cycle.
27. The method of claim 26, wherein the priority information is generated based on priority information for a previous cycle.
28. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving information indicating a requestor selected in the previous cycle; and determining based on the information indicating the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in that cycle;
in response to determining that the requestor selected in the previous cycle had priority in that cycle, generating priority information for the cycle that indicates that all higher ordered requestors in a first set of requestors relative to the requestor selected in the previous cycle have priority; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates that all of the requestors in the first set of requestors have priority.
29. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving information identifying a requestor selected in the previous cycle;
determining based on the information identifying the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in the previous cycle;
IMA01-130419GB
21 02 19 in response to determining that the requestor selected in the previous cycle had priority in the previous cycle, generating priority information for the cycle that indicates a same set of requestors in a first set of requestors have priority as in the priority information for the previous cycle except the requestor selected in the previous cycle; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates all requestors in the first set of requestors except the requestor that was selected in the previous cycle have priority.
30. The method of claim 27, wherein generating the priority information for the cycle comprises:
receiving priority information for a previous cycle;
receiving active information for the previous cycle;
receiving information identifying a requestor selected in the previous cycle;
determining based on the information identifying the requestor selected in the previous cycle and the priority information for the previous cycle whether the requestor selected in the previous cycle had priority in the previous cycle;
in response to determining that the requestor selected in the previous cycle had priority in the previous cycle, generating priority information for the cycle that indicates a same set of requestors in a first set of requestors have priority as in the priority information for the previous cycle except the requestor selected in the previous cycle; and in response to determining that the requestor selected in the previous cycle did not have priority in the previous cycle, generating priority information for the cycle that indicates those requestors in the first set of requestors that requested access to the resource in the previous cycle but were not the selected requestor in the previous cycle have priority.
31. The method of claim 27, wherein generating the priority information for the cycle comprises:
IMA01-130419GB
21 02 19 receiving priority information for a previous cycle, the priority information for the previous cycle comprising a priority region having a start; and generating the priority information for the cycle such that a start of a priority region of the priority information for the cycle is shifted by one requestor relative to the start of the priority region of the priority information for the previous cycle.
32. The method of claim 31, wherein the start of the priority region of the priority information for the cycle is a next highest ordered requestor in a first set of requestors relative to the start of the priority region of the priority information of the previous cycle.
33. The method of any of claims 28 to 32, wherein the first set of requestors comprises all of the requestors of the plurality of requestors.
34. The method of any of claims 28 to 32, wherein the first set of requestors comprises all of the requestors of the plurality of requestors except the highest ordered requestor and the priority information for the cycle indicates that the highest ordered requestor does not have priority.
35. The method of any of claims 20 to 34, wherein the priority information comprises a bit for each of the plurality of requestors that indicates whether that requestor has priority in the cycle.
36. The method of any of claims 20 to 35, wherein the active information comprises a bit for each of the plurality of requestors that indicates whether that requestor has requested access in the cycle.
37. The arbiter of any of claims 1 to 19, wherein the arbiter is embodied in hardware on an integrated circuit.
38. A method of manufacturing, using an integrated circuit manufacturing system, an arbiter as claimed in any of claims 1 to 19.
39. A method of manufacturing, using an integrated circuit manufacturing system, an arbiter as claimed in any of claims 1 to 19, the method comprising:
IMA01-130419GB
21 02 19 processing, using a layout processing system, a computer readable description of the arbiter so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and manufacturing, using an integrated circuit generation system, the arbiter according to the circuit layout description
40. Computer readable code configured to cause the method of any of claims 20-36 and 38-39 to be performed when the code is run.
41. A computer readable storage medium having encoded thereon the computer readable code of claim 40.
42. An integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, configures the integrated circuit manufacturing system to manufacture an arbiter as claimed in any of claims 1 to 19.
43. A computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19 that, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to manufacture an integrated circuit embodying the arbiter.
44. A computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19 which, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to:
process, using a layout processing system, the computer readable description of the arbiter so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and manufacture, using an integrated circuit generation system, the arbiter according to the circuit layout description.
45. An integrated circuit manufacturing system configured to manufacture an arbiter as claimed in any of claims 1 to 19.
46. An integrated circuit manufacturing system comprising:
a computer readable storage medium having stored thereon a computer readable description of an arbiter as claimed in any of claims 1 to 19;
IMA01-130419GB a layout processing system configured to process the computer readable description so as to generate a circuit layout description of an integrated circuit embodying the arbiter; and an integrated circuit generation system configured to manufacture the arbiter according to the circuit layout description.
GB1804750.6A 2018-03-23 2018-03-23 Arbitration systems and methods Active GB2568124B (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
GB1804750.6A GB2568124B (en) 2018-03-23 2018-03-23 Arbitration systems and methods
CN201910223726.4A CN110297782B (en) 2018-03-23 2019-03-22 Arbitration system and method
EP19164736.1A EP3543862B1 (en) 2018-03-23 2019-03-22 Common priority information for multiple resource arbitration
EP19164571.2A EP3543861B1 (en) 2018-03-23 2019-03-22 Arbitration systems and methods
CN201910222612.8A CN110297710B (en) 2018-03-23 2019-03-22 Common priority information for multiple resource arbitration
US16/362,902 US10901922B2 (en) 2018-03-23 2019-03-25 Arbitrating requests for access to a computer resource by ordered requestors
US16/362,960 US20190294475A1 (en) 2018-03-23 2019-03-25 Common Priority Information for Multiple Resource Arbitration
US17/153,620 US11422953B2 (en) 2018-03-23 2021-01-20 Arbitrating requests for access to a computer resource by ordered requestors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB1804750.6A GB2568124B (en) 2018-03-23 2018-03-23 Arbitration systems and methods

Publications (3)

Publication Number Publication Date
GB201804750D0 GB201804750D0 (en) 2018-05-09
GB2568124A true GB2568124A (en) 2019-05-08
GB2568124B GB2568124B (en) 2020-07-01

Family

ID=62068229

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1804750.6A Active GB2568124B (en) 2018-03-23 2018-03-23 Arbitration systems and methods

Country Status (1)

Country Link
GB (1) GB2568124B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3882764A1 (en) * 2020-03-20 2021-09-22 Imagination Technologies Limited Priority based arbitration
EP3882780A1 (en) * 2020-03-20 2021-09-22 Imagination Technologies Limited Priority based arbitration
GB2605282A (en) * 2020-03-20 2022-09-28 Imagination Tech Ltd Priority based arbitration
GB2605283A (en) * 2020-03-20 2022-09-28 Imagination Tech Ltd Priority based arbitration
GB2617688A (en) * 2020-03-20 2023-10-18 Imagination Tech Ltd Priority based arbitration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229743A1 (en) * 2002-06-05 2003-12-11 Brown Andrew C. Methods and structure for improved fairness bus arbitration
US20050011415A1 (en) * 2001-12-03 2005-01-20 Gaspar Herban Material comprising gypsum and blast furnace slag, a process and an installation of making the same
US20110153892A1 (en) * 2009-12-22 2011-06-23 Seiko Epson Corporation Access arbitration apparatus, integrated circuit device, electronic apparatus, access arbitration method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7382794B1 (en) * 2003-07-24 2008-06-03 Alcatel Lucent Parallel round-robin arbiter system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050011415A1 (en) * 2001-12-03 2005-01-20 Gaspar Herban Material comprising gypsum and blast furnace slag, a process and an installation of making the same
US20030229743A1 (en) * 2002-06-05 2003-12-11 Brown Andrew C. Methods and structure for improved fairness bus arbitration
US20110153892A1 (en) * 2009-12-22 2011-06-23 Seiko Epson Corporation Access arbitration apparatus, integrated circuit device, electronic apparatus, access arbitration method, and program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3882764A1 (en) * 2020-03-20 2021-09-22 Imagination Technologies Limited Priority based arbitration
GB2593210A (en) * 2020-03-20 2021-09-22 Imagination Tech Ltd Priority based arbitration
EP3882780A1 (en) * 2020-03-20 2021-09-22 Imagination Technologies Limited Priority based arbitration
GB2593211A (en) * 2020-03-20 2021-09-22 Imagination Tech Ltd Priority based arbitration
GB2593211B (en) * 2020-03-20 2022-06-01 Imagination Tech Ltd Priority based arbitration
GB2593210B (en) * 2020-03-20 2022-06-01 Imagination Tech Ltd Priority based arbitration
GB2605282A (en) * 2020-03-20 2022-09-28 Imagination Tech Ltd Priority based arbitration
GB2605283A (en) * 2020-03-20 2022-09-28 Imagination Tech Ltd Priority based arbitration
US11507436B2 (en) 2020-03-20 2022-11-22 Imagination Technologies Limited Priority based arbitration
GB2605283B (en) * 2020-03-20 2023-03-22 Imagination Tech Ltd Priority based arbitration
GB2605282B (en) * 2020-03-20 2023-04-19 Imagination Tech Ltd Priority based arbitration
GB2617688A (en) * 2020-03-20 2023-10-18 Imagination Tech Ltd Priority based arbitration
US11829305B2 (en) 2020-03-20 2023-11-28 Imagination Technologies Limited Priority based arbitration
US11853811B2 (en) 2020-03-20 2023-12-26 Imagination Technologies Limited Priority based arbitration between shared resource requestors using priority vectors and binary decision tree

Also Published As

Publication number Publication date
GB2568124B (en) 2020-07-01
GB201804750D0 (en) 2018-05-09

Similar Documents

Publication Publication Date Title
US11422953B2 (en) Arbitrating requests for access to a computer resource by ordered requestors
US11157592B2 (en) Hardware implementation of convolutional layer of deep neural network
GB2568124A (en) Arbitration systems and methods
GB2567027A (en) Common priority information for multiple resource arbitration
US11281827B1 (en) Optimization of parameters for synthesis of a topology using a discriminant function module
EP3388940B1 (en) Parallel computing architecture for use with a non-greedy scheduling algorithm
US20210349838A1 (en) Priority Based Arbitration
US20230085669A1 (en) Priority based arbitration between shared resource requestors using priority vectors and binary decision tree
US20240078194A1 (en) Sorting memory address requests for parallel memory access using input address match masks
GB2582868A (en) Hardware implementation of convolution layer of deep neural network
GB2605282A (en) Priority based arbitration
US20070204083A1 (en) Bus arbitration method and computer-readable medium
GB2605283A (en) Priority based arbitration
US20220015108A1 (en) Wireless Communication Module Event Selection
GB2617688A (en) Priority based arbitration