KR100194985B1 - Message exchange device between processor modules - Google Patents
Message exchange device between processor modules Download PDFInfo
- Publication number
- KR100194985B1 KR100194985B1 KR1019960052109A KR19960052109A KR100194985B1 KR 100194985 B1 KR100194985 B1 KR 100194985B1 KR 1019960052109 A KR1019960052109 A KR 1019960052109A KR 19960052109 A KR19960052109 A KR 19960052109A KR 100194985 B1 KR100194985 B1 KR 100194985B1
- Authority
- KR
- South Korea
- Prior art keywords
- bus
- processor module
- cpu
- vme
- permission signal
- Prior art date
Links
Abstract
본 발명은 프로세서 모듈간 메세지 교환장치에 관한 것으로, VME 버스상에서 프로세서 모듈간에 메세지를 효율적으로 교환하도록 하는 프로세서 모듈간 메세지 교환장치에 관한 것이다.The present invention relates to an apparatus for exchanging messages between processor modules, and more particularly to an apparatus for exchanging messages between processor modules on a VME bus.
종래의 프로세서 모듈간 메세지 교환장치에서는 마스터 프로세서 모듈은 언제나 VME 버스를 사용할 수 있으나 슬레이브 프로세서 모듈은 VME 버스를 사용할 수 없음에 기인하여 마스터 프로세서 모듈을 억세스 할 수 없어 VME 버스의 사용 효율성이 저하되고, 메세지 전달을 위하여 고가격의 듀얼 포트 메모리를 별도로 사용함에 기인하여 경제성이 저하되는 문제점이 있다.In the message exchanger between the conventional processor modules, the master processor module can always use the VME bus, but the slave processor module cannot access the master processor module due to the inability to use the VME bus. There is a problem in that economic efficiency is lowered due to the use of a high-priced dual port memory separately for message transmission.
본 발명은 마스터 프로세서 모듈과 슬레이브 프로세서 모듈이 모두 VME 버스를 사용할 수 있으므로 VME 버스의 사용 효율성을 향상시키고, 고가격의 듀얼 포트 메모리를 별도로 사용하지 않아도 메세지를 전달할 수 있으므로 경제성을 향상시키게 된다.In the present invention, since both the master processor module and the slave processor module can use the VME bus, the use efficiency of the VME bus can be improved, and the economical efficiency can be improved because the message can be transmitted without using a high-cost dual port memory.
Description
본 발명은 프로세서 모듈간 메세지 교환장치에 관한 것으로, 특히 VME 버스상에서 프로세서 모듈간에 메세지를 효율적으로 교환하도록 하는 프로세서 모듈간 메세지 교환장치에 관한 것이다.The present invention relates to a message exchange device between processor modules, and more particularly, to a message exchange device between processor modules for efficiently exchanging messages between processor modules on a VME bus.
일반적으로 전전자교환기 등과 같은 시스템에는 다수의 프로세서 모듈이 구비되어 있는데, 이들 프로세서 모듈은 공통 접속된 버스를 통하여 메세지를 교환하면서 주워진 기능을 수행한다.In general, a system such as an electronic switch and the like is provided with a plurality of processor modules, which perform the functions given while exchanging messages through a common connected bus.
종래에는 프로세서 모듈간에 VME 버스를 통하여 메세지를 교환하는 경우 도1에 도시된 바와 같은 방식으로 하였다. 즉, 마스터 프로세서 모듈(10)과 슬레이브 프로세서 모듈(20)은 공통으로 접속된 VME 버스를 통해서 메세지를 교환하는데, 마스터 프로세서 모듈(10)에는 CPU(11)가 구비되고, 슬레이브 프로세서 모듈(20)에는 듀얼 포트 메모리(21)와 CPU(22)가 구비되며, 듀얼 포트 메모리(21)와 CPU(22) 사이에는 로컬버스(LB)가 접속된다.In the related art, when a message is exchanged between processor modules through a VME bus, the method is illustrated in FIG. 1. That is, the master processor module 10 and the slave processor module 20 exchange messages through a VME bus connected in common. The master processor module 10 includes a CPU 11 and the slave processor module 20. The dual port memory 21 and the CPU 22 are provided, and the local bus LB is connected between the dual port memory 21 and the CPU 22.
슬레이브 프로세서 모듈(20)은 마스터 프로세서 모듈(10)에게 서비스를 요구하는 입장이며, 서비스 요구가 없을 경우 CPU(22)는 메세지를 듀얼 포트 메모리(21)에 기록하여 놓는다. 한편, 마스터 프로세서 모듈(10)은 주기적으로 듀얼 포트 메모리(21)를 체크하여 메세지가 있으면 해당 메세지에 대응하는 서비스를 제공하고 그 결과를 슬레이브 프로세서 모듈(20)의 듀얼 포트 메모리(21)에 기록한다. 듀얼 포트 메모리(21)는 입출력되는 메세지를 전달하는 역할을 수행하는데, 도2에 도시된 바와 같은 2개의 순환큐(Circular Queue)로 구성되는바 송신용 순환큐와 수신용 순환큐로 구성된다. 송신용 순환큐는 슬레이브 프로세서 모듈(20)의 CPU(22)가 마스터 프로세서 모듈(10)측에 메세지를 송신하고자 하는 경우에 사용되고, 수신용 순환큐는 슬레이브 프로세서 모듈(20)의 CPU(22)가 마스터 프로세서 모듈(10)로부터 공급되는 메세지를 수신하고자 하는 경우에 사용된다. 이와 같은 순환큐는 헤드(Head)와 테일(Tail) 이라는 포인터로서 관리되는데, 메세지가 기록되지 않은 상태에서는 헤드와 테일이 같은 기록장소를 가르키고 있고, 메세지가 기록되면 헤드는 증가하여 다음 메세지의 기록장소를 가르키고, 기록된 메세지가 읽혀져 출력되면 테일이 증가하여 다음 읽혀질 메세지의 기록장소를 가르키며, 메세지가 꽉차면 메세지를 더 이상 기록하지 못한다. 즉, 듀얼 포트 메모리(21)는 VME 버스와 로컬버스(LB)에 접속되어, 마스터 프로세서 모듈(10)과 슬레이브 프로세서 모듈(20) 간에 메세지를 전달하여 주는 기능을 수행한다.The slave processor module 20 is in a position to request service from the master processor module 10, and when there is no service request, the CPU 22 records a message in the dual port memory 21. Meanwhile, the master processor module 10 periodically checks the dual port memory 21 and if there is a message, provides a service corresponding to the message and records the result in the dual port memory 21 of the slave processor module 20. do. The dual port memory 21 transfers input / output messages. The dual port memory 21 is composed of two circular queues as shown in FIG. 2, and is composed of a transmitting circular queue and a receiving circular queue. The transmitting circular queue is used when the CPU 22 of the slave processor module 20 wants to transmit a message to the master processor module 10 side, and the receiving circular queue is the CPU 22 of the slave processor module 20. Is used to receive a message supplied from the master processor module 10. Such a circular queue is managed as a pointer of a head and a tail. In a state where a message is not recorded, the head and the tail point to the same recording location, and when the message is recorded, the head increases and the next message is recorded. The location is pointed out, and when the recorded message is read and printed, the tail is increased to point to the location of the next message to be read, and when the message is full, the message is no longer recorded. That is, the dual port memory 21 is connected to the VME bus and the local bus LB, and performs a function of transferring a message between the master processor module 10 and the slave processor module 20.
이상과 같은 종래의 프로세서 모듈간 메세지 교환장치에서는 마스터 프로세서 모듈(10)은 언제나 VME 버스를 사용할 수 있으나 슬레이브 프로세서 모듈(20)은 VME 버스를 사용할 수 없음에 기인하여 마스터 프로세서 모듈(10)을 억세스 할 수 없어 VME 버스의 사용 효율성이 저하되고, 메세지 전달을 위하여 고가격의 듀얼 포트 메모리(21)를 별도로 사용함에 기인하여 경제성이 저하되는 문제점이 있다.In the above-described message exchanger between processor modules, the master processor module 10 may always use the VME bus, but the slave processor module 20 may access the master processor module 10 due to the inability to use the VME bus. There is a problem in that the efficiency of using the VME bus is lowered and the economical efficiency is lowered due to the use of the high-priced dual port memory 21 separately for message transmission.
본 발명은 상술한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 마스터 프로세서 모듈과 슬레이브 프로세서 모듈이 모두 VME 버스를 사용하도록 함으로써 VME 버스의 사용 효율성을 향상시키고 고가격의 듀얼 포트 메모리를 별도로 사용하지 않더라도 메세지를 전달하게 함으로써 경제성을 향상시키도록 하는 프로세서 모듈간 메세지 교환장치를 제공하는데 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and both the master processor module and the slave processor module use the VME bus, thereby improving the use efficiency of the VME bus and even if a high-cost dual port memory is not used separately. It is an object of the present invention to provide a message exchange device between processor modules to improve the economics by passing the.
이와 같은 목적을 달성하기 위한 본 발명의 특징은, 공통 접속된 VME 버스를 통해서 메세지를 교환하는 프로세서 모듈간 메세지 교환장치에 있어서, 인가되는 버스사용 요구신호를 수신하여 버스사용 허가신호를 출력하는 버스 중재부(30)와; 상기 버스 중재부(30)측에 버스사용 요구신호를 출력하여 버스사용 허가신호가 인가되면 VME 버스를 통해 메세지를 입출력하는 슬레이브 프로세서 모듈(50)과; 상기 버스 중재부(30)측에 버스사용 요구신호를 출력하여 버스 중재부(30)로 부터 버스사용 허가신호가 인가되면 VME 버스를 통해 상기 슬레이브 프로세서 모듈(50)을 억세스 함과 동시에 상기 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력하지 않음으로써 상기 슬레이브 프로세서 모듈(50)이 VME 버스를 통해 자신을 억세스 하지 못하게 하며, 상기 버스 중재부(30)측에 버스사용 요구신호를 출력하지 않은 상태에서 상기 버스 중재부(30)로 부터 버스사용 허가신호가 인가되면 상기 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력함으로써 슬레이브 프로세서 모듈(50)이 VME 버스를 통해 자신을 억세스하게 하는 마스터 프로세서 모듈(40)을 구비하는데 있다.In order to achieve the above object, a feature of the present invention is a message exchange device between processor modules for exchanging messages through a commonly connected VME bus, which receives a bus use request signal and outputs a bus use permission signal. An arbitration unit 30; A slave processor module 50 for outputting a bus use request signal to the bus arbitration unit 30 and outputting a message through a VME bus when a bus use permission signal is applied; The bus arbitration unit 30 outputs a bus use request signal, and when a bus use permission signal is applied from the bus arbitration unit 30, the slave processor module 50 is accessed through the VME bus and the slave processor is simultaneously accessed. By not outputting the bus usage permission signal to the module 50 side, the slave processor module 50 does not access itself through the VME bus, and does not output the bus usage request signal to the bus arbitration unit 30 side. If the bus use permission signal is applied from the bus arbitration unit 30 in the non-state state, the slave processor module 50 may access itself through the VME bus by outputting a bus use permission signal to the slave processor module 50. The master processor module 40 is provided.
이와 같은 구성에 의해, 본 발명은 마스터 프로세서 모듈과 슬레이브 프로세서 모듈이 모두 VME 버스를 사용할 수 있으므로 VME 버스의 사용 효율성을 향상시키고, 고가격의 듀얼 포트 메모리를 별도로 사용하지 않아도 메세지를 전달할 수 있으므로 경제성을 향상시키게 된다.By such a configuration, the present invention improves the efficiency of using the VME bus since both the master processor module and the slave processor module can use the VME bus, and can deliver messages without using a high-cost dual port memory. Will be improved.
도1은 종래의 프로세서 모듈간 메세지 교환장치를 도시한 블록도.1 is a block diagram showing a conventional message exchange device between processor modules.
도2는 도1에 도시된 듀얼포트 메모리에 의해 구성되는 순환큐(Circular Queue)를 도시한 도.FIG. 2 is a diagram showing a circular queue constituted by the dual port memory shown in FIG.
도3은 본 발명에 따른 프로세서 모듈간 메세지 교환장치를 도시한 블록도.3 is a block diagram showing an apparatus for exchanging messages between processor modules according to the present invention;
도4는 도3에 도시된 마스터 프로세서 모듈의 구성도.4 is a configuration diagram of the master processor module shown in FIG.
도5는 도3에 도시된 슬레이브 프로세서 모듈의 구성도.5 is a configuration diagram of the slave processor module shown in FIG.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
30 : 버스 중재부 40 : 마스터 프로세서 모듈30: bus arbitration unit 40: master processor module
41 : CPU 42 : 레지스터41: CPU 42: register
43 : 로컬메모리 44 : 버스 콘트롤러43: local memory 44: bus controller
50 : 슬레이브 프로세서 모듈 51 : CPU50: slave processor module 51: CPU
52 : 레지스터 53 : 로컬메모리52: Register 53: Local memory
54 : 버스 콘트롤러54: bus controller
본 발명에 따른 프로세서 모듈간 메세지 교환장치는 도3에 도시된 바와 같이 버스 중재부(30), 마스터 프로세서 모듈(40) 및 슬레이브 프로세서 모듈(50)을 구비하여 이루어 진다. 버스 중재부(30)는 VME 버스의 사용을 중재하는 기능을 수행하는데, 마스터 프로세서 모듈(40)과 슬레이브 프로세서 모듈(50)로부터 입력단(BR)에 인가되는 버스사용 요구신호를 수신하여 출력단(RG)을 통해 마스터 프로세서 모듈(40)측에 버스사용 허가신호를 출력한다. 마스터 프로세서 모듈(40)은 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하여 버스 중재부(30)로 부터 입력단(BGIn)에 버스사용 허가신호가 인가되면 VME 버스를 통해 슬레이브 프로세서 모듈(50)을 억세스 함과 동시에 출력단(BGOut)을 통해 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력하지 않음으로써 슬레이브 프로세서 모듈(50)이 VME 버스를 사용하지 못하게 하며, 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하지 않은 상태에서 버스 중재부(30)로 부터 입력단(BGIn)에 버스사용 허가신호가 인가되면 출력단(BGOut)을 통해 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력함으로써 슬레이브 프로세서 모듈(50)이 VME 버스를 사용하게 한다. 또한, 슬레이브 프로세서 모듈(50)은 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하여 마스터 프로세서 모듈(40)로부터 입력단(BGIn)에 버스사용 허가신호가 인가되면 VME 버스를 통해 마스터 프로세서 모듈(40)을 억세스하고, 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하여 마스터 프로세서 모듈(40)로부터 입력단(BGIn)에 버스사용 허가신호가 인가되지 않으면 VME 버스를 사용하지 않는다.The message exchange device between the processor modules according to the present invention comprises a bus arbitration unit 30, a master processor module 40 and a slave processor module 50 as shown in FIG. The bus arbitration unit 30 performs a function of arbitrating use of the VME bus. The bus arbitration unit 30 receives a bus use request signal applied to the input terminal BR from the master processor module 40 and the slave processor module 50 and outputs the signal to the output terminal RG. ) Outputs a bus permission signal to the master processor module 40 side. The master processor module 40 outputs a bus use request signal to the bus arbitration unit 30 through the output terminal BR. When the bus use permission signal is applied to the input terminal BGIn from the bus arbitration unit 30, the VME bus is output. The slave processor module 50 cannot access the VME bus by accessing the slave processor module 50 and not outputting the bus permission signal to the slave processor module 50 through the output terminal (BGOut). When the bus use permission signal is applied from the bus arbitration unit 30 to the input terminal BGIn without outputting the bus use request signal to the bus arbitration unit 30 through the output terminal BR, the output terminal BGOut is applied. The slave processor module 50 uses the VME bus by outputting a bus use permission signal to the slave processor module 50. In addition, the slave processor module 50 outputs a bus use request signal to the bus arbitration unit 30 through the output terminal BR, and when the bus use permission signal is applied to the input terminal BGIn from the master processor module 40, the VME is applied. The master processor module 40 is accessed through the bus, and the bus use request signal is output to the bus arbitration unit 30 through the output terminal BR to allow the bus use permission signal from the master processor module 40 to the input terminal BGIn. If is not authorized, do not use the VME bus.
한편, 마스터 프로세서 모듈(40)은 도4에 도시된 바와 같이 CPU(41), 레지스터(42), 로컬메모리(43) 및 버스 콘트롤러(44)를 구비하여 이루어 진다. 로컬 메모리(43)는 로컬버스(LB1)를 통해 CPU(41)와 버스 콘트롤러(44)에 접속되어, CPU(41)와 VME 버스 사이에 입출력되는 메세지를 전달한다. 버스 콘트롤러(44)는 VME 버스를 경유하여 슬레이브 프로세서 모듈(50)에 접속되어, CPU(41)의 제어에 따라 VME 버스를 구동하고, 슬레이브 프로세서 모듈(50)이 VME 버스를 구동함을 감지하면 CPU(41)측에 로컬버스 사용요구신호(BRL1)를 출력하여 CPU(41)로부터 로컬버스 사용허가신호(BGL1)를 인가받아 슬레이브 프로세서 모듈(50)이 로컬버스(LB1)를 억세스 할수 있게 한다. 레지스터(42)는 CPU(41)로부터 버스사용 요구신호(WB1)를 인가받아 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하고, 버스 중재부(30)로 부터의 버스사용 허가신호를 입력단(BGIn)에 인가받아 CPU(41)측에 버스사용 허가신호(GB1)를 출력하며, 출력단(BR)을 통해 버스사용 요구신호를 버스 중재부(30)측에 출력하지 않은 상태에서 입력단(BGIn)을 통해 버스 중재부(30)로 부터의 버스사용 허가신호를 수신하면 출력단(BGOut)을 통해 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력한다.On the other hand, the master processor module 40 is composed of a CPU 41, a register 42, a local memory 43 and a bus controller 44 as shown in FIG. The local memory 43 is connected to the CPU 41 and the bus controller 44 via the local bus LB1 to transfer messages input and output between the CPU 41 and the VME bus. The bus controller 44 is connected to the slave processor module 50 via the VME bus, drives the VME bus under the control of the CPU 41, and detects that the slave processor module 50 drives the VME bus. The local bus use request signal BRL1 is output to the CPU 41 so that the slave processor module 50 can access the local bus LB1 by receiving the local bus use permission signal BGL1 from the CPU 41. . The register 42 receives the bus use request signal WB1 from the CPU 41, outputs a bus use request signal to the bus arbitration section 30 through the output terminal BR, and outputs the bus use request signal from the bus arbitration section 30. Receives the bus use permission signal from the input terminal BGIn and outputs the bus use permission signal GB1 to the CPU 41 side, and outputs the bus use request signal to the bus arbitration unit 30 through the output terminal BR. If the bus usage permission signal from the bus arbitration unit 30 is received through the input terminal BGIn without the output, the bus usage permission signal is output to the slave processor module 50 through the output terminal BGOut.
또한, 슬레이브 프로세서 모듈(50)은 도5에 도시된 바와 같이 CPU(51), 레지스터(52), 로컬메모리(53) 및 버스 콘트롤러(54)를 구비하여 이루어 진다. 로컬 메모리(53)는 로컬버스(LB2)를 통해 CPU(51)와 버스 콘트롤러(54)에 접속되어, CPU(51)와 VME 버스 사이에 입출력되는 메세지를 전달한다. 버스 콘트롤러(54)는 VME 버스를 경유하여 마스터 프로세서 모듈(40)에 접속되어, CPU(51)의 제어에 따라 VME 버스를 구동하고, 마스터 프로세서 모듈(40)이 VME 버스를 구동함을 감지하면 CPU(51)측에 로컬버스 사용요구신호(BRL2)를 출력하여 CPU(51)로부터 로컬버스 사용허가신호(BGL2)를 인가받아 마스터 프로세서 모듈(40)이 로컬버스(LB2)를 억세스 할수 있게 한다. 레지스터(52)는 CPU(51)로부터 버스사용 요구신호(WB2)를 인가받아 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하고, 마스터 프로세서 모듈(40)로 부터의 버스사용 허가신호를 입력단(BGIn)에 인가받아 CPU(51)측에 버스사용 허가신호(GB2)를 출력한다.In addition, the slave processor module 50 includes a CPU 51, a register 52, a local memory 53, and a bus controller 54, as shown in FIG. The local memory 53 is connected to the CPU 51 and the bus controller 54 via the local bus LB2 and transfers messages input and output between the CPU 51 and the VME bus. The bus controller 54 is connected to the master processor module 40 via the VME bus, drives the VME bus under the control of the CPU 51, and detects that the master processor module 40 drives the VME bus. The local bus use request signal BRL2 is output to the CPU 51 so that the master processor module 40 can access the local bus LB2 by receiving the local bus use permission signal BGL2 from the CPU 51. . The register 52 receives the bus use request signal WB2 from the CPU 51 and outputs the bus use request signal to the bus arbitration unit 30 through the output terminal BR, and outputs the master processor module 40 from the master processor module 40. A bus use permission signal is applied to the input terminal BGIn, and the bus use permission signal GB2 is output to the CPU 51 side.
즉, 버스 중재부(30)는 마스터 프로세서 모듈(40)과 슬레이브 프로세서 모듈(50)로 부터의 버스사용 요구신호를 인가받아 VME 버스의 사용을 중재하여 주는 역할을 수행하는데, 입력단(BR)에 버스사용 요구신호가 인가되는 경우 출력단(BG)을 통해 마스터 프로세서 모듈(40)측에 버스사용 허가신호를 출력한다. 이때, 마스터 프로세서 모듈(40)은 버스 중재부(30)로 부터의 버스사용 허가신호를 수신하는 경우 자신이 버스사용 요구신호를 버스 중재부(30)측에 출력했으면 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력하지 않음으로써 슬레이브 프로세서 모듈(50)의 VME 버스 사용을 정지시켜 놓고 자신이 VME 버스를 통해 슬레이브 프로세서 모듈(50)의 로컬버스(LB2)를 억세스하고, 버스 중재부(30)로 부터의 버스사용 허가신호를 수신하는 경우 자신이 버스사용 요구신호를 버스 중재부(30)측에 출력하지 않았으면 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력함으로써 슬레이브 프로세서 모듈(50)이 VME 버스를 통해 자신의 로컬 버스(LB1)를 억세스하게 한다. 따라서, 마스터 프로세서 모듈(40)과 슬레이브 프로세서 모듈(50) 모두가 버스 중재부(30)측에 버스사용 요구신호를 출력한 경우에는 마스터 프로세서 모듈(40)이 우선적으로 VME 버스를 사용하게 되고, 슬레이브 프로세서 모듈(50) 만이 버스 중재부(30)측에 버스사용 요구신호를 출력한 경우에는 슬레이브 프로세서 모듈(50)이 VME 버스를 사용하게 된다.That is, the bus arbitration unit 30 receives a bus use request signal from the master processor module 40 and the slave processor module 50 to mediate the use of the VME bus. When the bus use request signal is applied, the bus use permission signal is output to the master processor module 40 through the output terminal BG. At this time, when the master processor module 40 receives the bus use permission signal from the bus arbitration unit 30, the master processor module 40 outputs the bus use request signal to the bus arbitration unit 30. By not outputting the bus permission signal to the slave processor module 50, the slave processor module 50 stops using the VME bus and accesses the local bus LB2 of the slave processor module 50 through the VME bus, and the bus arbitration unit ( When receiving the bus use permission signal from 30), if it has not output the bus use request signal to the bus arbitration unit 30 side, the slave processor module outputs a bus use permission signal to the slave processor module 50 side. Let 50 access its local bus LB1 via the VME bus. Therefore, when both the master processor module 40 and the slave processor module 50 output the bus use request signal to the bus arbitration unit 30 side, the master processor module 40 preferentially uses the VME bus. When only the slave processor module 50 outputs a bus use request signal to the bus arbitration unit 30 side, the slave processor module 50 uses the VME bus.
이상과 같이 구성된 본 발명의 프로세서 모듈간 메세지 교환장치는 다음과 같이 동작한다.An apparatus for exchanging messages between processor modules of the present invention configured as described above operates as follows.
예를들어, 마스터 프로세서 모듈(40)의 CPU(41)가 레지스터(42)측에 버스사용 요구신호(WB1)를 출력하여 레지스터(42)가 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하는 경우, 버스 중재부(30)는 출력단(BG)을 통해 마스터 프로세서 모듈(40)측에 버스사용 허가신호를 출력한다. 이때, 레지스터(42)는 입력단(BGIn)을 통해 버스 중재부(30)로 부터의 버스사용 허가신호를 수신하면 CPU(41)측에 버스사용 허가신호(GB1)를 출력함과 동시에 출력단(BGOut)을 통해 슬레이브 프로세서 모듈(50)측에 버스사용 허가신호를 출력하지 않는다. 이에따라, CPU(41)가 버스 콘트롤러(44)를 제어하여 VME 버스를 구동함으로써 슬레이브 프로세서 모듈(50)의 로컬버스(LB2)를 억세스하게 되는데, 슬레이브 프로세서 모듈(50)의 버스 콘트롤러(54)는 마스터 프로세서 모듈(40)이 VME 버스를 구동함을 감지하면 CPU(51)측에 로컬버스 사용요구신호(BRL2)를 출력하여 CPU(51)로부터 로컬버스 사용허가신호(BGL2)를 인가받아 마스터 프로세서 모듈(40)이 로컬버스(LB2)를 억세스 할수 있게 한다. 이때, 로컬메모리(43)과 로컬메모리(53)는 VME 버스를 통해 입출력되는 메세지를 전달한다.For example, the CPU 41 of the master processor module 40 outputs the bus use request signal WB1 to the register 42 side, so that the register 42 is connected to the bus arbitration unit 30 via the output terminal BR. When the bus use request signal is output to the bus arbitration unit 30, the bus arbitration unit 30 outputs a bus use permission signal to the master processor module 40 through the output terminal BG. At this time, when the register 42 receives the bus use permission signal from the bus arbitration unit 30 through the input terminal BGIn, the register 42 outputs the bus use permission signal GB1 to the CPU 41 and simultaneously outputs the output BGOut. ) Does not output the bus permission signal to the slave processor module 50. Accordingly, the CPU 41 controls the bus controller 44 to drive the VME bus to access the local bus LB2 of the slave processor module 50. The bus controller 54 of the slave processor module 50 When the master processor module 40 detects that the VME bus is driven, it outputs the local bus use request signal BRL2 to the CPU 51 and receives the local bus permission signal BGL2 from the CPU 51 to receive the master processor. Allow module 40 to access local bus LB2. At this time, the local memory 43 and the local memory 53 transmit messages input and output through the VME bus.
또한, 예를들어 슬레이브 프로세서 모듈(50)의 CPU(51)가 레지스터(52)측에 버스사용 요구신호(WB2)를 출력하여 레지스터(52)가 출력단(BR)을 통해 버스 중재부(30)측에 버스사용 요구신호를 출력하는 경우, 버스 중재부(30)가 출력단(BG)을 통해 마스터 프로세서 모듈(40)측에 버스사용 허가신호를 출력하여 마스터 프로세서 모듈(40)로부터 입력단(BGIn)에 버스사용 허가신호가 인가되면, 레지스터(52)는 CPU(51)측에 버스사용 허가신호(GB2)를 출력한다. 이에따라, CPU(51)가 버스 콘트롤러(54)를 제어하여 VME 버스를 구동함으로써 마스터 프로세서 모듈(40)의 로컬버스(LB1)를 억세스하게 되는데, 마스터 프로세서 모듈(40)의 버스 콘트롤러(44)는 슬레이브 프로세서 모듈(50)이 VME 버스를 구동함을 감지하면 CPU(41)측에 로컬버스 사용요구신호(BRL1)를 출력하여 CPU(41)로부터 로컬버스 사용허가신호(BGL1)를 인가받아 슬레이브 프로세서 모듈(50)이 로컬버스(LB1)를 억세스 할수 있게 한다. 이때, 로컬메모리(43)와 로컬메모리(53)는 VME 버스를 통해 입출력되는 메세지를 전달한다.Further, for example, the CPU 51 of the slave processor module 50 outputs the bus use request signal WB2 to the register 52 side so that the register 52 receives the bus arbitration unit 30 through the output terminal BR. When outputting a bus use request signal to the side, the bus arbitration unit 30 outputs a bus use permission signal to the master processor module 40 side through the output terminal BG to input the input terminal BGIn from the master processor module 40. When the bus use permission signal is applied to the register 52, the register 52 outputs a bus use permission signal GB2 to the CPU 51 side. Accordingly, the CPU 51 controls the bus controller 54 to drive the VME bus, thereby accessing the local bus LB1 of the master processor module 40. The bus controller 44 of the master processor module 40 When the slave processor module 50 detects that the VME bus is driven, it outputs the local bus use request signal BRL1 to the CPU 41 and receives the local bus use permission signal BGL1 from the CPU 41 to receive the slave processor. Allow module 50 to access local bus LB1. At this time, the local memory 43 and the local memory 53 transmit messages input and output through the VME bus.
이상 설명한 바와 같이, 본 발명은 마스터 프로세서 모듈과 슬레이브 프로세서 모듈이 모두 VME 버스를 사용할 수 있으므로 VME 버스의 사용 효율성을 향상시키고, 고가격의 듀얼 포트 메모리를 별도로 사용하지 않아도 메세지를 전달할 수 있으므로 경제성을 향상시키게 된다.As described above, the present invention improves the efficiency of using the VME bus because both the master processor module and the slave processor module can use the VME bus, and can deliver messages without using a high-cost dual port memory. Let's go.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960052109A KR100194985B1 (en) | 1996-11-05 | 1996-11-05 | Message exchange device between processor modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960052109A KR100194985B1 (en) | 1996-11-05 | 1996-11-05 | Message exchange device between processor modules |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19980034150A KR19980034150A (en) | 1998-08-05 |
KR100194985B1 true KR100194985B1 (en) | 1999-06-15 |
Family
ID=66519347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019960052109A KR100194985B1 (en) | 1996-11-05 | 1996-11-05 | Message exchange device between processor modules |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100194985B1 (en) |
-
1996
- 1996-11-05 KR KR1019960052109A patent/KR100194985B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19980034150A (en) | 1998-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6247100B1 (en) | Method and system for transmitting address commands in a multiprocessor system | |
JPH04227557A (en) | Bus system for information processing unit | |
KR850007129A (en) | Microcomputer system with bus control | |
KR100194985B1 (en) | Message exchange device between processor modules | |
KR980013132A (en) | Data processing and communication system with high-performance peripheral component interconnect bus | |
JP4014061B2 (en) | Network equipment | |
KR930003720B1 (en) | Interface unit for micro-processor used in electronic communication | |
KR100606698B1 (en) | Interfacing apparatus | |
JPH069036B2 (en) | I / O controller | |
KR960014177B1 (en) | Data communication device for a parallel data processing system | |
KR200167746Y1 (en) | Ipc data access apparatus of exchange | |
JP2884943B2 (en) | Address arbitration circuit | |
JP4154678B2 (en) | Information processing device | |
US6505276B1 (en) | Processing-function-provided packet-type memory system and method for controlling the same | |
SU1410709A1 (en) | Computer to peripheral device interface | |
JPH02257352A (en) | Fast local bus using vme bus | |
KR100328630B1 (en) | Data transmitting method and data transmission channel apparatus of sun bus and versa module eurocard bus | |
JP3016314B2 (en) | Page printer | |
KR0126417B1 (en) | Multi-channel input-output controlling device | |
KR0139960B1 (en) | Mass Storage Media Matching Device in Electronic Switching System | |
SU1221656A1 (en) | Multichannel device for controlling information exchange among computers | |
KR100210813B1 (en) | Apparatus for resetting packet handler in full electronic switching system | |
JP2574773B2 (en) | Priority selection method | |
JP3068701U (en) | Printer device | |
JPH0471224B2 (en) |
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: 20011224 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |