KR950013843B1 - Arbiration method and unit of multiplexing bus - Google Patents

Arbiration method and unit of multiplexing bus Download PDF

Info

Publication number
KR950013843B1
KR950013843B1 KR1019930003111A KR930003111A KR950013843B1 KR 950013843 B1 KR950013843 B1 KR 950013843B1 KR 1019930003111 A KR1019930003111 A KR 1019930003111A KR 930003111 A KR930003111 A KR 930003111A KR 950013843 B1 KR950013843 B1 KR 950013843B1
Authority
KR
South Korea
Prior art keywords
bus
signal
active
permission
signals
Prior art date
Application number
KR1019930003111A
Other languages
Korean (ko)
Other versions
KR940023088A (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 KR1019930003111A priority Critical patent/KR950013843B1/en
Publication of KR940023088A publication Critical patent/KR940023088A/en
Application granted granted Critical
Publication of KR950013843B1 publication Critical patent/KR950013843B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40084Bus arbitration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Bus Control (AREA)

Abstract

The multiplexing bus arbitrating method comprises the steps of: converting bus request signals transmitted to a plurality of bus controllers into active signals; selecting one of the active signals by checking bus permission signals received from the bus controllers and maintaining the selected signal as an active signal and converting the remaining signals into nonactive signals; converting the state of the bus permission perceiving signal transmitted to a designated bus controller according to the bus permission signal into an active state and then receiving/transmitting various data by using the bus; and generating a bus return signal after the reception/transmission of the data.

Description

다중화 버스 중재 방법 및장치Multiplexed bus arbitration method and apparatus

제1도는 일반적인 다중화 버스의 구조를 나타낸 도면이다.1 is a diagram showing the structure of a general multiplexed bus.

제2도는 종래의 버스할당 맵의 일예를 도시한 것이다.2 shows an example of a conventional bus allocation map.

제3도는 일반적인 아비트레이션 신호들을 나타내는 파형도이다.FIG. 3 is a waveform diagram illustrating general ablation signals.

제4도는 본 발명이 적용되는 다중화 버스의 구조를 나타낸 도면이다.4 is a diagram showing the structure of a multiplexed bus to which the present invention is applied.

제5도는 본 발명에 다중화 버스 중재 방법을 나타내는 순서도이다.5 is a flowchart showing a multiplexed bus arbitration method according to the present invention.

제6도는 본 발명인 다중화 버스 중재 장치를 나타내는 블럭도이다.6 is a block diagram showing a multiplexed bus arbitration apparatus according to the present invention.

제7도는 본 발명인 다중화 버스 중재장치의 일실시예에 따른 구체적인 블럭도이다.7 is a detailed block diagram according to an embodiment of the present invention, the multiplexed bus arbitration apparatus.

제8도는 제7도에 도시된 다중화 버스 중재장치의 각부 파형도이다.8 is a waveform diagram of each part of the multiplexed bus arbitration apparatus shown in FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

PE1,PE2,…,PEn : 복수의 프로세서 ME1,…,MEm : 복수의 메모리PE1, PE2,... PEn: Multiple processors ME1,... , MEm: multiple memories

I/Ol,…I/Ok : 복수의 일출력 단말기 601 : 버스선택수단I / Ol,… I / Ok: Multiple output terminals 601: Bus selection means

602 : 버스허가인지신호 발생수단 603 : 다중버스요구시호 발생수단602: bus permission acknowledgment signal generating means 603: multiple bus request signal generating means

본발명은 버스콘트롤을 수행하기 위한 다중화 버스 중재 방법 및 장치에 관한 것으로, 특히 다중화 버스를 사용하는 멀티 프로세서 시스템의 각 프로세서에 부착되는 버스 아비터에서 수행되는 방법 및 그 장치에 관한 것이다.The present invention relates to a multiplexed bus arbitration method and apparatus for performing bus control, and more particularly, to a method and apparatus performed in a bus arbiter attached to each processor of a multiprocessor system using a multiplexed bus.

제1도는 일반적인 이중화 버스의 구조를 나타낸 도면으로, A버스 제어기(101), B버스 제어기(102), 복수의 프로세서들(PE1,PE2,…,PEn ), 복수의 메모리들(ME1,…,MEm) 및 복수의 입출력단말기들(I/Ol,…I/Ok)은 상기 2개의 버스(A버스 및 B버스)에 공통 연결되며, 각 버스는 데이타가 전송되는 데이타버스와 어드레스가 전송되는 어드레스 버스 및 각종 제어신호가 전송되느 제어버스 등으로 구성된다. A버스 제어기(101) 및 B버스 제어기(102)는 해당 버스를 사용하기 위하여 버스요구신호를 보내오는 복수의 프로세서중 그 하나를 선택하여 그에게로 버스를 할당하는 기능을 수행한다. 이에 대한 좀더 구체적인 설명은 제3도를 이용하여 하기로 한다.FIG. 1 is a diagram illustrating a structure of a general redundant bus. The A bus controller 101, the B bus controller 102, a plurality of processors PE1, PE2,..., PEn, and a plurality of memories ME1,. MEm) and a plurality of input / output terminals (I / Ol,… I / Ok) are commonly connected to the two buses (A bus and B bus), and each bus is a data bus to which data is transmitted and an address to which an address is transmitted. It consists of a bus and a control bus through which various control signals are transmitted. The A bus controller 101 and the B bus controller 102 perform a function of selecting one of a plurality of processors that send a bus request signal to use the corresponding bus and allocating the bus to it. A more detailed description thereof will be made with reference to FIG. 3.

제1도에서 각 프로세서들(PE1,PE2,…,PEn )은 도면에는 도시하지 않았으나 그에 연결된 각 버스와의 인터페이스를 담당하기 위한 다중화 버스 중재 장치(아비터 : arbiter)를 포함하게 된다.In FIG. 1, each of the processors PE1, PE2,..., And PEn includes a multiplexing bus arbitration device (arbiter) for managing an interface with each bus connected thereto although not shown in the drawing.

여기서 종래의 다중화 버스 중재 장치에 대하여 제2도 및 제3도를 참조하여 설명하기로 한다.A conventional multiplexing bus arbitration apparatus will now be described with reference to FIGS. 2 and 3.

제2도는 종래의 버스할당 맵의 일예를 도시한 것으로, 각 프로세서들(PE1,PE2,…,PEn )이 각 메모리들(ME1,…,MEm) 및 각 입출력 단말기들(I/Ol,…I/Ok)로 액세스하기 위하여 이용하여야 할 버스를미리 정하여 놓은 것이다. 예를 들어, 프로세서(PE3)가 메모리(ME2)에 액세스하기 위하여는 버스B를 사용하여야 하며, 입출력 단말기(I/Ol)를 액세스하기 위하여는 버스A를 사용하여야만 한다. 따라서, 종래의 다중화 버스 중재 장치는 지정된 버스와의 인터페이스만을 수행하였다.2 illustrates an example of a conventional bus allocation map, in which each of the processors PE1, PE2,..., And PEn has each of the memories ME1,..., MEm and the input / output terminals I / Ol,... / Ok) is a predefined bus to use for access. For example, the processor PE3 must use bus B to access the memory ME2, and the bus A must be used to access the input / output terminal I / Ol. Therefore, the conventional multiplexed bus arbitration apparatus only performed the interface with the designated bus.

제3도는 지정된 버스와의 인터페이스를 수행하기 위하여 송수신되는 신호들의 파형도를 나타낸 것으로, 버스클럭신호(/BLOCK), 버스요구신호(/BR), 버스허가신호(/BG), 및 버스허가 인지신호(/BGACK)가 도시되어 있다.3 is a waveform diagram of signals transmitted and received to perform an interface with a designated bus, and includes a bus clock signal (/ BLOCK), a bus request signal (/ BR), a bus permission signal (/ BG), and a bus permission recognition. The signal / BGACK is shown.

제3도에서 버스클럭신호(/BLOCK)는 버스상에서 송수신되는 신호들의 동기클럭이며, 버스요구신호(/BR)는 프로세서의 요구에 따라 다중화 버스 중재 장치에서 버스제어기로 전송되는 신호이다. 버스제어기는이와 같은 버스요구신호(/BR)들을 복수의 프로세서들로부터 수신한 후 소정 알고리즘에 따라 그중 하나의 프로세서를 선택한 후, 선택된 프로세서의 다중화 버스 중재 장치로 버스허가신호(/BG)를 전송하게 된다. 버스허가신호(/BG)를 수신한 다중화 버스 중재 장치는 버스허가신호(/BG)를 수신하였음을 나타내는 버스허가 인지신호(/BGACK)를 해당 버스제어기로 전송하게 된다. 버스허가신호(/BG)가 전송되면 버스허가신호(/BG)가 액티브인 기간동안 그 버스를 이용하여 데이타, 어드레스 및 제어신호를 전송하게 된다. 제3도에서 ①은 버스요구가 이루어지는 싯점을 나타내고, ②는 프로세서가 버스를 이용하는 기간을 나타내며, ③은 버스를 반납하는 싯점을 나타낸다.In FIG. 3, the bus clock signal / BLOCK is a synchronous clock of signals transmitted and received on the bus, and the bus request signal / BR is a signal transmitted from the multiplexed bus arbitration apparatus to the bus controller according to the request of the processor. The bus controller receives such a bus request signal (/ BR) from a plurality of processors, selects one of the processors according to a predetermined algorithm, and then sends the bus permission signal (/ BG) to the multiplexed bus arbitration apparatus of the selected processor. Will be sent. The multiplexing bus arbitration apparatus receiving the bus permission signal / BG transmits a bus permission acknowledgment signal / BGACK indicating that the bus permission signal / BG has been received to the corresponding bus controller. When the bus permission signal / BG is transmitted, data, address and control signals are transmitted by using the bus while the bus permission signal / BG is active. In FIG. 3, ① indicates a point at which a bus request is made, ② indicates a period during which the processor uses the bus, and ③ indicates a point where the bus is returned.

그러나 상술한 바와 같은 종래의 다중화 버스 중재 장치는 실질적으로 여러개의 버스가 연결되어 있음에도 불구하고, 지정된 버스만을 이용하기 때문에 버스의 이용율이 떨어지게 되며, 그에 따라 시스템의 효율도 떨어지는 문제점이 있다. 다시 말하면, 어떤 프로세서(PEi)가 어떤 메모리(MEj)를 액세스할 때 버스A르 사용하도록 지정되어 있으면, 버스B가 사용가능한 상태라 할지라도 버스A가 사용가능한 상태가 될 때 까지 기다려야 하는 문제점이 발생하게 된다.However, the conventional multiplexing bus arbitration apparatus as described above has a problem in that the utilization rate of the bus is lowered because only a designated bus is used even though a plurality of buses are substantially connected, thereby reducing the efficiency of the system. In other words, if a processor (PEi) is specified to use the bus when accessing some memory (MEj), there is a problem of waiting for bus A to become available even if bus B is available. Will occur.

따라서 본 발명의 목적은 상술한 문제점을 해결하여 버스의 이용율을 높일 수 있는 다중화 버스 중재 방법을 제공하는 것에 있다.Accordingly, an object of the present invention is to provide a multiplexed bus arbitration method that can solve the above problems and increase the utilization of the bus.

본 발명의 다른 목적은 상기 다중화 버스 중재 방법에 따른 아비트레이션 신호를 발생함으로써 다수의 버스와의 인터페이스를 수행하는 다중화 버스 중재 장치를 제공하는 것에 있다.Another object of the present invention is to provide a multiplexing bus arbitration apparatus for performing an interface with a plurality of buses by generating an ablation signal according to the multiplexing bus arbitration method.

상기 목적을 달성하기 위하여 본 발명인 다중화 버스 중재 방법은 각 프로세서마다 복수의 버스가 다중화 버스 중재 장치를 통하여 연결되며, 각 버스에 대한 버스제어기를 포함하여 구성되는 멀티 프로세서 시스템의 각 프로세서에서 버스를 제어하는 방법에 있어서 복수의 버스제어기로 전송되는 버스요구신호들을 액티브로 변환하는 과정과; 복수의 버스제어기로부터 수신되는 버스허가신호들을 검사하여 액티브된 신호중 그 하나의 신호를 선택하여 액티브로 보존하고 그나머지 신호들은 논액티브로 변환하는 과정과; 선택적으로 액티브된 버스허가신호에 따라 지정되는 버스제어기로 전송되는 버스허가 인지신호의 상태를 액티브로 변환한 후 프로세서가 그 버스를 이용하여 각종 데이타를 송수신하도록 하는 과정과; 데이타의 송수신이 끝나면 버스를 반납하는 신호를 발생하는 과정을 구비하는 것을 특징으로 한다.In order to achieve the above object, in the multiplexed bus arbitration method of the present invention, a plurality of buses are connected to each processor through a multiplexed bus arbitration apparatus, and a bus is controlled by each processor of a multiprocessor system including a bus controller for each bus. A method for converting a bus request signal transmitted to a plurality of bus controllers into an active method, the method comprising: converting a bus request signal into an active state; Examining bus permission signals received from the plurality of bus controllers, selecting one of the active signals, preserving it as active, and converting the remaining signals into non-active; Converting a state of a bus permission acknowledgment signal transmitted to a bus controller designated according to an optionally activated bus permission signal to an active state and causing a processor to transmit and receive various data using the bus; After the transmission and reception of data is characterized in that it comprises a process for generating a signal returning the bus.

상기 다른 목적을 달성하기 위하여 본 발명인 다중화 버스중재 장치는 각 프로세서마다 복수의 버스가 연결되며, 각 버스에 대한 버스제어기를 포함하여 구성되는 멀티 프로세서 시스템에 있어서, 버스제어기로 부터 수신되는 모든 버스허가 인지시호들이 논액티브이고 프로세서로부터 버스사용요구를 나타내는 신호(/Pbr)가 액티브인 경우에 액티브되는 복수의 버스요구신호들을 발생하는 다중 버스 요구신호 발생수단과; 복수의 제어기들로부터 수신되며 액티브인 버스허가신호들중 하나를 선택하여 액티브로 보존하며 그 이외의 버스허가신호들의 상태는 논액티브로 변환하여 출력하는 버스선택수단; 및 선택적으로 액티브된 버스허가 신호에 따라 지정되는 버스제어기로 전송되는 버스허가 인지신호만을 액티브하여 출력하는 버스허가 인지신호 발생수단을 구비하는 것을 특징으로 한다.In order to achieve the above object, the multiplexing bus arbitration apparatus of the present invention has a plurality of buses connected to each processor, and includes a bus controller for each bus, wherein all bus permits are received from the bus controller. Multiple bus request signal generating means for generating a plurality of bus request signals that are activated when the recognition signals are non-active and the signal / Pbr indicating a bus use request from the processor is active; Bus selecting means for selecting one of the bus permission signals that are received from the plurality of controllers and keeping the signal active and storing the other bus permission signals non-active; And a bus permission acknowledgment signal generating means for activating and outputting only a bus permission acknowledgment signal transmitted to a bus controller that is selectively designated according to an activated bus permission signal.

이러서 제 4 도 내지 제 8 도를 이용하여 본 발명에 대하여 좀더 상세히 설명하기로 한다.Thus, the present invention will be described in more detail with reference to FIGS. 4 to 8.

제 4 도는 본 발명이 적용되는 다중화 버스의 구조를 나타낸 도면으로, 프로세서에는 복수의 버스들이 다중화 버스 중재 장치를 통하여 연결되며, 각 버스들은 버스이용을 제어하기 위한 버스제어기들이 연결되어 있다.4 is a diagram illustrating a structure of a multiplexed bus to which the present invention is applied. A plurality of buses are connected to a processor through a multiplexed bus arbitration apparatus, and buses are connected to bus controllers for controlling bus use.

제 5 도는 제 4 도와 같이 하나의 프로세서에 다수의 버스들이 다중화 버스 중재 장치를 통하여 연결될 때, 다중화 버스 중재 장치와 버스제어기간에 송수신되는 아비트레이션 신호 발생 방법 즉 다중화 버스중재 방법을 나타내는 순서도이다.FIG. 5 is a flowchart illustrating a method of generating an arbitration signal, that is, a multiplexed bus arbitration method, transmitted and received in a bus control period when multiple buses are connected to a single processor through a multiplexed bus arbitration device as shown in FIG.

제 5 도에 있어서, 제501단계에서는 다중화 버스 중재 장치에서 복수의 버스제어기로 전송되는 버스요구신호(/BR)를 액티브로 전환하게 된다. 이와 같은 버스요구신호(/BR)가 복수의 버스제어기로 전송되면, 제502단계에서 다중화 버스 중재 장치는 각 버스제어기들로부터 수신되는 버스허가신호들(/BG_A,/BG_B,…)의 상태를 체크하여 액티브인 것을 검출한 후, 액티브된 버스허가신호들중 하나의 버스허가신호를 선택하게 된다. 여기서 단지 하나의 버스허가신호만이 액티브된 경우에는 그 버스허가신호를선택하게 되며, 복수의 버스허가신호들이 액티브된 경우에는 소정 규칙에 따라 그중 하나의 버스허가신호를 선택하게 된다. 제503단계는 선택된 버스허가신호에 따라 분기동작을 수행하는 단계이다.5, in step 501, the bus request signal / BR transmitted from the multiplexed bus arbitration apparatus to the plurality of bus controllers is switched to active. When such a bus request signal / BR is transmitted to a plurality of bus controllers, the multiplexed bus arbitration apparatus may determine the state of the bus permission signals / BG_A, / BG_B, ... received from the respective bus controllers in step 502. After the check is detected to be active, one of the active bus permission signals is selected. Here, when only one bus permission signal is activated, the bus permission signal is selected. When a plurality of bus permission signals are activated, one bus permission signal is selected according to a predetermined rule. Step 503 is a step of performing a branch operation according to the selected bus permission signal.

제504단계 내지 제506단계는 A버스허가신호(/BG_A)가 선택된 경우에 수행되는 단계이다. 제504단계에서 다중화 버스 중재 장치는 A버스 제어기(101)로 전송되는 버스허가 인지신호(/BGACK)를 액티브로 전환하게 된다. 이와 같은 동작이 수행되는 A버스의 사용권을 획득하게 되므로, 제505단계에서 A버스를 이용하여 각종 데이타를 송수신하게 된다. 데이타의 송수신이 끝나게 되면, 제506단계에서 다중화 버스 중재 장치는 버스를 반납하기 위한 신호를 발생하게 된다.Steps 504 to 506 are performed when the A bus permission signal / BG_A is selected. In operation 504, the multiplexing bus arbitration apparatus switches the bus permission acknowledgment signal / BGACK transmitted to the A bus controller 101 to an active state. Since the right to use the A bus is performed, the data is transmitted and received using the A bus in step 505. When the transmission and reception of data is finished, the multiplexing bus arbitration apparatus generates a signal for returning the bus in step 506.

제507단계 내지 제509단계는 B버스허가신호(/BG_B)가 선택된 경우에 수행되는 단계로서, 상기 제507단계에서 B버스에 대한 버스허가 인지신호(/BGACK)를 액티브로 전환한 후, 제508단계에서 B버스를 이용하여 데이타를 송수신하며, 제509단계에서 B버스를 반납하게 된다. 즉 507단계 내지 제509단계는 A버스에 대한 신호들을 B버스에 대한 신호들로 대체하기만 하면, 제504단계 내지 제506단계와 동일하다고 볼수 있다. 도면에는 도시하지 않았으나 시스템이 하나에 프로세스에 대하여 더 많은 버스가 이용가능하도록 구성되는 경우에는, 제504단계 내지 제506단계의 알고리즘을 해당버스에 대한 것으로 변환하여 추가적으로 도시할 수 있다.Steps 507 to 509 are performed when the B bus permission signal / BG_B is selected. After the bus permission acknowledgment signal / BGACK for the B bus is switched to active in step 507, the B bus permission signal / BG_B is selected. In step 508, data is transmitted and received using the B bus, and in step 509, the B bus is returned. That is, the steps 507 to 509 may be regarded as the same as the steps 504 to 506 as long as the signals for the A bus are replaced with the signals for the B bus. Although not shown in the drawing, when the system is configured to make more buses available to one process, the algorithms of steps 504 to 506 may be converted to those for the corresponding bus and further illustrated.

제 6 도는 제 5 도에서 설명한 알고리즘에 따른 동작을 수행할 수 있는 다중화 버스 중재 장치를 나타내는 블럭도로서, 버스선택수단(601), 버스허가 인지신호 발생수단(602) 및 다중 버스 요구신호 발생수단(603)을 포함하여 구성된다.6 is a block diagram showing a multiplexed bus arbitration apparatus capable of performing operations according to the algorithm described in FIG. 5, wherein the bus selecting means 601, the bus permission acknowledgment signal generating means 602, and the multiple bus request signal generating means. 603 is configured.

제6도에 있어서, 다중 버스 요구신호 발생수단(603)은 프로세서로부터 버스사용요구를 나타내는 버스사용요구신호(/Pbr)를 입력하고 버스허가 인지신호 발생수단(602)으로부터 출력되는 복수의 버스허가 인지신호들(/BGACK_A, BGACK_B,…)을 입력하여, 모든 버스허가 인지신호들(/BGACK_A, BGACK_B,…)이 액티브가 아니고 버스사용요구신호(/Pbr)인 액티브인 경우에 각 버스제어기로 전송되는 버스요구신호들(/BR_A, BR_B,…)을 액티브로 하여 출력하게 된다.In FIG. 6, the multiple bus request signal generating means 603 inputs a bus use request signal / Pbr indicating a bus use request from the processor and outputs a plurality of bus permission outputs from the bus permission recognition signal generating means 602. Input the acknowledgment signals / BGACK_A, BGACK_B, ... to the respective bus controllers when all bus permission acknowledgment signals / BGACK_A, BGACK_B, ... The bus request signals / BR_A, BR_B, ... transmitted are made active and output.

버스선택수단(601)은 복수의 제어기로부터 전송되어 수신되는 버스요구신호들(/BR_A, BR_B,…)을 입력 한 후 액티브된 신호중 그 하나만을 선택하여 액티브상태로 보존하고 선태되지 않은 신호는 논액티브상태로 변환하여 출력함으로써, 사용이 허가된 복수의 버스중 그 하나를 선택하는 기능을 수행하게 된다.The bus selecting means 601 inputs the bus request signals / BR_A, BR_B, ... that are transmitted and received from the plurality of controllers, and then selects only one of the active signals and keeps them in an active state. By converting to an active state and outputting, it is possible to perform a function of selecting one of a plurality of licensed buses.

버스허가 인지신호 발생수단(602)은 상기 신호(/Pbr)와 상기 버스선택수단(601)의 출력시호들을 입력하여 버스허가 인지신호들(/BGACK_A, BGACK_B,…)중 선택된 버스에 대한 버스허가 인지신호만을 액티브하여 출력하는 기능을 수행한다.The bus permission acknowledgment signal generating means 602 inputs the signals / Pbr and the output signals of the bus selecting means 601 to provide a bus permission for the selected bus among the bus permission acknowledgment signals / BGACK_A, BGACK_B,... Only active signals are outputted.

제 7 도는 본 발명인 다중화 버스 중재 장치의 일실예에 따른 구체적인 블럭도를 도시한 것으로, 버스선택수단(601)은 2개의 인버터(I1,I2)와 2개의 논리합수단(OR1,OR2) 및 2개의 지연기(D-FF1, D-FF2)를 포함하여 구성되고, 다중 버스요구신호 발생수단(603)은 2개의 논리합수단(OR3,OR4)을 포함하여 구성되며, 버스허가 인지신호 발생수단(602)은 논리곱반전수단(ND)과 논리합수단(OR5)을 포함하여 구성된다. 특히 제 7 도는 통상의 다중화 버스 중재장치 및 버스제어기가 부논리값인 "0"레벨을 액티브로 하여 구성되기 때문에, 마찬가지로 "0"레벨 액티브로 동작되도록 구성되었다.7 shows a detailed block diagram according to an embodiment of the multiplexing bus arbitration apparatus of the present invention, wherein the bus selecting means 601 includes two inverters I1 and I2, two logical sum means OR1 and OR2, and two The multi-bus request signal generating means 603 is configured to include delay units D-FF1 and D-FF2, and includes two logical sum means OR3 and OR4, and the bus permission acknowledgment signal generating means 602. ) Includes a logical product inverting means (ND) and a logical sum means (OR5). In particular, Fig. 7 is configured to operate in the "0" level active as the normal multiplexed bus arbitration apparatus and the bus controller are configured with the negative logic "0" level active.

제 7 도에서 제 1 논리합수단(PR1), 제 2 논리합수단(OR2), 제 1 인버터(I1) 및 제 2 인버터(I2)는 다음 표-1과 같은 입출력 기능을 수행한다.In FIG. 7, the first logical sum means PR1, the second logical sum means OR2, the first inverter I1, and the second inverter I2 perform input / output functions as shown in Table 1 below.

[표 1]TABLE 1

표-1에서 알 수 있는 바와 같이 출력인 X2 및 X2의 값이 동시에 액티브 즉 "0"로 되는 경우가 없음을 알 수있다. 이와 같은 출력신호들(X2,Y2)은 2개의 지연기들(D-FF1,D-FF2)로 인가된다. 지연기들(D-FF1,D-FF2)은 버스클럭신호(/BLOCK)의 "1"레벨 구간에서 입력되는 신호를 랫치하였다가 하강엣지에서 출력하는 것으로, 상기 출력신호들(X2,Y2)을 버스클럭신호(/BLOCK)의 다음 하강엣지까지 지연하는 기능을 수행한다. 이와 같이 지연된 신호들(X1,Y1)은 제 3 논리합수단(OR3) 및 제 4 논리합수단(OR4)로 인가되어 신호(/Pbr)와 각각 논리합된다. 즉 3 논리합수단(OR3) 및 제 4 논리합수단(OR4)은, 프로세서로부터 인가되는 신호(/Pbr)가 액티브이고 버스선택수단(601)의 출력중 해당 버스에 대한 출력이 액티브일 때 액티브되는 신호르 발생하게 된다.As can be seen from Table-1, it can be seen that the values of the outputs X2 and X2 do not become active, that is, "0" at the same time. The output signals X2 and Y2 are applied to two delayers D-FF1 and D-FF2. The delay units D-FF1 and D-FF2 latch the signal input in the "1" level section of the bus clock signal / BLOCK and output the signal at the falling edge. The output signals X2 and Y2 are output. Delays to the next falling edge of the bus clock signal (/ BLOCK). The delayed signals X1 and Y1 are applied to the third logical sum means OR3 and the fourth logical sum means OR4 and are respectively ORed with the signal / Pbr. That is, the third logical sum means OR3 and the fourth logical sum means OR4 are signals that are activated when the signal / Pbr applied from the processor is active and the output of the corresponding bus among the outputs of the bus selection means 601 is active. Le will occur.

한편, 논리곱반전수단(ND)은 상기 버스선택수단(601)의 출력신호들(X1,Y1)을 논리곱한 후 반전하는 기능을 수행하는 것으로, 둘중에 어느 하나라도 액티브가 되면 액티브되는 신호를 출력하게 된다. 이러한 논리곱반전수단의 출력은 프로세서에 버스가 할당되어 있음을 나타내는 것으로, 버스요구신호가 중복되어 발생되지 않도록 하기 위한 것이다. 제 5 논리합수단(OR5)는 이러한 기능을 수행하기 위하여 논리곱반전수단(ND)의 출력이 논액티브이고 프로세서로부터의 버스요구를 나타내는 신호(/Pbr)가 액티브일 때 액티브되는 신호를 출력하여 각 버스제어기로 전송하게 된다.On the other hand, the logical product inverting means ND performs a function of performing an AND operation on the output signals X1 and Y1 of the bus selecting means 601 and then inverting them. Will print. The output of the logical product inversion means that the bus is allocated to the processor, and the bus request signal is not duplicated. In order to perform this function, the fifth logical sum means OR5 outputs a signal that is activated when the output of the logical product inversion means ND is non-active and the signal / Pbr indicating a bus request from the processor is active. Transfer to bus controller.

제 8 도는 제 7 도에 도시된 다중화 버스 중재장치의 각부 파형도를 나타낸 것으로서, ①은 버스요구가 이루어지는 싯점을 나타내고, ②는 프로세서가 버스를 이용하는 기간을 나타내며, ③은 버스를 반납하는 싯점을 나타낸다. 도면에서 알 수 있는 바와 같이 데이타의 송수신이 끝나게 되면, 먼저 프로세서로부터 버스사용요구를 나타내는 신호(/Pbr)가 논액티브로 변환되며, 그에 따라 A버스허가 인지신호(/BGACK_A)가 논액티브로 변환되어 버스르 반납하게 된다.8 is a waveform diagram of each part of the multiplexed bus arbitration apparatus shown in FIG. 7, where ① indicates a point at which a bus request is made, ② indicates a period during which the processor uses the bus, and ③ indicates a point at which the bus is returned. Indicates. As can be seen from the figure, when data transmission and reception are finished, the signal (/ Pbr) indicating the bus use request is first converted into non-active by the processor, and thus the A bus permission acknowledgment signal (/ BGACK_A) is converted into non-active. It is returned by bus.

상술한 바와 같이 본 발명은 다중화 버스를 효율적으로 이용하기 위한 다중화 버스 중재 방법 및 장치에 관한 것으로, 시스템의 전체적인 성능을 향상시키는 효과가 있다.As described above, the present invention relates to a multiplexing bus arbitration method and apparatus for efficiently using the multiplexing bus, and has an effect of improving the overall performance of the system.

Claims (6)

각 프로세서마다 복수의 버스가 다중화 버스 중재 장치를 통하여 연결되며, 각 버스에 대한 버스제어기를 포함하여 구성되는 멀티 프로세서 시스템의 각 프로세서에서 버스를 제어하는 방법에 있어서 복수의 버스제어기로 전송되는 버스요구신호들을 액티브로 변환하는 과정과; 복수의 버스제어기로부터 수신되는 버스허가신호들을 검사하여 액티브된 신호중그 하나의 신호를 선택하여 액티브로 보존하고 그 나머지신호들은 논액티브로 변환하는 과정과; 선택적으로 액티브된 버스허가신호에 따라 지정되는 버스제어기로 전송되는 버스허가 인지신호의 상태를 액티브로 변환한 후 프로세서가 그 버스를 이용하여 각종 데이타를 송수신하도록 하는 과정과; 데이타의 송수신이 끝나면 버스를 반납하는 신호를 발생하는 과정을 구비하는 것을 특징으로 하는 다중화 버스 중재 방법.In the method for controlling a bus in each processor of a multi-processor system, in which a plurality of buses are connected to each processor through a multiplexed bus arbitration device and including a bus controller for each bus, the bus request is transmitted to a plurality of bus controllers. Converting the signals into active; Inspecting bus permission signals received from the plurality of bus controllers, selecting one of the active signals, keeping the signal active, and converting the remaining signals into non-active; Converting a state of a bus permission acknowledgment signal transmitted to a bus controller designated according to an optionally activated bus permission signal to an active state and causing a processor to transmit and receive various data using the bus; And generating a signal for returning the bus when data transmission and reception is finished. 각 프로세서마다 복수의 버스가 연결되며, 각 버스에 대한 버스제어기를 포함하여 구성되는 멀티 프로세서 시스템에 있어서, 버스제어기로 부터 수신되는 모든 버스허가 인지신호들이 논액티브이고 프로세서로부터 버스사용요구를 나타내는 신호(/Pbr)가 액티브인 경우에 액티브되는 복수의 버스요구신호들을 발생하는 다중 버스 요구신호 발생수단과; 복수의 제어기들로부터 수신되며 액티브인 버스허가신호들중 하나를 선택하여 액티브로 보존하며 그 이외의 버스허가신호들의 상태는 논액티브로 변환하여 출력하는 버스선택수단; 및 선택적으로 액티브된 버스허가신호에 따라 지정되는 버스제어기로 전송되는 버스허가 인지신호만을 액티브하여 출력하는 버스허가 인지신호 발생수단을 구비하는 것을 특징으로 하는 다중화 버스 중재 장치.In a multiprocessor system, in which a plurality of buses are connected to each processor and include a bus controller for each bus, all bus permission acknowledgment signals received from the bus controller are non-active and signals indicating a bus usage request from the processor. Multiple bus request signal generating means for generating a plurality of bus request signals that are activated when (/ Pbr) is active; Bus selecting means for selecting one of the bus permission signals that are received from the plurality of controllers and keeping the signal active and storing the other bus permission signals non-active; And bus permission acknowledgment signal generating means for activating and outputting only a bus permission acknowledgment signal transmitted to a bus controller which is selectively designated according to an activated bus permission signal. 상기 제 2 항에 있어서, 프로세서가 이용가능한 버스가 2개이며 "0"레벨 액티브로 동작하는 경우에 상기 버스선택수단은 제 1 버스허가신호와 다른 하나의 신호를 논리합하는 제 1 논리합수단과 ; 상기 제 1 논리합수단의 출력을 반전하는 제 1 인버팅수단과 ; 제 2 버스허가신호와 상기 제 1 인버팅수단의 출력을 논리합하는 제 2 논리합수단과 ; 상기 제 2 논리합수단의 출력을 반전하여 상기 제 1 논리합수단의 다른 하나의 입력으로 인가하는 제 2 인버팅수단을 포함하여 구성되는 것을 특징으로 하는 다중화 버스 중재 장치.3. The apparatus of claim 2, wherein the bus selecting means comprises: first logical sum means for ORing the first bus permission signal and the other signal when there are two buses available to the processor and operating at " 0 " level active; First inverting means for inverting the output of the first logical sum means; Second logical sum means for ORing the second bus permission signal and the output of the first inverting means; And a second inverting means for inverting the output of the second logical sum means and applying it to the other input of the first logical sum means. 제 3 항에 있어서, 상기 버스선택수단은 상기 제 1 논리합수단의 출력을 버스클럭신호의 엣지까지 지연하는 제 1 지연기와 ; 상기 제 2 논리합수단의 출력을 버스클럭신호의 엣지까지 지연하는 제 2 지연기를 더 구비하는 것을 특징으로 하는 다중화 버스 중재 장치.4. The apparatus of claim 3, wherein the bus selecting means comprises: a first delay unit for delaying the output of the first logical sum means to an edge of a bus clock signal; And a second delayer for delaying the output of said second logical sum means to the edge of a bus clock signal. 상기 제 2 항에 있어서, 프로세서가 이용가능한 버스가 2개이며 "0"레벨 액티브로 동작하는 경우에 상기 버스허가 인지신호 발생수단은 상기 프로세서로부터 입력되며 버스사용요구를 나타내는 신호(/Pbr)와 상기 버스선택수단을 통하여 변환된 제 1 버스허가신호를 논리합하는 제 3 논리합수단과 ; 상기 프로세서로부터 입력되며 버스사용요구를 나타내는 신호(/Pbr)와 상기 버스선택수단을 통하여 변환된 제 2 버스허가신호를 논리합하는 제 4 논리합수단을 구비하는 것을 특징으로 하는 다중화 버스 중재 장치.3. The signal according to claim 2, wherein the bus permission acknowledgment means is input from the processor and indicates a bus usage request when there are two buses available to the processor and operate at " 0 " level active. Third logical sum means for ORing the first bus permission signal converted by the bus selecting means; And a fourth logical sum means for ORing a signal (/ Pbr) input from the processor to indicate a bus use request and the second bus permission signal converted through the bus selecting means. 상기 제 2 항에 있어서, 프로세서가 이용가능한 버스가 2개이며 "0"레벨 액티브로 동작하는 경우에 상기 다중 버스요구신호 발생수단은 상기 버스 선택수단의 출력들을 논리곱하여 반전하는 논리곱반전수단과 ; 상기 프로세서로부터 입력디며 버스사용요구를 나타내는 신호(/Pbr)와 상기 논리곱반전수단의 출력을 논리합하는 제 5 논리합수단을 구비하는 것을 특징으로 하는 다중화 버스 중재 장치.3. The multi-bus request signal generating means according to claim 2, wherein the multi-bus request signal generating means performs an AND logic operation on the inverses of the outputs of the bus selecting means when there are two buses available to the processor and operate at " 0 " level active. ; And a fifth logical sum means for logically combining a signal (/ Pbr) input from the processor and a request for bus usage and the output of the logical product inverting means.
KR1019930003111A 1993-03-03 1993-03-03 Arbiration method and unit of multiplexing bus KR950013843B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930003111A KR950013843B1 (en) 1993-03-03 1993-03-03 Arbiration method and unit of multiplexing bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930003111A KR950013843B1 (en) 1993-03-03 1993-03-03 Arbiration method and unit of multiplexing bus

Publications (2)

Publication Number Publication Date
KR940023088A KR940023088A (en) 1994-10-22
KR950013843B1 true KR950013843B1 (en) 1995-11-16

Family

ID=19351547

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930003111A KR950013843B1 (en) 1993-03-03 1993-03-03 Arbiration method and unit of multiplexing bus

Country Status (1)

Country Link
KR (1) KR950013843B1 (en)

Also Published As

Publication number Publication date
KR940023088A (en) 1994-10-22

Similar Documents

Publication Publication Date Title
US4665483A (en) Data processing system architecture
RU2110838C1 (en) Device for optimization of universal bus access during direct memory access data transmission
US4969120A (en) Data processing system for time shared access to a time slotted bus
US5701413A (en) Multi-processor system with shared memory
US4814970A (en) Multiple-hierarchical-level multiprocessor system
US3940743A (en) Interconnecting unit for independently operable data processing systems
WO1989002127A1 (en) Method and apparatus for interconnecting busses in a multibus computer system
WO1988008584A1 (en) Method and apparatus for implementing multiple lock indicators in a multiprocessor computer system
AU1807988A (en) Node for servicing interrupt request messages on a pended bus
AU1930388A (en) Interrupting node for providing interrupt requests to a pended bus
JPH07105146A (en) Common memory device
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
AU611964B2 (en) Inter and intra priority resolution network for an asynchronous bus system
JPH08263312A (en) Method and apparatus for bus arbitration
KR950013843B1 (en) Arbiration method and unit of multiplexing bus
JPH08161254A (en) Information processing system and bus arbitration system therefor
GB2366029A (en) Arbitration method to allow multiple translation lookaside buffers to access a common hardware page walker
JP2008511890A (en) Method and apparatus for changing information unit using atomic operation
KR100487218B1 (en) Apparatus and method for interfacing an on-chip bus
KR100190184B1 (en) Transmitting circuit for data with serial bus line
JPH05289987A (en) Bus right arbitrating circuit
EP0284094B1 (en) Tandem priority resolver
JPH064401A (en) Memory access circuit
KR920000480B1 (en) Arbitration method of interrupt bus
JP3050131B2 (en) Arbitration method

Legal Events

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

Payment date: 20041029

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee