KR20000018867A - Bus arbitration system in exchange system - Google Patents

Bus arbitration system in exchange system Download PDF

Info

Publication number
KR20000018867A
KR20000018867A KR1019980036682A KR19980036682A KR20000018867A KR 20000018867 A KR20000018867 A KR 20000018867A KR 1019980036682 A KR1019980036682 A KR 1019980036682A KR 19980036682 A KR19980036682 A KR 19980036682A KR 20000018867 A KR20000018867 A KR 20000018867A
Authority
KR
South Korea
Prior art keywords
bus
processor
processors
data
signal
Prior art date
Application number
KR1019980036682A
Other languages
Korean (ko)
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 KR1019980036682A priority Critical patent/KR20000018867A/en
Publication of KR20000018867A publication Critical patent/KR20000018867A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/64Distributing or queueing
    • H04Q3/66Traffic distributors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/106Microcomputer; Microprocessor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13299Bus

Abstract

PURPOSE: A bus arbitration system in an exchange system is provided to improve the use efficiency of the bus and prevent a communication from being accumulated, and give a priority right to a processor which a data to process is crowded, thereby preventing a data from being crowded. CONSTITUTION: An arbitration circuit part is only in a master processor. A bus occupy requirement signal of all processor is approved and, simultaneously, a processor state signal which presents a transmitting standby state of the bus, an important degree of each processor, and a flow degree of a data and so on, and a state of each node is confirmed, thereby a bus occupy priority order is given. A bus occupy permission signal is generated, as a result, a bus occupy right of each processor is arbitrated.

Description

교환기에서 버스 중재 시스템Bus arbitration system at the exchange

본 발명은 교환기의 버스 중재 시스템(Bus Arbitration System)에 관한 것으로, 특히 공통 버스를 사용하는 프로세서 간의 통신에서 해당 공통 버스의 점유권을 부여할 때에 각 프로세서의 상태와 중요도에 따라 우선 순위를 부여시켜 해당 공통 버스를 중재하도록 한 교환기에서 버스 중재 시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus arbitration system of an exchange. In particular, the present invention relates to a bus arbitration system, and gives priority to the processor according to the state and importance of each processor when giving a share of the common bus. It relates to a bus arbitration system at an exchange to arbitrate a common bus.

종래의 교환기에서는 하나의 시리얼 버스(Serial Bus)를 여러 개의 프로세서가 함께 사용하는 공통 버스 방식으로 이루어져 있는데, 정확한 데이타 전송을 위하여 버스를 어느 시점에서 한 프로세서만 점유할 수 있게 버스 중재를 제어하는 회로가 반드시 필요하다.In the conventional exchange, a serial bus is used as a common bus system in which several processors are used together, and a circuit for controlling bus arbitration so that only one processor occupies the bus at any point in time for accurate data transfer is possible. Is necessary.

이러한 종래의 버스 중재 시스템은 도 1에 도시된 바와 같이, 마스터 프로세서(10)와 다수 개의 슬레이브 프로세서(20-1 ~ 20-n) 내에는 하나의 프로세서만 시리얼 버스를 점유할 수 있게 중재하는 버스 중재 회로부(11, 21)와, 시리얼 통신 채널을 가지고 HDLC(High-level Data Link Control)를 이용하여 데이타의 입출력을 제어하는 SIO(Serial Input Output; 12, 22)와, 다른 프로세서로 송출할 프레임을 임시로 저장하는 송신 FIFO(13, 23)와, 다른 프로세서에서 인가받은 프레임을 임시로 저장하는 수신 FIFO(14, 24)를 각각 포함하여 이루어져 있다. 그리고, 해당 프로세서(10, 20-1 ~ 20-n)에서 모두 버스를 점유할 경우에 필요한 카운터와 복잡한 회로들를 더 포함하여 이루어져 있다.In the conventional bus arbitration system, as illustrated in FIG. 1, a bus that arbitrates so that only one processor may occupy a serial bus in the master processor 10 and the plurality of slave processors 20-1 to 20-n is shown. Arbitrary circuit section 11, 21, Serial input output (SIO) 12, 22 for controlling input / output of data using HDLC (High-level Data Link Control) with serial communication channel, and frame to be sent to another processor It includes a transmission FIFO (13, 23) for storing the temporary, and the receiving FIFO (14, 24) for temporarily storing a frame authorized by another processor. In addition, the processor 10, 20-1 to 20-n may further include a counter and complicated circuits required for occupying the bus.

여기서, 데이타(DATA)는 해당 프로세서(10, 20-1 ~ 20-n) 간에 주고받는 프레임을 나타내며, 클럭(Clock)은 해당 프로세서(10, 20-1 ~ 20-n) 간의 동기를 맞추어 해당 데이타(DATA)가 전송될 수 있도록 기준이 되는 클럭 신호를 나타낸다. 그리고, 해당 시리얼 버스를 중재하기 위한 신호로써 응답 출력 신호(ASTOUT), 응답 클럭 신호(ASTCLK), 프레임 동기 신호(/FRS), 응답 신호(/AST), 버스 점유 요구 신호(/RTS) 및 버스 점유 허가 신호(/CTS)가 있다.Here, the data DATA represent frames transmitted and received between the processors 10, 20-1 to 20-n, and the clocks correspond to synchronization between the processors 10, 20-1 to 20-n. Represents a clock signal as a reference so that data DATA can be transmitted. In addition, as a signal for arbitrating the serial bus, a response output signal ASTOUT, a response clock signal ASTCLK, a frame sync signal / FRS, a response signal / AST, a bus occupancy request signal / RTS, and a bus There is an occupancy permission signal (/ CTS).

상술한 바와 같이 구성된 버스 중재 시스템의 동작을 살펴보면, 각각의 프로세서(10, 20-1 ~ 20-n)에서는 송출할 데이타가 있을 경우에 해당 송신 데이타를 송신 FIFO(13, 23)에 임시로 저장했다가, 버스를 점유할 수 있는 권한이 주어질 때에 프레임 동기 신호(/FRS)에 동기를 일치시킨 다음에 해당 송신 FIFO(13,23)에 저장해 두었던 데이타를 판독하여 HDLC 형태의 프레임으로 변환시켜 다른 프로세서에 전송하게 된다.Referring to the operation of the bus arbitration system configured as described above, each processor (10, 20-1 ~ 20-n), if there is data to be transmitted, temporarily stores the corresponding transmission data in the transmission FIFO (13, 23) When the authority to occupy the bus is synchronized, the frame synchronization signal (/ FRS) is synchronized, and then the data stored in the corresponding transmission FIFOs (13, 23) is read out and converted into HDLC-type frames. To the processor.

이 때, 상기 각각의 프로세서(10, 20-1 ~ 20-n)에서는 시리얼 버스에 있는 프레임을 검색하여 자기 자신에게 전송된 프레임인 경우, 즉 프레임의 식별 번지(Destination Address)가 자기의 어드레스와 일치하는 경우에 해당 프레임을 인가받아서 수신 버퍼(14, 24)에 임시로 저장해 둔다.In this case, each of the processors 10, 20-1 through 20-n searches for a frame on the serial bus and transmits it to itself, i.e., the identification address of the frame corresponds to its own address. If there is a match, the frame is received and temporarily stored in the reception buffers 14 and 24.

그러면, SIO(12, 22)에서 상기 수신 버퍼(14, 24)에 저장되어 있는 데이타를 판독하여 처리하게 된다.The SIOs 12 and 22 then read and process the data stored in the receive buffers 14 and 24.

여기에서 버스의 점유 권한을 부여하는 과정은 다음과 같은데, 각각의 프로세서(20-1 ~ 20-n)에서는 버스 점유 요구 신호(/RTS)를 발생시켜 마스터 프로세서(10)의 버스 중재 회로부(11)로 송출한다.Herein, the process of granting the bus occupancy authority is as follows. Each processor 20-1 to 20-n generates a bus occupancy request signal / RTS to generate a bus arbitration circuit 11 of the master processor 10. To be sent.

이에, 상기 버스 중재 회로부(11)에서는 상기 버스 점유 요구 신호(/RTS)를 인가받아 응답 클럭 신호(ASTCLK)를 생성시켜 각 프로세서(20-1 ~ 20-n)로 송출하면, 각 프로세서(20-1 ~ 20-n)는 해당 응답 클럭 신호(ASTCLK)를 인가받아 카운터를 구동시키고 일정값에 먼저 도달한 프로세서에서는 다른 프로세서에게 버스 점유 허가 신호(/CTS)를 생성시켜 송출하여 자신이 시리얼 버스를 점유했음을 알려 준다.Accordingly, the bus arbitration circuit unit 11 receives the bus occupancy request signal / RTS, generates a response clock signal ASTCLK, and transmits the response clock signal ASTCLK to each processor 20-1 to 20-n. -1 ~ 20-n) receives the corresponding response clock signal (ASTCLK) to drive the counter, and when the processor reaches a certain value first, it generates and sends a bus occupancy permission signal (/ CTS) to another processor and sends it to itself. Indicate that you have occupied.

그러면, 마스터 프로세서(10)의 버스 중재 회로부(11)에서는 응답 출력 신호(ASTOUT)를 생성시키고 상기 응답 클럭 신호(ASTCLK)의 생성을 중지하여 버스를 점유하지 못한 프로세서들의 카운터를 중지시키도록 한다.Then, the bus arbitration circuit unit 11 of the master processor 10 generates the response output signal ASTOUT and stops the generation of the response clock signal ASTCLK to stop the counters of the processors that do not occupy the bus.

그리고, 시리얼 버스를 점유한 프로세서가 프레임을 모두 송출한 다음에 다시 상기 버스 점유 요구 신호(/RTS)를 반전(Negate)시키면, 마스터 프로세서(10)의 버스 중재 회로부(11)에서 다시 응답 클럭 신호(ASTCLK)를 생성시켜 다음의 버스 점유 요구 신호(/RTS)를 송출하여 다른 프로세서가 시리얼 버스르 점유할 수 있도록 한다.When the processor occupying the serial bus sends out all the frames and then inverts the bus occupancy request signal / RTS again, the bus arbitration circuit 11 of the master processor 10 returns the response clock signal. Generate (ASTCLK) to send the next bus occupancy request signal (/ RTS) to allow another processor to occupy the serial bus.

이와 같이, 모든 프로세서들(10, 20-1 ~ 20-n)은 라운드 로빈(Roud Robin) 방식으로 시리얼 버스를 점유할 권한을 부여받게 되는데, 해당 라운드 로빈 방식은 해당 모든 프로세서들(10, 20-1 ~ 20-n)이 동등하게 시리얼 버스를 점유할 기회를 가지기 때문에 전송할 데이타가 많은 프로세서에서는 버퍼에 다량의 데이타가 저장되게 되는 불합리한 경우가 발생할 수 있다.As such, all processors 10, 20-1 through 20-n are authorized to occupy the serial bus in a round robin manner, and the round robin scheme includes all the processors 10, 20. Since -1 to 20-n) have the same chance to occupy the serial bus, an irrational case can occur where a large amount of data is stored in a buffer on a processor with a lot of data to transmit.

즉 다시말해서, 종래의 기술에서는 모든 프로세서가 각각의 상태와 중요도에 관계없이 버스를 점유할 기회를 동일하게 주어졌는데, 송신 FIFO에 송신할 데이타가 많이 있지만 알맞은 시간에 송신이 안될 경우가 발생하여 버퍼의 용량을 초과하게 되어 데이타가 유실될 수도 있다.In other words, in the prior art, all processors have the same opportunity to occupy the bus regardless of their status and importance, but there is a lot of data to send to the transmit FIFO, but not at the right time. Data may be lost due to exceeding the capacity of.

또한, 버스를 점유한 프로세서가 이상이 발생할 경우에도 계속해서 버스를 점유하게 되는 때에는 해당 버스의 점유권이 다른 프로세서에 넘겨 줘도 두 프로세서가 동시에 버스를 점유하게 되어 데이타의 충돌이 발생할 수도 있다.In addition, when the processor occupying the bus continues to occupy the bus even when an error occurs, even if the possession of the bus is transferred to another processor, the two processors may occupy the bus at the same time and data collision may occur.

상술한 바와 같은 문제점을 해결하기 위해, 본 발명은 교환기 내의 공통 버스를 사용하는 프로세서 간의 통신에서 해당 공통 버스의 점유권을 부여할 때에 각 프로세서의 상태와 중요도에 따라 우선 순위를 부여시켜 해당 공통 버스를 중재하여 사용함으로써, 통신의 지연을 줄이고 해당 버스의 성능 향상에 적당하도록 구현한 교환기에서 버스 중재 시스템을 제공하도록 하는 것을 목적으로 한다.In order to solve the problems as described above, the present invention prioritizes the common bus in the communication between the processors using the common bus in the exchange, according to the state and importance of each processor to give priority to the corresponding common bus. By using arbitration, an object of the present invention is to provide a bus arbitration system in an exchange implemented to reduce communication delay and to improve the performance of a corresponding bus.

도 1은 종래 교환기에서 버스 중재 시스템을 나타낸 구성 블록도.1 is a block diagram illustrating a bus arbitration system in a conventional exchange.

도 2는 본 발명의 실시예에 따른 교환기에서 버스 중재 시스템을 나타낸 구성 블록도.2 is a block diagram illustrating a bus arbitration system in an exchange according to an embodiment of the present invention;

도 3은 도 2에 있어 버스의 점유에 관련된 신호들을 나타낸 타이밍도.3 is a timing diagram illustrating signals related to the occupancy of the bus in FIG. 2; FIG.

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

30 : 마스터 프로세서 40-1 ~ 40-n : 슬레이브 프로세서30: master processor 40-1 to 40-n: slave processor

31, 41 : SIO(Serial Input Output)31, 41: SIO (Serial Input Output)

32, 42 : 송신 FIFO(First In First Out)32, 42: transmit FIFO (First In First Out)

33, 43 : 수신 FIFO 34 : 버스 중재 회로부(Bus Abitration Logic)33, 43: Receive FIFO 34: Bus Abitration Logic

상기와 같은 목적을 달성하기 위한 본 발명은 마스터 프로세서와 다수개의 슬레이브 프로세서를 구비하되, 상기 마스터 프로세서에만 버스 중재 회로부를 구비하여 상기 각 프로세서로부터 버스 점유 요구 신호를 인가받음과 동시에 프로세서 상태 신호를 인가받아 버스 점유 허가 신호를 생성시켜 상기 각 프로세서의 버스 점유권을 중재하는 것을 특징으로 한다.In order to achieve the above object, the present invention includes a master processor and a plurality of slave processors, and includes a bus arbitration circuit unit only for the master processor to receive a bus occupancy request signal from each processor and to simultaneously apply a processor status signal. And generate a bus occupancy permission signal to arbitrate bus occupancy rights of the respective processors.

이하 첨부된 도면을 참고하여 다음과 같이 설명한다.Hereinafter, with reference to the accompanying drawings will be described as follows.

도 2는 본 발명의 실시예에 따른 교환기에서 버스 중재 시스템을 나타낸 구성 블록도이고, 도 3은 도 2에 있어 버스의 점유에 관련된 신호들을 나타낸 타이밍도이다.FIG. 2 is a block diagram illustrating a bus arbitration system in an exchange according to an exemplary embodiment of the present invention, and FIG. 3 is a timing diagram illustrating signals related to occupancy of a bus in FIG.

본 발명의 실시예에 따른 교환기에서 버스 중재 시스템은 도 2에 도시된 바와 같이, 하나의 마스터 프로세서(30)와, 다수 개의 슬레이브 프로세서(40-1 ~ 40-n)를 포함하여 이루어지는데, 해당 각 프로세서(30, 40-1 ~ 40-n)는 SIO(31, 41)와, 송신 FIFO(32, 42)와, 수신 FIFO(33, 43)를 각각 포함하여 이루어지며, 해당 마스터 프로세서(30)는 버스 중재 회로부(34)를 더 포함하여 이루어진다.In the switch according to the embodiment of the present invention, the bus arbitration system includes one master processor 30 and a plurality of slave processors 40-1 to 40-n, as shown in FIG. Each processor 30, 40-1 to 40-n includes an SIO 31 and 41, a transmission FIFO 32 and 42, and a reception FIFO 33 and 43, respectively, and includes a corresponding master processor 30. ) Further comprises a bus arbitration circuitry 34.

그리고, 해당 마스터 프로세서(30)는 모든 프로세서(30, 40-1 ~ 40-n)의 버스 점유 중재를 제어하는데, 해당 각 프로세서(30, 40-1 ~ 40-n)로부터 버스 점유 요구 신호(/RTSM, /RTS1 ~ /RTSn)를 인가받음과 동시에 해당 각 프로세서(30, 40-1 ~ 40-n) 내에 구비되어 있는 송신 FIFO(32, 42)의 전송 대기 상태, 각 프로세서(30, 40-1 ~ 40-n)의 중요도, 데이타의 흐름 정도 등을 나타내는 프로세서 상태 신호(Proccessor State Signal)를 인가받아 각 노드의 상태를 확인한 후에 버스 점유 허가 신호(/CTSM, /CTS1 ~ /CTSn)를 생성시켜 해당 각 프로세서(30, 40-1 ~ 40-n)에 인가하여 버스의 점유권을 중재하도록 일괄 처리한다.The master processor 30 controls bus occupancy arbitration of all the processors 30 and 40-1 to 40-n, and the bus occupancy request signal from each of the processors 30 and 40-1 to 40-n. / RTSM, / RTS1 to / RTSn), and at the same time waiting for the transmission of the transmission FIFO (32, 42) provided in each processor (30, 40-1 ~ 40-n), each processor (30, 40) After checking the status of each node by receiving the Processor State Signal, which indicates the importance of -1 to 40-n, the flow of data, etc., the bus occupancy permission signal (/ CTSM, / CTS1 to / CTSn) is applied. It generates and applies it to each of the processors 30, 40-1 to 40-n so as to collectively process the arbitration of the bus.

또한, 해당 각 프로세서(30, 40-1 ~ 40-n)는 데이타(DATA)를 시리얼 버스를 통해 송출할 때에 동기를 일치시키기 위하여 클럭 신호(CLOCK)를 각각 송출한다.In addition, each of the processors 30, 40-1 to 40-n sends clock signals CLOCK to synchronize synchronization when data DATA is transmitted through the serial bus.

본 발명의 실시예에 따른 교환기에서 버스 중재 시스템의 동작을 다음과 같이 살펴본다.The operation of the bus arbitration system in the exchange according to the embodiment of the present invention will be described as follows.

먼저, 각각의 프로세서(30, 40-1 ~ 40-n)에서는 송출할 데이타가 있을 경우에 해당 송신 데이타를 송신 FIFO(32, 42)에 각각 임시로 저장했다가, 버스를 점유할 수 있는 권한이 주어질 때에 클럭 신호(CLOCK)에 동기를 일치시킨 다음에 해당 송신 FIFO(32, 42)에 저장해 두었던 데이타를 판독하여 HDLC 형태의 프레임으로 변환시켜 다른 프로세서에 전송하게 된다.First, each processor 30, 40-1 to 40-n, when there is data to send, temporarily stores the corresponding transmission data in the transmission FIFOs 32 and 42, respectively, and has the authority to occupy the bus. When given, the clock signal CLOCK is synchronized, and then the data stored in the transmission FIFOs 32 and 42 is read, converted into HDLC frames, and transmitted to another processor.

여기서, 상기 버스의 점유 권한을 부여하는 과정에 대해서 살펴보면, 마스터 프로세서(30)에서 모든 프로세서(30, 40-1 ~ 40-n)로부터 인가되는 버스 점유 요구 신호(/RTSM, /RTS1 ~ /RTSn)를 취합하고 해당 각 프로세서(30, 40-1 ~ 40-n) 내에 구비되어 있는 송신 FIFO(32, 42)의 상태를 고려하여 버스 점유 허가 신호(/CTSM, /CTS1 ~ /CTSn)를 생성시켜 버스 점유 권한을 부여할 수 있다.Here, referring to the process of granting the occupancy rights of the bus, the bus occupancy request signals (/ RTSM, / RTS1 to / RTSn) applied from all the processors 30, 40-1 to 40-n in the master processor 30 will be described. ) And generate bus occupancy permission signals (/ CTSM, / CTS1 to / CTSn) in consideration of the state of transmit FIFOs 32 and 42 provided in the respective processors 30, 40-1 to 40-n. Authority to occupy the bus.

즉, 상기 송신 FIFO(32, 42) 내에 송신 데이타가 많이 쌓여 있거나 데이타의 흐름이 많은 프로세서에 대하여 높은 우선권을 부여하고 상대적으로 적은 데이타가 대기 중이거나 데이타의 흐름이 적은 프로세서에 대해서는 낮은 우선권을 부여할 수 있으며, 또한 현재 버스를 점유하고 있는 프로세서에 이상이 발생하여 버스를 계속 점유하려고 할 때에도 상기 마스터 프로세서(30)에서 강제적으로 버스 점유권을 박탈하여 우선 순위가 높은 프로세서에게 버스 점유권을 주므로써 버스의 데이타 흐름을 원할하게 한다.That is, high priority is given to a processor having a large amount of transmitted data or having a high flow of data in the transmit FIFOs 32 and 42, and a low priority is given to a processor having a relatively small amount of data waiting or having a low data flow. In addition, even when an error occurs in the processor currently occupying the bus and tries to continue to occupy the bus, the master processor 30 forcibly removes the bus occupancy right and gives the bus possession right to a higher priority processor. To facilitate data flow.

그러면, 도 2를 참고하여 조금 더 자세히 각 구성 요소의 동작을 살펴 보면, 먼저 상기 각 프로세서(30, 40-1 ~ 40-n) 내에 구비되어 있는 SIO(31, 41)에서는 버스 점유 요구 신호(/RTSM, /RTS1 ~ /RTSn)를 발생시켜 상기 마스터 프로세서(30) 내에 구비되어 있는 버스 중재 회로부(34)로 송출한다.Then, referring to FIG. 2, the operation of each component will be described in more detail. First, in the SIOs 31 and 41 provided in the processors 30 and 40-1 to 40-n, the bus occupancy request signal ( / RTSM and / RTS1 to / RTSn) are generated and sent to the bus arbitration circuit section 34 provided in the master processor 30.

이와 동시에, 상기 각 프로세서(30, 40-1 ~ 40-n) 내에 구비되어 있는 송신 FIFO(32, 42)에서는 데이타가 거의 채워진 상태를 나타내는 신호인 풀 상태 신호(Almost Full State Signal; AFM, AT1 ~ AFn) 또는 데이타가 절반 정도 채워진 상태를 나타내는 신호인 하프 상태 신호(Half Full State Signal; HFM, HF1 ~ HFn)를 생성시켜 상기 마스터 프로세서(30) 내에 구비되어 있는 버스 중재 회로부(34)로 송출한다.At the same time, in the transmission FIFOs 32 and 42 provided in each of the processors 30, 40-1 to 40-n, an Almost Full State Signal (AMF, AT1), which is a signal indicating a state in which data is almost filled. AFn) or a half full state signal (HFM, HF1 to HFn), which is a signal indicating that the data is half filled, and sent to the bus arbitration circuit unit 34 provided in the master processor 30. do.

이에, 상기 버스 중재 회로부(34)에서는 상기 각 SIO(31, 41)로부터 버스 점유 요구 신호(/RTSM, /RTS1 ~ /RTSn)를 각각 인가받음과 동시에 상기 각 송신 FIFO(32, 42)로부터 프로세서 상태 신호 중 풀 상태 신호(AFM, AT1 ~ AFn) 또는 하프 상태 신호(HFM, HF1 ~ HFn)를 각각 인가받아 버스 점유권을 부여할 프로세서(30, 40-1 ~ 40-n)를 결정한 후, 버스 점유 허가 신호(/CTSM, /CTS1 ~ /CTSn)를 생성시켜 상기 각 프로세서(30, 40-1 ~ 40-n) 내에 구비되어 있는 SIO(31, 41)에 각각 인가한다.Accordingly, the bus arbitration circuit section 34 receives the bus occupancy request signals / RTSM and / RTS1 to / RTSn from the respective SIOs 31 and 41, respectively, and at the same time receives the processor from the respective transmission FIFOs 32 and 42. Among the status signals, the full status signals AFM, AT1 to AFn, or the half status signals HFM and HF1 to HFn are respectively applied to determine the processors 30, 40-1 to 40-n to which the bus is to be assigned. The occupation permission signals / CTSM and / CTS1 to / CTSn are generated and applied to the SIOs 31 and 41 provided in the processors 30, 40-1 to 40-n, respectively.

이에 따라, 버스 점유권을 부여받은 프로세서(30, 40-1 ~ 40-n)에서는 상기 송신 FIFO(32, 42)에 저장해 두었던 데이타를 판독하여 HDLC 형태의 프레임으로 변환시키고 해당 변환된 데이타(DATA)를 클럭 신호(CLOCK)에 동기를 맞추어 다른 프로세서에 전송하게 된다.Accordingly, the processor 30, 40-1 to 40-n, which has been granted bus occupancy rights, reads data stored in the transmission FIFOs 32 and 42, converts the data into HDLC-type frames, and converts the corresponding data DATA. Is synchronized with the clock signal (CLOCK) and transmitted to another processor.

예를 들어 도 3을 참고하여 상술한 동작을 설명하는데, 도 3은 마스터 프로세서(30)와 제1 및 제2슬레이브 프로세서(40-1, 40-2)에서의 버스 점유 요구 신호(/RTSM, /RTS1, /RTS2)에 대해서 버스 점유 허가 신호(/CTSM, /CTS1, /CTS2)를 출력하여 버스를 점유할 권한이 주어지는 과정을 나타낸 타이밍도이다.For example, the above-described operation will be described with reference to FIG. 3. FIG. 3 illustrates bus occupancy request signals (/ RTSM) of the master processor 30 and the first and second slave processors 40-1 and 40-2. A timing diagram showing a process in which the bus occupancy permission signals / CTSM, / CTS1, and / CTS2 are output to / RTS1 and / RTS2 and the authority to occupy the bus is given.

처음에는 상기 마스터 프로세서(30)의 마스터 버스 점유 요구 신호(/RTSM)만 존재하므로 상기 마스터 프로세서(30)에 마스터 버스 점유 허가 신호(/CTSM)를 인가하여 버스를 점유하고 상기 마스터 프로세서(30)의 마스터 버스 점유 허가 신호(/CTSM)가 반전된 순간의 한 클럭 후에 상기 제2슬레이브 프로세서(40-2)가 버스를 점유했다.Initially, only the master bus occupancy request signal / RTSM of the master processor 30 exists, so that the master processor occupies the bus by applying a master bus occupancy permission signal / CTSM to the master processor 30, and the master processor 30 The second slave processor 40-2 has occupied the bus after a clock at the moment when the master bus occupancy permission signal / CTSM is inverted.

왜냐하면, 상기 제1슬레이브 프로세서(40-1)가 제1버스 점유 요구 신호(/RTS1)를 상기 제2슬레이브 프로세서(40-2)의 버스 점유 요구 신호(/RTS1)보다 먼저 생성되었지만, 버스 점유권이 상기 마스터 프로세서(30)에서 다음으로 넘어가는 순간에 FIFO 상태를 점검하여 제2풀 상태 신호(AF2)가 생성되었음을 상기 마스터 프로세서(30)의 버스 중재 회로부(34)에서 인식하고 상기 제2슬레이브 프로세서(40-2)에게 먼저 버스 점유 허가 신호(/CTS2)를 부여한다.This is because the first slave processor 40-1 generates the first bus occupancy request signal / RTS1 before the bus occupancy request signal / RTS1 of the second slave processor 40-2. At this moment, the master processor 30 checks the FIFO state and recognizes that the second full state signal AF2 has been generated by the bus arbitration circuit unit 34 of the master processor 30 and the second slave. The processor 40-2 is first given a bus occupancy permission signal / CTS2.

다음으로는 상기 제2슬레이브 프로세서(40-2)가 버스 점유를 놓은 다음에 상기 제1슬레이브 프로세서(40-1)로 버스 점유권을 넘겨준다.Next, the second slave processor 40-2 releases the bus occupancy and then transfers the bus occupancy right to the first slave processor 40-1.

상술한 바와 같이, 상기 버스 중재 회로부(34)가 상기 마스터 프로세서(30) 내에만 있기 때문에 전체적인 회로의 구성이 간단해 지고 하위의 슬레이브 프로세서들(40-1 ~ 40-n)의 버스 사용에 대한 관리가 강화되며, 교환기에서 메인 프로세서와 디바이스 프로세서 그리고, 넘버 칠(No.7)의 프로세서 등 서로의 데이타 처리 속도와 종요도가 다른 프로세서들이 공통 버스를 같이 사용할 수도 있다.As described above, since the bus arbitration circuit section 34 is only in the master processor 30, the overall circuit configuration is simplified and the bus use of the lower slave processors 40-1 to 40-n is reduced. Management is enhanced, and processors with different data processing speeds and requirements, such as the main processor, the device processor, and the number seven (No. 7) processor in the exchange, may use a common bus.

그리고, 버스 점유의 우선권을 버퍼의 전송 대기 상태, 각 프로세서의 중요도, 데이타의 흐름 정도 등에 따라 설정할 수 있어 버스의 이용 효율을 향상시키고 통신의 적체 현상을 막을 수 있을뿐만 아니라, 일시적으로 처리할 데이타가 폭주한 프로세서에게 우선권을 부여하여 데이타의 폭주를 예방할 수도 있다.In addition, the priority of occupying the bus can be set according to the buffer waiting state, the importance of each processor, the flow of data, etc., thereby improving the bus utilization efficiency and preventing communication jams, and temporarily processing data. Priority can be given to congested processors to prevent data congestion.

또한, 본 발명을 적용하면 일 대 다중 포인트 방식 중의 단일 버스를 공동으로 사용하는 통신 방식에서도 사용이 가능하다.In addition, if the present invention is applied, it is possible to use in a communication method using a single bus of one-to-multipoint method in common.

이상과 같이, 본 발명에 의해 마스터 프로세서에만 버스 중재 회로부를 두어 모든 프로세서의 버스 점유 요구 신호를 인가받음과 동시에 버퍼의 전송 대기 상태, 각 프로세서의 중요도, 데이타의 흐름 정도 등을 나타내는 프로세서 상태 신호 및 각 노드의 상태를 확인하여 버스 점유 우선 순위를 부여하고 버스 점유 허가 신호를 생성시켜 각 프로세서의 버스 점유권을 중재하므로써, 버스의 이용 효율을 향상시키고 통신의 적체 현상을 막을 수 있을뿐만 아니라, 일시적으로 처리할 데이타가 폭주한 프로세서에게 우선권을 부여하여 데이타의 폭주를 예방할 수도 있다.As described above, according to the present invention, the bus arbitration circuit unit is provided only in the master processor to receive the bus occupancy request signals of all the processors, and at the same time, the processor status signal indicating the buffer waiting state, the importance of each processor, the degree of data flow, and the like. By checking the status of each node to prioritize bus occupancy and generate bus occupancy permission signals to mediate bus occupancy rights for each processor, it not only improves bus utilization efficiency and prevents traffic congestion, but also temporarily Priority can be given to processors that have congested data to be processed to prevent congestion of data.

Claims (3)

마스터 프로세서(30)와 다수개의 슬레이브 프로세서(40-1 ~ 40-n)를 구비하되,It is provided with a master processor 30 and a plurality of slave processors (40-1 to 40-n), 상기 마스터 프로세서(30)에만 버스 중재 회로부(34)를 구비하여 상기 각 프로세서(30, 40-1 ~ 40-n)로부터 버스 점유 요구 신호(/RTSM, /RTS1 ~ /RTSn)를 인가받음과 동시에 프로세서 상태 신호를 인가받아 버스 점유 허가 신호(/CTSM, /CTS1 ~ /CTSn)를 생성시켜 상기 각 프로세서(30, 40-1 ~ 40-n)의 버스 점유권을 중재하는 것을 특징으로 하는 교환기에서 버스 중재 시스템.Only the master processor 30 includes a bus arbitration circuit section 34 to receive bus occupancy request signals / RTSM and / RTS1 to / RTSn from each of the processors 30 and 40-1 to 40-n. The bus is exchanged by receiving a processor status signal and generating bus occupancy permission signals (/ CTSM, / CTS1 to / CTSn) to arbitrate bus occupancy rights of the processors 30, 40-1 to 40-n. Arbitration system. 제1항에 있어서,The method of claim 1, 상기 버스 중재 회로부(34)는 상기 프로세서 상태 신호에 따라 각 노드의 상태를 확인하여 상기 각 프로세서(30, 40-1 ~ 40-n)의 버스 점유 우선 순위를 부여하는 것을 특징으로 하는 교환기에서 버스 중재 시스템.The bus arbitration circuit unit 34 checks the state of each node according to the processor status signal and gives a bus occupancy priority to each of the processors 30, 40-1 to 40-n. Arbitration system. 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 프로세서 상태 신호는 상기 각 프로세서(30, 40-1 ~ 40-n) 내의 송신 FIFO(32, 42)의 전송 대기 상태, 각 프로세서(30, 40-1 ~ 40-n)의 중요도 및 데이타의 흐름 정도를 나타내는 것을 특징으로 하는 교환기에서 버스 중재 시스템.The processor status signal is a transmission wait state of the transmission FIFOs 32 and 42 in each of the processors 30 and 40-1 to 40-n, the importance and data of each processor 30 and 40-1 to 40-n. A bus arbitration system at an exchange characterized by indicating a flow degree.
KR1019980036682A 1998-09-03 1998-09-03 Bus arbitration system in exchange system KR20000018867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980036682A KR20000018867A (en) 1998-09-03 1998-09-03 Bus arbitration system in exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980036682A KR20000018867A (en) 1998-09-03 1998-09-03 Bus arbitration system in exchange system

Publications (1)

Publication Number Publication Date
KR20000018867A true KR20000018867A (en) 2000-04-06

Family

ID=19549729

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980036682A KR20000018867A (en) 1998-09-03 1998-09-03 Bus arbitration system in exchange system

Country Status (1)

Country Link
KR (1) KR20000018867A (en)

Similar Documents

Publication Publication Date Title
EP0797335B1 (en) Network adapter
RU2454710C2 (en) Communication module
US7801173B2 (en) Communication message conversion apparatus and communication message conversion method
EP1027657B1 (en) A fully-pipelined fixed-latency communications system with a real-time dynamic bandwidth allocation
JP2006254450A (en) Communication node architecture in global asynchronous network on-chip system
JPS6342542A (en) Spatial dividing switch of data packet and method of exchanging data packets
KR20060043786A (en) Method, apparatus and system for guaranteed packet delivery times in asynchronous networks
JP2009538069A (en) Multiprocessor gateway
KR20120040535A (en) Bus system and operating method thereof
KR100905802B1 (en) Tagging and arbitration mechanism in an input/output node of computer system
US6163827A (en) Method and apparatus for round-robin flash channel arbitration
KR100968250B1 (en) Computer system i/o node
JP4201071B2 (en) Isochronous data transfer system and method
US4796022A (en) Double transit bus system
US20080126640A1 (en) Round-Robin Bus Protocol
KR20000018867A (en) Bus arbitration system in exchange system
GB2301995A (en) Software driver for a system bus
JP2612101B2 (en) Bus priority occupation method and communication network connection device using the method
KR100358180B1 (en) A bus arbiter providing multi-stage connection and method thereof
JP2538901B2 (en) Bus coupling device
JP3747020B2 (en) Crossbar mediation system
EP0130000A2 (en) Apparatus and method for controlling access by a plurality of units to a shared facility
KR970008905B1 (en) Apparatus and method for transmisson control of global bus network
CA1235229A (en) Double transit bus system
EP1459191B1 (en) Communication bus system

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid