CN103136142A - Bus arbitration method - Google Patents
Bus arbitration method Download PDFInfo
- Publication number
- CN103136142A CN103136142A CN2013100691236A CN201310069123A CN103136142A CN 103136142 A CN103136142 A CN 103136142A CN 2013100691236 A CN2013100691236 A CN 2013100691236A CN 201310069123 A CN201310069123 A CN 201310069123A CN 103136142 A CN103136142 A CN 103136142A
- Authority
- CN
- China
- Prior art keywords
- bus
- arbitration
- request
- equipment
- bus arbitration
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Abstract
The invention provides a bus arbitration method comprises a bus and a system device mounted on the bus. The bus is provided with a bus arbitration logic and a device priority logic. The bus arbitration method includes the specific steps that the system device sends a bus arbitration request application, and the bus occupies in sequence after the bus arbitration passes; when some device requests priority, the device requesting priority sends a request to the bus, and the device has the priority for occupancy after the bus permits; when the device finishes prior occupancy, the bus arbitration order is restored; and when the bus finishes the occupancy, the bus occupancy is released and the bus waits for next application. Compared with the prior art, the bus arbitration method has the advantages of being capable of improving the running speed of a system, conveniently allowing the system to provide fast bus arbitration, ensuring arbitration process in order and avoiding long waiting time.
Description
Technical field
The present invention relates to field of computer technology, specifically utilize a kind of method of bus arbitration.
Background technology
Along with the fast development of microelectric technique, on same chip, integrated increasing functional module, interconnect by bus mode between each module of chip internal and communicate by letter.Therefore, on-chip bus arbitration framework also becomes as the key factor that affects chip-on communication efficient the bottleneck that the system for restricting performance improves.How to design a efficient on-chip bus arbitration device, solve main equipment to the competition conflict of bus resource, become the key of this problem.Design a efficient bus arbiter, at first must design a kind of efficient arbitration algorithm, and then its hardware is realized just can designing corresponding arbitration device.In current SOC chip, on-chip bus is the most critical system resource that collaborative a plurality of equipment carry out parallel processing, is also one of bottleneck of system performance.The arbitration of on-chip bus is for the competition that solves many equipment shared bus resource and reasonable fair efficient allocation bus resource.Bus arbitration is the necessary guarantee that improves total line use ratio.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, and a kind of method of bus arbitration of Simple fast is provided.
Technical scheme of the present invention realizes in the following manner, and the method for this a kind of bus arbitration comprises bus, the carry system equipment on bus, and described bus is provided with bus arbitration logic, priority facility logic, and its detailed process is:
1) system equipment sends the application of request bus arbitration, and after bus arbitration passed through, bus took, and this bus takies according to sequencing;
2) when having device request preferential, ask preferential equipment to send request to bus, bus preferentially takies after allowing;
3) preferentially take complete after, recovering step 1) in bus arbitration order;
4) complete bus and take, bus takies release, and bus is waited for application next time.
The detailed step of described step 1) is: system equipment first sends bus request, and bus arbitration logic is according to the request of fairness doctrine arbitration equipment, if request is allowed by bus, system equipment takies data bus and address bus, otherwise, need request again.
Described step 2) detailed step is: if system runs into accident, when needing certain particular device, this equipment is filed a request to the priority facility logic, and the priority facility logic gives the equipment highest priority, allows thereby obtain bus.
The beneficial effect that the present invention compared with prior art produces is:
The method of a kind of bus arbitration of the present invention has improved the travelling speed of system, facilitates system to make fast bus arbitration, and arbitrated procedure is unexpectedly orderly, avoids occurring high latency.
Description of drawings
Accompanying drawing 1 is structural representation of the present invention.
Accompanying drawing 2 is arbitrated procedure process flow diagrams of the present invention.
Embodiment
Be described in detail below below in conjunction with the method for accompanying drawing to a kind of bus arbitration of the present invention.
On common centralized arbitration logic, add the priority facility logic, as accompanying drawing 1, shown in Figure 2, a kind of method of bus arbitration now is provided, comprise bus, the carry system equipment on bus, described bus is provided with bus arbitration logic, priority facility logic, and its detailed process is:
1) system equipment sends the application of request bus arbitration, and after bus arbitration passed through, bus took, and this bus takies according to sequencing;
2) when having device request preferential, ask preferential equipment to send request to bus, bus preferentially takies after allowing;
3) preferentially take complete after, recovering step 1) in bus arbitration order;
4) complete bus and take, bus takies release, and bus is waited for application next time.
The detailed step of described step 1) is: system equipment first sends bus request, and bus arbitration logic is according to the request of fairness doctrine arbitration equipment, if request is allowed by bus, system equipment takies data bus and address bus, otherwise, need request again.
Described step 2) detailed step is: if system runs into accident, when needing certain particular device, this equipment is filed a request to the priority facility logic, and the priority facility logic gives the equipment highest priority, allows thereby obtain bus.
Claims (3)
1. the method for a bus arbitration, it is characterized in that: comprise bus, the carry system equipment on bus, described bus is provided with bus arbitration logic, priority facility logic, and its detailed process is:
1) system equipment sends the application of request bus arbitration, and after bus arbitration passed through, bus took, and this bus takies according to sequencing;
2) when having device request preferential, ask preferential equipment to send request to bus, bus preferentially takies after allowing;
3) preferentially take complete after, recovering step 1) in bus arbitration order;
4) complete bus and take, bus takies release, and bus is waited for application next time.
2. the method for a kind of bus arbitration according to claim 1, it is characterized in that: the detailed step of described step 1) is: system equipment first sends bus request, bus arbitration logic is according to the request of fairness doctrine arbitration equipment, if request is allowed by bus, system equipment takies data bus and address bus, otherwise, need request again.
3. the method for a kind of bus arbitration according to claim 1 and 2, it is characterized in that: detailed step described step 2) is: if system runs into accident, when needing certain particular device, this equipment is filed a request to the priority facility logic, the priority facility logic gives the equipment highest priority, allows thereby obtain bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100691236A CN103136142A (en) | 2013-03-05 | 2013-03-05 | Bus arbitration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100691236A CN103136142A (en) | 2013-03-05 | 2013-03-05 | Bus arbitration method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103136142A true CN103136142A (en) | 2013-06-05 |
Family
ID=48495986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100691236A Pending CN103136142A (en) | 2013-03-05 | 2013-03-05 | Bus arbitration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103136142A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794079A (en) * | 2015-03-31 | 2015-07-22 | 华为技术有限公司 | Bus arbitration method, device and system |
CN105589818A (en) * | 2015-07-17 | 2016-05-18 | 杭州华三通信技术有限公司 | Electronic device and access control method for same |
CN106066836A (en) * | 2015-04-20 | 2016-11-02 | Ls产电株式会社 | Data transmission and reception system |
CN106155971A (en) * | 2016-07-04 | 2016-11-23 | 锐捷网络股份有限公司 | The referee method of I2C bus and device |
CN107729273A (en) * | 2017-09-08 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of bus logic arbitration device and method |
CN110674065A (en) * | 2019-10-09 | 2020-01-10 | 上海钧正网络科技有限公司 | Method and system for competitive arbitration on bus |
CN110753001A (en) * | 2019-10-25 | 2020-02-04 | 珠海格力电器股份有限公司 | Method and device for efficiently transmitting data and storage medium |
CN111478840A (en) * | 2020-04-15 | 2020-07-31 | 联合华芯电子有限公司 | Double-rate arbitration relay device for bus system |
CN112491680A (en) * | 2020-12-10 | 2021-03-12 | 上海镭隆科技发展有限公司 | Novel middle-layer FPGA (field programmable Gate array) bus arbitration mechanism and implementation method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661579A (en) * | 2004-02-25 | 2005-08-31 | 中国科学院计算技术研究所 | Bus arbiter based on dynamic priority and method for dynamic changing priority |
CN102722466A (en) * | 2012-06-05 | 2012-10-10 | 天津市英贝特航天科技有限公司 | 16-bit multibus circuit in 2 in 3 or 2 in 2 control system |
-
2013
- 2013-03-05 CN CN2013100691236A patent/CN103136142A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661579A (en) * | 2004-02-25 | 2005-08-31 | 中国科学院计算技术研究所 | Bus arbiter based on dynamic priority and method for dynamic changing priority |
CN102722466A (en) * | 2012-06-05 | 2012-10-10 | 天津市英贝特航天科技有限公司 | 16-bit multibus circuit in 2 in 3 or 2 in 2 control system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794079A (en) * | 2015-03-31 | 2015-07-22 | 华为技术有限公司 | Bus arbitration method, device and system |
CN106066836A (en) * | 2015-04-20 | 2016-11-02 | Ls产电株式会社 | Data transmission and reception system |
CN106066836B (en) * | 2015-04-20 | 2019-02-05 | Ls产电株式会社 | Data transmission and reception system |
US10049065B2 (en) | 2015-04-20 | 2018-08-14 | Lsis Co., Ltd. | Data transmission and reception system |
CN105589818B (en) * | 2015-07-17 | 2018-12-11 | 新华三技术有限公司 | Electronic equipment and access control method for electronic equipment |
CN105589818A (en) * | 2015-07-17 | 2016-05-18 | 杭州华三通信技术有限公司 | Electronic device and access control method for same |
CN106155971A (en) * | 2016-07-04 | 2016-11-23 | 锐捷网络股份有限公司 | The referee method of I2C bus and device |
CN107729273A (en) * | 2017-09-08 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of bus logic arbitration device and method |
CN107729273B (en) * | 2017-09-08 | 2021-02-02 | 苏州浪潮智能科技有限公司 | Bus logic arbitration device and method |
CN110674065A (en) * | 2019-10-09 | 2020-01-10 | 上海钧正网络科技有限公司 | Method and system for competitive arbitration on bus |
CN110674065B (en) * | 2019-10-09 | 2021-01-15 | 上海钧正网络科技有限公司 | Method and system for competitive arbitration on bus |
CN110753001A (en) * | 2019-10-25 | 2020-02-04 | 珠海格力电器股份有限公司 | Method and device for efficiently transmitting data and storage medium |
CN111478840A (en) * | 2020-04-15 | 2020-07-31 | 联合华芯电子有限公司 | Double-rate arbitration relay device for bus system |
CN112491680A (en) * | 2020-12-10 | 2021-03-12 | 上海镭隆科技发展有限公司 | Novel middle-layer FPGA (field programmable Gate array) bus arbitration mechanism and implementation method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136142A (en) | Bus arbitration method | |
US8676976B2 (en) | Microprocessor with software control over allocation of shared resources among multiple virtual servers | |
CN101547150B (en) | method and device for scheduling data communication input port | |
CN103198856A (en) | DDR (Double Data Rate) controller and request scheduling method | |
EP3235195B1 (en) | Spatially divided circuit-switched channels for a network-on-chip | |
US9992042B2 (en) | Pipelined hybrid packet/circuit-switched network-on-chip | |
CN103559045A (en) | Hardware real-time operation system | |
WO2016078307A1 (en) | Configurable on-chip interconnection system and method and apparatus for implementing same, and storage medium | |
CN203590251U (en) | FlexRay control system based on serial RapidIO bus | |
WO2008137047A8 (en) | Method and apparatus for offloading network processes in a computer storage system | |
CN101930422A (en) | Multi-core CPU interconnection structure based on multilayer AHB bus | |
CN204256732U (en) | The high-speed data transmission apparatus of Based PC I-Express interface | |
CN103425434B (en) | The circuit of a kind of multichannel read/write RAM and method | |
US11496418B1 (en) | Packet-based and time-multiplexed network-on-chip | |
CN107908463B (en) | Task decomposition and parallel processing method | |
CN106933663B (en) | A kind of multithread scheduling method and system towards many-core system | |
CN201230328Y (en) | Network system based on three layer architecture | |
CN102122367A (en) | High-capacity SIM card system architecture | |
CN105306948A (en) | Method and system for decoding multi-process video | |
Mohan et al. | A Dynamic Priority Based Arbitration Algorithm | |
CN103631659A (en) | Schedule optimization method for communication energy consumption in on-chip network | |
CN108199864A (en) | A kind of bandwidth allocation methods based on the transmission of PCIe transaction layer data | |
WO2022193108A1 (en) | Integrated chip and data transfer method | |
US10728331B2 (en) | Techniques for dynamic cache use by an input/output device | |
CN106502947A (en) | A kind of multiprocessor computer task dynamic allocation method based on VPX buses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130605 |