KR100259946B1 - Bus arbitration apparatus and method between two fifos - Google Patents

Bus arbitration apparatus and method between two fifos Download PDF

Info

Publication number
KR100259946B1
KR100259946B1 KR1019980017812A KR19980017812A KR100259946B1 KR 100259946 B1 KR100259946 B1 KR 100259946B1 KR 1019980017812 A KR1019980017812 A KR 1019980017812A KR 19980017812 A KR19980017812 A KR 19980017812A KR 100259946 B1 KR100259946 B1 KR 100259946B1
Authority
KR
South Korea
Prior art keywords
bus
data
common bus
bus occupancy
cover
Prior art date
Application number
KR1019980017812A
Other languages
Korean (ko)
Other versions
KR19990085412A (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 KR1019980017812A priority Critical patent/KR100259946B1/en
Publication of KR19990085412A publication Critical patent/KR19990085412A/en
Application granted granted Critical
Publication of KR100259946B1 publication Critical patent/KR100259946B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/368Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control
    • G06F13/374Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control using a self-select method with individual priority code comparator
    • 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/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A common bus sharing method and system is provided to transmit effectively data among a plurality of FIFO(First Input First Output) devices via a common bus interfaced with other board. CONSTITUTION: The system comprises the first FIFO device(113), the second FIFO device(114), a controller(115) and a common bus(116). The first FIFO device(113) stores the data waiting to be transmitted from the first memory(111) to the first memory(117) of the other board. Also the second FIFO device(114) stores the data waiting to be transmitted from the first memory(112) to the first memory(118) of the other board. The controller(115) performs an overall control for allowing the two FIFO devices to share the common bus by checking a data storage amount of the FIFO device and outputting a corresponding signal to the FIFO devices. The common bus(116) is a data path connected between the two FIFO devices(113,114).

Description

두 피포간 공통버스 점유 장치 및 방법Apparatus and method for occupying common bus between two covers

본 발명은 FIFO(First Input First Output; 이하 피포라 칭함)들간의 선택적 버스 점유 장치 및 방법에 관한 것으로, 특히 이중화로 구현된 피포간의 효과적인 버스 점유 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to selective bus occupancy devices and methods between First Input First Outputs (FIFOs), and more particularly to efficient bus occupancy devices and methods between redundancies implemented with redundancy.

일반적으로 마이크로프로세서를 사용하는 전자, 통신 시스템 장치는 다수의 보드로 이루어진 다수의 프로세서 모듈의 집합체이다. 또한 이들은 서로 연계되어 동작되므로 이들 보드간의 통신 방식은 아주 중요한 문제이기도 하다. 상기의 통신 방식으로는 임의의 한 보드내에 구비된 공통메모리를 통한 통신, 두 보드간에 연결된 공통버스를 통한 통신 등이 있을 수 있으며, 본 발명에서는 하나의 공통버스를 가지고 두 개의 피포가 효과적으로 통신(데이타전달)을 수행할 수 있는 방법을 제시하고자 한다.In general, an electronic and communication system device using a microprocessor is a collection of a plurality of processor modules composed of a plurality of boards. In addition, because they operate in conjunction with each other, communication between these boards is a very important problem. The communication method may include communication through a common memory provided in one board, communication through a common bus connected between two boards, and in the present invention, two packets are effectively communicated with one common bus. Data transfer method).

따라서 본 발명의 목적은 타 보드와 공통버스를 통해 데이터 전달을 수행하고자 하는 다수의 피포들간의 효과적인 공통버스 점유 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an effective common bus occupancy device between a plurality of packets to perform data transfer through another board and a common bus.

상기 목적을 달성하기 위한 다수의 피포들간의 공통버스 점유 제어 장치가,프로세서 동작시 수신되는 데이터를 각각 저장하는 다수의 피포들과, 상기 다수의 피포들의 매순간 변화는 데이터 저장 상태에 따라 우선권이 주어지는 피포를 판단하고, 상기 우선권이 주어지는 피포로 버스점유신호를 인가하는 조정기로 구성되어, 상기 버스점유신호를 인가받은 피포가 상기 하나의 공통버스를 점유하여 피포내에 저장된 데이터를 다른 보드로 전달함을 특징으로 한다.In order to achieve the above object, a common bus occupancy control apparatus among a plurality of packs includes: a plurality of packs each storing data received during a processor operation, and every change of the plurality of packs is given priority according to a data storage state. The controller is configured to determine a signal and apply a bus occupancy signal to which the priority is given, and that the signal received the bus occupancy signal occupies the one common bus to transfer data stored in the signal to another board. It features.

본 발명의 다른 목적은 타 보드와 통신을 수행하고자 하는 두 피포간에 공통버스 점유를 효과적으로 수행할 수 있는 방법을 제공함에 있다.Another object of the present invention is to provide a method of effectively occupying a common bus between two packets to communicate with other boards.

상기 목적을 달성하기 위한 두 피포간의 공통버스 점유 방법이, 프로세서 동작시 제1피포로 버스점유신호를 출력하여 상기 제1피포내의 데이터를 상기 공통버스를 통해 타 보드로 전달하는 제1과정과, 상기 데이터 전달중 제2피포의 버스점유요구신호가 발생하는지를 검사하여, 발생하지 않을 시 상기 제1과정을 재수행하는 제2과정과, 상기 제2피포의 버스점유요구신호가 발생할 시 상기 제2피포로 버스점유신호를 출력하여 상기 제2피포내의 데이터를 상기 공통버스를 통해 타 보드로 전달하고, 제1피포의 버스점유요구신호가 발생하는지를 검사하는 제3과정과, 상기 제1피포의 버스점유요구신호가 발생하지 않을 시 상기 제3과정을 재수행하며, 상기 제1피포의 버스점유요구신호가 발생할 시 상기 제1과정을 재수행하는 제4과정으로 이루어짐을 특징으로 한다.In order to achieve the above object, a common bus occupancy method between two packets includes: a first process of outputting a bus occupancy signal to a first captive signal during operation of a processor and transferring data in the first cover to another board through the common bus; Checking whether the bus occupancy request signal of the second cover is generated during the data transmission; and performing a second process if the bus occupancy request signal of the second cover is generated again if the bus occupancy request signal of the second cover is not generated. A third process of outputting a bus occupancy signal to transfer data in the second fabric to another board through the common bus, and checking whether a bus occupancy request signal of the first fabric is generated; When the request signal does not occur, the third process is performed again, and when the bus occupancy request signal of the first cover is generated, the fourth process is performed again. Shall be.

도 1은 본 발명에 따른 두 피포(FIFO)간 공통버스 점유에 관한 하드웨어 구성을 도시한 도면.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing a hardware configuration regarding the occupation of a common bus between two FIFOs according to the present invention.

도 2는 본 발명에 따라 두 피포(FIFO)의 내부 데이터 저장량을 각 플레그(flag) 상태에 따라 표시한 도면.2 shows the internal data storage of two FIFOs in accordance with each flag state in accordance with the present invention;

도 3은 본 발명에 따라 두 피포(FIFO)간의 효과적인 버스 점유를 수행하기 위한 제어 흐름도.3 is a control flow diagram for performing effective bus occupation between two FIFOs in accordance with the present invention.

이하 본 발명의 바람직한 실시예를 첨부된 도면의 참조와 함께 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 동일 부호를 가지도록 하였다. 또한 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.First, in adding the reference numerals to the components of each drawing, the same components have the same reference numerals as much as possible even if displayed on different drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명에 따라 두 개의 피포가 하나의 데이터 전달경로를 통해 상대편 보드로 데이터를 전달하기 위한 구성을 도시하고 있다.1 shows a configuration for transferring two packets to the other board through one data transmission path according to the present invention.

도 1를 참조하면, 제1메모리(111), 제2메모리(112)는 다양한 데이터를 저장한다. 즉, 프로그램 데이터라든지, 상기 프로그램을 수행하기 위해 필요한 데이터라든지, 또는 상기 프로그램 수행중에 발생되는 일시적인 데이터 등을 저장한다. 제1피포(113)은 상기 제1메모리(111)에서 상기 상대편 보드의 제1메모리(117)로 전달되기 위해 대기하는 데이터들을 저장한다. 제2피포(114)는 상기 제2메모리(112)에서 상기 상대편 보드의 제2메모리(118)로 전달되기 위해 대기하는 데이터들을 저장한다. 여기서 상기 제1피포(113), 제2피포(114)는 피포(FIFO) 방식, 즉, 선입력 선출입(First Input First Output) 방식으로 데이터를 하나의 공통버스(116)를 통해 상대편 보드로 전달한다. 조정기(115)는 상기 두 피포(113,114)간의 효과적인 버스 점유를 위한 전반적인 동작을 제어한다. 즉, 상기 두 피포(113,114) 내부의 데이터 저장량 등을 판단하고, 이에 대응되는 제어신호를 상기 제1피포(113) 또는 제2피포(114)로 출력한다. 상기 공통버스(116)는 두 보드간에 연결된 하나의 데이터 경로이다. 상대편 보드의 제1메모리(117)은 상기 제1피포(113)에서 상기 공통버스(116)를 통해 전달되는 데이터를 저장한다. 상대편 보드의 제2메모리(118)은 상기 제2피포(114)에서 상기 공통버스(116)를 통해 전달되는 데이터를 저장한다.Referring to FIG. 1, the first memory 111 and the second memory 112 store various data. That is, program data, data necessary for executing the program, temporary data generated during the execution of the program, and the like are stored. The first pocket 113 stores data waiting to be transferred from the first memory 111 to the first memory 117 of the opposite board. The second fabric 114 stores data waiting to be transferred from the second memory 112 to the second memory 118 of the opposite board. In this case, the first PPO 113 and the second PPO 114 transmit the data to the other board through one common bus 116 in a FIFO method, that is, a first input first output method. To pass. The regulator 115 controls the overall operation for effective bus occupancy between the two envelopes 113 and 114. That is, the amount of data storage in the two packets 113 and 114 is determined, and a control signal corresponding thereto is outputted to the first packet 113 or the second packet 114. The common bus 116 is one data path connected between two boards. The first memory 117 of the other board stores data transmitted from the first cover 113 through the common bus 116. The second memory 118 of the other board stores data transmitted from the second cover 114 through the common bus 116.

도 2는 본 발명에 따른 제1피포 및 제2피포의 데이터 저장량을 각 플레그 상태에 따라 도시한 도면이다.2 is a diagram illustrating data storage amounts of the first and second packets according to the present invention according to each flag state.

도 2를 참조하면, 제1피포(113)에서 1a는 거의 가득찬 상태(APAFn)를 나타내고, 1b는 반쯤찬 상태(AHFn)를 나타내며, 1c는 거의 빈 상태(APAEn)를 나타내고, 1d는 완전히 빈상태(AEFn)를 나타낸다.Referring to FIG. 2, in the first cover 113, 1a represents an almost full state (APAFn), 1b represents a half full state (AHFn), 1c represents an almost empty state (APAEn), and 1d is completely An empty state (AEFn) is shown.

제2피포(114)에서 2a는 거의 가득찬 상태(BPAFn)를 나타내고, 2b는 반쯤찬 상태(BHFn)를 나타내며, 2c는 거의 빈 상태(BPAEn)을 나타내고, 2d는 완전히 빈상태(BEFn)을 나타낸다.In the second envelope 114, 2a represents almost full (BPAFn), 2b represents half full (BHFn), 2c represents almost empty (BPAEn), and 2d represents fully empty (BEFn). Indicates.

이하 본 발명에 따른 동작을 상기 도 1 및 도 2의 구성에 근거하여 상세히 설명한다.Hereinafter, an operation according to the present invention will be described in detail based on the configuration of FIGS. 1 and 2.

도 1에서 상기 두 피포(113,114)는 프로세서(도시하지 않음)가 동작하는 한 계속해서 데이터가 저장되고, 그 량은 매순간 변화된다. 따라서 상기 조정기(115)는 상기 두 피포(113,114)내의 매순간 변화는 데이터 저장량을 판단하여 그에 따른 우선권을 어느 피포에게 주어야 할 것인가를 판단하여야 한다.In FIG. 1, the two packets 113 and 114 continue to store data as long as a processor (not shown) operates, and the amount thereof changes every minute. Therefore, the adjuster 115 should determine the data storage amount of every change in the two packets 113 and 114 to determine which one should be given priority accordingly.

여기서 상기 두 피포들의 데이터 저장량(플레그 상태)에 따라 우선권이 주어지는 피포를 알아보면 하기 표1과 같다.Herein, the priorities given in accordance with the data storage amount (flag state) of the two packets are shown in Table 1 below.

제1피포의 플레그 상태Flag state of the first coat 제2피포의 플레그 상태Flag state of the second cover 관련식Related Expressions 버스점유피포Bus Occupation 완전히 빈상태Completely empty 거의 빈상태Almost empty 반쯤찬 상태Half full 거의찬상태Almost cold 완전히빈상태Completely empty 거의 빈상태Almost empty 반쯤찬상태Half full 거의 찬상태Almost cold YY YY AA YY NN YY 식(1)Formula (1) BB NN YY NN YY 식(5)Formula (5) AA NN YY NN NN 식(2)Formula (2) BB NN NN NN NN NN NN 식(6)Formula (6) AA NN NN NN NN NN YY NN 식(3)Formula (3) BB NN NN YY NN NN NN YY NN 식(7)Formula (7) AA NN NN YY NN NN NN YY YY 식(4)Formula (4) BB NN NN YY YY NN NN YY YY 식(8)Formula (8) AA

상기 표 1에서 상기 식(1)에 해당하는 경우는, 상기 제2피포(114)가 거의 빈상태(PAEn)이지만 완전히 빈상태(EFn)는 아니고, 상기 제1피포(113)는 완전히 빈상태(EFn)이므로, 상기 제2피포(114)에게 버스점유 우선권을 주어진 경우를 나타내고 있다.When Table 1 corresponds to Formula (1), the second envelope 114 is almost empty (PAEn) but not completely empty (EFn), and the first envelope 113 is completely empty. Since it is (EFn), the case where the bus occupancy priority is given to the said 2nd cover 114 is shown.

여기서 상기 두 피포들의 내부 저장량을 나타내는 플레그(EFn, PAEn, HFn, PAFn)를 이용한 버스점유 우선권 부여에 관한 상기 표 1의 (식)들을 나열하면 하기 표 2와 같다.Here, the formulas of Table 1 for assigning bus occupancy priority using flags (EFn, PAEn, HFn, PAFn) indicating the internal storage of the two packets are listed in Table 2 below.

bpri[0] 〈= !BPAEn && BEFn && !AEFn ;--------식(1)bpri[1] 〈= BEFn && BPAEn && !APAEn ;--------식(2)bpri[2] 〈= !BHFn && BPAFn && AHFn ;--------식(3)bpri[3] 〈= !BPAFn ;--------식(4)apri[0] 〈= !APAEn && AEFn && !BPAEn ;--------식(5)apri[1] 〈= AHFn && APAEn && BHFn ;--------식(6)apri[2] 〈= !AHFn && APAFn && BPAFn ;--------식(7)apri[3] 〈= !APAFn ;--------식(8)(여기서 부호 !는 각신호들의 상태가 '참'인 조건인 상태를 나타낸 것으로, 일예를 들어 상기 !BPAEn은 제2피포가 거의 빈상태(PAEn)인 상태를 나타낸다)bpri [0] <=! BPAEn && BEFn &&! AEFn; -------- Formula (1) bpri [1] <= BEFn && BPAEn &&! APAEn; -------- Formula (2 bpri [2] <=! BHFn && BPAFn &&AHFn; -------- Formula (3) bpri [3] <=! BPAFn; -------- Formula (4) apri [0 ] <=! APAEn && AEFn & &! BPAEn; -------- Formula (5) apri [1] <= AHFn & & APAEn &&BHFn; -------- Formula (6) apri [2 ] <=! AHFn & & APAFn & &BPAFn; -------- Equation (7) apri [3] <=! APAFn; -------- Equation (8) In this case, the state of the field is 'true' condition, for example, the! BPAEn represents the state that the second envelope is almost empty (PAEn))

상기 표 2에서 상기 bpri[], apri[]는 상기 두 피포들의 저장 상태 조합에 따라 출력되는 버스점유요구신호들을 나나태는 변수들이다. 상기 bpri[]와 apri[]는 각각 4개에 해당하는 신호들을 가지며, 상기 네 개의 신호중 어느 한 신호라도 "하이"가 되면 상기 하이가 뜬 변수에 해당하는 피포로 버스점유 우선권이 주어진다. 일예를 들어 상기 식(1)를 설명하면, 상기 식(1)에 해당하는 상태는 상기 제2피포(114)가 거의 빈상태(PAEn)이지만 완전히 빈상태(EFn)는 아니고, 상기 제1피포(113)은 완전히 빈상태(EFn)이므로, 상기 bpri[]의 첫 번째 영역 즉, bpri[0]에 해당하는 신호가 "하이"로 되고, 이로인해 상기 제2피포(114)가 상기 버스를 점유할 수 있는 우선권을 가지게 된다.In Table 2, bpri [] and apri [] are variables indicating bus occupancy request signals output according to a storage state combination of the two packets. The bpri [] and apri [] have four signals, respectively, and if any one of the four signals becomes “high”, the priority for occupying the bus is given. For example, when the equation (1) is described, the state corresponding to the equation (1) is that the second cover 114 is almost empty (PAEn) but not completely empty (EFn), and the first cover Since 113 is completely empty (EFn), the signal corresponding to the first region of bpri [], that is, bpri [0], becomes “high”, which causes the second cover 114 to stop the bus. You have priority to seize.

다시말해, 상기 bpri[0], bpri[1], bpri[2], bpri[3] 중 어느 한 신호라도 하이로 되면 상기 제2피포(114)가 버스를 점유하게 되며, 상기 apri[0], apri[1], apri[2], apri[3] 중 어느 한 신호라도 하이로 되면 상기 제1피포(113)가 상기 버스를 점유하게 되는 셈이다.In other words, when any one of the signals bpri [0], bpri [1], bpri [2], and bpri [3] goes high, the second packet 114 occupies the bus, and the apri [0] If any one of the signals apri [1], apri [2], and apri [3] becomes high, the first packet 113 occupies the bus.

도 3은 본 발명에 따른 조정기(115)의 제어 과정을 도시한 도면이다.3 is a diagram illustrating a control process of the regulator 115 according to the present invention.

먼저, 상기 조정기(115)는 311단계에서 프로세서의 동작이 개시되었는지를 판단한다. 이때 상기 프로세서의 동작 개시를 감지할 시 상기 조정기(115)는 313단계로 진행하며, 상기 프로세서의 동작 개시를 감지하지 못할 시 상기 조정기(115)는 321단계로 진행하여 대기상태로 진입한다. 여기서 상기 프로세서의 동작이라 함은 다양한 의미로 해석될 수 있으나, 본 발명에서는 상대편 보드와의 통신이 개시되는 시점으로 정의하기로 한다. 한편 상기 프로세서의 동작 개시를 감지하고 상기 313단계로 진행한 상기 조정기(115)는 최초 우선권을 가지고 있는 제1피포(113)가 버스를 점유하도록 버스점유신호를 상기 제1피포(113)으로 출력한다. 따라서 상기 제1피포(113)에 저장된 데이터가 상기 상대편 보드의 제1메모리(117)로 전달된다. 그리고 상기 조정기(115)는 315단계에서 제2피포(114)의 버스점유요구신호가 발생되는지를 검사한다. 즉, 상술한 4개의 bpri[0:3] 신호중에서 어느 하나라도 "하이"로 되는 것이 있는지를 검사한다. 이때 상기 제2피포(114)의 버스점유요구신호가 발생할 시 상기 조정기(115)는 317단계로 진행하며, 상기 제2피포(114)의 버스점유요구신호가 발생하지 않을 시 상기 조정기(115)는 상기 313단계로 되돌아가 상기 제1피포(113)로 계속해서 버스점유신호를 인가한다. 한편 상기 제2피포(114)의 버스점유신호 발생을 감지하고 상기 317단계로 진행한 상기 조정기(115)는 상기 제2피포(114)로 버스점유신호를 출력하여 상기 제2피포(114)가 버스를 점유하도록 제어한다. 그리고 상기 조정기(115)는 319단계에서 상기 제1피포(113)의 버스점유요구신호가 발생하는지를 검사한다. 이때 상기 제1피포(113)의 버스점유요구신호가 발생할 시 상기 조정기(115)는 상기 제1피포(113)로 버스점유신호를 출력하기 위해 상기 313단계로 되돌아가며, 상기 제1피포(113)의 버스점유요구신호가 발생하지 않을 시 상기 조정기(115)은 계속해서 상기 제2피포(114)에 버스점유신호를 출력하기 위해 상기 317단계로 되돌아간다.First, the adjuster 115 determines whether operation of the processor has been started in step 311. In this case, when detecting the start of the operation of the processor, the controller 115 proceeds to step 313, and when it fails to detect the start of the operation of the processor, the controller 115 proceeds to step 321 to enter a standby state. Here, the operation of the processor may be interpreted in various meanings, but in the present invention, it is defined as a time point at which communication with the other board is started. On the other hand, the controller 115, which detects the start of the operation of the processor and proceeds to step 313, outputs a bus occupancy signal to the first picpo 113 so that the first pico 113 having the first priority occupies the bus. do. Therefore, the data stored in the first envelope 113 is transferred to the first memory 117 of the opposite board. The regulator 115 checks whether a bus occupancy request signal of the second cover 114 is generated in step 315. That is, it is checked whether any one of the four bpri [0: 3] signals mentioned above becomes "high". At this time, when the bus occupancy request signal of the second cover 114 occurs, the regulator 115 proceeds to step 317. When the bus occupancy request signal of the second cover 114 does not occur, the adjuster 115 is performed. Return to step 313 to continue to apply the bus occupancy signal to the first cover 113. On the other hand, the controller 115 detects the occurrence of the bus occupancy signal of the second cover 114 and outputs a bus occupancy signal to the second cover 114 by the controller 115 proceeding to step 317. Control to occupy the bus. In step 319, the regulator 115 checks whether a bus occupancy request signal of the first cover 113 is generated. At this time, when the bus occupancy request signal of the first cover 113 occurs, the regulator 115 returns to step 313 to output a bus occupancy signal to the first cover 113, and the first cover 113 When no bus occupancy request signal is generated, the controller 115 returns to step 317 to continuously output a bus occupancy signal to the second cover 114.

즉, 상술한 바와 같이 본 발명은 프로세서 동작 개시 시점에서 초기 버스 점유 우선권은 상기 제1피포(113)에게 주어지고, 이후 상기 제2피포(114)의 데이터 저장량이 상기 제1피포(113)의 저장량보다 많아지는 시점에서 상기 버스점유 우선권을 상기 제2피포(114)로 변환해 준다. 즉, 버스를 점유하지 않고 있는 피포가 현재 버스를 점유하고 있는 피포보다 데이터 저장량이 많아지는 시점에서 버스점유 우선권이 바뀌는 동작을 반복함으로서 본 발명을 구현하였다.That is, as described above, in the present invention, an initial bus occupancy priority is given to the first packet 113 at the start of the processor operation, and then the data storage amount of the second packet 114 is determined by the first packet 113. The bus occupancy priority is converted into the second cover 114 at a point in time where the amount of storage is greater than the storage amount. In other words, the present invention is implemented by repeating the operation of changing the bus occupancy priority at a time when a data storage amount that is not occupied by the bus that occupies the bus increases.

또한 본 발명의 구현 일예로서 상기 도 3의 313단계에서 315단계에 이르는 내용을 하드웨어 프로그램 언어로 나타내면 하기 표 3과 같다.In addition, as an embodiment of the present invention, the contents of steps 313 to 315 of FIG. 3 are represented in a hardware program language as shown in Table 3 below.

Afifo:beginif ( | bpri )beginDsm 〈= Bfifo ;endendAfifo: beginif (| bpri) beginDsm <= Bfifo; endend

다음으로 상기 도 3의 317단계에서 319단계에 이르는 내용을 하드웨어 프로그램 언어로 나타내면 하기 표 4와 같다.Next, the contents ranging from step 317 to step 319 of FIG. 3 are expressed in a hardware program language, as shown in Table 4 below.

Bfifo:beginif ( | apri )beginDsm 〈= Afifo ;endendBfifo: beginif (| apri) beginDsm <= Afifo; endend

여기서 상기 Dsm은 현재 버스점유권을 가지고 있는 피포를 지정하는 변수이다.Here, the Dsm is a variable that designates the cover that has the current bus occupancy rights.

상술한 바와 같이 본 발명은 두 피포간의 버스 점유 방식을 피포 내부의 데이터 저장량을 표시하는 플레그(flag)를 이용하여 피포 내부의 데이터 변동에 따라 적절하게 실시간 조정함으로서 효과적인 피포 운용을 할 수 있게 하였다. 또한 필요에 따라 피포에 수록되는 데이터의 중요성을 고려하여 임의의 피포에 대해 더 많은 우선권을 확보해 줌으로서 중요한 데이터의 훼손 방지는 물론 안전한 데이터 전송이 가능하도록 하였다.As described above, according to the present invention, the bus occupancy method between the two captives can be effectively adjusted in real time according to the data variation in the captives using a flag indicating the amount of data stored therein. In addition, by considering the importance of data contained in the case, as necessary, the priority of any case is secured so that it is possible to prevent data from being damaged and to securely transmit data.

Claims (3)

다수의 피포들간의 공통버스 점유 제어 장치에 있어서,In the common bus occupancy control device between a plurality of packs, 프로세서 동작시 수신되는 데이터를 각각 저장하는 다수의 피포들과,A plurality of packets each storing data received when the processor is operated, 상기 다수의 피포들의 매순간 변화는 데이터 저장 상태에 따라 우선권이 주어지는 피포를 판단하고, 상기 우선권이 주어지는 피포로 버스점유신호를 인가하는 조정기로 구성되어,Every change of the plurality of packets is made up of an adjuster for determining the priority is given according to the data storage state, and applying a bus occupancy signal to the priority is given, 상기 버스점유신호를 인가받은 피포가 상기 하나의 공통버스를 점유하여 피포내에 저장된 데이터를 다른 보드로 전달함을 특징으로 하는 장치.The device receiving the bus occupancy signal occupies the common bus and transfers data stored in the packet to another board. 다수의 피포들간의 공통버스 점유 방법에 있어서,In the method of occupying a common bus among a plurality of packs, 상기 다수의 피포들의 데이터 저장 상태에 따라 우선권이 주어지는 피포를 판단하는 제1과정과,A first process of determining a priority given according to a data storage state of the plurality of targets; 상기 우선권이 부여된 피포내의 데이타를 상기 공통버스를 통해 타 보드로 데이터를 전달하고, 상기 제1과정을 재수행하는 제2과정으로 이루어짐을 특징으로 하는 다수의 피포들간의 공통버스 점유 방법.And a second process of transferring the data in the priority-applied cover to another board through the common bus and performing the first process again. 두 피포간의 공통버스 점유 방법에 있어서,In the method of occupying a common bus between two guns, 프로세서 동작시 제1피포로 버스점유신호를 출력하여 상기 제1피포내의 데이터를 상기 공통버스를 통해 타 보드로 전달하는 제1과정과,A first process of outputting a bus occupancy signal to a first capsule during operation of the processor and transferring data in the first capsule to another board through the common bus; 상기 데이터 전달중 제2피포의 버스점유요구신호가 발생하는지를 검사하여, 발생하지 않을 시 상기 제1과정을 재수행하는 제2과정과,A second process of checking whether a bus occupancy request signal of the second cover is generated during the data transmission, and performing the first process again if it does not occur; 상기 제2피포의 버스점유요구신호가 발생할 시 상기 제2피포로 버스점유신호를 출력하여 상기 제2피포내의 데이터를 상기 공통버스를 통해 타 보드로 전달하고, 상기 제1피포의 버스점유요구신호가 발생하는지를 검사하는 제3과정과,When the bus occupancy request signal of the second packet occurs, the bus occupancy signal is output to the second captive to transfer data in the second fabric to another board through the common bus, and the bus occupancy request signal of the first cap A third step of examining whether 상기 제1피포의 버스점유요구신호가 발생하지 않을 시 상기 제3과정을 재수행하며, 상기 제1피포의 버스점유요구신호가 발생할 시 상기 제1과정을 재수행하는 제4과정으로 이루어짐을 특징으로 하는 두 피포간 공통버스 점유 방법.When the bus occupancy request signal of the first cover does not occur, the third process is performed again, and when the bus occupancy request signal of the first cover occurs, the fourth process is performed again. How to occupy a common bus between two guns.
KR1019980017812A 1998-05-18 1998-05-18 Bus arbitration apparatus and method between two fifos KR100259946B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980017812A KR100259946B1 (en) 1998-05-18 1998-05-18 Bus arbitration apparatus and method between two fifos

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980017812A KR100259946B1 (en) 1998-05-18 1998-05-18 Bus arbitration apparatus and method between two fifos

Publications (2)

Publication Number Publication Date
KR19990085412A KR19990085412A (en) 1999-12-06
KR100259946B1 true KR100259946B1 (en) 2000-06-15

Family

ID=19537442

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980017812A KR100259946B1 (en) 1998-05-18 1998-05-18 Bus arbitration apparatus and method between two fifos

Country Status (1)

Country Link
KR (1) KR100259946B1 (en)

Also Published As

Publication number Publication date
KR19990085412A (en) 1999-12-06

Similar Documents

Publication Publication Date Title
US4755986A (en) Packet switching system
EP0674276B1 (en) A computer system
JPH021671A (en) Load control system for packet switchboard
KR970062934A (en) Data processing method and data processing device
US5983305A (en) Network adapter with data aligner
KR100259946B1 (en) Bus arbitration apparatus and method between two fifos
CN111143276A (en) Heterogeneous computing system and computing method thereof
KR20010053612A (en) Storage device and a method for operating the storage device
WO1996038792A1 (en) Monitoring and control of data flow in a computer network device
US20040230717A1 (en) Processing device
WO1999029071A1 (en) Resource sharing
US7610441B2 (en) Multiple mode content-addressable memory
US7593421B2 (en) Communication control device having multiprocessor
US20070206593A1 (en) ATM cell/packet switch and communication control method using the same
AU624745B2 (en) Packet/fast packet switch for voice and data
US7039783B2 (en) Dual apparatus and method thereof using concurrent write function
KR100258354B1 (en) Switch control apparatus for small capacity atm exchanger
KR100498909B1 (en) Inter-processor communication redundancy device of exchange system
KR0168792B1 (en) Apparatus and method for processing effectively received cell in atm
US20020181456A1 (en) Switch device and data transfer system
JP3103854B2 (en) Buffer device
JPS63144634A (en) Loop network system
JP3068427B2 (en) Message control unit
KR100365344B1 (en) Device for processing data of network access system and method thereof
JPH05276177A (en) Local area network system

Legal Events

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

Payment date: 20110225

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee