KR0149687B1 - Common memory access control circuit in multi-processor system - Google Patents

Common memory access control circuit in multi-processor system

Info

Publication number
KR0149687B1
KR0149687B1 KR1019930030517A KR930030517A KR0149687B1 KR 0149687 B1 KR0149687 B1 KR 0149687B1 KR 1019930030517 A KR1019930030517 A KR 1019930030517A KR 930030517 A KR930030517 A KR 930030517A KR 0149687 B1 KR0149687 B1 KR 0149687B1
Authority
KR
South Korea
Prior art keywords
signal
access
processor
common memory
lower bit
Prior art date
Application number
KR1019930030517A
Other languages
Korean (ko)
Other versions
KR950020184A (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 KR1019930030517A priority Critical patent/KR0149687B1/en
Publication of KR950020184A publication Critical patent/KR950020184A/en
Application granted granted Critical
Publication of KR0149687B1 publication Critical patent/KR0149687B1/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
    • 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/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers
    • 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/1668Details of memory controller
    • G06F13/1689Synchronisation and timing concerns
    • 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/18Handling requests for interconnection or transfer for access to memory bus based on priority control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/16Memory access
    • G06F2213/1602Memory access type

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

본 발명은 멀티프로세서 시스템에 관한 것으로, 특히 멀티프로세서에 의한 공통메모리 억세스 우선순위를 제어하여 각프로세서에게 버스 사용을 원활히 할 수 있게한 멀티프로세서시스템의 공통메모리 억세스 제어회로에 관한 것이다.The present invention relates to a multiprocessor system, and more particularly, to a common memory access control circuit of a multiprocessor system which makes it possible to smoothly use a bus for each processor by controlling the priority of the common memory access by the multiprocessor.

본 발명의 공통메모리를 갖는 멀티프로세서 시스템은 상위 비트 프로세서와, 하위 비트 프로세서와, 상기 상위 및 하위 비트 프로세서가 공유하는 공통메모리와, 각각 상기 상위 및 하위비트 프로세서와 공통메모리 사이에 설치되어 상기 상위 및 하위 비트 프로세서로 부터 데이타 신호, 어드레스 신호 및 제어신호를 받는 제1및 제2비퍼와, 상기 상위 및 하위 비트 프로세서로부터 공통메모리 억세스 신호를 동시에 받는 경우 상위 비트 프로세서의 억세스 신호를 받는 경우 상위 비트프로세서의 억세스 요구에 우선순위를 부여하고 하위비트 프로세서에 대한 억세스가 종료될때 까지 상위 비트 프로세서에 대한 억세스 요구를 대기시키도록 제어하는 공통 메모리 억세스 제어회로로 구성된다.A multiprocessor system having a common memory of the present invention includes an upper bit processor, a lower bit processor, a common memory shared by the upper and lower bit processors, and installed between the upper and lower bit processors and the common memory, respectively. And first and second beepers receiving data signals, address signals, and control signals from lower bit processors, and common memory access signals from the upper and lower bit processors. It is composed of a common memory access control circuit that prioritizes the access request of the processor and controls to wait for the access request for the upper bit processor until the access to the lower bit processor is terminated.

Description

멀티프로세서 시스템의 공통메모리 억세스 제어회로Common Memory Access Control Circuit in Multiprocessor System

본 발명은 멀티프로세서 시스템에 관한 것으로, 특히 멀티프로세서에 의한 공통메모리 억세스시 프로세서간에 억세스 우선순위를 제어하여 각프로세서에게 버스사용을 원활히 할 수 있게 한 멀티프로세서 시스템의 공통메모리 억세스 제어회로에 관한 것이다.The present invention relates to a multiprocessor system, and more particularly, to a common memory access control circuit of a multiprocessor system that makes it possible to smoothly use a bus for each processor by controlling access priorities among processors when accessing a common memory by the multiprocessor. .

종래에 있어서는 다중 마이크로 프로세서 시스템에서 공통메모리를 억세스하는 방법 중 이중버스구조에서는 자신의 로컬(local)메모리와 하나 이상의 프로세서가 연결된 다수의 로컬버스를 구비하여 멀티프로세서 시스템의 버스제어장치를 통해 각 로컬버스를 공통메모리에 연결시켜 메모리를 억세스한다.In the conventional method of accessing a common memory in a multi-microprocessor system, a dual bus structure includes a local bus and a plurality of local buses connected with one or more processors, each of which is connected via a bus controller of the multiprocessor system. Access the memory by connecting the bus to common memory.

한편 공통버스 다중프로세서 시스템은 다수의 프로세서가 공통의 통로를 통하여 메모리 장치에 연결된 시스템으로서, 시분할 공통버스를 통해 하나의 프로세서만이 주어진 시간동안 메모리를 억세스할 수 있는 방식이다.Meanwhile, a common bus multiprocessor system is a system in which a plurality of processors are connected to a memory device through a common passage, and only one processor can access memory for a given time through a time division common bus.

제1도에는 16또는 32 비트프로세서(CPU)를 갖는 예를 들어 MC68020로 이루어진 상위비트 프로세서(1)와, 8비트 프로세서를 갖는 예를 들어 Z-80으로 이루어진 하위비트 프로세서(3)가 자신의 로컬버스를 통해 연결되어 인터페이스회로인 버스처리회로(5)를 통하여 공통램(7)을 억세스하는 멀티프로세서 시스템이 도시되어있다. 제1도에서는 9는 시간제어부를 가리킨다.In FIG. 1, the upper bit processor 1 having, for example, MC68020 having 16 or 32 bit processors (CPU), and the lower bit processor 3 having, for example, Z-80, having 8 bit processors, have their own. A multiprocessor system is shown which accesses the common RAM 7 via a bus processing circuit 5 which is connected via a local bus and is an interface circuit. In FIG. 1, 9 indicates a time control unit.

이와 같은 종래 기술에 있어서는 예를 들어 MC68020 프로세서와 Z-80프로세서으 공통램억세스에 있어서 우선순위를 상위프로세서인 MC68020프로세서에 할당하기 때문에 두 프로세서가 동시에 억세스할 경우에는 8비트 프로세서인 Z-80프로세서의 억세스 사이클 대기명령(wait)신호를 구성하는 회로가 복잡하여 많은 양의 정보처리를 위한 공통램의 고속억세스시에는 8비트 프로세서인 하위프로세서의 효율성이 떨어지는 문제가 있다.In the prior art, for example, the MC68020 processor and the Z-80 processor assign priority to the MC68020 processor, which is the upper processor, for the common RAM access. Therefore, when the two processors access simultaneously, the Z-80 processor is an 8-bit processor. Because of the complexity of the circuit that constitutes the access cycle wait signal, the efficiency of the 8-bit subprocessor is inferior in the high-speed access of the common RAM for processing a large amount of information.

따라서 본 발명의 목적은 멀티프로세서 시스템에서 각 프로세서가 동시에 억세스를 요구할 경우 정확한 우선순위 신호를 상위비트 프로세서에 제공하고 하위비트 프로세서를 대기상태로 만듬과 동시에 고속억세스시에도 각 프로세서에 안정된 메모리 억세스타임을 제공할 수 있는 멀티프로세서시스템의 공통메모리 억세스제어회로를 제공하는 것이다.Accordingly, an object of the present invention is to provide an accurate priority signal to an upper bit processor when the processor requires simultaneous access in a multiprocessor system, to make the lower bit processor stand by, and to provide stable memory access time to each processor even at high speed access. It is to provide a common memory access control circuit of a multiprocessor system that can provide.

제1도는 종래의 멀티프로세서 시스템의 공통메모리 억세스 제어회로의 구성을 나타낸 블록도.1 is a block diagram showing a configuration of a common memory access control circuit of a conventional multiprocessor system.

제2도는 본 발명의 일실시예에 따른 멀티프로세서 시스템의 구성을 나타낸 블록도.2 is a block diagram showing a configuration of a multiprocessor system according to an embodiment of the present invention.

제3도는 본 발명에 따른 공통메모리 억세스 제어회로의 구성을 나타낸 상세회로도.3 is a detailed circuit diagram showing a configuration of a common memory access control circuit according to the present invention.

제4도 및 제5도는 제3도에 도시된 공통메모리 억세스 제어회로의 신호 타이밍도이다.4 and 5 are signal timing diagrams of the common memory access control circuit shown in FIG.

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

11 : 상위비트 프로세서(CPU1) 12 : 제1 버퍼11: upper bit processor (CPU1) 12: first buffer

14 : 제2버퍼 13 : 하위비트 프로세서(CPU2)14: second buffer 13: low-bit processor (CPU2)

15 : 공통메모리 16 : 공통메모리억세스 제어회로15: common memory 16: common memory access control circuit

21 ~ 25 : 제1내지 제5인버터 26 ~ 31 : 제1내지 제6D 플립플롭21 to 25: 1st to 5th inverter 26 ~ 31: 1st to 6D flip-flop

39 : AND 게이트 32 ~ 38 : 제1내지 제7 OR 게이트39: AND gate 32 to 38: first to seventh OR gate

40 : NAND 게이트40: NAND gate

상기한 목적을 달성하기 위하여 본 발명은 상위비트 프로세서와, 하위비트 프로세서와, 상기 상위 및 하위비트 프로세서가 공유하는 공통메모리와, 각각 상기 상위 및 하위비트 프로세서와 공통메모리 사이에 설치되어 상기 상위 및 하위 비트프로세서로 부터 데이타 신호, 어드레스 신호 및 제어신호를 받는 제1및 제2버퍼와, 상기 상위 및 하위 비트 프로세서로부터 공통메모리 억세스 신호를 동시에 받는 경우 상위비트 프로세서의 억세스 요구에 우선순위를 부여하고 하위 비트프로세서에 대해 억세스 대기신호를 발생하며, 상기 제1버퍼에 대한 버퍼 인에이블 신호를 출력하고, 계속된 상위비트 프로세서로부터의 억세스 요구시 하위비트 프로세서에 대한 억세스가 종료될때까지 상위비트 프로세서에 대한 억세스 요구를 대기시키도록 제어하는 공통메모리 억세스 제어회로로 구성되는 것을 특징으로 하는 공통메모리를 갖는 멀티프로세서 시스템을 제공한다.In order to achieve the above object, the present invention provides an upper bit processor, a lower bit processor, a common memory shared by the upper and lower bit processors, and installed between the upper and lower bit processors and the common memory, respectively. Priority is given to the access request of the upper bit processor when the first and second buffers receiving the data signal, the address signal and the control signal from the lower bit processor and the common memory access signal from the upper and lower bit processors are simultaneously received. Generates an access wait signal for the lower bit processor, outputs a buffer enable signal for the first buffer, and continues to access the upper bit processor until the access to the lower bit processor is terminated To control queued access requests Provides a multiprocessor system having a common memory, characterized in that a memory access control circuit.

이하에 첨부 도면을 참고하여 본 발명을 더욱 상세하게 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

제2도에는 본 발명의 바람직한 일실시예에 따른 멀티프로세서 시스템의 구성을 나타낸 블록도가 도시되어 있다.2 is a block diagram showing the configuration of a multiprocessor system according to a preferred embodiment of the present invention.

제2도를 참고하면 본 발명은 32 비트 마이크로 프로세서(CPU)인 예를 들어 MC68020으로 이루어진 상위비트 프로세서(11)와, 상기 상위 비트 프로세서(11)와 데이타 버스, 어드레스 버스 및 제어신호선을 통해 데이타 신호(DATA, 어드레스신호(ADD) 및 리드/라이트(R/W)신호를 수신하며 각 버스신호의 방향을 결정하는 제1버퍼(BUF1)(12)와, 8비트 마이크로 프로세서(CPU2)인, 예를 들어 Z-80으로 이루어진 하위 비트 프로세서(13)와, 상기 하위비트프로세서(13)에 데이타 버스, 어드레스 버스 및 제어신호선을 통해 데이타 신호(DATA), 어드레스 신호(ADD) 및 리드/라이트 신호(R/W)를 수신하며 각 버스신호의 방향을 결정하는 제2버퍼(BUF2)(14)와, 상기 상위 프로세서(11)로부터 공통메모리 억세스 신호( /CSMCPU)와 하위비트프로세서(13)로 부터 공통메모리 억세스 신호(/CSZCUP)를 하위비트프로세서(13)에 인가하고, 상위비트프로세서(11)에 대한 억세스 종료신호(/IACK)를 인가하며, 제1및 제2버퍼(12,14)로 각각의 프로세서(CPU)억세스 타임을 결정하는 버퍼 인에이블 신호(/CSMBUF)를 출력하는 공통메모리 억세스 제어회로(CMAC)(16)로 구성되어 있다.Referring to FIG. 2, the present invention is a 32-bit microprocessor (CPU), for example, the upper bit processor 11 consisting of the MC68020, the upper bit processor 11 and the data bus, address bus and data through the control signal line A first buffer (BUF1) 12 for receiving a signal DATA, an address signal ADD and a read / write signal R / W and determining the direction of each bus signal, and an 8-bit microprocessor CPU2, For example, the lower bit processor 13 made of Z-80 and the data bit DATA, the address signal ADD, and the read / write signal through the data bus, the address bus, and the control signal line. A second buffer (BUF2) 14 for receiving (R / W) and determining the direction of each bus signal, and from the upper processor 11 to the common memory access signal / CSMCPU and the lower bit processor 13; The common memory access signal (/ CSZCUP) Applying to the processor 13, applying an access termination signal (/ IACK) to the upper bit processor 11, and determining each processor (CPU) access time with the first and second buffers 12 and 14; And a common memory access control circuit (CMAC) 16 for outputting a buffer enable signal / CSMBUF.

상기한 공통메모리 억세스 제어회로(16)에 대한 상세회로가 제3도에 도시되어 있다.A detailed circuit for the common memory access control circuit 16 is shown in FIG.

제3도를 참고하면 공통메모리 억세스 제어회로는 상위비트 프로세서(11)의 억세스 우선순위를 결정하는 각종제어신호(/pr, /prdt, /tip) 를 발생하는 제1내지 제3D 플립플롭(26, 27, 28)과, 제1 및 제2인버터(21, 22)와, 제1내지 제3 OR 게이트(32, 33, 34)와, 상위 비트 프로세서(11)에 대한 억세스 종료신호(IACK)와 하위비트 프로세서(13) 억세스 대기신호(/WAITZCPU)를 발생하는 제4D 플립플롭(29)와, 제3및 제4인버터(23, 24)와 제4 OR 게이트(35)와, AND 게이트(39)와, 각각의 CPU 억세스 타임을 결정한 버퍼 인에이블 신호(/CSMBUF, /CSZBUF)를 발생하는 제5 및 제6D 플립플롭(30, 31)과, 제5인버터(25)와, 제5내지 제7 OR 게이트(36, 37, 38)와, NAND 게이트(40)로 구성되어 있다.Referring to FIG. 3, the common memory access control circuit generates first to third 3D flip-flops 26 to generate various control signals / pr, / prdt, and / tip that determine access priority of the upper bit processor 11. , 27, 28, first and second inverters 21 and 22, first to third OR gates 32, 33 and 34, and an access termination signal (IACK) to the upper bit processor 11 And the 4D flip-flop 29 which generates the wait bit signal / WAITZCPU, the third and fourth inverters 23 and 24, the fourth OR gate 35, and the AND gate ( 39), fifth and sixth flip-flops 30 and 31 for generating buffer enable signals (/ CSMBUF and / CSZBUF) for determining respective CPU access times, fifth inverter 25, and fifth to fifth. The seventh OR gate 36, 37, 38 and the NAND gate 40 are comprised.

상기와 같이 구성된 본 발명의 공통메모리 억세서 제어회로의 작용을 제3도내지 제5도를 참고하여 상세하게 설명하면 다음과 같다.The operation of the common memory access control circuit of the present invention constructed as described above will be described in detail with reference to FIGS. 3 to 5 as follows.

먼저 제4도의 타이밍도는, 32비트 CPU인 상위비트 프로세서(11)만 공통메모리(15)를 억세스한 경우의 타이밍을 나타낸 것으로,제1OR게이트(32)의 일입력인 제4도(B)의 메모리 억세스 신호(/CSMCPU)가 로우레벨(L)이 되어 제1 D 플립플롭(26)의 입력(D)에 인가되며, 이때 8비트 CPU인 하위비트 프로세서(13)의 CPU클럭(ZCLK) (제4도(A) )에 의해 래치되어 제1 D플립플롭(26)의 출력은 L상태의 제1우선순위 신호(/pr)가 출력된다 (제4도 (C)).First, the timing diagram of FIG. 4 shows the timing when only the upper bit processor 11, which is a 32-bit CPU, accesses the common memory 15. FIG. 4B which is one input of the first OR gate 32 is shown in FIG. The memory access signal (/ CSMCPU) of the low level (L) is applied to the input (D) of the first D flip-flop 26, at this time, the CPU clock (ZCLK) of the low-bit processor 13, which is an 8-bit CPU (Latched by FIG. 4A), the output of the first D flip-flop 26 outputs the first priority signal / pr in the L state (FIG. 4C).

이 제1우선순위 신호(/pr)는 제2 OR 게이트(23)의 일 입력이 되고, 제3 OR게이트(34)의 하이레벨(H)상태인 출력이 제3D 플립플롭(28)의 입력으로 인가되는 한편 ZCLK클럭 신호에 의한 래치로 제3D 플립플롭(28)의 출력(/tip)을 H 상태로 된다(제4도(E)).The first priority signal / pr becomes one input of the second OR gate 23, and the output of the high level H state of the third OR gate 34 is the input of the 3D flip-flop 28. The output / tip of the 3D flip-flop 28 is brought to the H state by the latch by the ZCLK clock signal.

그 후 제3D 플립플롭(28)의 출력은 제2 인버터(22)를 거쳐 반전된 후 액티브 L상태인 입력신호가 제2 OR게이트 (33)의 다른 입력으로 인가되어 제2 OR개이트(33)의 L 출력이 제2 D플립플롭(27)의 입력신호가 된다.After that, the output of the 3D flip-flop 28 is inverted through the second inverter 22, and then an input signal in an active L state is applied to the other input of the second OR gate 33 so that the second OR gate 33 L output of) becomes an input signal of the second D flip-flop 27.

이때 ZCLK클럭에 의한 래치로 제2 D플립플롭(27)의 출력은 L상태인 제2 우선순위 신호(/prdt)신호는 제4 인버터(24)를 거쳐 제4 D 플립플롭(29)의 래치클럭으로 사용하면, 이때 상위비트 프로세서로부터 억세스신호(/CSMCPU)가 액티브 L의 상태이므로 제4 D 플립플롭(29)의 출력(Q)는 액티브 L 상태인 억세스 종료신호(/IACK)를 발생한다.At this time, the second priority signal (/ prdt) signal having the output of the second D flip-flop 27 in the L state by the latch by the ZCLK clock passes through the fourth inverter 24, and latches the fourth D flip-flop 29. When used as a clock, the output Q of the fourth D flip-flop 29 generates the access termination signal / IACK in the active L state because the access signal / CSMCPU is in the active L state from the upper bit processor. .

이 신호는 상위 비트 프로세서(11)에게 데이타 전송의 완료를 알리는 신호로서 상위비트 프로세서(11)가 /IACK 신호를 인지하면, 자신의 다음 클럭주기 후에 공통메모리(15)에 대한 엑서스를 완료하여 (즉, /CSMCPU) 신호가 H 상태로 만든다.This signal is a signal for notifying the upper bit processor 11 of the completion of data transmission. When the upper bit processor 11 recognizes the / IACK signal, it completes the access to the common memory 15 after its next clock cycle ( That is, the / CSMCPU) signal is brought to the H state.

이와 같이 상위비트 프로세서(11)가 공통메모리(15)를 억세스 할 경우 억세스중이므로 /CSZCPU 신호가 액티브 L 상태이고 제1인버터(21)를 거친 신호가 제1 OR 게이트(32) 의 입력이 되어 출력신호는 H 상태로 된다.When the upper bit processor 11 accesses the common memory 15 as described above, the / CSZCPU signal is in the active L state and the signal passing through the first inverter 21 becomes the input of the first OR gate 32. The signal goes into the H state.

이 때 제1 D 플립플롭(26)의 출력(Q) 신호인 제1우선순위 신호(/pr)는 제5도(D)와 같이 입력신호가 H상태이므로 액티브 H상태가 된다.At this time, the first priority signal / pr, which is the output Q signal of the first D flip-flop 26, becomes an active H state because the input signal is H state as shown in FIG.

따라서 제1 우선순위 신호(/pr)가 생성되지 못했기 때문에 제2 플립플롭(27)의 출력신호인 제2 우선순위신호(/prdt)로 H 상태가 되고, 제4 인버터(24)를 거친 L 신호는 제4 D 플림플롬(29)의 상승래치클릭을 만들지 못해 제4 D 플림플롭(29)을 프리셋 상태로 계속 유지한 상태이므로 /IACK 신호를 액티브 H 상태로 유지하여 상위 비트프로세서(11)에 2번째 억세스 사이클을 계속 대기상태로 유지하게 만든다.Therefore, since the first priority signal / pr has not been generated, the second priority signal / prdt, which is an output signal of the second flip-flop 27, becomes H state, and L passes through the fourth inverter 24. Since the signal does not make the rising latch click of the fourth D flip-flop 29, the fourth D flip-flop 29 is kept in the preset state, and thus the / IACK signal is kept in the active H state so that the upper bit processor 11 Keeps the second access cycle idle.

다음에 각 프로세서(11,13)가 데이타(DATA), 어드레스(ADD), 제어신호(R/W)가 인가되는 제1 및 제2버퍼(12, 14)를 언제인에이블 시키는지에 대하여 설명한다.Next, when each processor 11, 13 enables the first and second buffers 12, 14 to which data DATA, an address ADD, and a control signal R / W are applied, will be described. .

하이비트 프로세서(13)의 동작클럭(ZCLK) (제5도 (A) )을 제5임버터(25)를 거쳐 반전시킨 후 제5 및 제6D 플림플롭(30, 31)의 입력래치클럭으로 사용하면 상위 비트 프로세서(11)가 공통메모리(15)를 억세스하는 신호, 즉 하위 비트 프로세서 억세스 대기신호(/WAITZCPU) (제5도(G) )를 제5D 플립플롭(30)의 입력으로 하여 ZCLK의 반주기 후에 제5D 플립플롭(30)의 입력으로 하여 ZCLK의 반주기 후에 제5D 플립플롭(30)의 출력(/trgm) (제5도(H))을 액티브 L로 출력하고 이 입력과 출력신호가 공통으로 액티브 L로 된 상태를 제5 OR 게이트(36)의 출력신호(/CSMBUF)로 하여 상위비트 프로세서(11)에 연결된 제1 버퍼(12)를 인에이블 시킨다. (제5도(J) ).The operating clock ZCLK (FIG. 5A) of the high-bit processor 13 is inverted through the fifth inverter 25 and then input to the input latch clocks of the fifth and sixth Flimflops 30 and 31. When the upper bit processor 11 accesses the common memory 15, that is, the lower bit processor access wait signal / WAITZCPU (FIG. 5G) is input as the input of the 5D flip-flop 30. After the half cycle of ZCLK, the input of the 5D flip-flop 30 is made, and the output (/ trgm) (figure 5) of the 5D flip-flop 30 (figure (H)) is output to the active L after the half cycle of ZCLK. The first buffer 12 connected to the upper bit processor 11 is enabled by setting the state in which the signal becomes active L as the output signal / CSMBUF of the fifth OR gate 36. (Fig. 5 (J)).

한편 버퍼 인에이블 신호를 각각의 프로세서가 동시에 억세스 할 경우를 살펴본다. 각 프로세서(11, 13)가 동시에 억세스를 요청하면 /pr 신호(제5도(D) )는 H 상태이며, 실제적으로 상위비트 프로세서(11)가 공통메모리(15)를 억세스 못 할 경우, 즉 /WAITZCPU 신호가 H'상태일때 NAND게이트(40)의 출력은 L 상태일 때 제6 OR 게이트 937)의 출력이 L상태로 되어 제6D 플립플롭(31)의 입력 단자에 인가된다.Meanwhile, we will look at the case where each processor simultaneously accesses the buffer enable signal. When each processor 11 and 13 requests access at the same time, the / pr signal (FIG. 5D) is in the H state, and when the upper bit processor 11 does not actually access the common memory 15, that is, When the / WAITZCPU signal is in the H 'state, the output of the NAND gate 40 is applied to the input terminal of the 6D flip-flop 31 when the output of the sixth OR gate 937 is in the L state.

이때 ZCLK 반주기 후에 입력이 제6D 플립플롭(31)에 출력 (/trgz)신호 제5(1))를 발생하며, 그 후 제6D 플립플롭(31)의 입력과 출력신호를 각 입력으로 하는 제7 OR 게이트(38)에 의해 두 입력이 공통으로 L 상태를 유지하는 시간동안 제2버퍼(14)를 인에이블 시키기 위한 /CSZBUF 신호가 L 상태로 되어 제2 버퍼(14)가 인에이블된다.At this time, an input generates an output (/ trgz) signal fifth (1) on the 6D flip-flop 31 after the ZCLK half cycle, and then inputs the input and output signals of the 6D flip-flop 31 as inputs. By the 7 OR gate 38, the / CSZBUF signal for enabling the second buffer 14 goes into the L state during the time that the two inputs maintain the L state in common, and the second buffer 14 is enabled.

상기한 바와 같이 본 발명에 따르면 하위 비트 프로세서의 동작클럭을 D플립플롭의래치클럭으로 사용하여 상위 및 하위 프로세서가 동시에 억세스를 할 경우 상위 비트 프로세서에게 우선순위를 주는 우선순위 신호(/pr)를 만드는데 정확성을 기하도록 하였으며, 이때 하위 비트 프로세서의 억세스는 자신의 동작클록으로 만들어지는 신호들에 의해서 쉽게 제어된다.As described above, according to the present invention, when the upper and lower processors access simultaneously using the operation clock of the lower bit processor as the latch clock of the D flip-flop, a priority signal (/ pr) giving priority to the upper bit processor is provided. To ensure accuracy, the access of the lower bit processor is easily controlled by the signals generated by its operation clock.

또한 각각의 프로세서에 연결된 버퍼의 인에이블시에는 하위비트 프로세서의 반주기 동작클럭동안 여유시간을 둠으로 인해 고속 억세스에도 버퍼를 통한 각 버스 상태의 불안정을 해소하여 각 프로세서에 안정된 메모리억세스 시간을 제공한다.In addition, when enabling the buffers connected to each processor, the spare time is allowed during the half-cycle operation clock of the low-bit processor, thereby providing stable memory access time for each processor by eliminating the instability of each bus state through the buffer even in high-speed access. .

Claims (3)

상위 비트 프로세서와, 하위 비트 프로세서와, 상기 상위 및 하위비트 프로세서가 공유하는 공통메모리와, 각각 상기 상위 및 하위비트 프로세서와 공통메모리 사이에 설치되어 상기 상위 및 하위 비트 프로세서로 부터 데이타 신호, 어드레스 신호 및 제어신호를 받는 제1및 제2버퍼와, 상기 상위 및 하위 비트 프로세서로부터 공통메모리 억세스 신호를 동시에 받는 경우 상위 비트 프로세서의 억세스 요구에 우선순위를 부여하고 하위비트 프로세서에 대해 억세스 대기신호를 발생하며, 상기 제1 버퍼에 대한 버퍼 인에이블 신호를 출력하고, 계속된 상위비트 프로세서로부터의 억세스 요구시 하위비트 프로세서에 대한 억세스가 종료될 때 까지 상위 비트 프로세서에 대한 억세스 요구를 대기시키도록 제어하는 공통 메모리 억세스 제어회로로 구성되는 것을 특징으로 하는 멀티프로세서 시스템의 공통메모리 억세스 제어회로.An upper bit processor, a lower bit processor, a common memory shared by the upper and lower bit processors, and between the upper and lower bit processors and the common memory, respectively, to provide a data signal and an address signal from the upper and lower bit processors. And the first and second buffers receiving the control signal and the common memory access signal from the upper and lower bit processors simultaneously give priority to the access request of the upper bit processor and generate an access wait signal for the lower bit processor. And outputting a buffer enable signal for the first buffer, and controlling to wait for an access request for the higher bit processor until the access to the lower bit processor is terminated when the access request from the higher bit processor continues. Composed of common memory access control circuit That a common multi-processor system as claimed in memory access control circuit. 제1항에 있어서, 상기 공통메모리 억세스 제어회로는 하위비트 프로세서의 동작클럭과 상위 및 하위 비트 프로세서의 억세스 신호에 응답하여 상위비트 프로세서의 억세스에 우선순위를 부여하기 위해 제1및 제2우선순위 신호를 발생하기 위한 우선순위 신호발생수단과, 상기 제1 우선순위 신호에 따라 하위비트 프로세서에 대한 대기신호를 발생하기 위한 대기 신호 발생수단과, 상기 제2 우선순위신호와 상위 비트 프로세서의 억세스 신호에 따라 억세스 종료신호를 발생하기 위한 억세스 종료신호 발생수단과, 상기 동작클럭과 하위 비트 프로세서에 대한 대기신호에 응답하여 상기 제1 버퍼를 인에이블 시키기 위한 제1인에이블 신호발생수단과, 상기 동작클럭과, 제1 우선순위 신호와, 상기 대기신호와, 상기 하위 비트프로세서에 대한 억세스 신호에 따라 제2 버퍼를 인에이블 시키기 위한 제2 인에이블 신호발생수단으로 구성되는 것을 특징으로 하는 멀티프로세서 시스템의 공통메모리 억세스 제어회로.2. The common memory access control circuit of claim 1, wherein the common memory access control circuit is configured to prioritize first and second priority in order to prioritize access of the upper bit processor in response to an operation clock of the lower bit processor and an access signal of the upper and lower bit processors. Priority signal generating means for generating a signal, standby signal generating means for generating a standby signal for a lower bit processor according to said first priority signal, and said second priority signal and an access signal of an upper bit processor An access end signal generating means for generating an access end signal according to the first access signal, first enable signal generating means for enabling the first buffer in response to a wait signal for the operation clock and the lower bit processor, and the operation; A clock, a first priority signal, the wait signal, and an access signal for the lower bit processor A second buffer for the memory access common control of the multiprocessor system, characterized in that consisting of the second enable signal generating means to enable circuit in accordance with. 제1항에 있어서, 상기 각 버퍼에 대한 인에이블 사이에 소정시간의 여유시간을 설정한 것을 특징으로 하는 멀티프로세서 시스템의 공통메모리 억세스제어회로.2. The common memory access control circuit according to claim 1, wherein a spare time of a predetermined time is set between the enable of each buffer.
KR1019930030517A 1993-12-29 1993-12-29 Common memory access control circuit in multi-processor system KR0149687B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930030517A KR0149687B1 (en) 1993-12-29 1993-12-29 Common memory access control circuit in multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930030517A KR0149687B1 (en) 1993-12-29 1993-12-29 Common memory access control circuit in multi-processor system

Publications (2)

Publication Number Publication Date
KR950020184A KR950020184A (en) 1995-07-24
KR0149687B1 true KR0149687B1 (en) 1998-10-15

Family

ID=19373529

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930030517A KR0149687B1 (en) 1993-12-29 1993-12-29 Common memory access control circuit in multi-processor system

Country Status (1)

Country Link
KR (1) KR0149687B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904084B2 (en) 2009-05-18 2014-12-02 Samsung Electronics Co., Ltd. Solid state drive device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904084B2 (en) 2009-05-18 2014-12-02 Samsung Electronics Co., Ltd. Solid state drive device
US9052838B2 (en) 2009-05-18 2015-06-09 Samsung Electronics Co., Ltd. Solid state drive device
US9262077B2 (en) 2009-05-18 2016-02-16 Samsung Electronics Co., Ltd. Solid state drive device

Also Published As

Publication number Publication date
KR950020184A (en) 1995-07-24

Similar Documents

Publication Publication Date Title
KR900004006B1 (en) Micro processor system
US4449183A (en) Arbitration scheme for a multiported shared functional device for use in multiprocessing systems
US4594657A (en) Semaphore for memory shared by two asynchronous microcomputers
US4853847A (en) Data processor with wait control allowing high speed access
KR0133236B1 (en) Shared memory system and arbitration method and system
US5142682A (en) Two-level priority arbiter generating a request to the second level before first-level arbitration is completed
US4084233A (en) Microcomputer apparatus
KR0149687B1 (en) Common memory access control circuit in multi-processor system
JP3240863B2 (en) Arbitration circuit
JP2000132451A (en) Memory control circuit
JP3266610B2 (en) DMA transfer method
JPH09311812A (en) Microcomputer
KR950003876B1 (en) Common memory access contol circuit
CA1303748C (en) Tandem priority resolver
JPS6054065A (en) Synchronous controller
JPS6315953Y2 (en)
KR100194686B1 (en) PIPO controller for DM using state machine
JPH06301631A (en) Memory control circuit
KR960007835B1 (en) Common memory access device for multi-processor
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPS626365A (en) Multi-processor system
JPS61183770A (en) Multiprocessor system
KR19990062330A (en) Interrupt Control in Multi-Processor Systems
JPH06274460A (en) Inter-different speed processor data communication system
JPH0575140B2 (en)

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: 20030219

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee