KR960008562Y1 - Data access relay apparatus - Google Patents

Data access relay apparatus Download PDF

Info

Publication number
KR960008562Y1
KR960008562Y1 KR2019930028884U KR930028884U KR960008562Y1 KR 960008562 Y1 KR960008562 Y1 KR 960008562Y1 KR 2019930028884 U KR2019930028884 U KR 2019930028884U KR 930028884 U KR930028884 U KR 930028884U KR 960008562 Y1 KR960008562 Y1 KR 960008562Y1
Authority
KR
South Korea
Prior art keywords
signal
flip
access
flop
processor
Prior art date
Application number
KR2019930028884U
Other languages
Korean (ko)
Other versions
KR950021935U (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 KR2019930028884U priority Critical patent/KR960008562Y1/en
Publication of KR950021935U publication Critical patent/KR950021935U/en
Application granted granted Critical
Publication of KR960008562Y1 publication Critical patent/KR960008562Y1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • G06F13/1663Access to shared memory
    • 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
    • H04Q3/545Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme
    • H04Q3/54541Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme using multi-processor systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13103Memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13106Microprocessor, CPU

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Bus Control (AREA)
  • Multi Processors (AREA)

Abstract

내용 없음.No content.

Description

공유 데이터 액세스 중재장치Shared Data Access Mediation Device

제1도는 종래 기술에 의한 공유 데이터 액세스 중재장치의 구성도.1 is a block diagram of a shared data access arbitration apparatus according to the prior art.

제2도는 종래 기술에 의한 고유 데이터 액세스 중재장치의 동작 신호 타이밍도.2 is an operation signal timing diagram of a unique data access arbitration apparatus according to the prior art.

제3도는 본 고안에 의한 공유 데이터 액세스 중재장치의 구성도.3 is a block diagram of a shared data access arbitration apparatus according to the present invention.

제4도는 본 고안에 의한 공유 데이터 액세스 중재장치의 동작 신호 타이밍도.4 is an operation signal timing diagram of a shared data access arbitration apparatus according to the present invention.

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

F1~F4 : D 플립플롭 OC1, OC2 : 동작 제어부F1 ~ F4: D Flip-Flop OC1, OC2: Operation Control Unit

A1~A3, A5 : AND 게이트 A4, A6 : NAND 게이트A1-A3, A5: AND gate A4, A6: NAND gate

B1 : OR 게이트 B2, B3 : 인버터B1: OR gate B2, B3: inverter

M1, M2, Ma, Mb : 액세스 요구신호 M3, L1, L2 : 액세스 신호M1, M2, Ma, Mb: access request signals M3, L1, L2: access signals

N1, N2 : 결합신호 C1, C2 : 동작 절환신호N1, N2: Combined signal C1, C2: Operation switching signal

CP : 클럭펄스CP: Clock pulse

본 고안은 데이터 액세스 중재장치에 관한 것으로, 특히 전자교환기등의 시스템내에서 여러 프로세서들이 공동으로 사용하는 데이터를 액세스하고자 할 때 데이터 액세스를 먼저 요구한 프로세서부터 데이터 액세스를 허용하고 데이터 액세스가 종료되면 곧바로 다음 프로세서에 데이터 액세스를 허용하여 빠른 시간에 여러 프로세서들이 효과적으로 데이터를 공유할 수 있도록한 공유 데이터 액세스 중재장치에 관한 것이다.The present invention relates to a data access arbitration apparatus. In particular, when accessing data commonly used by multiple processors in a system such as an electronic exchange, when the data access is permitted and the data access is terminated, It immediately relates to a shared data access arbitrator that allows data access to the next processor so that multiple processors can effectively share data in a short time.

종래 기술에 의한 데이터 액세스 중재장치는 제1도에 도시된 바와 같이 D 플립플롭(F1,F2), AND 게이트(A1,A2), 인버터(B2), 및 OR 게이트(B1)로 이루어져 있다. D 플립플롭(F1)은 입력단자 (D), (CLK), (CLR)과 출력단자 (Q),를 갖추고 CLK단자에 입력되는 클럭펄스(CP)의 상승 및 하강구간에서 D단자를 통해 입력되는 액세스 요구신호(M1)의 유무에 따라 액세스 요구신호(M1)와의 논리합을 위한 결합신호(N1)를 Q단자를 통해 AND 게이트(A1)로 출력하고단자를 통해 D 플립플롭(F2)의 CLR단자에 동작정지 신호를 출력해준다. D 플립플롭(F2)은 입력단자 (D), (CLK), (CLK)과 출력단자 (Q),를 갖추고 인버터(B2)와 CLK단자를 통해 입력되는 액세스 요구신호(M2)의 유무에 따라 액세스 요구신호(M2)와의 논리합을 위한 결합신호(N2)를 Q단자를 통해 AND 게이트(A2)로 출력하고단자를 통해 D 플립플롭(F1)의 CLR단자에 동작정지 신호를 출력해준다. 인버터(B2)는 클럭펄스(CP)의 레벨을 반전하여 D 플립플롭(F2)의 CLK단자로 전달해 준다. AND 게이트(A1,A2)는 D 플립플롭(F1,F2)의 Q단자 출력과 액세스 요구신호(M1,M2)를 각각 입력받아 논리곱 한후 논리연산 결과를 OR 게이트(B1)의 두입력단에 출력한다. OR 게이트(B1)는 AND 게이트(A1,A2)의 두출력을 공급받아 논리합한후 연산결과 논리'1'이면 액세스 요구신호(M3)를 출력한다.The data access arbitration apparatus according to the prior art is composed of D flip-flops (F1, F2), AND gates (A1, A2), inverter (B2), and OR gate (B1) as shown in FIG. D flip-flop (F1) is input terminal (D), (CLK), (CLR) and output terminal (Q), And a combined signal (N1) for logical sum with the access request signal (M1) according to the presence or absence of the access request signal (M1) input through the D terminal in the rising and falling sections of the clock pulse (CP) input to the CLK terminal. Output to AND gate (A1) through Q terminal The terminal outputs an operation stop signal to the CLR terminal of the D flip-flop (F2). D flip-flop (F2) is input terminal (D), (CLK), (CLK) and output terminal (Q), And outputs the combined signal N2 for the logical sum with the access request signal M2 to the AND gate A2 according to the presence or absence of the access request signal M2 inputted through the inverter B2 and the CLK terminal. and The terminal outputs the operation stop signal to the CLR terminal of the D flip-flop (F1). The inverter B2 inverts the level of the clock pulse CP and transfers it to the CLK terminal of the D flip-flop F2. The AND gates A1 and A2 receive the Q terminal outputs of the D flip-flops F1 and F2 and the access request signals M1 and M2, respectively, and logically multiply the result of the logic operation to the two input terminals of the OR gate B1. do. The OR gate B1 receives the two outputs of the AND gates A1 and A2 and performs a logical sum, and outputs an access request signal M3 when the operation result logic is '1'.

이와 같이 구성된 종래 기술에 의한 데이터 액세스 중재장치의 액세스 중재동작을 제2도에 도시된 타이밍도를 참조하여 설명하면 다음과 같다.Referring to the timing diagram shown in FIG. 2, the access arbitration operation of the conventional data access arbitration apparatus configured as described above is as follows.

소정 프로세서A로 부터의 액세스 요구신호(M1)가 소정프로세서B로 부터의 액세스 요구신호(M2) 보다 앞서 D 플립플롭(F1)의 D입력단자와 AND 게이트(A1)로 입력된다. 이때 클럭펄스(CP)는 D 플립플롭(F1)의 CLK 입력단자에 입력되고 인버터(B2)에서 반전된 클럭펄스(CP)는 D 플립플롭(F2)의 CLK 입력단자에 계속입력 되고 있는 상태다. D 플립플롭(F1)은 클럭펄스(CP)의 상승구간에서 프로세서A의 액세스 요구신호(M1)를 감지하여 결합신호(N1)를 Q단자를 통해 AND 게이트(A1) 측으로 출력하는 동시에 D 플립플롭(F2)에서 결합신호(N2)를 출력하지 못하도록 동작정지 신호단자를 통해 D 플립플롭(F2)의 CLR단자로 출력한다. 이후 AND 게이트(A1)는 액세스 요구신호(M1)가 입력되는 동안 결합신호(N1)의 입력을 받아 OR 게이트(A1)에 액세스신호 출력을 요구하고 이에따라 OR 게이트(A1)는 액세스신호를 메모리 제어부에 출력하고 프로세서A는 메모리 제어부의 메모리 제어에 따라 데이터를 액세스한다. 이후 프로세서A가 데이터 액세스를 종료하여 액세스 요구신호(M1)가 중단되면 AND 게이트(A1)가 OR 게이트(A1) 측으로 액세스신호 출력을 요구하지 않으므로 액세스 신호(M3)는 더 이상 출력되지 않는다. 한편 D 플립플롭(F1)은 액세스 요구신호(M1) 중단이후 발생하는 클럭펄스(CP)의 상승구간(ⓒ)에서 액세스 요구신호(M1)의 중단을 감지하여 D 플립플롭(F2)의 CLR에 출력되는 동작중지신호와 AND 게이트로 출력되는 결합신호(N1)의 출력을 중지한다. 이때 프로세서B는 데이터 액세스를 위하여 계속적으로 AND 게이트(A2)와 D플립플롭(F2)의 D단자에 액세스 요구신호(M2)를 출력하고있는 상태이므로 D 플립플롭(F2)은 CLR단자에서 동작중지신호가 중단된후 곧바로 다음 클럭펄스의 상승구간(ⓓ)에서 결합신호(N2)를 AND 게이트(A2)로 출력하는 동시에 동작중지신호를단자를 통해 D 플립플롭(F1)의 CLR단자로 출력한다. 이후 AND 게이트(A2)와 OR 게이트(A1)의 논리연산에 의해 액세스 요구신호(M3)가 메모리 제어부로 출력되고 메모리제어부는 이에따라 프로세서B에게 데이터 액세스를 수행하도록 해준다. 이렇게 하여 프로세서A와 B의 데이터 액세스가 차례로 이루어지게 되는데 만약 초기에 프로세서A와 B가 동시에 액세스 요구신호를 출력하더라도 D 플립플롭(F1,F2)에는 각기 위상이 반대인 클럭펄스가 인가되고 이에따라 D 플립플롭(F1)에 인가된 클럭펄스(CP)가 먼저 상승구간이 시작되므로 프로세서A에서 먼저 데이터를 액세스하게 되어 문제가 발생하지 않는다. 그러나 제2도에서 액세스 요구신호(M1)가 클럭펄스(CP)이 상승구간(ⓑ)바로 이후에 중단되며 (ⓒ) 결합신호(N1)가 곧바로 중단되어 이후 CLK의 승상구간(ⓓ)에서 결합신호(N2)가 출력되고, 액세스 요구신호(M1)가 CLK의 상승구간(ⓒ) 바로 이전에서 중단되면 (ⓒ) 결합신호(N1)는 곧바로 중단되고 이후 CLK의 상승구간(ⓓ)에서 결합신호(N2)가 출력되므로 프로세서A의 데이터 액세스 종료후 최소한 클럭펄스의 반주기 이상에서 최대 클럭펄스 한주기 반 미만의 시간지연(T)이후에야 프로세서B의 데이터 액세스가 시작될 수 있다.The access request signal M1 from the predetermined processor A is input to the D input terminal and the AND gate A1 of the D flip-flop F1 before the access request signal M2 from the predetermined processor B. At this time, the clock pulse CP is input to the CLK input terminal of the D flip-flop F1 and the clock pulse CP inverted by the inverter B2 is continuously input to the CLK input terminal of the D flip-flop F2. . D flip-flop (F1) is the rising edge of the clock pulse (CP) Detects the access request signal M1 of the processor A, outputs the combined signal N1 to the AND gate A1 through the Q terminal, and stops the combined signal N2 from being output from the D flip-flop F2. signal Outputs to CLR terminal of D flip-flop (F2) through the terminal. Thereafter, the AND gate A1 receives the combined signal N1 while the access request signal M1 is input, requests the OR gate A1 to output the access signal, and accordingly, the OR gate A1 transmits the access signal to the memory controller. The processor A accesses data according to the memory control of the memory controller. When the processor A terminates the data access and the access request signal M1 is interrupted, the AND gate A1 does not require the output of the access signal to the OR gate A1, and thus the access signal M3 is no longer output. On the other hand, the D flip-flop F1 detects the interruption of the access request signal M1 in the rising period ⓒ of the clock pulse CP generated after the interruption of the access request signal M1, and then detects the interruption of the access request signal M1 to the CLR of the D flip-flop F2. The output of the operation stop signal outputted and the combined signal N1 outputted to the AND gate are stopped. At this time, since the processor B continuously outputs the access request signal M2 to the D terminal of the AND gate A2 and the D flip-flop F2 for data access, the D flip-flop F2 is stopped at the CLR terminal. Immediately after the signal is stopped, the combined signal (N2) is output to the AND gate (A2) at the rising edge (ⓓ) of the next clock pulse. Outputs to CLR terminal of D flip-flop F1 through the terminal. Thereafter, the access request signal M3 is output to the memory controller by the logical operation of the AND gate A2 and the OR gate A1, and the memory controller causes the processor B to perform data access accordingly. In this way, the data access of the processor A and B is performed in sequence. Even if the processor A and B output the access request signal at the same time, clock pulses having opposite phases are applied to the D flip-flops F1 and F2. Since the clock pulse CP applied to the flip-flop F1 starts the rising section first, the processor A accesses data first so that a problem does not occur. However, in FIG. 2, the access request signal M1 stops immediately after the clock pulse CP rises (ⓑ), and (ⓒ) the combined signal N1 stops immediately, thereby combining in the rising section (ⓓ) of CLK. When the signal N2 is output and the access request signal M1 is interrupted immediately before the rising section ⓒ of the CLK (ⓒ), the combining signal N1 is immediately stopped, and then the combining signal in the rising section ⓓ of the CLK. Since N2 is output, the processor B can start data access only after a time delay T of at least half of the clock pulse and less than a half of the maximum clock pulse after the end of the data access of the processor A.

이와 같이 동작되는 종래의 데이터 액세스 중재장치는 각 프로세서의 액세스 요구신호(M1,M2)에 따라 순서적으로 데이터 액세스를 허용하여 각 프로세서에게 데이터를 공유할 수 있도록 해주지만 한 프로세서의 데이터 액세스 종료와 그 다음 프로세서의 데이터 액세스 시작시간과의 시간 지연(T)이 클럭펄스(CP)의 한주기반까지 길어질수 있기 때문에 데이터 액세스의 중재 효율이 떨어지는 문제점이 있다.The conventional data access arbitration apparatus operating as described above allows data access to be sequentially shared according to the access request signals M1 and M2 of each processor, but allows data to be shared with each processor. Then, since the time delay T with the start time of the data access of the processor can be extended up to one week base of the clock pulse CP, there is a problem that the arbitration efficiency of the data access is lowered.

본 고안은 이와 같은 문제점을 감안하여 안출한 것으로, 공유데이터의 액세스를 종료한 프로세서가 액세스 요구를 중단하면 곧바로 다른 프로세서의 액세스 요구를 받아들여 그 프로세서에 데이터 액세스를 허용함으로써 한 프로세서의 데이터 액세스 종료와 다음 프로세서의 데이터 액세스 시작간의 지연시간을 단축시키도록한 공유 데이터 액세스 중재장치를 제공하는데 목적이 있다.The present invention has been made in view of such a problem, and when a processor that terminates access to a shared data stops an access request, it immediately accepts another processor's access request and permits the processor to access data, thereby terminating the data access of one processor. It is an object of the present invention to provide a shared data access arbitration device which reduces the delay time between the start of data access and the next processor.

이와 같이 목적을 달성하기 위해 본 고안은 클럭펄스와 제1프로세서로 부터의 제1액세스 요구신호에 따라 메모리 제어부 측으로 제1액세스 신호를 출력하는 제1D 플립플롭 ; 반전된 상기 클럭펄스와 제2프로세서로 부터의 제2액세스요구신호에 따라 상기 메모리 제어부 측으로 제2액세스 신호를 출력하는 제2D 플립플롭 ; 상기 제1D 플립플롭으로 부터의 반전된 제1액세스 신호, 상기 제1프로세서로 부터의 제1액세스 요구신호 및, 상기 제2D 플립플롭으로 부터의 제2액세스 신호에 따라 상기 제1D플립플롭의 동작을 절환하는 제1동작제어부 및 ; 상기 제2D플립플롭으로 부터의 반전된 제2액세스 신호, 상기 제2프로세서로 부터의 제2액세스 요구신호 및 상기 제1D플립플롭으로 부터의 제1액세스 신호에 따라 상기 제2D플립플롭의 동작을 절환하는 제2동작 제어부를 구비하는 것을 특징으로 하는 공유 데이터 액세스 중재장치를 제공한다.In order to achieve the above object, the present invention provides a 1D flip-flop for outputting a first access signal to a memory controller in response to a clock pulse and a first access request signal from a first processor; A 2D flip-flop for outputting a second access signal to the memory controller in response to the inverted clock pulse and a second access request signal from a second processor; Operation of the first D flip-flop according to an inverted first access signal from the 1D flip-flop, a first access request signal from the first processor, and a second access signal from the second D flip-flop A first operation control unit for switching a; Operate the second D flip-flop according to the inverted second access signal from the second D flip-flop, the second access request signal from the second processor, and the first access signal from the first D flip-flop. It provides a shared data access arbitration apparatus comprising a second operation control unit for switching.

이하 첨부한 도면을 참조하여 본 고안의 바라마직한 일실시예를 상세히 설명한다.Hereinafter, one preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 고안에 의한 공유 데이터 액세스 중재장치이고, 제4도는 본 고안에 의한 공유 데이터 액세스 중재장치의 동작신호 타이밍도이다.3 is a shared data access arbitration apparatus according to the present invention, and FIG. 4 is an operation signal timing diagram of the shared data access arbitration apparatus according to the present invention.

제3도에 도시한 바와 같이 본 고안의 공유 데이터 액세스 중재장치는 D 플립플롭(F3,F4), 동작 제어부(OC1,OC2), 인버터(B3)로 이루어져 있다. D 플립플롭(F3)은 입력단자 (D), (CLK), (PR)과 출력단자 (Q),를 구비하여 액세스신호(L1)출력을 제어하기 위한 동작절환신호(C1)가 PR단자로 입력되지 않은 상태에서 CLK 단자를 통해 입력되는 클럭펄스(CP)의 상승구간에 D단자를 통해 입력되는 액세스 요구신호(Ma)를 감지하여 데이터 액세스를 위한 액세스신호(L1)를 공유데이타가 저장된 메모리를 제어하는 메모리 제어부측으로 출력하는 동시에, 액세스신호(L1)의 반전된 신호를단자를 통해 동작 제어부(OC1)로 출력한다. D 플립플롭(F4)은 입력단자 (D), (CLK), (PR)과 출력단자 (Q),를 구비하여 액세스신호(L2)출력을 제어하기 위한 동작절환신호(C2)가 PR단자로 입력되지 않은 상태에서 인버터(B3)에 의해 반전된 클럭펄스(CP)를 CLK 단자를 통해 입력 받아 이 반전된 클럭펄스의 상승구간에서 액세스 요구신호(Mb)를 감지하여 데이터 액세스를 위한 액세스 신호(L2)를 Q단자를 통해 출력하는 동시에, 액세스신호(L2)의 반전된 신호를 동작 제어부(OC1)에 출력한다. 인버터(B3)는 클럭펄스(CP)의 신호레벨을 반전시켜 D 플립플롭(F4)의 CLK단자에 공급해 준다. 동작제어부(OC1)는 AND 게이트(A3)와 NAND게이트(A4)를 구비하여 D 플립플롭(F3)의단자 출력과 액세스 요구신호(Ma)를 NAND게이트(A4)를 통해 입력받고 D 플립플롭(F4)의 액세스 신호(L2)를 AND 게이트(A3)를 통해 입력받아 D 플립플롭(F3)의 출력동작을 온,오프시킨다. 동작제어부(OC2)는 AND 게이트(A5)와 NAND게이트(A6)를 구비하여 D 플립플롭(F4)의단자 출력과 액세스 요구신호(Mb)를 NAND게이트(A6)를 통해 입력받고 D 플립플롭(F3)의 액세스 신호(L1)를 AND 게이트(A5)를 통해 입력받아 D 플립플롭(F4)의 출력동작을 온,오프시킨다.As shown in FIG. 3, the shared data access arbitration apparatus of the present invention includes D flip-flops F3 and F4, operation control units OC1 and OC2, and an inverter B3. D flip-flop (F3) is input terminal (D), (CLK), (PR) and output terminal (Q), Access is provided via the D terminal in the rising section of the clock pulse (CP) input through the CLK terminal in the state that the operation switching signal (C1) for controlling the output of the access signal (L1) is not input to the PR terminal Detects the request signal Ma and outputs the access signal L1 for data access to the memory controller which controls the memory in which the shared data is stored, and simultaneously outputs the inverted signal of the access signal L1. Output to the operation control unit OC1 through the terminal. D flip-flop (F4) is input terminal (D), (CLK), (PR) and output terminal (Q), A clock pulse CP inverted by the inverter B3 through the CLK terminal while the operation switching signal C2 for controlling the output of the access signal L2 is not input to the PR terminal. The access request signal Mb is sensed in the rising section of the clock pulse, and the access signal L2 for data access is output through the Q terminal, and the inverted signal of the access signal L2 is transmitted to the operation controller OC1. Output The inverter B3 inverts the signal level of the clock pulse CP and supplies it to the CLK terminal of the D flip-flop F4. The operation control unit OC1 includes an AND gate A3 and a NAND gate A4 to form the D flip-flop F3. Output operation of the D flip-flop F3 by receiving the terminal output and the access request signal Ma through the NAND gate A4 and the access signal L2 of the D flip-flop F4 through the AND gate A3. On and off. The operation control unit OC2 includes an AND gate A5 and a NAND gate A6 to form the D flip-flop F4. Output operation of the D flip-flop F4 by receiving the terminal output and the access request signal Mb through the NAND gate A6 and the access signal L1 of the D flip-flop F3 through the AND gate A5. On and off.

이와 같이 구성된 본 고안의 공유 데이터 액세스 중재장치의 동작을 제4도의 동작신호 타이밍도를 참조하여 설명하면 다음과 같다.The operation of the shared data access arbitration apparatus of the present invention configured as described above will be described with reference to the operation signal timing diagram of FIG.

D 플립플롭(F3)의 CLK단자에 클럭펄스(CP)가에 입력되고 D 플립플롭(F4)의 CLK단자에 인버터(B3)에서 반전된 클럭펄스(CP)가 입력되고 있는 상태에서, 프로세서A가 액세스 요구신호(Ma)를 D 플립플롭(F3)의 D단자와 NAND게이트(A4)의 입력단으로 출력한다. 이에 뒤이어 프로세서B가 액세스 요구신호(Mb)를 D플립플롭(F4)의 D단자와 NAND게이트(A6)의 입력단으로 출력한다. 이후 D플립플롭(F3)은 클럭펄스(CP)의 상승구간(①)에서 액세스 요구신호(Ma)를 감지하여 프로세서A의 데이터 액세스를 위한 액세스 신호(L1)를 Q단자를 통해 메모리 제어부측으로 출력하는 동시에 레벨반전된 액세스 신호를단자를 통해 NAND게이트(A4)로 출력한다. 이후 액세스 신호(L1)를 공급받은 메모리제어부는 프로세서A가 데이터를 액세스하도록 공유데이터를 제정한 메모리를 제어한다. 이때 AND 게이트(A5)는 D플립플롭(F4)의출력이 없기 때문에 NAND게이트(A6)에서 로우레벨 전압출력을 입력받고 액세스 요구신호(L1)에 의한 로우레벨전압을 입력받아 동작절환신호(C2)를 D플립플롭(F4)의 PR단에 출력하게 되므로 D플립플롭(F4)은 액세스 신호(L1)가 출력되는 동안 Q단자를 통한 액세스 신호(L2)의 출력을 할 수 없기 때문에 프로세서B의 데이터 액세스는 불가능하다.In the state where the clock pulse CP is input to the CLK terminal of the D flip-flop F3 and the clock pulse CP inverted by the inverter B3 is input to the CLK terminal of the D flip-flop F4, the processor A Outputs the access request signal Ma to the D terminal of the D flip-flop F3 and the input terminal of the NAND gate A4. Processor B then outputs the access request signal Mb to the D terminal of D flip-flop F4 and the input terminal of NAND gate A6. Thereafter, the D flip-flop F3 senses the access request signal Ma in the rising section ① of the clock pulse CP and outputs the access signal L1 for data access of the processor A to the memory controller through the Q terminal. While at the same time level Outputs to NAND gate A4 through terminal. Thereafter, the memory control unit supplied with the access signal L1 controls the memory in which the processor A establishes the shared data to access the data. At this time, the AND gate A5 is connected to the D flip-flop F4. Since there is no output, the NAND gate A6 receives the low level voltage output and the low level voltage by the access request signal L1 to output the operation switching signal C2 to the PR terminal of the D flip-flop F4. Therefore, since the D flip-flop F4 cannot output the access signal L2 through the Q terminal while the access signal L1 is outputted, data access of the processor B is impossible.

이후 프로세서A의 데이터 액세스가 종료되고 이에따라 프로세서A에 의한 액세스 요구신호(Ma)가 종료되면, D플립플롭(F3)단자의 하이레벨 전압출력과 액세스 요구신호(Ma)의 종료에 의한 하이레벨 전압에 의해 NAND게이트(A4)는 로우레벨 전압을 AND 게이트(A3)로 출력하고 이에따라 AND 게이트(A3)는 D플립플롭(F3)의 PR단자로 동작절환신호(C1)를 출력한다. 이 동작절환신호(C1)에 의해 D플립플롭(F3)은 즉각 Q단자를 통한 액세스 신호(L1)의 출력을 중지하고 이에따라 AND 게이트(A5)는 D플립플롭(F4) PR단자를 통해 출력하던 동작절환신호(C2)의 출력을 중지한다. 이후 D플립플롭(F4)은 반전된 클럭펄스(CP)의 상승구간(④)에서 프로세서B 의 액세스 요구신호(Mb)를 감지하여 프로세서B의 데이터 액세스를 위한 액세스 신호(L2)를 Q단자를 통해 출력하는 동시에단자를 통해 레벨 반전된 액세스 신호를 출력한다. 프로세서B는 액세스 신호(L2)에 의한 메모리제어부의 메모리제어 동작에 따라 공유데이터를 액세스하기 시작하고 로울레벨전압인 액세스 신호(L2)에 의해 D플립플롭(F3)의 동작이 중지되므로 프로세서A는 데이터 액세스를 할수없다. 이렇게 해서 프로세서A와 B가 차례로 공유 데이터를 액세스하게 되는데, 만일 프로세서A와 B가 동시에 액세스 요구신호(Ma,Mb)를 D플립플롭(F3,F4)으로 출력해도 D플립플롭(F3,F4)의 클럭펄스 입력단자(CLK)에 서로 위상이 상이한 클럭펄스가 입력되므로 프로세서A와 B간의 공유 데이터 액세스 순서에는 변함이 없으며 공유 데이터 액세스 종료와 시작간의 시간지연(T)은 액세스 요구신호(Ma)가 클럭펄스(CP) 상승구간(②)바로 뒤에서 종료되었다고 가정해도 클럭펄스(CP)의 한 주기 미만이 될 것이다.Then, when the data access of the processor A is terminated and the access request signal Ma by the processor A is terminated, the D flip-flop F3 is completed. The NAND gate A4 outputs the low level voltage to the AND gate A3 by the high level voltage output of the terminal and the high level voltage caused by the termination of the access request signal Ma. Accordingly, the AND gate A3 is a D flip-flop. The operation switching signal C1 is output to the PR terminal of (F3). By this operation switching signal C1, the D flip-flop F3 immediately stops outputting the access signal L1 through the Q terminal, and accordingly, the AND gate A5 is outputting through the D flip-flop F4 PR terminal. The output of the operation switching signal C2 is stopped. Thereafter, the D flip-flop F4 senses the access request signal Mb of the processor B in the rising period ④ of the inverted clock pulse CP, and applies the Q terminal to the access signal L2 for data access of the processor B. Output at the same time Outputs an access signal inverted level through the terminal. The processor A starts to access the shared data according to the memory control operation of the memory control unit by the access signal L2, and the operation of the D flip-flop F3 is stopped by the access signal L2 which is a roll level voltage. Data access is not possible. In this way, processors A and B access the shared data in turn. Even if processors A and B simultaneously output the access request signals Ma and Mb as D flip flops F3 and F4, D flip flops F3 and F4. Since the clock pulses having different phases are input to the clock pulse input terminal CLK of the controller, the order of shared data access between the processors A and B is unchanged, and the time delay T between the end and the start of the shared data access is the access request signal Ma. Will be less than one cycle of the clock pulse CP even if it is terminated immediately after the clock pulse CP rising period ②.

이상에서 설명한 바와같이 본 고안은 한 프로세서가 데이터 액세스를 종료하고 이에따라 액세스 요구신호를 중단하면 그순간 곧다음 프로세서에게 데이터 액세스를 허용해주기 때문에 공유 데이터 액세스의 중재효율을 향상시키는 효과가 있다.As described above, the present invention improves the arbitration efficiency of the shared data access because one processor terminates the data access and thus stops the access request signal, thereby allowing the next processor to access the data immediately.

Claims (3)

공유 데이터 액세스 중재장치에 있어서, 클럭펄스와 제1프로세서로 부터의 제1액세스 요구신호에 따라 메모리 제어부 측으로 제1액세스 신호를 출력하는 제1D플립플롭(F3); 반전된 상기 클럭펄스와 제2프로세서로 부터의 제2액세스 요구신호에 따라 메모리 제어부측으로 제2액세스 신호를 출력하는 제2D플립플롭(F4) ; 상기 제1D플립플롭(F3)으로부터의 반전된 제1액세스 신호, 상기 제1프로세서로 부터의 제1액세스 요구신호 및, 상기 제2D플립플롭(F4)으로부터의 제2액세스 신호에 따라 상기 제1D플립플롭(F3)의 동작을 절환하는 제1동작제어부(OC1) 및 ; 상기 제2D플립플롭(F4)으로 부터의 반전된 제2액세스 신호, 상기 제2프로세서로 부터의 제2액세스 요구신호 및 상기 제1D플립플롭(F3)으로 부터의 제1액세스 신호에 따라 상기 제2D플립플롭(F4)의 동작을 절환하는 제2동작 제어부(OC2)를 구비하는 것을 특징으로 하는 공유 데이터 액세스 중재장치.11. A shared data access arbitration apparatus, comprising: a first D flip-flop (F3) for outputting a first access signal to a memory controller in response to a clock pulse and a first access request signal from a first processor; A second D flip-flop (F4) outputting a second access signal to a memory controller in response to the inverted clock pulse and a second access request signal from a second processor; The first D according to an inverted first access signal from the first D flip-flop F3, a first access request signal from the first processor, and a second access signal from the second D flip-flop F4. A first operation controller OC1 for switching the operation of the flip-flop F3; The second access signal from the second D flip-flop F4, the second access request signal from the second processor, and the first access signal from the first D flip-flop F3; And a second operation controller (OC2) for switching the operation of the 2D flip-flop (F4). 제1항에 있어서, 상기 제1동작제어부(OC1)는 상기 제1D플립플롭(F3)으로 부터의 반전된 제1액세스 신호와 상기 제1프로세서로 부터의 제1액세스 요구신호를 논리 변환하는 제1논리회로(A4)와, 상기 제1논리회로(A4)의 출력신호와 상기 제2D플립플롭(F4)으로 부터의 제2액세스 신호를 논리변환하여 만든 동작절환신호를 상기 제1플립플롭(F3) 측으로 공급하는 제2논리회로(A3)를 구비하는 것을 특징으로 하는 공유 데이터 액세스 중재장치.2. The method of claim 1, wherein the first operation controller OC1 is configured to logically convert the inverted first access signal from the first D flip-flop F3 and the first access request signal from the first processor. The first flip-flop (operation switching signal) is obtained by performing a logic conversion between a first logic circuit A4, an output signal of the first logic circuit A4, and a second access signal from the second D flip-flop F4. And a second logic circuit (A3) for supplying to the F3) side. 제1항에 있어서, 상기 제2동작 제어부(OC2)는 상기 제2D플립플롭(F4)으로 부터의 반전된 제2액세스 신호와 상기 제2프로세서로 부터의 제2액세스 요구신호를 논리변환하는 제1논리회로(A6)와, 상기 제1논리회로(A6)의 출력신호와 상기 제1D플립플롭(F3)으로 부터의 제1액세스 신호를 논리변환하여 만든 동작절환신호를 상기 제2플립플롭(F4) 측으로 공급하는 제2논리회로(A5)를 구비하는 것을 특징으로 하는 공유 데이터 액세스 중재장치.The second operation controller OC2 of claim 1, wherein the second operation controller OC2 is configured to logically convert an inverted second access signal from the second D flip-flop F4 and a second access request signal from the second processor. The second flip-flop (operation switching signal) is obtained by performing a logic conversion between a first logic circuit A6, an output signal of the first logic circuit A6, and a first access signal from the first D flip-flop F3. And a second logic circuit (A5) for supplying to the F4 side.
KR2019930028884U 1993-12-21 1993-12-21 Data access relay apparatus KR960008562Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019930028884U KR960008562Y1 (en) 1993-12-21 1993-12-21 Data access relay apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019930028884U KR960008562Y1 (en) 1993-12-21 1993-12-21 Data access relay apparatus

Publications (2)

Publication Number Publication Date
KR950021935U KR950021935U (en) 1995-07-28
KR960008562Y1 true KR960008562Y1 (en) 1996-10-04

Family

ID=19371965

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019930028884U KR960008562Y1 (en) 1993-12-21 1993-12-21 Data access relay apparatus

Country Status (1)

Country Link
KR (1) KR960008562Y1 (en)

Also Published As

Publication number Publication date
KR950021935U (en) 1995-07-28

Similar Documents

Publication Publication Date Title
US4050097A (en) Synchronization technique for data transfers over an asynchronous common bus network coupling data processing apparatus
US4320457A (en) Communication bus acquisition circuit
US5489865A (en) Circuit for filtering asynchronous metastability of cross-coupled logic gates
EP0428330A2 (en) Computer interface circuit
US4471425A (en) A data transfer control system for multiple units on a common bus using a serially transmitted transfer permission signal
JPH07219895A (en) Integrated circuit and method for control of its operation
KR960008562Y1 (en) Data access relay apparatus
US3999170A (en) Multiple access interconnect system
US4464715A (en) Memory accessing method
US5377334A (en) Fast asynchronous resource master-slave combination
US6304931B1 (en) Access limiting bus control system and method
US5732226A (en) Apparatus for granting either a CPU data bus or a memory data bus or a memory data bus access to a PCI bus
JP2845251B2 (en) Integrated circuit device
KR950005802B1 (en) Data transmission unit for dtb of versa module europe bus
JP2893897B2 (en) Serial I / O device
KR890004811Y1 (en) Micro processor & interface circuits of bus
KR910008419B1 (en) Common memory access method
KR0149687B1 (en) Common memory access control circuit in multi-processor system
JP3072168B2 (en) Memory operation arbitration circuit
KR920004415B1 (en) A circuit and a method for transfering data
KR890003723B1 (en) Recovery time control circuits
KR960001268B1 (en) Data control apparatus between buses with a flag mode
JP2505878B2 (en) Multibus system
JP2867480B2 (en) Memory switching circuit
EP0590212A1 (en) Synchronization apparatus for a synchronous data communication system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
LAPS Lapse due to unpaid annual fee