KR20010064594A - Method for contorlling duplication of processor - Google Patents

Method for contorlling duplication of processor Download PDF

Info

Publication number
KR20010064594A
KR20010064594A KR1019990064821A KR19990064821A KR20010064594A KR 20010064594 A KR20010064594 A KR 20010064594A KR 1019990064821 A KR1019990064821 A KR 1019990064821A KR 19990064821 A KR19990064821 A KR 19990064821A KR 20010064594 A KR20010064594 A KR 20010064594A
Authority
KR
South Korea
Prior art keywords
memory
signal
board
state
active
Prior art date
Application number
KR1019990064821A
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 KR1019990064821A priority Critical patent/KR20010064594A/en
Publication of KR20010064594A publication Critical patent/KR20010064594A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

PURPOSE: The method for controlling the duplex of the processor is provided to process the memory control and the alarm generation efficiently and stably when the memory is controlled and the alarm is generated in the duplex system. CONSTITUTION: The signal requesting the refresh of a memory is created in the idle state. The writing operation is performed on the memory of an active board and the signal for updating the memory of a stand-by mode is created. A CPU creates the request signal for accessing an own memory of the CPU. The request signal for reading the memory of the stand-by board from the active board is created. When the signals are created, the related control operation is performed.

Description

프로세서의 이중화 제어 방법 {METHOD FOR CONTORLLING DUPLICATION OF PROCESSOR}How to Control Redundancy of Processors {METHOD FOR CONTORLLING DUPLICATION OF PROCESSOR}

본 발명은 프로세서 보드의 이중화 제어 방법에 관한 것으로, 특히 이중화 시스템에서 메모리 제어와 알람 발생시 이를 효율적으로 처리하는 방법에 관한 것이다.The present invention relates to a redundancy control method of a processor board, and more particularly, to a memory control and an efficient method of processing an alarm in a redundancy system.

통상적으로 동기 쓰기(Concurrent Write) 방식의 이중화는 도 1에 도시된 것과 같이 액티브측(110)의 메모리(112)가 업데이트되면, 스탠바이측(120)의 메모리(122)에도 동일한 데이터가 업데이트되는 구조이다. 이처럼 액티브/스탠바이간의 메인 메모리가 동시성(concurrency)을 유지하게 되므로 액티브에 장애 발생시 스탠바이가 액티브가 수행하던 동작을 계속 수행할 수 있게 된다.In general, in a synchronous write (Concurrent Write) scheme, as shown in FIG. 1, when the memory 112 of the active side 110 is updated, the same data is also updated in the memory 122 of the standby side 120. to be. As such, the main memory between active / standby maintains concurrency, and thus, when an active failure occurs, the standby can continue to perform the operation performed by the active.

이와 같이 이중화란 시스템의 신뢰성 및 안정성을 높이기 위한 구조이므로 동기 쓰기 방식의 이중화 구조에서는 이중화를 제어하기 위한 콘트롤러가 얼마나 효율적이고 안정적으로 동작하느냐가 매우 중요한 요소로 작용한다.As such, since redundancy is a structure for increasing the reliability and stability of the system, how efficiently and stably the controller for controlling redundancy is very important in the synchronous write redundancy structure.

따라서, 본 발명의 목적은 이중화 시스템에서 메모리 제어와 알람 발생시 이를 효율적이고 안정적으로 처리하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for efficiently and stably processing a memory control and an alarm in a redundant system.

이러한 목적을 달성하기 위한 본 발명은 아이들 상태에서 메모리의 리플레쉬를 요구하는 신호를 생성하는 제1과정과, 상기 액티브 보드의 메모리에 쓰기 동작이 이루어지고, 상기 스탠바이 보드의 메모리를 업데이트시키는 위한 신호를 생성하는 제2과정과, CPU가 자신의 메모리를 억세스하기 위한 요구하는 신호를 생성하는 제3과정과, 상기 액티브 보드에서 상기 스탠바이 보드의 메모리를 리드하기 위한 요구 신호를 생성하는 제4과정과, 상기 신호들이 생성되면, 해당 제어 동작을 수행하는 제5과정으로 이루어진다.According to an aspect of the present invention, there is provided a first process of generating a signal for requesting refresh of a memory in an idle state, a write operation is performed in a memory of the active board, and a signal for updating the memory of the standby board. A second process of generating a signal; a third process of generating a signal for the CPU to access its memory; a fourth process of generating a request signal for reading a memory of the standby board from the active board; When the signals are generated, a fifth process of performing a corresponding control operation is performed.

도 1은 통상적인 동시 쓰기 방식의 이중화 구성도.1 is a redundant configuration diagram of a conventional simultaneous write method.

도 2는 본 발명에 따른 이중화 콘트롤러의 블록 구성도.2 is a block diagram of a redundant controller according to the present invention.

도 3은 본 발명에 따른 DRAM의 제어를 위한 상태도.3 is a state diagram for controlling a DRAM according to the present invention;

도 4는 본 발명에 따른 DRAM의 리프레쉬 타이밍도.4 is a refresh timing diagram of a DRAM according to the present invention;

도 5는 본 발명에 따른 대기 상태에서의 DRAM의 쓰기 타이밍도.Fig. 5 is a write timing diagram of a DRAM in the standby state according to the present invention.

도 6은 본 발명에 따른 DRAM 억세스 타이밍도.6 is a DRAM access timing diagram in accordance with the present invention.

도 7은 본 발명에 따른 동작 상태에서의 대기 상태 DRAM의 읽기 타이밍도.7 is a read timing diagram of a standby DRAM in an operating state according to the present invention.

도 8은 본 발명에 따른 이중화 연결을 나타내는 도면.8 shows a redundant connection according to the invention.

도 9는 본 발명에 따른 이중화 시작/종료 신호를 나타내는 도면.9 illustrates a redundancy start / end signal according to the present invention.

도 10은 본 발명에 따른 이중화 동작시 비지 사이클을 나타내는 도면.10 is a busy cycle in a duplex operation according to the present invention;

도 11은 본 발명에 따른 지연 리셋을 나타내는 도면.11 illustrates a delay reset in accordance with the present invention.

도 12는 본 발명에 따른 알람 처리부의 구성도.12 is a block diagram of an alarm processing unit according to the present invention.

도 13은 본 발명에 따른 클리치 제거기의 회로도.13 is a circuit diagram of a cleat remover according to the present invention.

도 14는 본 발명에 따른 레벨 검출기의 회로도.14 is a circuit diagram of a level detector according to the present invention.

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

도 2는 본 발명에 따른 동기 쓰기 방식을 구현하기 위한 이중화 콘트롤러의 구성도로서, DRAM 제어부(210)와 알람 처리부(220)로 구성된다.2 is a block diagram of a redundant controller for implementing a synchronous write method according to the present invention, and includes a DRAM controller 210 and an alarm processor 220.

도 2를 참조하면, DRAM 제어부(210)는 리프레쉬 및 DRAM 엑세스를 위한 제어부로서 DRAM 억세스를 위한 버스 사용권을 할당하고, 이중화 버스 및 로컬 버스를 제어하여 DRAM 제어 신호들을 생성한다. DRAM 제어부(210)는 하기와 같은 DRAM 요구 신호를 생성하여 DRAM을 억세스한다.Referring to FIG. 2, the DRAM controller 210 allocates bus usage rights for DRAM access as a controller for refresh and DRAM access, and generates DRAM control signals by controlling a redundant bus and a local bus. The DRAM controller 210 generates a DRAM request signal as described below to access the DRAM.

먼저, 로컬 요구(local_req) 신호는 로컬 CPU가 자신의 DRAM을 억세스하기 위한 요구 신호이다. 그리고, 이중 요구(dual_req) 신호는 액티브 DRAM 업데이트시 스탠바이의 DRAM을 업데이트시키기 위한 요구 신호이고, conrd_req 신호는 액티브에서 스탠바이의 DRAM을 리드하기 위한 요구 신호이고, ref_req 신호는 DRAM을 리프레쉬하기 위한 요구 신호이다.First, a local request signal (local_req) is a request signal for a local CPU to access its DRAM. The dual_req signal is a request signal for updating the standby DRAM when the active DRAM is updated, the conrd_req signal is a request signal for reading the standby DRAM in the active state, and the ref_req signal is a request signal for refreshing the DRAM. to be.

DRAM 제어부(210)는 상기 4개의 요구 신호들이 서로 충돌없이 DRAM을 억세스할 수 있도록 하기 위해 각 요구 신호간에 우선 순위를 설정하여 도 3에 도시된 것과 같은 상태 처리를 수행한다.The DRAM controller 210 sets priority among the request signals so that the four request signals can access the DRAM without colliding with each other, and performs the state processing as shown in FIG. 3.

먼저 리프레쉬 사이클(refresh cycle)은 하기와 같다.First, the refresh cycle is as follows.

도 3 및 도 4를 참조하면, IDLE 상태에서 도 4에 도시된 (410)신호와 같이 REF_REQ신호가 assert되면, 다음 시스템 클럭의 폴링 에지(falling edge)에서 REF_STATE0로 상태가 바뀐다. 일단 상태가 REF_STATE0(310)으로 되면, (400)신호와 같은 시스템 클럭의 폴링 에지마다 계속해서 상태가 REF_STATE1(311)->REF_STATE2(312)->REF_STATE3(313)로 바뀌고 다시 IDLE 상태로 되돌아간다. 이때, 상태가 REF_STATE1(311)과 REF_STATE2(312)인 동안에 (440)신호와 같은 CAS신호가 액티브 로우 상태로 되고, 상태가 REF_STATE2(312)인 동안에 (430)신호와 같은 RAS신호가 액티브 로우 상태가 되므로 CAS-before-RAS 방식으로 DRAM을 리프레쉬시킬 수 있다. 여기서, REF_REQ신호는 15.6us마다 assert되며, IDLE 상태에서 'REF_STATE0'으로 바뀔때까지 그 상태를 계속 유지한다.Referring to FIGS. 3 and 4, when the REF_REQ signal is asserted in the IDLE state as shown in the signal 410 of FIG. 4, the state is changed to REF_STATE0 at the falling edge of the next system clock. Once the state has reached REF_STATE0 (310), it continues to change from REF_STATE1 (311) to REF_STATE2 (312) to REF_STATE3 (313) for each falling edge of the system clock, such as signal (400), and back to the IDLE state. . At this time, a CAS signal such as the (440) signal becomes an active low state while the states are REF_STATE1 311 and REF_STATE2 312, and a RAS signal such as the (430) signal is an active low state while the state is REF_STATE2 312. So, DRAM can be refreshed by CAS-before-RAS method. Here, the REF_REQ signal is asserted every 15.6us, and the state is maintained until it is changed to 'REF_STATE0' in the IDLE state.

다음으로 듀얼 사이클(Dual cycle)은 하기와 같다.Next, the dual cycle is as follows.

먼저, 액티브측의 라이트 동작이 이루어지고 있으며 스탠바이에서는 dual_req 신호가 assert되어 스탠바이의 DRAM에 액티브와 같의 내용이 쓰여지게 된다. 또한, 액티브가 스탠바이의 DRAM을 리드할 때도 스탠바이에서는 dual_req 신호가 assert된다.First, the write operation of the active side is performed. In standby, the dual_req signal is asserted, and the same contents as the active are written to the standby DRAM. Also, when the active reads the standby DRAM, the dual_req signal is asserted in standby.

도 3 및 도 5를 참조하면, IDLE 상태에서 ref_req 신호가 하이상태이고, dual_req 신호가 assert되면, 다음 시스템 클럭의 폴링 에지에서 DUAL_STATE0(320)로 상태가 바뀌게 된다. 일단 상태가 DUAL_STATE0(320)로 상태가 바뀌고 다시 (400)신호와 같이 시스템 클럭의 폴링 에지마다 계속해서 상태가 DUAL_STATE1(321)->DUAL_STATE2(322)->DUAL_STATE3(323)->DUAL_STATE4(324)로 바뀌고 다시 IDLE 상태로 되돌아간다. 이때 상태가 DUAL_STATE1(321), DUAL_STATE2(322), DUAL_STATE3(323), DUAL_STATE4(324)인 동안에 (530)신호와 같은 RAS 신호가 액티브 로우 상태로 된다. 그리고, 어드레스 먹스를 제어하기 위한 AMUX 신호는 (540)신호와 같이 상태가 DUAL_STATE2(322), DUAL_STATE3(323), DUAL_STATE4(324)인 동안에 액티브 로우 상태가 된다. 그리고, CAS, XLDACK, XTERM 신호는 각각 (550), (560), (570)신호와 같이 상태가 DUAL_STATE3(323), DUAL_STATE4(324)인 동안에 액티브 로우 상태가 된다.3 and 5, when the ref_req signal is high in the IDLE state and the dual_req signal is asserted, the state is changed to DUAL_STATE0 320 at the falling edge of the next system clock. Once the status changes to DUAL_STATE0 (320) and again, the status continues on every falling edge of the system clock, such as signal (400). DUAL_STATE1 (321)-> DUAL_STATE2 (322)-> DUAL_STATE3 (323)-> DUAL_STATE4 (324) It changes to and returns to the IDLE state again. At this time, while the state is DUAL_STATE1 (321), DUAL_STATE2 (322), DUAL_STATE3 (323), and DUAL_STATE4 (324), the RAS signal such as the (530) signal becomes an active low state. The AMUX signal for controlling the address mux is in an active low state while the states are DUAL_STATE2 322, DUAL_STATE3 323, and DUAL_STATE4 324 as shown in the signal 540. The CAS, XLDACK, and XTERM signals become active low while the DUAL_STATE3 (323) and DUAL_STATE4 (324) states are the same as the (550), (560), and (570) signals, respectively.

다음으로 로컬 사이클은 하기와 같다.Next, the local cycle is as follows.

도 3 및 도 6을 참조하면, 로컬 CPU가 DRAM을 억세스하고자 할 때에는 LCOAL_REQ신호가 (610)신호와 같이 assert된다. IDLE 상태에서 ref_req 및 dual_req가 하이 상태이고, LOCAL_REQ신호가 assert되면, 다음 시스템 클럭의 폴링 에지에서 LOCAL_STATE0로 상태가 바뀌게 된다. 일단 상태가 LOCAL_STATE0로 되면 시스템 클럭의 폴링 에지마다 계속해서 상태가 (620)신호와 같이 LOCAL_STATE1->LOCAL_STATE2->LOCAL_STATE3->LOCAL_STATE4로 바뀌고 다시 IDLE 상태로 되돌아간다. 이때, 상태가 LOCAL_STATE1, LOCAL_STATE2, LOCAL_STATE3, LOCAL_STATE4인 동안에 (630)신호와 같은 RAS 신호가 액티브 로우 상태가 된다. 그리고, AMUX신호는 (640)신호와 같이 상태가 LOCAL_STATE2, LOCAL_STATE3, LOCAL_STATE4인 동안에 액티브 로우 상태가 된다. 그리고, CAS 신호 및 DSACKx 신호는 각기 (650), (660)신호와 같이 상태가 LOCAL_STATE3, LOCAL_STATE4인 동안에 액티브 로우 상태가 된다.3 and 6, when the local CPU wishes to access the DRAM, the LCOAL_REQ signal is asserted like the 610 signal. If ref_req and dual_req are high in the IDLE state and the LOCAL_REQ signal is asserted, the state changes to LOCAL_STATE0 on the falling edge of the next system clock. Once the status is LOCAL_STATE0, the status continues on each polling edge of the system clock, changing to LOCAL_STATE1-> LOCAL_STATE2-> LOCAL_STATE3-> LOCAL_STATE4 as shown by the signal (620) and back to IDLE. At this time, while the state is LOCAL_STATE1, LOCAL_STATE2, LOCAL_STATE3, and LOCAL_STATE4, the RAS signal such as the 630 signal becomes an active low state. The AMUX signal becomes an active low state while the states are LOCAL_STATE2, LOCAL_STATE3, and LOCAL_STATE4, as with the signal (640). The CAS signal and the DSACKx signal are in the active low state while the states are LOCAL_STATE3 and LOCAL_STATE4, as with the signals 650 and 660, respectively.

다음으로 CONRD CYCLE은 하기와 같다.Next, CONRD CYCLE is as follows.

도 3 및 도 7을 참조하면, 액티브에서 스탠바이의 DRAM 내용을 읽기 위해서 CONRD_REQ 신호가 (710)신호와 같이 assert된다. 이때, 스탠바이에서는 DUAL_REQ 신호가 assert되어 dual cycle이 수행되고, 액티브에서는 상태가 IDLE에서 WAIT_STATE(340)로 바꾸게 된다. WAIT_STATE에서는 스탠바이로부터 XTERM이라는 인식 신호가 올 때까지 계속 상태를 유지하다가 스탠바이로부터 (730)신호와 같은 XTREM 신호가 오면, 다음 시스템 클럭의 폴링 에지에서 CONRD_END0(341)로 상태가 바뀌게 된다. 일단 상태가 CONRD_END0(341)로 바뀌면, (720)과 같이 다음 시스템 클럭의 폴링 에지마다 상태가 CONRD_END1(342)로 바뀌고 다시 IDLE 상태로 되돌아간다. 이때, 상태가 CONRD_END0(341), CONRD_END1(342)인 동안에 DSACKx신호가 (740)신호와 같이 액티브 로우 상태로 assert되어 버스 사이클이 종료된다.3 and 7, the CONRD_REQ signal is asserted like the 710 signal to read the DRAM contents of the standby in the active state. At this time, in standby, the DUAL_REQ signal is asserted to perform a dual cycle, and in the active state, the state is changed from IDLE to WAIT_STATE 340. In WAIT_STATE, the state is maintained until the acknowledgment signal XTERM comes from standby. When the XTREM signal such as signal 730 comes from standby, the state changes to CONRD_END0 341 at the falling edge of the next system clock. Once the state changes to CONRD_END0 341, the state changes to CONRD_END1 342 for each falling edge of the next system clock, as shown at 720, and back to the IDLE state. At this time, while the states are CONRD_END0 341 and CONRD_END1 342, the DSACKx signal is asserted to be an active low state like the signal 740 and the bus cycle is terminated.

도 8은 본 발명에 따른 이중화 연결(connection)을 나타낸다.8 shows a redundant connection according to the present invention.

도 8을 참조하면, 액티브 보드(110)에서 스탠바이 보드(120)로 동시 쓰기 및 스탠바이 읽기 동작이 이루어지기 위해서는 두 보드(110,120)간에 이중화 연결이 먼저 이루어져야 한다. 이중화 연결이 이루어졌는지의 여부는 con 및 ot_con신호를 체크하여 두 신호가 모두 로우 상태이면, 이중화 연결이 이루어진 것으로 판단하고 이중화 동작이 이루어진다.Referring to FIG. 8, in order to perform simultaneous write and standby read operations from the active board 110 to the standby board 120, a redundant connection must first be made between the two boards 110 and 120. Whether or not the redundant connection is made is checked by checking the con and ot_con signals, and if both signals are low, it is determined that the redundant connection is made and the duplication operation is performed.

도 9는 본 발명에 따른 이중화 시작/종료 신호를 나타낸다.9 shows a redundancy start / end signal according to the present invention.

도 9 및 도 10을 참조하면, 이중화 연결이 이루어진 상태하에 액티브 보드(110)에서 자신의 DRAM(111)에 라이트를 하면, LOCAL_REQ신호가 (1020)신호와 같이 Assert되고, 상태가 IDLE에서 LOCAL_STATE0로 바뀌면, busy_tx신호가 (1010)신호와 같이 로우 상태로 assert된다. 스탠바이 보드(120)에서는 busy_rx신호가 로우 상태로 assert될 때 dual_req 신호가 assert되고 dual_cycle이 시작된다. 한편, dual_cycle이 끝나는 시점에서 스탠바이 보드(120)는 (103)신호와 같이 xldack 신호를 로우 상태로 assert하고, 액티브 보드(110)에서는 in_xldack 신호를 하이 상태로 클리어한다. 여기서, 이중화 연결이 이루어진 상태하에 액티브 보드(110)에서는 busy_tx 신호가 하이 상태로 클리어되기 전까지 다음 버스 사이클이 진행될 수 없다. 즉, 스탠바이 보드(120)로부터 DRAM의 업데이터가 완료되었다는 인식 신호를 받아야만 액티브 보드(110)에서는 그 다음 버스 사이클을 진행시킬 수 있다.9 and 10, when the active board 110 writes its own DRAM 111 under a redundant connection state, the LOCAL_REQ signal is asserted like the (1020) signal, and the state is changed from IDLE to LOCAL_STATE0. When changed, the busy_tx signal is asserted low as signal (1010). In the standby board 120, when the busy_rx signal is asserted low, the dual_req signal is asserted and the dual_cycle starts. On the other hand, at the end of the dual_cycle, the standby board 120 asserts the xldack signal to the low state as shown by the signal 103, and the active board 110 clears the in_xldack signal to the high state. Here, in the active board 110 under the redundant connection state, the next bus cycle cannot proceed until the busy_tx signal is cleared to the high state. That is, the active board 110 may proceed to the next bus cycle only when receiving the recognition signal from the standby board 120 that the update of the DRAM is completed.

한편, 알람 처리부(220)는 외부로부터 푸쉬 버튼 리셋이나 전원 이상등의 이유로 인해 보드에 이상이 발생한 경우 CPU로 도 11에 도시된 (1110)신호와 같은 IRQ7의 인터럽트 신호가 발생하고, 일정 시간(500ms)이 경과한 후 SYSFAIL이 assert되며, CPU로 리셋이 걸리게 된다. 여기서, IRQ7의 인터럽트가 발생하면, CPU는 리셋이 걸리기 전에 이중화 절체이 필요한 데이터(PC값 및 SP값)을 동시 쓰기 영역에 라이트하여 스탠바이로 넘기고 나서 죽어야 한다. SYSFAIL 신호는 상대편 보드의 REM_SYSFAIL로 들어가서 상대편 CPU로 IRQ7의 인터럽트를 발생시킨다. REM_SYSFAIL에 의한 IRQ7 인터럽트가 발생되면, 스탠바이 보드(120)는 액티브 보드(110)로부터 넘어온 PC값 및 SP값을 가져다가 액티브 보드(110)가 죽기 전까지 수행했던 동작을 계속 수행한다.On the other hand, the alarm processing unit 220 generates an interrupt signal of IRQ7 such as the signal 1110 shown in FIG. 11 to the CPU when an abnormality has occurred in the board due to a push button reset or a power failure, etc. After 500ms), SYSFAIL is asserted and reset to CPU. Here, when an interrupt of IRQ7 occurs, the CPU must die after writing the data (PC value and SP value) that needs to be redundantly transferred to the simultaneous write area before being reset. The SYSFAIL signal enters REM_SYSFAIL on the opposing board and generates an IRQ7 interrupt to the opposing CPU. When the IRQ7 interrupt generated by REM_SYSFAIL occurs, the standby board 120 takes the PC value and the SP value from the active board 110 and continues the operation performed until the active board 110 dies.

이때, CPU로 IRQ 7인터럽트를 발생시킬 수 있는 소스로는 상대방 보드의 실탈장 신호 및 상대방 보드의 소프트웨어에 의해 인터럽트를 발생시키는 XINTO신호와 ABORT 스위치에 의한 ABORT신호가 있다.At this time, a source capable of generating an IRQ 7 interrupt to the CPU includes a mounting signal of the counterpart board, an XINTO signal that generates an interrupt by software of the counterpart board, and an ABORT signal by the ABORT switch.

이들 알람 신호는 도 12에 도시된 것과 같이 클리치 제거기(1210)와 레벨 검출기(1220)와 인터럽트 제어기(1230)로 전달된다.These alarm signals are transmitted to the click canceller 1210, the level detector 1220 and the interrupt controller 1230 as shown in FIG. 12.

클리치 제거기(1210)는 도 13에 도시된 것과 같이 D플립플롭(1310,1320,1330)과 오아 게이트(1340)로 구성된다.The clinch remover 1210 includes D flip-flops 1310, 1320, and 1330 and an OR gate 1340 as shown in FIG. 13.

레벨 검출기(1220)는 도 14에 도시된 것과 같이 D플립플롭(1410)과 익스크루시브 노아게이트(1420)로 구성된다.The level detector 1220 includes a D flip-flop 1410 and an exclusive noar gate 1420 as shown in FIG. 14.

인터럽트 제어기(1230)는 레벨 검출기(1220)로부터 신호의 레벨이 검출되면, CPU로 IRQ7 인터럽트를 발생시키고, 각 소스들의 상태를 레지스터에 저장하여 이것을 통해 CPU가 어떤 소스에 의해 인터럽트가 발생되었는지를 알 수 있다.When the level of the signal from the level detector 1220 is detected, the interrupt controller 1230 generates an IRQ7 interrupt to the CPU, and stores the state of each source in a register so that the CPU knows which source the interrupt was caused by. Can be.

상술한 바와 같이 본 발명은 이중화 시스템에서 메모리 제어와 알람 발생시 이를 효율적으로 처리할 수 있다.As described above, the present invention can efficiently handle memory control and alarm occurrence in a redundant system.

Claims (5)

액티브 보드와 스탠바이 보드를 적어도 구비하는 이중화 시스템에서 메모리 공유를 통한 이중화 제어 방법에 있어서,In the redundancy control method through memory sharing in a redundancy system having at least an active board and a standby board, 아이들 상태에서 메모리의 리플레쉬를 요구하는 신호를 생성하는 제1과정과,A first process of generating a signal requiring a refresh of the memory in an idle state; 상기 액티브 보드의 메모리에 쓰기 동작이 이루어지고, 상기 스탠바이 보드의 메모리를 업데이트시키는 위한 신호를 생성하는 제2과정과,Performing a write operation on a memory of the active board, and generating a signal for updating a memory of the standby board; CPU가 자신의 메모리를 억세스하기 위한 요구하는 신호를 생성하는 제3과정과,A third process of generating a signal required by the CPU to access its memory, 상기 액티브 보드에서 상기 스탠바이 보드의 메모리를 리드하기 위한 요구 신호를 생성하는 제4과정과,Generating a request signal for reading a memory of the standby board from the active board; 상기 신호들이 생성되면, 해당 제어 동작을 수행하는 제5과정으로 이루어지는 것을 특징으로 하는 방법.And when the signals are generated, a fifth process of performing a corresponding control operation. 제1항에 있어서, 상기 제5과정은,The method of claim 1, wherein the fifth process, 상기 제1과정에서 생성된 메모리의 리플레쉬 요구 신호에 따라 상기 메모리를 리플레쉬시키는 것을 특징으로 하는 방법.And refreshing the memory according to the refresh request signal of the memory generated in the first process. 제1항에 있어서, 상기 제5과정은,The method of claim 1, wherein the fifth process, 상기 제2과정에서 생성된 메모리 업데이트 요구 신호에 따라 상기 액티브 보드의 메모리가 업데이트시 상기 스탠바이 보드의 메모리도 업데이트시키는 것을 특징으로 하는 방법.And updating the memory of the standby board when the memory of the active board is updated according to the memory update request signal generated in the second process. 제1항에 있어서, 상기 제5과정은,The method of claim 1, wherein the fifth process, 상기 제3과정에서 생성된 메모리 억세스 요구 신호에 따라 자신의 메모리를 억세스하는 것을 특징으로 하는 방법.And accessing its own memory according to the memory access request signal generated in the third step. 제1항에 있어서, 상기 제5과정은,The method of claim 1, wherein the fifth process, 상기 제4과정에서 생성된 메모리 읽기 요구 신호에 따라 상기 액티브 보드에서 상기 스탠바이 보드의 메모리를 리드하는 것을 특징으로 하는 방법.And reading the memory of the standby board from the active board according to the memory read request signal generated in the fourth process.
KR1019990064821A 1999-12-29 1999-12-29 Method for contorlling duplication of processor KR20010064594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990064821A KR20010064594A (en) 1999-12-29 1999-12-29 Method for contorlling duplication of processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990064821A KR20010064594A (en) 1999-12-29 1999-12-29 Method for contorlling duplication of processor

Publications (1)

Publication Number Publication Date
KR20010064594A true KR20010064594A (en) 2001-07-09

Family

ID=19632082

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990064821A KR20010064594A (en) 1999-12-29 1999-12-29 Method for contorlling duplication of processor

Country Status (1)

Country Link
KR (1) KR20010064594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100817316B1 (en) * 2006-02-15 2008-03-31 엠텍비젼 주식회사 Portable device and Method for controlling refresh of shared memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100817316B1 (en) * 2006-02-15 2008-03-31 엠텍비젼 주식회사 Portable device and Method for controlling refresh of shared memory

Similar Documents

Publication Publication Date Title
KR100329344B1 (en) Power management apparatus and method
TW293105B (en)
US5555381A (en) Microcomputer architecture utilizing an asynchronous bus between microprocessor and industry standard synchronous bus
US6401176B1 (en) Multiple agent use of a multi-ported shared memory
KR0169288B1 (en) Microcomputer system
JP2008518312A (en) Method and apparatus for delaying access to data and / or instructions in a multiprocessor system
US5740381A (en) Expandable arbitration architecture for sharing system memory in a computer system
US6314499B1 (en) Non-preemptive memory locking mechanism in a shared resource system
US6163831A (en) Minimum refractory period in a multiple agent resource sharing environment
KR20010064594A (en) Method for contorlling duplication of processor
US5983304A (en) Buffer flush controller of a peripheral component interconnect-peripheral component interconnect bridge
US5548797A (en) Digital clock pulse positioning circuit for delaying a signal input by a fist time duration and a second time duration to provide a positioned clock signal
JPWO2006132006A1 (en) Memory control device and memory control method
US9043507B2 (en) Information processing system
US20030041276A1 (en) Semiconductor device allowing control of clock supply to processor on a clock cycle basis
KR20070071158A (en) Device and method for controlling sram in ddi
US5745742A (en) Apparatus for coordinating clock distribution in a fully redundant computer system
JPH07129462A (en) Memory controller
JPH05289987A (en) Bus right arbitrating circuit
JPH06162768A (en) Memory controller
KR100283009B1 (en) Redundant Architecture of Processor Boards in Exchanges
JPH0432945A (en) Control system for dual memory device synchronous operation
KR0176655B1 (en) Arbitration circuit between multiprocessors
JPS6073748A (en) Internal timer circuit system
KR100604569B1 (en) Apparatus for transceiving data between the processors and mobile terminal including the apparatus

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination