KR100321406B1 - GS Bus Redundant Interface Structure - Google Patents

GS Bus Redundant Interface Structure Download PDF

Info

Publication number
KR100321406B1
KR100321406B1 KR1019980051019A KR19980051019A KR100321406B1 KR 100321406 B1 KR100321406 B1 KR 100321406B1 KR 1019980051019 A KR1019980051019 A KR 1019980051019A KR 19980051019 A KR19980051019 A KR 19980051019A KR 100321406 B1 KR100321406 B1 KR 100321406B1
Authority
KR
South Korea
Prior art keywords
bus
standby
data
signal
gate
Prior art date
Application number
KR1019980051019A
Other languages
Korean (ko)
Other versions
KR20000033944A (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 KR1019980051019A priority Critical patent/KR100321406B1/en
Publication of KR20000033944A publication Critical patent/KR20000033944A/en
Application granted granted Critical
Publication of KR100321406B1 publication Critical patent/KR100321406B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware
    • G06F11/1625Error detection by comparing the output signals of redundant hardware in communications, e.g. transmission, interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은 이중화 버스시스템의 스탠바이측 버스를 경유하여 루프백된 스텐바이 버스 데이터 비트열과 시험용 송신데이터를 비교하여 스텐바이측 버스의 에러를 검출하는 스텐바이 버스 데이터 비교 검출부와; 상기 스텐바이 버스 에러검출부로부터 전송된 스텐바이 버스의 에러 검출결과신호를 저장하는 스탠바이버스 에러상태레지스터와; 이 스탠바이버스 에러상태레지스터에 저장된 스탠바이버스측 에러검출신호를 판단하여 스탠바이버스의 상태를 인식하고 상기 시험용 송신데이터를 생성하여 전송하는 CPU로 이루어진 지에스 버스 이중화 인터페이스 구조를 제공한다.The present invention relates to a standby bus data comparison detection unit for detecting an error of a standby bus by comparing a standby bus data bit string looped back through a standby bus of a redundant bus system with test transmission data; A standby error state register for storing an error detection result signal of a standby bus transmitted from the standby bus error detection unit; A bus bus redundancy interface structure including a CPU for determining a standby bus side error detection signal stored in the standby error state register to recognize a standby bus state and generating and transmitting the test transmission data is provided.

상기와 같은 본 발명은 고속의 IPC 통신시에 이중화된 구조의 액티브 및 스텐바이 측의 데이터 열을 검사함으로써 하드웨어적인 측면에서의 신뢰성을 높일 수 있고, 소프트웨적인 측면에서의 오버헤드(Overhead)를 줄이는 효과를 제공한다.As described above, the present invention can increase reliability in terms of hardware and reduce overhead in terms of software by checking data streams on the active and standby sides of a redundant structure during high-speed IPC communication. Provide effect.

Description

지에스 버스 이중화 인터페이스 구조GS bus redundancy interface structure

본 발명은 교환기 내의 분산 제어 시스템에서 프로세서간의 통신 경로를 제공하는 기능을 갖는 지에스-버스(GS-Bus)에 관한 것으로, 특히 스텐바이 버스를 시험할 수 있는 지에스 버스의 이중화 인터페이스 구조에 관한 것이다.The present invention relates to a GS-Bus having a function of providing a communication path between processors in a distributed control system in an exchange, and more particularly, to a redundant interface structure of a GS bus capable of testing a standby bus.

일반적으로 각 프로세서간의 통신을 위해서는 백보드내의 패턴, 또는 지에스 버스 케이블을 사용한 IPC 통신을 통해서 가능하다. 이때, 지에스 버스는 이중화로 구성된다.In general, communication between the processors is possible through a pattern on the backboard or IPC communication using a GS bus cable. At this time, the GS bus is configured with redundancy.

지에스 버스는 FRS, ASTCLK, ASTOUT, BRCLK, DATA, TKAST 등의 신호들로 구성되었으며, 각 신호의 정의는 다음과 같다.The GS bus is composed of signals such as FRS, ASTCLK, ASTOUT, BRCLK, DATA, and TKAST. Each signal is defined as follows.

FRS : 버스 마스터(Bus master)에서 제공되면 각 프로세서의 버스 점유 기회를 정해진 순서에 의해 부여하기 위한 기준 신호로 로컬 카운터(local counter)의 초기값을 로드(load)한다.FRS: When provided from the bus master, the initial value of the local counter is loaded as a reference signal for assigning bus occupancy opportunities of each processor in a predetermined order.

ASTCLK : 버스 마스터에서 제공되며 각 프로세서의 버스 중재 로직(Bus arbitration logic)에 동기를 위한 클럭으로 로컬 카운터의 클럭으로 사용된다.ASTCLK: Provided by the bus master, this clock is used to synchronize the bus arbitration logic of each processor with the local counter clock.

TKST : 버스 점유신호(ASSERT)가 해제되면 바로 버스 점유를 할 수 있도록 다음 차례의 프로세서 중 버스로 전송할 데이터를 가진 프로세서에 의해 구동된다. 이 신호는 양방향 신호로 이 신호가 활성화(activation) 되면 각 프로세서의 로컬카운터들은 카운트 업(count up)을 중지하고 버스상의 점유 신호가 해제되면 이 신호를 구동한 프로세서는 자신이 버스 점유 신호를 구동함과 동시에 다음 차례의 프로세서에게 버스 점유 기회를 제공하게 된다.TKST: When the bus occupancy signal (ASSERT) is released, it is driven by the processor with the data to be transferred to the bus in the next processor so that the bus can be occupied. This signal is a bidirectional signal. When this signal is activated, the local counters of each processor stop counting up, and when the occupied signal on the bus is released, the processor that drives this signal drives the bus occupied signal. At the same time, it gives the next processor the opportunity to occupy the bus.

ASSERT : 양방향 신호로 버스 점유상태를 나타내면 버스를 점유한 프로세서가 구동한다.ASSERT: A bi-directional signal indicates bus occupancy. The processor occupies the bus.

BRCLK : 양방향 신호로 시리얼 데이터 전송을 위한 클럭으로 데이터를 전송하는 프로세서가 구동한다.BRCLK: It is driven by a processor that transmits data as a clock for serial data transmission as a bidirectional signal.

DATA : 양방향 신호로 버스로 전송되는 BRCLK에 동기된 직렬(serial) 데이터이다.DATA: Serial data synchronized to BRCLK transmitted to the bus as a bidirectional signal.

IALARM : 지에스 버스상에서 어느 케이블이 탈장되면 이 신호가 하이(high)가 되어 모든 프로세서가 정상적인 버스로 절체하게 된다.IALARM: When a cable is disconnected on the GS bus, this signal goes high, causing all processors to switch to the normal bus.

OALARM : 데이지 체인(Daisy chain) 형태의 지에스 버스연결에서 맨 처음 출발하는 프로세서에서 로우(low)로 출력하고, 중간에 위치하는 프로세서는 바이패스(bypass)시키면 맨 마지막 프로세서는 OALARM과 IALARM을 루핑(looping)시킨다.OALARM: In the daisy chain type GS bus connection, output is low from the first processor. If the middle processor is bypassed, the last processor loops OALARM and IALARM. looping).

COFFIN : 데이지 체인 형태의 지에스 버스 케이블이 연결될 때 구간별 케이블 탈장을 인식하기 위한 케이블 탈장 경보 신호이다.COFFIN: Cable hernia alarm signal to recognize cable hernia by section when daisy-chained GS bus cable is connected.

COFFOUT: 항상 그라운드(GND) 레벨이고 데이지 체인시 다음 프로세서의 COFFIN 으로 케이블에 의해 연결된다.COFFOUT: Always at ground (GND) level and daisy chained to the next processor's COFFIN by cable.

지에스-버스의 버스 중재 방식에 대하여 기술하면, 라운드 로빈방식에 의해버스에 수용된 프로세서들은 균등한 버스 사용기회를 갖게 되지만, 버스 중재 (arbistration)를 위한 오버 헤드를 최소화 하기 위하여 버스 점유된 상태에서 다음에 버스 사용권 예악을 하고 버스 점유가 해제되면 예약된 프로세서가 버스를 점유하게 하는 방법으로 버스 턴 어라운드 타임을 최소화시킨다.In the bus arbitration method of GS-bus, the processors that are accommodated in the bus by the round robin method have equal bus opportunities, but in order to minimize the overhead for bus arbitration, Minimize bus turnaround time by prescribing a bus license to the bus and letting the reserved processor occupy the bus once the bus is released.

프로세서간의 IPC통신시 리던든시(Redundancy)를 이중화로 구성된 구조를 가지고 운용된다. 즉, 데이터를 송신하는 프로세서는 A/B 버스에 동일한 정보를 주고 수신측에서는 두 신호중에서 하나를 선택하도록 되어 있다. 신호 선택의 조건은 하드웨적인 신호 에러 검출 로직에 의한 보고와 소프트웨어적인 판단등을 통하여 소프트웨어의 제어에 의한 소프트 웨어 셀렉터의 신호에 의해 결정된다.It is operated with the structure of redundancy in redundancy in IPC communication between processors. That is, the processor for transmitting data gives the same information to the A / B bus and the receiving side selects one of the two signals. The condition of the signal selection is determined by the signal of the software selector under the control of the software through reporting by the software signal error detection logic and software judgment.

도 1에는 종래의 IPC 인터페이스 구조로서 CPU(10)와 지에스 버스 인터페이스부(20)와 이중화된 지에스 버스부(30)가 도시된다.1 shows a CPU 10, a GS bus interface 20, and a redundant GS bus unit 30 as a conventional IPC interface structure.

CPU가 다른 프로세서에 데이터를 송신하거나 수신할 경우 상기 지에스 버스 인터페이스부(20)를 통해 상기 이중화된 지에스 버스부(30)에 데이터를 실어주거나 버스부로부터 데이터를 수신한다. 다른 프로세서에 송신할 데이터가 있는 경우 지에스 버스(30)상에 기준 동기신호에 맞추어 액티브측과 스텐바이측의 버퍼를 통하여 실어주게 된다. 그러나 수신하는 데이터의 경우에는 CPU와 트랜시버사이에 지에스 버스 인터페이스부(20)를 통해 버스를 선택하여, 선택되어진 한쪽 수신데이타를 받게 된다.When the CPU transmits or receives data to another processor, the CPU loads data to or receives data from the redundant GS bus unit 30 through the GS bus interface unit 20. When there is data to be transmitted to another processor, it is loaded on the GS bus 30 through buffers on the active side and standby side in accordance with the reference synchronization signal. However, in the case of receiving data, the bus is selected through the GS bus interface unit 20 between the CPU and the transceiver to receive the selected received data.

상기 지에스 버스 인터페이스부(20)는 버스 중재를 담당하는 버스 중재부(21)와 상기 CPU(10)의 액티브 버스 선택신호에 의거하여 지에스 버스 A와지에스 버스 B중에서 액티브 버스를 선택하는 셀렉터(22)와 지에스 버스 A와 지에스 버스 B중에서 액티부측 버스의 클럭신호를 검출하여 지에스 버스의 에러발생을 검출하는 지에스 버스 에러 검출부(23)와 지에스 버스의 에러 검출상태를 저장하여 CPU(10)로 하여금 지에스 버스의 에러 발생여부를 알게 하는 레지스터부(24)로 구성된다.The GS bus interface unit 20 selects an active bus from among GS bus A and GS bus B based on the bus arbitration unit 21 responsible for bus arbitration and the active bus selection signal of the CPU 10. CPU bus 10 detects the clock signal of the bus on the active part side among the GS bus A and the GS bus B, and stores the error detection state of the GS bus and the CPU 10 to store the error detection state of the GS bus. It is composed of a register unit 24 for knowing whether an error occurs in the GS bus.

상기와 같이 구성된 종래의 지에스 버스 인터페이스 구조에서는 지에스 버스 A와 지에스 버스 B중에서 액티브측 버스의 에러여부를 검출하여 그 상태를 상기 레지스터(Reg(0-6))(24)에 저장한다. 상기 CPU(10)에서는 주기적으로 상기 레지스터 (24)의 데이터를 읽어 지에스 버스의 에러여부를 판단하여 그에 따른 에러복구의 과정을 수행하게 된다.In the conventional GS bus interface structure configured as described above, an error of the active bus is detected among the GS bus A and the GS bus B, and the state is stored in the register (Reg (0-6)) 24. The CPU 10 periodically reads data of the register 24 to determine whether an error exists in the GS bus and performs error recovery accordingly.

그러나, 상술한 바와 같이 이중화된 지에스 버스의 구조에서 수신되는 IPC 데이터의 선택은 소프트웨어에 의한 선택 신호에 의해 결정된다. 따라서 교환기와 같은 구조에서 운용되는 지에스 버스의 특성상 데이터상에서 오류가 발생하게 되면 여러 복잡한 과정을 거쳐야만 복구가 가능하다. 즉 각각의 불록별로 지에스 버스의 경로를 검증해야 한다. 따라서 종래의 구조에서는 지에스 버스상에 스텐바이 쪽 수신 데이터 라인(Rx data line)의 상태를 알 수가 없는 구조적 문제점을 지니고 있다.However, the selection of IPC data received in the structure of the redundant GS bus as described above is determined by the selection signal by software. Therefore, if an error occurs in the data due to the characteristics of the GS bus operating in the same structure as the exchanger, it can be recovered only through various complicated processes. In other words, each block must verify the route of the GS bus. Therefore, in the conventional structure, there is a structural problem in which the state of the standby side Rx data line on the GS bus cannot be known.

이에 본 발명은 상기 문제점을 해결하고자 안출된 것으로, IPC 통신시에 이중화된 구조의 액티브 및 스텐바이 측의 데이터 열을 검사하여 스텐바이측의 수신데이터 라인의 상태를 알수 있게 하는 지에스 버스 이중화 인터페이스 구조를 제공하는 것을 그 목적으로 한다.Accordingly, the present invention has been made to solve the above-mentioned problem, GS bus redundancy interface structure to check the status of the received data line of the standby side by checking the data streams of the active and standby side of the redundant structure during IPC communication To provide that purpose.

상기 목적을 달성하기 위한 본 발명은 이중화 버스시스템의 스탠바이측 버스를 경유하여 루프백된 스텐바이 버스 데이터 비트열과 시험용 송신데이터를 비교하여 스텐바이측 버스의 에러를 검출하는 스텐바이 버스 데이터 비교 검출부와; 상기 스텐바이 버스 에러검출부로부터 전송된 스텐바이 버스의 에러 검출결과신호를 저장하는 스탠바이버스 에러상태레지스터와; 이 스탠바이버스 에러상태레지스터에 저장된 스탠바이버스측 에러검출신호를 판단하여 스탠바이버스의 상태를 인식하고 상기 시험용 송신데이터를 생성하여 전송하는 CPU로 이루어진 지에스 버스 이중화 인터페이스 구조를 제공한다.According to another aspect of the present invention, there is provided a standby bus data comparison detection unit configured to detect an error of a standby bus by comparing a standby bus data bit string looped back through a standby bus of a redundant bus system with test transmission data; A standby error state register for storing an error detection result signal of a standby bus transmitted from the standby bus error detection unit; A bus bus redundancy interface structure including a CPU for determining a standby bus side error detection signal stored in the standby error state register to recognize a standby bus state and generating and transmitting the test transmission data is provided.

도 1 은 종래의 IPC 인터페이스 구조도,1 is a structural diagram of a conventional IPC interface;

도 2 는 본 발명에 의한 IPC 인터페이스 구조도,2 is an IPC interface structure diagram according to the present invention;

도 3 은 지에스 버스 인터페이스 로직에 추가되는 비교검출부의 회로도,3 is a circuit diagram of a comparison detection unit added to GS bus interface logic;

도 4 는 비교검출부에서의 데이터 비트 스트림 비교 검출 타이밍도.4 is a data bit stream comparison detection timing diagram in a comparison detection unit.

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

10 : CPU 20 : 제에스 버스 인터페이스10: CPU 20: JS Bus Interface

21 : 버스 중재부 22 : 셀렉터21: bus arbitration unit 22: selector

23 : 지에스 버스 에러 검출부 24 : 레지스터부23 GS bus error detection unit 24: register unit

25, 26, 27,(100) : 제 1, 제 2, 제 3 데이터 비트 스트림 비교 검출부25, 26, 27, (100): first, second, third data bit stream comparison detection unit

28 : 상태 레지스터 30 : 지에스 버스부28: status register 30: GS bus unit

31 : 지에스 버스 A 32 : 지에스 버스 B31: GS Bus A 32: GS Bus B

101 : 제 1 익스클루시브 오어 게이트 102 : 제 1 디플립플롭101: first exclusive or gate 102: first deflect flop

103 : 제 1 앤드 게이트 104 : 제 1 노어 게이트103: first end gate 104: first NOR gate

105 : 제 2 디플립플롭 106 : 오어 게이트105: second deflip flop 106: or gate

107 : 제 2 앤드 게이트 108 : 제 3 디플립플폽107: second and gate 108: third diflip pop

109 : 제 4 디플립플롭 110 : 제 2 익스클루시브 오어 게이트109: fourth def flip-flop 110: the second exclusive or gate

111 : 제 3 앤드 게이트 112 : 제 2 노어 게이트111: third and gate 112: second NOR gate

이하 첨부한 도면을 참조로 하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2 에는 도 1에 도시된 종래의 지에스 인터페이스의 구조에 스텐바이 버스의 에러검출을 위해 부가될 IPC 루프백 시험비교부가 더 포함되어 도시된다.FIG. 2 further includes an IPC loopback test comparison unit to be added for error detection of a standby bus to the structure of the conventional GS interface shown in FIG. 1.

액티브 버스와 스텐바이 버스로 이중화된 구조를 갖는 지에스 버스에서 각각의 프로세서는 자체적으로 루프백 기능이 가능하게 된다. 즉, 자신이 송신한 데이터(Tx)를 수신(RXD)할 수 있기 때문에 CPU는 지에스 인터페이스를 통해 데이터를 송신하게 된다.Each processor has its own loopback function in the GS bus, which is redundant with an active bus and a standby bus. That is, since it can receive (RXD) the data Tx transmitted by itself, the CPU transmits the data through the GS interface.

도시된 바와 같이 상기 지에스 버스 인터페이스부(20)는 버스 중재를 담당하는 버스 중재부(21)와 상기 CPU(10)의 액티브 버스 선택신호에 의거하여 지에스 버스 A와 지에스 버스 B중에서 액티브 버스를 선택하는 셀렉터(22)와 지에스 버스 A와 지에스 버스 B중에서 액티부측 버스의 클럭신호를 검출하여 지에스 버스의 에러발생을 검출하는 지에스 버스 에러 검출부(23)와 지에스 버스의 에러 검출상태를 저장하여 CPU(10)로 하여금 지에스 버스의 에러 발생여부를 알게 하는 레지스터부 (24)와, 상기 CPU(10)로부터 트랜시버로 송신되는 송신 데이터와 루프백되어 스텐바이 버스로부터 수신되는 수신데이터를 비교하여 에러를 검출하는 제 1 , 제 2, 제 3 데이터 비트스트림 비교 검출부(25,26,27)와, 상기 CPU(10)로부터 송신되는 송신 데이터와 상기 스텐바이 버스로부터 수신되는 IPC 루프백 데이터의 비교결과를 저장하는 상태 레지스터(Reg 7)(28)로 구성된다.As shown, the GS bus interface unit 20 selects an active bus from GS bus A and GS bus B based on the bus arbitration unit 21 responsible for bus arbitration and the active bus selection signals of the CPU 10. The CPU bus error detection unit 23 and the GS bus error detection state are detected by detecting the clock signal of the bus on the AC-side bus from among the selector 22 and the GS bus A and the GS bus B. 10) compares the register unit 24 for detecting whether an error occurs in the GS bus with the transmission data transmitted from the CPU 10 to the transceiver and the received data received from the standby bus by looping back to detect an error. From the first, second, and third data bitstream comparison detection units 25, 26, 27, and the transmission data transmitted from the CPU 10 and the standby bus And a status register (Reg 7) 28 that stores the comparison result of the received IPC loopback data.

지에스 인터페이스 구조에서 상기 CPU(10)로부터 트랜시버로 송신되는 송신 데이터와 루프백되어 스텐바이 버스로부터 수신되는 수신데이터를 비교하여 에러를 검출하는 제 1 , 제 2, 제 3 데이터 비트스트림 비교 검출부(25,26,27)와, 상기 CPU(10)로부터 송신되는 송신 데이터와 상기 스텐바이 버스로부터 수신되는 IPC 루프백 데이터의 비교결과를 저장하는 상태 레지스터(Reg 7)(28)가 더 포함된다.In the GS interface structure, the first, second, and third data bitstream comparison detection units 25 which detect an error by comparing the transmission data transmitted from the CPU 10 to the transceiver and the received data received from the standby bus are looped back. 26 and 27, and a status register (Reg 7) 28 for storing a comparison result of the transmission data transmitted from the CPU 10 and the IPC loopback data received from the standby bus.

상기와 같이 제 1, 제 2, 제 3 비트스트림 비교 검출부(25,26,27)와 상태레지스터(28)가 더 포함된 지에스 버스 인터페이스 구조의 동작상태를 설명하면 다음과 같다.The operation state of the GS bus interface structure further including the first, second, and third bitstream comparison detection units 25, 26, 27 and the state register 28 as described above is as follows.

상기 셀렉터(22)에서 지에스 버스 A와 지에스 버스 B중에서 액티브 측 버스로 선택된 액티브 버스의 데이터는 CPU(10)로 수신된다. 지에스 에러 검출부(23)를 통해 액티브측 버스의 에러발생 여부가 검출되는 한편, 상기 셀렉터(22)에서 스텐바이 버스로 선택되어지는 지에스 버스의 데이터 비트스트림은 상기 제 1 , 제 2, 제 3 비교검출부(25,26,27)에서 상기 CPU(10)로부터 트랜시버(Tranceiver)에 입력되는 송신데이터(Tx)와 루프백되어 돌아오는 수신 데이터(Rx)가 데이터 검출비교부 (25,26,27)를 통하여 상호 비교하게 되며, 만약 서로 다른 데이터의 비트 스트림이 발생할 경우에는 이를 에러로 처리하여 상태 레지스터(28)에 저장하게 된다. 이때 저장된 레지시터의 값은 상기 CPU(10)가 읽고 난후 클리어되게 된다. 따라서 프로세서는 IPC 루프백 시험을 통하여 제 1 비교검출부와 제 2 비교 검출부, 제 3 비교검출부에서 검증이 이루어진다.Data of the active bus selected as the active side bus among the GS bus A and the GS bus B by the selector 22 is received by the CPU 10. The GS error detection unit 23 detects whether an error occurs in the active bus, while the data bitstream of the GS bus selected as the standby bus in the selector 22 is compared with the first, second, and third. Transmitting data Tx inputted from the CPU 10 to the transceiver by the detectors 25, 26, and 27 and received data Rx returning in a loopback form the data detection comparator 25, 26, 27. Compared with each other, if a bit stream of different data occurs, it is treated as an error and stored in the status register 28. At this time, the value of the stored register is cleared after the CPU 10 reads it. Therefore, the processor performs verification in the first comparison detector, the second comparison detector, and the third comparison detector through the IPC loopback test.

도 3 에는 지에스 버스 인터페이스 로직에 추가되는 제 1, 제 2, 제 3 비교검출부의 상세한 회로도가 도시된다. 각각의 비교검출부의 구성은 동일하므로 하나에 대하여 설명하기로 하며 편의상 부재번호를 100을 사용하도록 한다.3 shows a detailed circuit diagram of the first, second, and third comparison detectors added to the GS bus interface logic. Since the configuration of each comparison detection unit is the same, one will be described and the member number 100 is used for convenience.

상기 비교 검출부(100)는 데이터 비트 스트림을 비교하여 에러를 검출하도록 구성되어 있다.The comparison detection unit 100 is configured to detect an error by comparing the data bit stream.

상기 CPU(10)로부터 전송된 송신 데이터(TXD)와 IPC 루프백된 수신 데이터 (RXD)를 익스클루시브 오어 연산하는 제 1 익스클루시브 오어 게이트(101)와, 상기 제 1 익스클루시브 오어 게이트(101)의 출력신호를 D입력단자로 받아 데이터 전송 클럭(BRCLK)신호에 따라 래치하여 출력하는 제 1 디플립플롭(102)과, 상기 제 1 디플립플롭(102)의 출력에 의하여 세트되며, 데이터 전송클럭(BRCLK)신호에 따라 하이신호를 출력하는 제 2 디플립플롭(105)과, 상기 제 2 디플립플롭(105)의 출력신호와 READ신호를 오어(OR)연산하는 오어게이트(106)가 구비된다.A first exclusive or gate 101 for exclusive or calculating the transmit data TXD and the IPC loopback received data RXD transmitted from the CPU 10, and the first exclusive or gate ( A first deflip-flop 102 for receiving the output signal of the signal 101 at the D input terminal and latching the output signal according to the data transmission clock signal BRCLK; and an output of the first deflip-flop 102; A second deflip-flop 105 for outputting a high signal according to the data transfer clock signal BRCLK, and an or-gate 106 for performing an OR operation on the output signal and the READ signal of the second deflip-flop 105. ) Is provided.

상기 제 1 디플립플롭(102)의 리세트 단자에는 AST 신호와 RESET신호를 앤드(AND)연산하는 제 1 앤드 게이트(103)가 제 1 노어 게이트(104)를 통하여 연결된다. 상기 제 2 디플립플롭(105)의 리세트 단자에는 D_READ신호와 RESET신호를 앤드(AND)연산하는 제 2 앤드 게이트(107)가 연결된다.A first AND gate 103 for ANDing the AST signal and the RESET signal is connected to the reset terminal of the first flip-flop 102 through the first NOR gate 104. A second AND gate 107 for ANDing the D_READ signal and the RESET signal is connected to the reset terminal of the second flip-flop 105.

상기 D_READ 신호를 출력하기 위해서는 READ신호를 D입력단자로 받아 데이터 전송클럭(BRCLK)에 의거하여 래치하는 제 3 디플립플롭(108)과, 제 3 디플립플롭(108)의 출력을 받아 데이터 전송클럭(BRCLK)에 의거하여 래치하는 제 4 디플립플롭(109)과 상기 제 4 디플립플롭(109)의 출력과 READ신호를 익스클루시브 오어링하는 제 2 익스클루시브 오어 게이트(110)와 상기 제 2 익스클루시브 오어 게이트(110)의 출력과 READ신호를 앤딩하는 제 3 앤드 게이트(111)와 제 3 앤드 게이트(111)의 출력을 반전시키는 낫게이트(112)가 구비된다.In order to output the D_READ signal, the READ signal is received as the D input terminal and the third deflip-flop 108 which latches based on the data transmission clock BRCLK and the third deflip-flop 108 receive the data and transmit the data. A second deflected flop 109 latching based on a clock BRCLK, and a second exclusive or gate 110 which exclusively outputs the output of the fourth deflected flop 109 and the READ signal; A third AND gate 111 for outputting the second exclusive or gate 110 and a READ signal and a sick gate 112 for inverting the output of the third AND gate 111 are provided.

도 3에서 데이터 전송 클럭(BRCLK)은 양방향 신호로 시리얼 데이터 전송을 위한 클럭이며, READ신호는 CPU(10)에서 상태 레지스터(28)를 읽기 위한 리드 클럭이며, D_READ신호는 상기 READ신호의 지연된 신호이다. AST신호는 버스 점유 신호로서 데이터 유효기간을 나타내며, TXD는 지에스 버스의 송신 데이터를 나타내며, RXD는 지에스 버스의 수신 데이터를 나타내며, OUT는 비교검출된 에러발생 비트를 나타낸다.In FIG. 3, the data transfer clock BRCLK is a clock for serial data transmission as a bidirectional signal, a READ signal is a read clock for reading the status register 28 from the CPU 10, and a D_READ signal is a delayed signal of the READ signal. to be. The AST signal is a bus occupancy signal, indicating a data valid period, TXD indicates transmission data of a GS bus, RXD indicates received data of a GS bus, and OUT indicates a comparison detected error occurrence bit.

도 4에는 데이터 비트 스트림의 비교 검출 타이밍도가 도시된다.4 shows a comparison detection timing diagram of a data bit stream.

타이밍도에서 D_XOR은 제 1 디플립플롭(102)의 출력신호이며, COMPARE는 제 2 디플립플롭(105)의 출력신호이며, OUT는 오어 게이트(106)의 출력신호이다.In the timing diagram, D_XOR is an output signal of the first deflip-flop 102, COMPARE is an output signal of the second deflip-flop 105, and OUT is an output signal of the or gate 106.

CPU는 CPU 레지스터 인에이블 신호인 READ신호가 LOW신호일 때 활성화 되어 상기 오어 게이트(106)의 출력을 읽어 에러의 발생여부를 인식하게 된다.The CPU is activated when the READ signal, which is a CPU register enable signal, is a LOW signal, and reads the output of the OR gate 106 to recognize whether an error has occurred.

AST신호가 로우이고 RESET신호가 로우일 때 상기 제 1 디플립플롭은 활성화되어 D입력단자의 입력신호를 래치하여 출력하게 된다. TXD 데이터의 비트와 다른 RXD 데이터 비트(121)가 입력되는 경우 제 1 익스클루시브 오어 게이트(101)의 출력은 하이를 출력하게 되고 데이터 전송 클럭(BRCLK)의 다음 하강에지에서 제 1 디플립플롭(102)의 출력신호는 하이(122)를 출력한다. 다음 하강에지에서는 제 1 익스클루시브 오어 게이트(101)의 출력이 로우가 되므로 제 1 디플립플롭(102)은 다시 로우를 출력하게 된다. 한편, 제 2 디플립플롭(105)의 출력은 로우상태를 유지하고 있다가 제 1 디플립플롭(102)의 출력신호가 하이(122)가 되었을 때 세팅되어 하이신호(123)를 출력한다. 제 2 디플립롭(105)의 출력신호는 하이신호를 유지하고 있는 동안 CPU(10)의 READ신호는 로우(124)가 되어 활성되어 데이터 비트의 에러 검출 결과를 읽어들인다(125). 제 2 디플립롭(105)은 하이신호를 유지하고 있다가 D_READ신호가 하이로 될 때(126) 리세트되고 약간의 시간지연을 갖고 다시 로우신호(127)를 출력하게 된다. 결과적으로 오어게이트(106)의 출력신호인 OUT신호는 다시 로우신호를 출력하게 된다. 결과적으로 상기 오어게이트(106)의 출력신호가 하이상태를 나타내는 것은 지에스 버스의 송신 데이터(TXD)와 수신데이터(RXD)가 서로 다른 비트열을 가진다는 것을 의미하게 된다. CPU(10)는 이러한 경우 스텐바이 지에스 버스에서 에러가 발생된 것으로 인식하게 된다.When the AST signal is low and the RESET signal is low, the first deflip-flop is activated to latch and output the input signal of the D input terminal. When the RXD data bit 121 that is different from the bit of the TXD data is input, the output of the first exclusive or gate 101 outputs high and the first deflip-flop at the next falling edge of the data transfer clock BRCLK. An output signal of 102 outputs a high 122. At the next falling edge, since the output of the first exclusive or gate 101 is low, the first deflip-flop 102 outputs a low again. On the other hand, the output of the second deflip-flop 105 is kept low, and is set when the output signal of the first deflip-flop 102 becomes high 122 to output the high signal 123. While the output signal of the second deflip 105 is held high, the READ signal of the CPU 10 becomes low 124 to be activated to read an error detection result of the data bit (125). The second de-flip 105 maintains a high signal and is reset when the D_READ signal goes high (126) and outputs a low signal 127 again with a slight delay. As a result, the OUT signal, which is the output signal of the OR gate 106, outputs a low signal again. As a result, the high state of the output signal of the OR gate 106 means that the transmission data TXD and the reception data RXD of the GS bus have different bit strings. In this case, the CPU 10 recognizes that an error has occurred in the standby GS bus.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정된 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러가지 치환, 변환 및 변경이 가능한 것이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and it is common knowledge in the art that various substitutions, conversions, and changes can be made without departing from the technical spirit of the present invention. It will be apparent to those who have

본 발명에 의하면, 고속의 IPC통신시에 이중화된 구조의 액티브 및 스텐바이 사이드의 데이터 열을 검사함으로써 하드웨어적인 측면에서의 신뢰성을 높일 수 있고, 소프트웨적인 측면에서의 오버헤드(Overhead)를 줄일 수 가 있게 된다.According to the present invention, it is possible to increase the reliability in terms of hardware and reduce the overhead in terms of software by examining data streams on the active and standby sides of a redundant structure during high-speed IPC communication. Will be.

Claims (2)

프로세서간의 통신 경로를 제공하는 지에스 버스 이중화버스 시스템에 있어서,In the GS bus redundant bus system providing a communication path between processors, 상기 이중화 버스시스템의 스탠바이측 버스를 경유하여 루프백된 스텐바이 버스 데이터 비트열과 시험용 송신데이터를 비교하여 스텐바이측 버스의 에러를 검출하는 스텐바이 버스 데이터 비교 검출부와; 상기 스텐바이 버스 에러검출부로부터 전송된 스텐바이 버스의 에러 검출결과신호를 저장하는 스탠바이버스 에러상태레지스터와; 이 스탠바이버스 에러상태레지스터에 저장된 스탠바이버스측 에러검출신호를 판단하여 스탠바이버스의 상태를 인식하고 상기 시험용 송신데이터를 생성하여 전송하는 CPU로 이루어진 것을 특징으로 하는 지에스 버스 이중화 인터페이스 구조.A standby bus data comparison detection unit for detecting an error of a standby bus by comparing a standby bus data bit string looped back through the standby bus of the redundant bus system with test transmission data; A standby error state register for storing an error detection result signal of a standby bus transmitted from the standby bus error detection unit; And a CPU for recognizing a standby bus side error detection signal stored in the standby error state register, recognizing the state of the standby bus, and generating and transmitting the test transmission data. 제1항에 있어서, 상기 스텐바이 버스 데이터 비교 검출부 CPU로부터 전송된 송신 데이터와 IPC 루프백된 수신 데이터를 익스클루시브 오어 연산하는 제 1 익스클루시브 오어 게이트와, 상기 제 1 익스클루시브 오어 게이트의 출력신호를 D 입력단자로 입력받아 데이터 전송 클럭신호에 따라 래치하여 출력하는 제 1 디플립 플롭과, 상기 제 1 디플립플롭의 출력에 의하여 세트되며, 데이터 전송클럭신호에 따라 하이신호를 출력하는 제 2 디플립플롭과, 상기 제 2 디플립플롭의 출력신호와 READ신호를 오어연산하는 오어게이트와, 상기 READ신호를 D입력단자로 입력받아 데이터 전송클럭신호에 따라 래치하는 제 3 디플립플롭과, 상기 제 3 디플립플롭의 출력을 입력받아 데이터 전송클럭신호에 따라 래치하는 제 4 디플립플롭과, 상기 제 4 디플립플롭의 출력과 READ신호를 익스클루시브 오어연산하는 제 2 익스클루시브 오어 게이트와, 상기 제 2 익스클루시브 오어연산하는 제 2 익스클루시브 오어 게이트와, 상기 제 2 익스클루시브 오어 게이트의 출력과 READ신호를 앤드연산하는 제 3 앤드 게이트와, 상기 제 3 앤드 게이트의 출력신호를 반전시키는 낫게이트를 구비하는 것을 특징으로 하는 지에스 버스 이중화 인터페이스 구조.2. The apparatus of claim 1, further comprising: an exclusive or gate configured to perform an exclusive or operation on transmission data transmitted from the standby bus data comparison detection unit CPU and IPC loopback received data, and the first exclusive or gate. A first deflip flop that receives an output signal through the D input terminal and latches the output signal according to a data transmission clock signal, and is set by an output of the first deflip flop, and outputs a high signal according to a data transmission clock signal; A second flip-flop, an or-gate for ORing the output signal and the READ signal of the second flip-flop, and a third flip-flop that receives the READ signal through the D input terminal and latches the data according to the data transmission clock signal. And a fourth flip-flop that receives the output of the third flip-flop and latches it according to a data transmission clock signal, an output of the fourth flip-flop, and an RE. A second exclusive or gate for performing an exclusive OR operation on the AD signal, a second exclusive or gate for performing the second exclusive or operation, an output of the second exclusive or gate, and a READ signal And an AND gate for inverting the output signal of the third AND gate, and a third AND gate for performing AND operation.
KR1019980051019A 1998-11-26 1998-11-26 GS Bus Redundant Interface Structure KR100321406B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980051019A KR100321406B1 (en) 1998-11-26 1998-11-26 GS Bus Redundant Interface Structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980051019A KR100321406B1 (en) 1998-11-26 1998-11-26 GS Bus Redundant Interface Structure

Publications (2)

Publication Number Publication Date
KR20000033944A KR20000033944A (en) 2000-06-15
KR100321406B1 true KR100321406B1 (en) 2002-06-20

Family

ID=19559891

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980051019A KR100321406B1 (en) 1998-11-26 1998-11-26 GS Bus Redundant Interface Structure

Country Status (1)

Country Link
KR (1) KR100321406B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101396893B1 (en) 2012-12-10 2014-05-19 두산중공업 주식회사 Data communication control apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100415162B1 (en) * 2001-04-10 2004-01-16 금호타이어 주식회사 Silica-filler rubber composition dispersion improved

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990050415A (en) * 1997-12-17 1999-07-05 이계철 Redundancy control device by comparing input / output operation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990050415A (en) * 1997-12-17 1999-07-05 이계철 Redundancy control device by comparing input / output operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101396893B1 (en) 2012-12-10 2014-05-19 두산중공업 주식회사 Data communication control apparatus

Also Published As

Publication number Publication date
KR20000033944A (en) 2000-06-15

Similar Documents

Publication Publication Date Title
US5349654A (en) Fault tolerant data exchange unit
US5005151A (en) Interleaved arbitration scheme for interfacing parallel and serial ports to a parallel system port
US7082481B2 (en) Serial peripheral interface (SPI) apparatus with write buffer for improving data throughput
US5265124A (en) Integrated multi-port repeater having shared resources
CN108234267B (en) Communication system based on M-LVDS real-time multi-master high-speed bus
EP0287302B1 (en) Cross-coupled checking circuit
US7143226B2 (en) Method and apparatus for multiplexing commands in a symmetric multiprocessing system interchip link
US4279034A (en) Digital communication system fault isolation circuit
US4727548A (en) On-line, limited mode, built-in fault detection/isolation system for state machines and combinational logic
WO2021080866A1 (en) Performing scan data transfer inside multi-die package with serdes functionality
KR100321406B1 (en) GS Bus Redundant Interface Structure
KR100361856B1 (en) Communication System and Communication Control Method
US6085285A (en) Intermixing different devices along a single data communication link by placing a strobe signal in a parity bit slot
US20110225470A1 (en) Serial Interface Device Built-In Self Test
EP1293790B1 (en) Scan test apparatus using oversampling for synchronisation
US7337250B1 (en) Low latency data transmission method and system
US5914965A (en) Serial output self-test circuit
US8270322B1 (en) Method and system for arbitrating data transmissions
JP3600480B2 (en) Serial data transfer system and abnormality detection method
KR930006894B1 (en) Signal terminal group matching circuit
WO2008026283A1 (en) Clock monitoring circuit, information processing apparatus and clock monitoring method
KR920005139B1 (en) Td-bus matching circuit
JPS584427A (en) Multi-computer system having plural serial bus loops
JPH0669178B2 (en) Redundant line diagnostic method
KR930006862B1 (en) Triple modular redundency method

Legal Events

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

Payment date: 20041227

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee