KR101167245B1 - Method and apparatus for arbitrating bus using arbitration parameter changed in real-time - Google Patents

Method and apparatus for arbitrating bus using arbitration parameter changed in real-time Download PDF

Info

Publication number
KR101167245B1
KR101167245B1 KR1020060138781A KR20060138781A KR101167245B1 KR 101167245 B1 KR101167245 B1 KR 101167245B1 KR 1020060138781 A KR1020060138781 A KR 1020060138781A KR 20060138781 A KR20060138781 A KR 20060138781A KR 101167245 B1 KR101167245 B1 KR 101167245B1
Authority
KR
South Korea
Prior art keywords
bus
arbitration
masters
parameter
monitoring
Prior art date
Application number
KR1020060138781A
Other languages
Korean (ko)
Other versions
KR20080062701A (en
Inventor
나경석
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020060138781A priority Critical patent/KR101167245B1/en
Publication of KR20080062701A publication Critical patent/KR20080062701A/en
Application granted granted Critical
Publication of KR101167245B1 publication Critical patent/KR101167245B1/en

Links

Images

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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/4031Coupling between buses using bus bridges with arbitration
    • G06F13/4036Coupling between buses using bus bridges with arbitration and deadlock prevention
    • 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
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Bus Control (AREA)

Abstract

시스템 온 칩 버스 시스템의 상황을 실시간으로 모니터링한 결과에 따라 버스 마스터들을 중재할 수 있는 버스 중재기 및 버스 중재 방법이 제공된다. 각 버스 마스터들은 버스 요청 신호를 발생하고, 버스 요청 신호에 상응하여 발생되는 버스 요청 허가 신호에 응답하여 버스를 점유한다. 버스 중재기는 버스 마스터들의 대역폭 요구량 및 레이턴시 중 적어도 하나를 실시간으로 모니터링하고 모니터링 신호를 출력하는 버스 모니터링부, 중재 파라미터를 저장하기 위한 파라미터 테이블, 버스 모니터링부에서부터 수신된 모니터링 신호에 기반하여 중재 파라미터를 갱신하기 위한 파라미터 갱신부, 중재 파라미터를 이용하여 우선 순위에 관련된 중재 정책을 결정하기 위한 중재 정책 결정부, 및 중재 정책 결정부로부터 수신된 중재 정책 및 파라미터 테이블에 저장된 중재 파라미터에 기반하여 버스 요청 허가 신호를 발생하는 허가 결정부를 포함한다. 버스 마스터들의 동작 상황을 버스 중재시 반영할 수 있으므로, 다양한 사용자 요구에 부합된다. A bus arbiter and a bus arbitration method are provided that can arbitrate bus masters according to the result of real-time monitoring of the situation of the system-on-chip bus system. Each bus master generates a bus request signal and occupies the bus in response to a bus request grant signal generated corresponding to the bus request signal. The bus arbiter includes a bus monitoring unit for monitoring at least one of bandwidth demand and latency of bus masters in real time and outputting a monitoring signal, a parameter table for storing arbitration parameters, and an arbitration parameter based on the monitoring signal received from the bus monitoring unit An arbitration policy decision unit for determining an arbitration policy related to a priority using an arbitration parameter, and an arbitration policy decision unit for determining a bus request permission based on the arbitration policy and parameters stored in the parameter table received from the arbitration policy decision unit, And a permission determination unit for generating a signal. Since the operation status of bus masters can be reflected in bus arbitration, it meets various user demands.

Description

실시간으로 변경되는 중재 파라미터를 이용한 버스 중재 장치 및 중재 방법{Method and apparatus for arbitrating bus using arbitration parameter changed in real-time}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus arbitration apparatus and an arbitration method using arbitration parameters changed in real-

도 1은 종래 기술에 의한 버스 중재기의 동작을 개념적으로 나타내는 블록도이다. 1 is a block diagram conceptually showing the operation of a bus arbiter according to the prior art.

도 2는 본 발명의 일면에 의한 버스 중재기의 동작을 개념적으로 나타내는 블록도이다. 2 is a block diagram conceptually illustrating an operation of a bus arbiter according to an embodiment of the present invention.

도 3은 본 발명의 다른 면에 의한 버스 중재 방법을 나타내는 흐름도이다. 3 is a flowchart showing a bus arbitration method according to another aspect of the present invention.

도 4는 도 3에 도시된 중재 파라미터 갱신 단계를 상세하게 나타내는 흐름도이다. 4 is a flow chart showing in detail the arbitration parameter update step shown in FIG.

본 발명은 SOC(System On a Chip) 시스템 내의 버스 중재기 및 버스 중재 방법에 관한 것으로서, 특히, 버스 점유 허용량이나 우선 순위가 고정되어 있는, 혹은 프로그래밍 가능하더라도 실시간적인 변경은 불가능한 기존의 중재 방법에서 벗어나 동작 중인 버스의 상황을 실시간으로 모니터링하고 그에 따라 버스 점유 허용량이나 우선 순위를 실시간으로 변경할 수 있는 버스 중재 장치 및 버스 중재 방법에 관한 것이다.The present invention relates to a bus arbiter and a bus arbitration method in a system on a chip (SOC) system, and more particularly, to a bus arbitrator and a bus arbitration method in a system on a chip And more particularly, to a bus arbitration apparatus and bus arbitration method capable of real-time monitoring of the state of a bus in operation and changing the allowable bus occupancy amount or priority in real time.

다양한 정보를 처리하기 위하여, 영상 처리 장치 등의 정보 처리 장치들은 데이터 및 제어 신호를 송수신하기 위하여 버스(bus)를 이용한다. 신호 처리 장치, 제어부, 사용자 조작부 등의 다양한 장치의 구성 요소들은 이러한 버스를 통하여 상호 연결되어 정보를 전달할 수 있다. 다양한 구성 요소들이 하나 또는 적은 수의 버스를 공유하여 이용함으로써, 장치의 제조 비용이 절감됨은 물론, 레이아웃이 소형화되는 등 다양한 장점을 가진다. 그런데, 여러 개의 구성 요소들이 동일한 버스를 공유하기 때문에, 동시에 여러 개의 장치가 동일한 버스에 액세스하고자 할 때 충돌 현상이 발생한다. 충돌 현상이 발생하면 소중한 데이터가 손실될 수 있고, 전체적인 데이터 처리 속도가 지연되므로 충돌없이 여러 구성 요소들이 동일한 버스에 액세스하도록 하기 위한 중재 방법이 중요하다. In order to process various information, information processing apparatuses such as image processing apparatuses use a bus to transmit and receive data and control signals. Components of various devices such as a signal processing unit, a control unit, and a user's operation unit can be interconnected to transmit information through such a bus. Various components share a single or a small number of buses, thereby reducing the manufacturing cost of the apparatus and reducing the size of the layout. However, since several components share the same bus, a collision occurs when several devices attempt to access the same bus at the same time. In the event of a collision, valuable data can be lost, and the overall data processing speed is delayed, so it is important to have an arbitration method that allows multiple components to access the same bus without collision.

도 1은 종래 기술에 의한 버스 중재기의 동작을 개념적으로 나타내는 블록도이다. 1 is a block diagram conceptually showing the operation of a bus arbiter according to the prior art.

도 1에 도시된 SOC 버스 시스템은 메인 메모리로부터 데이터를 입출력하는 버스, 버스에 액세스하는 세 개의 버스 마스터들, 해당 버스로의 효율적인 액세스를 위한 버스 중재기(arbiter), 및 메모리 인터페이스를 포함한다. 또한, 버스 중재기는 중재 정책 저장부, 파라미터 테이블, 및 허가 결정부를 포함한다. 중재 정책(arbitration policy) 저장부는 도 1에 도시된 SOC 버스 시스템에 적용될 수 있는 다양한 중재 알고리즘을 하드웨어적으로 저장한다. 파라미터 테이블은 중재 정 책 저장부에 저장된 다양한 중재 정책들에 적용되기 위한 중재 파라미터들을 저장한다. 중재 파라미터에는 우선 순위, 버스 점유 허용량, 다중 레벨 구조에서 레벨의 위치 선정 등의 값이 포함된다. 허가 결정부는 중재 정책 저장부에 저장된 중재 정책들 중에서 선택된 중재 정책을 이용하여 여러 개의 버스 요청 신호들 중 하나를 선택하여 액세스를 허가한다. The SOC bus system shown in Fig. 1 includes a bus for inputting and outputting data from main memory, three bus masters for accessing the bus, a bus arbiter for efficient access to the bus, and a memory interface. The bus arbiter also includes an arbitration policy storage unit, a parameter table, and an authorization decision unit. The arbitration policy storage unit stores various arbitration algorithms that can be applied to the SOC bus system shown in FIG. 1 in hardware. The parameter table stores arbitration parameters to be applied to various arbitration policies stored in the arbitration policy store. The arbitration parameters include values such as priority, bus occupancy, location of the level in the multilevel structure, and the like. The grant decision unit selects one of the plurality of bus request signals using the arbitration policy selected from the arbitration policies stored in the arbitration policy storage unit to grant access.

중재 정책에는 다양한 방법들이 있으며, 대표적인 것들로는 고정 우선 순위(fixed priority) 방식, 라운드 로빈(round robin) 방식, 및 시분할 다중화(TDM, time division multiplexing) 방식이 있다. 일반적으로 하나의 SOC 버스 시스템에는 하나의 중재 정책만이 적용되지만, 좀더 효율적으로 버스를 관리하기 위하여 하나 이상의 중재 정책이 결합되어 적용될 수도 있다. There are various methods of arbitration policy. Typical examples of the arbitration policy include a fixed priority method, a round robin method, and a time division multiplexing (TDM) method. In general, only one arbitration policy is applied to one SOC bus system, but one or more arbitration policies may be combined and applied to manage buses more efficiently.

그런데, 도 1에 도시된 버스 중재기에서, 중재 정책 저장부에 저장되는 중재 정책 및 파라미터 테이블에 저장되는 중재 파라미터들(우선 순위, 점유 허용량 등)은 일반적으로 특정되거나 고정된다. 예를 들면, 버스 마스터 1 및 버스 마스터 2가 동작 중이고 전체 동작 시간 중에 특정 시점에서 버스 마스터 1이 더 많은 버스 사용권을 요청하는 반면 다른 시점에서는 버스 마스터 2가 더 많은 버스 사용권을 요청한다고 가정한다. 이 경우, 도 1에 도시된 버스 중재기는 실시간으로 중재 방법에 필요한 파라미터 값들이 변경되지 않기 때문에 버스 마스터 1 및 버스 마스터 2 중 어느 한 쪽에 더 높은 우선 순위를 부여할 수 없다. 또한, 버스 마스터의 개수가 많아지면 많아질수록 최적의 중재 파라미터를 설정하는 것이 더욱 곤란하다. 뿐만 아니라, 설정된 우선 순위도 SOC 버스 시스템이 동작하는 동안 실시간으 로 요구량이 변하는 버스 마스터들의 요구를 정확히 충족시키기 어렵다. However, in the bus arbiter shown in FIG. 1, the arbitration policies stored in the arbitration policy storage and the arbitration parameters (priority, occupancy allowable amount, etc.) stored in the parameter table are generally specified or fixed. For example, assume that bus master 1 and bus master 2 are operating and that bus master 1 requests more bus usage rights at a particular point in time during the entire operating time, while at another point bus master 2 requests more bus usage rights. In this case, the bus arbiter shown in FIG. 1 can not give higher priority to either bus master 1 or bus master 2 because the parameter values necessary for the arbitration method are not changed in real time. Further, as the number of bus masters increases, it becomes more difficult to set the optimum arbitration parameters. In addition, the set priorities are also difficult to exactly meet the demands of bus masters whose demand varies in real time while the SOC bus system is operating.

즉, 중재 방법이나 중재에 필요한 파라미터 값들이 고정되어 있는 기존의 방식은 버스 마스터들의 일정하지 않고 시시각각 변하는 복잡한 메모리 액세스 패턴을 효과적으로 중재하기에 적합하지 않다. 시스템이 점점 더 복잡해짐에 따라 각각의 버스 마스터들이 요구하는 데이터의 대역폭 요구량(bandwidth requiring amount)은 점점 증가되는 추세이고 복잡한 기능을 수행하기 위해서 메모리 액세스 패턴 또한 점점 더 복잡해지는 추세에 있다. 그러므로, 이러한 다양한 요구 조건을 충족시키기 위하여, 한정된 버스 대역폭 내에서 효율적으로 중재 동작을 수행하는 것은 물론, 각 마스터들의 액세스 패턴을 실시간으로 모니터링하여 해당 시점에 가장 이상적인 중재 파라미터 값들을 찾아내는 것이 필요하다. That is, the conventional method, in which the arbitration method or the parameter values necessary for arbitration are fixed, is not suitable for effectively arbitrating the uneven and varying complex memory access patterns of the bus masters. As the system becomes more and more complex, the bandwidth required amount of data required by each bus master is gradually increasing, and the memory access pattern is becoming more and more complicated to perform complicated functions. Therefore, in order to satisfy these various requirements, it is necessary to efficiently perform the arbitration operation within a limited bus bandwidth, and also to monitor the access patterns of the masters in real time to find the most ideal arbitration parameter values at that time.

따라서, 복수 개의 버스 마스터들을 효과적으로 중재하기 위한 중재 기술로서, 동작 상황에 따라 실시간에 가깝게 중재 파라미터를 갱신하고, 갱신된 중재 파라미터를 이용하여 버스 마스터들을 제어하기 위한 기술이 절실히 요구된다. Therefore, as an arbitration technique for efficiently arbitrating a plurality of bus masters, there is a desperate need for a technique for updating arbitration parameters close to real time according to the operation status and controlling bus masters using updated arbitration parameters.

본 발명의 목적은 메모리에 액세스하기 위하여 다양한 버스 마스터들이 버스 시스템에 연결되어 SOC 버스 시스템 구조에서, 실시간으로 버스 마스터들의 버스 점유율을 모니터링하여 해당 정보를 중재시에 반영하기 위한 장치 및 방법을 제공하는 것이다. It is an object of the present invention to provide an apparatus and method for monitoring various bus masters of bus masters in real time in a structure of an SOC bus system to be connected to various bus masters to access memory, will be.

또한, 본 발명의 다른 목적은 버스 중재에 필요한 중재 파라미터들을 가변함으로써, 버스 성능을 향상시킬 수 있는 버스 중재 방법을 제공하는 것이다. It is another object of the present invention to provide a bus arbitration method capable of improving bus performance by varying arbitration parameters necessary for bus arbitration.

뿐만 아니라, 본 발명의 또다른 목적은 버스 요청의 소요 레이턴시 값이 중요한 버스 마스터 및 평균적인 버스 점유율이 중요한 버스 마스터를 각각 별개로 중재함으로써 중재 효율을 향상시키는 버스 중재기를 제공하는 것이다. Yet another object of the present invention is to provide a bus arbiter which improves the arbitration efficiency by separately mediating the bus master with the required latency value of the bus request and the bus master whose average bus occupancy is important.

상기와 같은 목적들을 달성하기 위한 본 발명의 일면은, 버스 요청 신호를 발생하고, 버스 요청 신호에 상응하여 발생되는 버스 요청 허가 신호에 따라 버스를 점유하는 복수의 버스 마스터들을 중재하기 위한 버스 중재 장치에 관한 것으로서, 본 발명의 일면에 따르는 버스 중재 장치는 버스 마스터들의 대역폭 요구량 및 레이턴시 중 적어도 하나를 실시간으로 모니터링하여 모니터링 신호를 출력하는 버스 모니터링부, 및 버스 모니터링부로부터 출력되는 모니터링 신호에 기반하여 버스 마스터들의 중재 파라미터들을 갱신하고, 갱신된 중재 파라미터들 및 소정의 중재 정책에 따라서 버스 요청 허가 신호를 복수의 버스 마스터들에 선택적으로 송신하는 버스 중재기를 포함하는 것을 특징으로 한다. 특히, 본 발명의 일면에 의한 버스 중재기는, 중재 파라미터를 저장하기 위한 파라미터 테이블, 버스 모니터링부에서부터 수신된 모니터링 신호에 기반하여 중재 파라미터를 갱신하기 위한 파라미터 갱신부, 중재 파라미터에 적용하기 위한 중재 정책을 결정하기 위한 중재 정책 결정부, 및 중재 정책 결정부로부터 수신된 중재 정책 및 파라미터 테이블에 저장된 중재 파라미터에 기반하여 버스 요청 허가 신호를 발생하는 허가 결정부를 포함하는 것을 특징으로 한다. According to an aspect of the present invention, there is provided a bus arbitration apparatus for arbitrating a plurality of bus masters that generate a bus request signal and occupy a bus in response to a bus request permission signal generated in response to a bus request signal, A bus arbitration apparatus according to an aspect of the present invention includes a bus monitoring unit for monitoring at least one of a bandwidth requirement and a latency of bus masters in real time and outputting a monitoring signal, And a bus arbiter for updating the arbitration parameters of the bus masters and selectively transmitting the bus request grant signal to the plurality of bus masters in accordance with the updated arbitration parameters and a predetermined arbitration policy. In particular, the bus arbiter according to one aspect of the present invention includes a parameter table for storing arbitration parameters, a parameter update unit for updating an arbitration parameter based on the monitoring signal received from the bus monitoring unit, an arbitration policy And an authorization decision unit for generating a bus request permission signal based on the arbitration parameters stored in the arbitration policy and parameter table received from the arbitration policy decision unit.

상기와 같은 목적들을 달성하기 위한 본 발명의 다른 면은, 버스 요청 신호를 발생하고 상기 버스 요청 신호에 상응하여 발생되는 버스 요청 허가 신호에 따라 버스를 점유하는 복수의 버스 마스터의 버스 점유를 중재하기 위한 버스 중재 방법에 관한 것으로서, 본 발명의 다른 면에 따른 버스 중재 방법은, 버스 마스터들의 우선 순위를 결정하기 위한 우선 순위 결정 정보를 실시간으로 모니터링하는 모니터링 단계, 모니터링된 우선 순위 결정 정보에 기반하여 중재 파라미터를 실시간으로 갱신하는 갱신 단계, 및 갱신된 중재 파라미터 및 소정의 중재 정책에 따라 버스 요청 허가 신호를 복수의 버스마스터에 선택적으로 송신함으로써 복수의 버스 마스터의 버스 점유를 중재하기 위한 중재 단계를 포함한다. 특히, 우선 순위 결정 정보는 버스 마스터들의 대역폭 요구량 및 레이턴시 중 적어도 하나인 것을 특징으로 한다. 뿐만 아니라, 우선 순위 결정 정보는 버스 마스터들의 대역폭 요구량 및 레이턴시를 포함할 때, 갱신 단계는 대역폭 요구량 및 레이턴시 중 더 중요한 우선 순위 결정 정보를 선택하는 단계, 선택된 우선 순위 결정 정보가 소정치 이상인지 비교하는 단계, 및 비교 결과에 기반하여 중재 파라미터를 갱신하는 단계를 포함하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a method for controlling bus occupancy of a plurality of bus masters, which generates a bus request signal and occupies a bus in response to a bus request permission signal generated in response to the bus request signal, A bus arbitration method according to another aspect of the present invention includes a monitoring step of monitoring prioritization information for determining priorities of bus masters in real time based on monitored prioritization information, An arbitration step for arbitrating the bus occupation of a plurality of bus masters by selectively transmitting a bus request permission signal to a plurality of bus masters according to an updated arbitration parameter and an updated arbitration parameter and a predetermined arbitration policy . In particular, the priority determination information is at least one of a bandwidth requirement and a latency of the bus masters. In addition, when the priority determination information includes the bandwidth requirement and the latency of the bus masters, the updating step selects the priority determination information that is more important than the bandwidth requirement and the latency, And updating the arbitration parameter based on the comparison result.

본 발명에 의하여, 버스 마스터들을 중재하는데 이용되는 중재 파라미터를 실시간으로 모니터링하고, 모니터링한 결과를 이용하여 최적의 중재 정책을 결정하고 중재 파라미터를 갱신할 수 있으므로, SOC 버스 시스템의 중재 효율이 향상된다. According to the present invention, arbitration parameters used to arbitrate bus masters can be monitored in real time, the optimal arbitration policy can be determined using the monitored results, and the arbitration parameters can be updated, thereby improving the arbitration efficiency of the SOC bus system .

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 위해서는 본 발명의 바람직한 실시예를 예시하는 첨부 도면 및 첨부 도면에 기재된 내용을 참조하여야만 한다. In order to fully understand the present invention, operational advantages of the present invention, and objects achieved by the practice of the present invention, reference should be made to the accompanying drawings and the accompanying drawings which illustrate preferred embodiments of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 설명함으로서, 본 발명을 상세히 설명한다. 각 도면에 대하여, 동일한 참조부호는 동일한 부재임을 나타낸다. Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings. In each drawing, the same reference numerals denote the same members.

도 2는 본 발명의 일면에 의한 버스 중재 장치를 개념적으로 설명하기 위한 블록도이다. 2 is a block diagram conceptually illustrating a bus arbitration apparatus according to an embodiment of the present invention.

도 2에 도시된 SOC 버스 시스템(200)은 제1 내지 제3 버스 마스터(212, 214, 216), 버스 모니터링부(220), 버스(230), 버스 중재기(250), 및 메모리 인터페이스(290)를 포함한다. 버스 중재기(250)는 파라미터 갱신부(280), 중재 정책 결정부(260), 파라미터 테이블(270), 및 허가 결정부(240)를 포함한다. The SOC bus system 200 shown in FIG. 2 includes first to third bus masters 212, 214 and 216, a bus monitoring unit 220, a bus 230, a bus arbiter 250, 290). The bus arbiter 250 includes a parameter update unit 280, an arbitration policy determination unit 260, a parameter table 270, and an authorization decision unit 240.

버스 마스터들은 버스 요청 신호를 버스 중재기(250)로 전송하고, 이에 상응하는 버스 요청 허가 신호가 수신되면 버스(230)에 액세스한다. 제1 내지 제3 버스 마스터(212, 214, 216)들은 동일한 버스(230)를 공유하지만, 제1 내지 제3 버스 마스터들 중에서 하나의 특정 버스 마스터만이 특정 시점에 버스(230)에 액세스할 수 있다. 버스 마스터는 범용 및 전용 DMA 제어기(Direct Memory Access Controller)일 수 있다. The bus masters send a bus request signal to the bus arbiter 250 and access the bus 230 when a corresponding bus request grant signal is received. Although the first to third bus masters 212, 214, and 216 share the same bus 230, only one specific bus master among the first to third bus masters accesses the bus 230 at a particular point in time . The bus master may be a general purpose and a dedicated DMA controller (Direct Memory Access Controller).

버스 모니터링부(220)는 제1 내지 제3 버스 마스터(212, 214, 216)들의 상태를 실시간으로 모니터링한다. 즉, 버스 모니터링부(220)는 일정 구간 내의 버스 사용권(ownership)의 요청량 및 레이턴시(latency) 등을 모니터링 한다. 본 명세서에서 버스 사용권의 요청량이란 데이터 전송을 위하여 버스 마스터가 평균적으로 요청하는 대역폭 요구량을 나타내며, 레이턴시란 버스 마스터가 사용권을 요청한 시점에서부터 버스 중재기(250)로부터의 버스 요청 허가 신호를 수신한 시점까지 걸리는 시간을 나타낸다. 레이턴시가 너무 긴 경우에는, 이에 상응하는 버스 마스터의 우선 순위가 너무 낮아 기근 현상(starvation)이 발생할 수 있으므로, 버스 모니터링부(220)는 레이턴시도 모니터링 한다. 도 2에 도시된 실시예에서, 버스 모니터링부(220)는 제1 내지 제3 버스 마스터(212, 214, 216) 모두를 모니터링 하는 것으로 도시되었으나 이는 예시적인 것에 불과하다. 즉, 버스 모니터링부(220)는 각각의 버스 마스터들에 상응하도록 복수 개 존재할 수도 있다. The bus monitoring unit 220 monitors the states of the first to third bus masters 212, 214, and 216 in real time. That is, the bus monitoring unit 220 monitors a request amount and a latency of a bus ownership in a predetermined section. In this specification, the amount of request for bus use right refers to the amount of bandwidth demanded by the bus master on average for data transmission, and the latency means the time from when the bus master requests the use right to receive the bus request permission signal from the bus arbiter 250 It represents the time taken until the point of time. If the latency is too long, the priority of the corresponding bus master is too low to cause starvation, so that the bus monitoring unit 220 also monitors the latency. 2, the bus monitoring unit 220 is shown as monitoring all of the first to third bus masters 212, 214 and 216, but this is merely exemplary. That is, a plurality of bus monitoring units 220 may exist corresponding to the respective bus masters.

버스 모니터링부(220)는 이러한 정보를 버스 중재기(250) 내의 파라미터 갱신부(280)로 전달한다. 파라미터 갱신부(280)는 버스 모니터링부(220)로부터 수신된 대역폭 요구량 및 레이턴시를 분석하고, 이를 기반으로 버스 마스터들에 각각 할당되어 있는 중재 파라미터들을 갱신한다. 갱신된 중재 파라미터는 파라미터 테이블(270)에 저장된다. 본 명세서에서 중재 파라미터란 복수 개의 버스 마스터들의 우선 순위를 결정하는데 이용되는 파라미터들을 나타내며, 예를 들면 각 버스 마스터들의 우선 순위 값 및 버스 점유 허용량 등이 포함된다. The bus monitoring unit 220 transfers this information to the parameter updating unit 280 in the bus arbiter 250. The parameter update unit 280 analyzes the bandwidth requirement and the latency received from the bus monitoring unit 220, and updates the arbitration parameters assigned to the bus masters based on the analyzed bandwidth demand and latency. The updated arbitration parameter is stored in the parameter table 270. Herein, the arbitration parameter indicates parameters used for determining the priority of a plurality of bus masters, for example, priority values of each bus masters, bus occupancy allowable amount, and the like.

갱신된 중재 파라미터들이 파라미터 테이블(270)에 저장되면, 허가 결정부(240)는 파라미터 테이블(270)로부터 이 중재 파라미터들을 독출한다. 그러면, 허가 결정부(240)는 독출된 중재 파라미터를 이용하여 어느 버스 마스터부터의 버스 요청 신호에 대하여 우선적으로 버스 요청 허가 신호를 송신할 것인지 결정한다. 즉, 허가 결정부(240)는 파라미터 테이블(270) 내의 중재 파라미터에 기반하여 제1 내지 제3 버스 마스터(212, 214, 216)의 우선 순위에 따라 버스(230)로의 액세스를 허가한다. 도 2에 도시된 실시예에서, 파라미터 갱신부(280)는 버스 중재기(250) 내에 포함되는 것으로 도시된다. 그러나, 본 발명은 이에 한정되는 것이 아니며, 파라미터 갱신부(280)는 버스 중재기(250)로부터 분리되어 실장되는 것 도 가능하다. When the updated arbitration parameters are stored in the parameter table 270, the permission decision unit 240 reads these arbitration parameters from the parameter table 270. [ Then, the permission decision unit 240 decides whether to transmit a bus request permission signal preferentially to a bus request signal from a bus master by using the read arbitration parameter. That is, the grant decision unit 240 grants access to the bus 230 according to the priorities of the first to third bus masters 212, 214, and 216 based on the arbitration parameters in the parameter table 270. In the embodiment shown in FIG. 2, the parameter update unit 280 is shown included in the bus arbiter 250. However, the present invention is not limited to this, and the parameter update unit 280 may be mounted separately from the bus arbiter 250.

버스 중재기(250)의 동작을 상세히 설명하면 다음과 같다. The operation of the bus arbiter 250 will be described in detail as follows.

우선, 제1 내지 제3 버스 마스터(212, 214, 216)들에게는 다수 개의 중재 레벨이 존재한다. 가장 상위 레벨에서의 중재가 제일 우선시 되며 상위 레벨에서의 중재가 끝나면 그 다음 레벨의 중재가 이루어진다. 즉, 중재 레벨간의 우선 순위가 존재한다. 동일한 중재 레벨에 속한 버스 마스터들을 중재하는 방법에는 여러 가지가 있으며 이러한 중재 알고리즘들은 중재 정책 결정부(260)에 저장된다. First, the first to third bus masters 212, 214, and 216 have a plurality of arbitration levels. Arbitration at the highest level is the highest priority, and subsequent level intervention is done. That is, there is a priority between arbitration levels. There are various ways to arbitrate bus masters belonging to the same arbitration level, and these arbitration algorithms are stored in the arbitration policy decision unit 260. [

본 발명의 일면에 의한 버스 중재기(250)에서는 시분할 다중화(TDM, time division multiplexing) 방식을 채택하는 것이 바람직하다. 동일한 중재 레벨에서의 시분할 다중화를 구현하기 위하여 동일한 중재 레벨에 속한 버스 마스터들 각각의 점유 허용량이 파라미터화되어 있다. 그러면, 해당 버스 마스터는 할당된 허용량만큼 버스(230)를 점유할 수 있다. The bus arbiter 250 according to an embodiment of the present invention preferably adopts a time division multiplexing (TDM) scheme. To accommodate time division multiplexing at the same arbitration level, the occupancy tolerance of each of the bus masters belonging to the same arbitration level is parameterized. Then, the bus master can occupy the bus 230 by the assigned allowable amount.

그런데, SOC 버스 시스템(200)이 동작하는 동안에, 각각의 버스 마스터들의 동작 상황은 실시간으로 변경된다. 또한, SOC 버스 시스템(200)의 동작 상황은 파라미터 테이블(270)에 저장된 파라미터를 이용하여서는 적응적으로 보상될 수 없는 경우가 존재한다. 이러한 상황에 대처하기 위하여, 본 발명에 의한 버스 중재기(250)는 중재 파라미터들을 실시간으로 갱신할 수 있다. By the way, during the operation of the SOC bus system 200, the operation status of each bus master is changed in real time. In addition, there is a case where the operating state of the SOC bus system 200 can not be adaptively compensated using the parameters stored in the parameter table 270. [ To cope with this situation, the bus arbitrator 250 according to the present invention can update the arbitration parameters in real time.

즉, 버스 모니터링부(220)는 제1 내지 제3 버스 마스터(212, 214, 216)들 각각의 대역폭 요구량 및 레이턴시를 실시간으로 모니터링하고, 모니터링 신호를 출력한다. 버스 모니터링부(220)로부터 출력된 모니터링 신호는 파라미터 갱신 부(280)로 전달된다. 그러면, 파라미터 갱신부(280)는 수신된 모니터링 신호로부터 대역폭 요구량 및 레이턴시 정보를 독출한다. 그러면 파라미터 갱신부(280)는 독출된 대역폭 요구량 및 레이턴시 정보를 이용하여 파라미터 테이블(270) 내의 중재 파라미터가 현재의 SOC 버스 시스템(200)의 동작 상황에 적합한지 판단하고, 이에 따라서 중재 파라미터를 갱신한다. 파라미터 갱신부(280)가 중재 파라미터를 갱신하는 동작에 대해서는 도 4를 참조하여 상세히 후술된다. That is, the bus monitoring unit 220 monitors the bandwidth request amount and the latency of each of the first to third bus masters 212, 214, and 216 in real time, and outputs a monitoring signal. The monitoring signal output from the bus monitoring unit 220 is transmitted to the parameter updating unit 280. Then, the parameter updating unit 280 reads the bandwidth request amount and the latency information from the received monitoring signal. Then, the parameter update unit 280 determines whether the arbitration parameter in the parameter table 270 is suitable for the current operation state of the SOC bus system 200 using the read bandwidth request amount and latency information, and accordingly updates the arbitration parameter do. The operation in which the parameter update unit 280 updates the arbitration parameter will be described later in detail with reference to FIG.

버스 모니터링부(220)가 제1 내지 제3 버스 마스터(212, 214, 216)들의 동작 상황을 실시간으로 모니터링하므로, 파라미터 갱신부(280)도 중재 파라미터를 실시간으로 갱신할 수 있다. 실시간으로 갱신된 중재 파라미터는 허가 결정부(240)가 어느 버스 마스터의 버스 요청을 허가할 것인지 판단하는 과정에서 이용된다. Since the bus monitoring unit 220 monitors the operation statuses of the first to third bus masters 212, 214, and 216 in real time, the parameter updating unit 280 can also update the arbitration parameters in real time. The arbitration parameter updated in real time is used in the process of determining which bus master the bus grant request decision unit 240 is to grant the bus request.

따라서, 본 발명에 의하여 SOC 버스 시스템(200)의 동작 상황에 따라서 적응적으로 버스 중재기(250)의 중재 파라미터들을 갱신함은 물론, 버스 중재기(250)의 중재 효율을 극대화할 수 있다. Therefore, according to the present invention, the arbitration efficiency of the bus arbiter 250 can be maximized while adaptively updating the arbitration parameters of the bus arbiter 250 according to the operation state of the SOC bus system 200.

도 3은 본 발명의 다른 면에 의한 버스 중재 방법을 나타내는 흐름도이다. 3 is a flowchart showing a bus arbitration method according to another aspect of the present invention.

우선, 버스 마스터들의 동작 상황에 따른 우선 순위 결정 정보를 모니터링한다(S310). 우선 순위 결정 정보란 각 버스 마스터의 대역폭 요구량 및 레이턴시 등을 나타내는 것임은 전술된 바와 같다. 모니터링된 우선 순위 결정 정보는 중재 정책을 결정하거나 우선 순위를 결정하는데 이용된다. First, priority determination information according to the operation status of bus masters is monitored (S310). The priority determination information indicates the bandwidth requirement and latency of each bus master as described above. The monitored prioritization information is used to determine an arbitration policy or to prioritize.

그러면 파라미터 갱신부(도 2의 280 참조)는 버스 모니터링부(도 2의 220 참조)로부터 이러한 우선 순위 결정 정보를 수신하고, 이러한 우선 순위 결정 정보에 기반하여 현재의 중재 파라미터 값이 적절한지 판단한다. 중재 파라미터들은 파라미터 테이블(도 2의 270 참조)에 저장될 수 있음은 전술된 바와 같다. 만일 현재의 중재 파라미터 값이 적절하지 않다면 수신된 우선 순위 결정 정보를 이용하여 현재 저장된 중재 파라미터가 갱신된다(S330). Then, the parameter update unit (see 280 in FIG. 2) receives this priority determination information from the bus monitoring unit (see 220 in FIG. 2), and determines whether the current arbitration parameter value is appropriate based on this priority determination information . The arbitration parameters can be stored in the parameter table (see 270 in FIG. 2) as described above. If the current arbitration parameter value is not appropriate, the currently stored arbitration parameter is updated using the received prioritization information (S330).

또한, 갱신된 중재 파라미터들은 파라미터 테이블(도 2의 270 참조)에 저장되어, 버스 마스터들의 우선 순위를 결정하는데 이용된다(S350). In addition, the updated arbitration parameters are stored in the parameter table (see 270 in FIG. 2) and used to determine the priority of the bus masters (S350).

현재 시점에서의 중재 동작이 완료되면, 아직 처리되지 않은 버스 요청 신호가 존재하는지 판단한다(S370). 만일 버스로 액세스하려는 버스 마스터들이 더 이상 존재하지 않는다면, 즉, 처리되지 않은 버스 요청 신호가 더 이상 존재하지 않는다면 중재 동작은 종료된다. 그러나, 처리되지 않은 버스 요청 신호가 존재한다면 다시 버스 마스터들의 우선 순위 결정 정보를 모니터링하는 단계(S310)로 복귀한다. When the arbitration operation at the current time is completed, it is determined whether there is a bus request signal that has not yet been processed (S370). If the bus masters that are to be accessed by the bus are no longer present, i.e. the unprocessed bus request signal is no longer present, the arbitration operation is terminated. However, if there is an unprocessed bus request signal, the process returns to step S310 to monitor the priority information of the bus masters again.

도 4는 도 3에 도시된 중재 파라미터 갱신 단계(S330)를 상세하게 나타내는 흐름도이다. 4 is a flowchart showing in detail the arbitration parameter update step (S330) shown in FIG.

우선, 버스 마스터들을 중재하기 위하여 이용되는 우선 순위 결정 정보 중 레이턴시가 더 중요한지 대역폭 요구량이 더 중요한지 판단한다(S410). 본 발명의 다른 면에 의한 버스 중재 방법에서 우선 순위 결정 정보 중 더 중요한 정보가 무엇인지 판단하는 이유는, 다양한 SOC 버스 시스템의 동작 환경을 고려하여 능동적으로 버스 중재 동작을 수행하기 위한 것이다. First, it is determined whether the latency is more important or the bandwidth requirement is more important among the priority determination information used for arbitrating bus masters (S410). In the bus arbitration method according to another aspect of the present invention, what is more important information among the prioritization information is to actively perform the bus arbitration operation considering the operating environment of various SOC bus systems.

만일 각각의 버스 요청 신호가 처리되는데 걸리는 시간(latency)이 대역폭 요구량보다 더 중요하다고 판단되면, 모니터링된 레이턴시 값이 미리 설정해놓은 한계치를 벗어나는지 여부가 판단된다(S420). 판단 결과, 모니터링된 레이턴시 값이 미리 설정한 소정치 이상이라면, 이를 중요한 상황으로 여기고 해당 버스 마스터의 중재 파라미터를 증가시킨다(S430). 해당 중재 파라미터가 증가된다는 것은 이에 상응하여 해당 버스 마스터의 중재 레벨이 한 단계 상승되는 것을 나타낸다. 즉, 레이턴시 값이 소정치 이상일 경우, 해당하는 버스 마스터의 중재 레벨이 한 단계 증가된다. 버스 중재기의 중재 방법이 레벨간의 중재가 우선시되는 방법이기 때문이, 이와 같이 어느 버스 마스터의 중재 레벨이 한 단계 상승되면, 즉각적으로 해당 버스 마스터의 레이턴시 값이 향상되는 결과를 얻을 수 있다. 만일, 모니터링된 레이턴시 값이 상기 한계치 이하라면 해당 버스 마스터의 중재 레벨에는 변동이 없을 것이다. 그러나, 모니터링된 레이턴시 값이 소정의 최소값 보다 작다면 이 경우에는 해당 마스터의 중재 레벨을 한 단계 하락시킨다(S440). If it is determined that the latency required to process each bus request signal is more important than the bandwidth request amount, it is determined whether the monitored latency value exceeds a preset limit value (S420). If it is determined that the monitored latency value is equal to or greater than a predetermined value, it is regarded as an important situation and the arbitration parameter of the corresponding bus master is increased (S430). Increasing the arbitration parameter correspondingly indicates that the arbitration level of the bus master is raised by one level. That is, when the latency value is equal to or greater than a predetermined value, the arbitration level of the corresponding bus master is increased by one level. Since the arbitration method of the bus arbiter is a method in which inter-level arbitration is a priority method, when the arbitration level of any bus master is raised by one level, the latency value of the corresponding bus master is immediately improved. If the monitored latency value is below the threshold, there will be no change in the arbitration level of the bus master. However, if the monitored latency value is smaller than the predetermined minimum value, the arbitration level of the corresponding master is lowered by one step (S440).

이제, 버스 마스터의 대역폭 요구량이 각각의 버스 요청 신호가 처리되는데 걸리는 레이턴시보다 중요하다고 판단되는 경우에 대하여 설명한다. Now, a case will be described in which it is determined that the bandwidth request amount of the bus master is more important than the latency required to process each bus request signal.

우선, 모니터링된 해당 버스 마스터의 대역폭 요구량과 실제로 중재기에서 설정된 점유 허용량을 비교한다(S450). 즉, 초기에 설정된 버스 마스터의 점유 허용량은 실시간으로 모니터링 되는 해당 마스터의 점유 요구량에 맞춰 계속 갱신된다. First, the bandwidth requirement of the monitored bus master is compared with the occupancy allowable amount actually set by the arbiter (S450). That is, the allowable occupancy amount of the bus master set at the beginning is continuously updated in accordance with the occupation requirement amount of the master that is monitored in real time.

위의 2번에서, 설정된 점유 허용량이 모니터링된 점유 요구량에 맞춰서 갱신되는 방법은 다음과 같다.In step 2 above, the set occupancy allowance is updated according to the monitored occupancy requirement as follows.

버스 마스터의 버스 점유 허용량보다 모니터링된 점유 요구량이 많을 경우, 점유 허용량을 늘린다(S460). 점유 요구량이 점유 허용량보다 이 경우 점유 허용량은 해당 중재 레벨에서 점유되지 않은 타임 슬롯(time slot)이 존재한다거나 다른 마스터의 점유 허용량을 줄여야 할 필요가 있을 경우(모니터링된 점유 요구량이 작아서)에 증가될 수 있다. 점유 허용량이 증가되어야 함에도 여유가 있는 타임 슬롯이 없어서 증가되지 못할 경우에는, 그로 인해 자연히 레이턴시 값이 증가할 것이다. 레이턴시 값이 매우 중요한 버스 마스터가 아니라 할지라도, 부족한 점유 허용량으로 인해 증가된 레이턴시 값은 파라미터 갱신에 영향을 미칠 수 있다. 이 경우에 레이턴시 값은 각각의 버스 요청 신호에 대한 개별적인 레이턴시 값이 아닌 미리 설정된 구간 안에 있는 버스 요청 신호 전체에 대한 평균적인 레이턴시 값이 사용된다. 이 평균적인 레이턴시 값이 한계치 이상이 되면 마스터의 중재 레벨을 한 단계 상승시킨다. 물론 그 전에 점유 허용량을 늘릴 수 있는 기회가 된다면 우선적으로 점유 허용량을 늘리는 것 먼저 시행된다. If the occupancy requirement of the bus master is greater than the bus occupancy allowance, the occupancy allowance is increased (S460). If the occupancy requirement is greater than the occupancy allowance, then the occupancy allowance is increased if there is an unoccupied time slot at the arbitration level or if it is necessary to reduce the occupancy allowance of the other masters (because the monitored occupancy requirement is small) . If the occupancy allowable amount is increased but there is no free time slot and it can not be increased, the latency value will naturally increase accordingly. Although the latency value is not a very important bus master, the increased latency value due to insufficient occupancy tolerance can affect the parameter update. In this case, the latency value is not an individual latency value for each bus request signal, but an average latency value for all bus request signals within a predetermined interval is used. When this average latency value is above the threshold, the master's arbitration level is raised one step. Of course, if you have an opportunity to increase your occupancy before that, you should first increase your occupancy.

반대로, 마스터의 버스 점유 허용량보다 모니터링된 점유 요구량이 적을 경우, 점유 허용량을 줄인다(S470). 같은 중재 레벨에서 점유 요구량을 늘리기를 원하는 다른 마스터가 있으면 해당 타임 슬롯을 해당 버스 마스터에 넘겨주고, 그렇지 않다면 해당 타임 슬롯을 빈 슬롯으로 만든다. 만약, 모니터링된 점유 요구량이 계속 적어서 점유 허용량을 줄여 나가다가 그 허용량이 미리 설정해 놓은 최소값 이하가 되면 중재 레벨을 한 단계 하락시킨다. 이와 같이 점유 허용량 및 모니터링된 점유 요구량의 크기에 따라 해당 버스 마스터의 중재 파라미터가 조절되 며(S480), 조절된 중재 파라미터는 해당 버스 마스터의 점유 레벨을 결정하는데 이용된다. Conversely, if the occupancy requirement monitored is less than the bus occupancy allowance of the master, the allowable occupancy amount is reduced (S470). If there is another master that wants to increase the occupancy requirement at the same arbitration level, the corresponding time slot is passed to the corresponding bus master, otherwise, the corresponding time slot is made into an empty slot. If the monitored occupancy requirement is small and the allowable occupancy is reduced, and the allowable amount becomes less than the preset minimum value, the arbitration level is lowered by one level. In this way, the arbitration parameter of the corresponding bus master is adjusted (S480) according to the occupancy tolerance and the magnitude of the monitored occupancy requirement, and the adjusted arbitration parameter is used to determine the occupancy level of the corresponding bus master.

버스 마스터의 점유 레벨을 조절하는 동작이 완료되면, 아직 처리되지 않은 버스 마스터가 있는지 판단하고(S490), 반복 동작이 요구될 경우 우선 순위 결정 정보 중 더 중요한 정보가 무엇인지 판단하는 단계(S410)로 복귀한다. If it is determined that there is an unprocessed bus master (S490), it is determined whether more important information among the priority determination information (S410) Lt; / RTI >

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art.

따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

본 발명에 의하여, 중재 우선 순위, 버스 점유 허용량과 같은 버스 중재에 필요한 파라미터 값들이 고정되어 있는 기존의 방법에 비해서, 실시간 모니터링을 통해 해당 시점의 버스 상황에 가장 적합한 파라미터 값들로 자동 갱신하기 때문에 버스 성능이 향상된다. According to the present invention, as compared with the conventional method in which the parameter values necessary for bus arbitration such as the arbitration priority and the bus occupation allowable amount are fixed, the parameter values are automatically updated with the parameter values most suitable for the bus situation at that time through real- Performance is improved.

또한, 본 발명에 의하여, 각 버스 요청 신호에 대한 소요 레이턴시 값이 중요한 버스 마스터들과 평균적인 버스 점유율이 중요한 버스 마스터들에 개별적으로 적응되도록 버스 마스터들을 중재할 수 있다. Further, according to the present invention, the bus masters can be arbitrated so that the required latency value for each bus request signal is individually adapted to the bus masters, which are important bus masters and the average bus masters.

또한, 본 발명에 의하여 실시간으로 버스 마스터들의 버스 점유율을 모니터링 하여 해당 정보를 중재시에 반영할 수 있다. In addition, according to the present invention, it is possible to monitor the bus occupancy rate of the bus masters in real time and reflect the corresponding information at the time of arbitration.

Claims (5)

버스 요청 신호를 발생하고, 상기 버스 요청 신호에 상응하여 발생되는 버스 요청 허가 신호에 따라 버스를 점유하는 복수의 버스 마스터들을 중재하기 위한 버스 중재 장치에 있어서, A bus arbitration apparatus for arbitrating a plurality of bus masters that generate a bus request signal and occupy a bus in response to a bus request permission signal generated in response to the bus request signal, 상기 버스 마스터들의 대역폭 요구량 및 레이턴시 중 적어도 하나를 실시간으로 모니터링하여 모니터링 신호를 출력하는 버스 모니터링부; 및A bus monitoring unit monitoring at least one of a bandwidth requirement and a latency of the bus masters in real time to output a monitoring signal; And 상기 버스 모니터링부로부터 출력된 모니터링 신호에 기반하여 상기 버스 마스터들의 중재 파라미터들을 갱신하고, 갱신된 중재 파라미터들 및 소정의 중재 정책에 따라서 상기 버스 요청 허가 신호를 상기 복수의 버스 마스터들에 선택적으로 송신하는 버스 중재기를 포함하는 것을 특징으로 하는 버스 중재 장치. Updating the arbitration parameters of the bus masters based on the monitoring signal output from the bus monitoring unit and selectively transmitting the bus request permission signal to the plurality of bus masters according to the updated arbitration parameters and a predetermined arbitration policy Wherein the bus arbiter comprises a bus arbiter. 제1항에 있어서, 상기 버스 중재기는, The bus arbiter according to claim 1, 중재 파라미터를 저장하기 위한 파라미터 테이블; A parameter table for storing arbitration parameters; 상기 버스 모니터링부에서부터 수신된 상기 모니터링 신호에 기반하여 상기 중재 파라미터를 갱신하기 위한 파라미터 갱신부; A parameter updating unit for updating the arbitration parameter based on the monitoring signal received from the bus monitoring unit; 상기 중재 파라미터에 적용하기 위한 중재 정책을 결정하기 위한 중재 정책 결정부; 및 An arbitration policy decision unit for determining an arbitration policy to be applied to the arbitration parameter; And 상기 중재 정책 결정부로부터 수신된 상기 중재 정책 및 상기 파라미터 테이블에 저장된 상기 중재 파라미터에 기반하여 상기 버스 요청 허가 신호를 발생하는 허가 결정부를 포함하는 것을 특징으로 하는 버스 중재 장치. And a permission decision unit for generating the bus request permission signal based on the arbitration policy received from the arbitration policy decision unit and the arbitration parameter stored in the parameter table. 버스 요청 신호를 발생하고 상기 버스 요청 신호에 상응하여 발생되는 버스 요청 허가 신호에 따라 버스를 점유하는 복수의 버스 마스터의 버스 점유를 중재하기 위한 버스 중재 방법에 있어서, A bus arbitration method for arbitrating bus masters of a plurality of bus masters that generate a bus request signal and occupy a bus in response to a bus request permission signal generated in response to the bus request signal, 상기 버스 마스터들의 우선 순위를 결정하기 위한 우선 순위 결정 정보를 실시간으로 모니터링하는 모니터링 단계; Monitoring in real time the priority determination information for determining the priority of the bus masters; 모니터링된 상기 우선 순위 결정 정보에 기반하여 중재 파라미터를 실시간으로 갱신하는 갱신 단계; 및 An updating step of updating an arbitration parameter in real time based on the monitored priority information; And 갱신된 상기 중재 파라미터 및 소정의 중재 정책에 따라 상기 버스 요청 허가 신호를 상기 복수의 버스 마스터에 선택적으로 송신함으로써 상기 복수의 버스 마스터의 버스 점유를 중재하기 위한 중재 단계를 포함하는 것을 특징으로 하는 버스 중재 방법. And arbitrating the bus occupancy of the plurality of bus masters by selectively transmitting the bus request grant signal to the plurality of bus masters according to the updated arbitration parameter and a predetermined arbitration policy. Intervention method. 제3항에 있어서, 상기 우선 순위 결정 정보는,4. The method according to claim 3, 상기 버스 마스터들의 대역폭 요구량 및 레이턴시 중 적어도 하나인 것을 특징으로 하는 버스 중재 방법. Wherein the bus master is at least one of a bandwidth requirement and a latency of the bus masters. 제4항에 있어서, 상기 우선 순위 결정 정보는, 상기 버스 마스터들의 대역폭 요구량 및 상기 레이턴시를 포함하며,5. The method of claim 4, wherein the priority determination information includes a bandwidth request amount and the latency of the bus masters, 상기 갱신 단계는,Wherein, 상기 대역폭 요구량 및 상기 레이턴시 중 더 중요한 우선 순위 결정 정보를 선택하는 단계; Selecting more important priority information among the bandwidth requirement and the latency; 선택된 상기 우선 순위 결정 정보가 소정치 이상인지 비교하는 단계; Comparing the selected priority determination information with a predetermined value or more; 상기 비교 결과에 기반하여 상기 중재 파라미터를 갱신하는 단계를 포함하는 것을 특징으로 하는 버스 중재 방법. And updating the arbitration parameter based on the comparison result.
KR1020060138781A 2006-12-29 2006-12-29 Method and apparatus for arbitrating bus using arbitration parameter changed in real-time KR101167245B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060138781A KR101167245B1 (en) 2006-12-29 2006-12-29 Method and apparatus for arbitrating bus using arbitration parameter changed in real-time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060138781A KR101167245B1 (en) 2006-12-29 2006-12-29 Method and apparatus for arbitrating bus using arbitration parameter changed in real-time

Publications (2)

Publication Number Publication Date
KR20080062701A KR20080062701A (en) 2008-07-03
KR101167245B1 true KR101167245B1 (en) 2012-07-23

Family

ID=39814795

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060138781A KR101167245B1 (en) 2006-12-29 2006-12-29 Method and apparatus for arbitrating bus using arbitration parameter changed in real-time

Country Status (1)

Country Link
KR (1) KR101167245B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100922929B1 (en) 2007-12-28 2009-10-22 주식회사 동부하이텍 Image Sensor and Method for Manufacturing thereof
CN114546908A (en) * 2022-02-22 2022-05-27 杭州中天微系统有限公司 Bus bandwidth self-adaption unit, method and chip

Also Published As

Publication number Publication date
KR20080062701A (en) 2008-07-03

Similar Documents

Publication Publication Date Title
US7533206B2 (en) Resource management device
US8209493B2 (en) Systems and methods for scheduling memory requests during memory throttling
US8190801B2 (en) Interconnect logic for a data processing apparatus
KR100839494B1 (en) Method and system for bus arbitration
CN102834816B (en) In order to reduce bus arbitration method and the disposal system of access waiting time
US6519666B1 (en) Arbitration scheme for optimal performance
US20070156955A1 (en) Method and apparatus for queuing disk drive access requests
US20110072178A1 (en) Data processing apparatus and a method for setting priority levels for transactions
EP2192496B1 (en) Arbitration in multiprocessor device
US20080147944A1 (en) Arbiter device and arbitration method
JP2008234659A (en) Data processing apparatus and method for arbitrating between messages routed over communication channel
JP5707911B2 (en) Data transfer control device
US7251702B2 (en) Network controller and method of controlling transmitting and receiving buffers of the same
KR20160112305A (en) Method for arbitrating shared resource access and shared resource access arbitration apparatus and shared resource apparatus access arbitration system for performing the same
KR101167245B1 (en) Method and apparatus for arbitrating bus using arbitration parameter changed in real-time
CN113515473B (en) QoS control method, bus system, computing device and storage medium
CN117009266A (en) Handshake protocol bus arbitration module and system on chip
JP2008027245A (en) Memory access controller and memory access control method
US6701397B1 (en) Pre-arbitration request limiter for an integrated multi-master bus system
JP6036806B2 (en) Bus access arbitration circuit and bus access arbitration method
KR100973419B1 (en) Method and apparatus for arbitrating a bus
JP2000250853A (en) Bus arbitration controller
JP2007164713A (en) Device and method for managing resource
US11068425B2 (en) Semiconductor device and bus generator
KR100263791B1 (en) Method for bus arbitration using priority

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170629

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee