KR950009411Y1 - A circuit for shared memory of multiprocessor system using time division processing - Google Patents

A circuit for shared memory of multiprocessor system using time division processing Download PDF

Info

Publication number
KR950009411Y1
KR950009411Y1 KR2019910016452U KR910016452U KR950009411Y1 KR 950009411 Y1 KR950009411 Y1 KR 950009411Y1 KR 2019910016452 U KR2019910016452 U KR 2019910016452U KR 910016452 U KR910016452 U KR 910016452U KR 950009411 Y1 KR950009411 Y1 KR 950009411Y1
Authority
KR
South Korea
Prior art keywords
memory
address
time
clock
data
Prior art date
Application number
KR2019910016452U
Other languages
Korean (ko)
Other versions
KR930009447U (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 KR2019910016452U priority Critical patent/KR950009411Y1/en
Publication of KR930009447U publication Critical patent/KR930009447U/en
Application granted granted Critical
Publication of KR950009411Y1 publication Critical patent/KR950009411Y1/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/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/3625Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using a time dependent access

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

내용 없음.No content.

Description

시분할에 의한 다중 프로세서의 메모리 공유회로Memory sharing circuit of multiple processors by time division

제1도는 종래의 하드웨어 메모리의 구성도.1 is a block diagram of a conventional hardware memory.

제2도는 본 고안에 따른 시분할에 의한 다중 프로세서의 메모리 공유회로의 구성도.2 is a block diagram of a memory sharing circuit of a multiple processor by time division according to the present invention.

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

1, 1', 10 : 클럭 발생부 2, 2', 20 : 어드레스 제어부1, 1 ', 10: clock generator 2, 2', 20: address controller

3, 3', 30 : 어드레스 래치부 4, 4' : 메모리 제어부3, 3 ', 30: address latch section 4, 4': memory control section

5, 5', 50 : 메모리 6 : CPU15, 5 ', 50: Memory 6: CPU1

6' : CPU2 7, 70 : 버퍼부6 ': CPU2 7, 70: buffer

40 : PAL로직 60 : MCPU40: PAL logic 60: MCPU

60' : SCPU 80 : 인터럽트부60 ': SCPU 80: interrupt

AB : 어드레스 버스 PB : 패러랠 버스AB: Address Bus PB: Parallel Bus

DB : 데이타 버스DB: Data Bus

본 고안은 다중 프레세싱에 관한 것으로 특히, 시분할 방시에 의해 여러 프로그램을 순차적으로 수행하는 시분할에 의한 다중 프로세서의 메모리 공유회로에 관한 것이다.The present invention relates to multiple processing, and more particularly, to a memory sharing circuit of a multiprocessor by time division for sequentially executing several programs by time division method.

다중 프레세싱이란 둘 이상의 CPU가 하나의 시스템을 구성하는 형태로서 2개이상의 하드웨어 프로세서로 구성되어 각 처리기들이 기억장치를 공유하거나, 직접 한 처리기에서 다른 처리기로 메세지를 보냄으로써 통신이 일어난다.Multiprocessing is a form in which two or more CPUs constitute a system, and two or more hardware processors are used to communicate with each processor by sharing memory or directly sending a message from one processor to another.

본 고안에서는 이러한 다중 프로세서를 교환기 하드웨어 메모리에 적당하도록 시분할 방식에 의하여 여러프로그램들을 동시에 수행할 수 있도록 설계한 것으로, 각 처리기는 한번에 하나의 프로그램만 수행하며 여러프로그램에 대한 입·출력 작업을 병렬적으로 수행하므로써 외부 및 내부의 데이타 처리가 가능하도록 하였다.In the present invention, the multiple processors are designed to execute several programs at the same time in a time-division manner so as to be suitable for the exchange hardware memory. Each processor executes only one program at a time and executes input / output operations for multiple programs in parallel. By doing so, external and internal data processing is possible.

제1도는 종래의 하드웨어 메모리의 구성도로서 도시하는 바와같이 점선 A,…, A'를 기준으로 하나의 모듈이 대칭상태로 구성되어 있다.1 is a block diagram of a conventional hardware memory, as shown by dotted lines A,... Based on A ', one module is configured in a symmetrical state.

이하 제1도를 참보하여 종래의 하드웨어 메모리 회로의 동작을 설명한다.The operation of the conventional hardware memory circuit will be described below with reference to FIG.

클럭발생부(1, 1')에서 카운터에 의한 클럭을 발생하여 메모리에 엑세스하기 위한 어드레스 클럭을 발생시켜 어드레스 래치부(3, 3')와 어드레스 제어부(2, 2')에 공급한다. 어드레스 제어부(2, 2')에서는 클럭발생부(1, 1')로부터 공급되는 클럭에 의해 메모리 된 어드레스를 제어하며 어드레스 래치부(3, 3')에서는 상기 클럭발생부(1, 1')로부터의 클럭과 CPU(6, 6')로부터의 어드레스를 래치하고 메모리 제어부(4, 4')에서는 프로세서의 메모리를 액세스하는 카운터클럭과 CPU(6, 6')로부터의 어드레스를 제어하기 위한 제어신호를 발생하고, 메모리 제어부(4, 4')에서 공급되는 카운터 클럭신호에 의해 메모리(5, 5')에서는 램(RAM)을 이용하여 데이타를 저장하고, 버퍼부(7)에서는 PB(페럴랠 버스)를 통하여 입력되는 외부데이타와 CPU(6, 6')로부터 외부 모듈로 전송되는 데이타를 일시적으로 저장하는 기능을 한다.The clock generation unit 1, 1 'generates a clock by a counter, generates an address clock for accessing the memory, and supplies it to the address latch units 3, 3' and the address control unit 2, 2 '. The address controller 2, 2 'controls the address stored by the clock supplied from the clock generators 1, 1', and the address latch units 3, 3 'control the clock generators 1, 1'. Latches the clock from and the address from the CPU 6, 6 ', and the memory controller 4, 4' controls the counter clock to access the processor's memory and the address from the CPU 6, 6 '. Generates a signal, and stores data using a RAM in the memory 5 and 5 'according to a counter clock signal supplied from the memory control units 4 and 4', and the PB (ferrule) in the buffer unit 7. It functions to temporarily store external data input through the Ralbus) and data transmitted from the CPUs 6 and 6 'to the external module.

상술한 종래의 하드웨어 메모리에서는 CPU에서 액세스하는 메모리를 구성하는데 있어서 CPU의 시분할이 이루어지 않아 CPU내의 사용자 프로그램이나 데이타를 처리하는데 많은 시간이 소요되고 수행시 혼란이 있으며, 프로세서의 메모리를 구성하는 회로부가 너무 많아서 하드웨어를 집적화시켜 설계할수 없는 문제점이 있었다.In the above-described conventional hardware memory, since the CPU is not time-divided in configuring the memory accessed by the CPU, it takes a lot of time to process user programs or data in the CPU, and there is confusion in execution. There are too many problems that cannot be designed by integrating hardware.

본 고안은 상술한 문제점을 해결하기 위하여 안출한 것으로 메모리의 직접 접근 장치들과 주변 장치들의 동작을 시간에 따라 적절히 분배시킴으로써 여러사용자 프로그램이 메모리내에 동시에 존재할때 이들 프로그램의 수행이 교대로 이루어져 소요시간을 줄일수 있고, 종래의 하드웨어 메모리에 비해 구성회로부를 간단히 설계하여 집적화된 하드웨어 메모리 회로를 구성하는데 목적이 있다.The present invention has been made to solve the above-mentioned problems. By appropriately distributing the operations of the direct access devices and peripheral devices of the memory according to time, the execution of these programs is alternately performed when several user programs exist in the memory at the same time. The purpose of the present invention is to provide an integrated hardware memory circuit by simplifying the design of circuit components compared to conventional hardware memories.

상기와 같은 목적을 달성하기 위하여 본 고안은 전체 시스템을 시분할적으로 제어하는 MCPU(주 CPU)와 외부 가입자와의 데이타 전송을 제어하는 SCPU(부 CPU)와, 시분할에 의해서 각각 다른 주기를 갖는 클럭들을 발생시키는 클럭발생부와, 상기의 시분할 클럭에 의한 카운터 어드레스로 메모리에 액세스하는 어드레스를 제어하는 어드레스 제어부와, 상기의 카운터 클럭과 CPU버스로부터 출력되는 어드레스를 래치하는 어드레스 래치부와 외부 모듈 및 가입자로부터 액세스되는 데이타를 저장하는 메모리와, 시스템으로 입력되는 외부 데이타를 일시적으로 저장하는 버퍼와, 상기의 메모리와 버퍼를 제어하여 외부 모듈로부터 상기의 MCPU 및 SCPU로 전송되는 데이타를 제어하는 PAL로직과 외부 모듈로부터 프로세서에 데이타가 액세스되면 상기의 클럭발생부로부터 MCPU 및 SCPU에 인터럽트를 걸어주는 인터럽트부를 구비한 것을 특징으로 하는 시분할에 의한 다중 프로세서의 메모리 공유회로를 제공한다.In order to achieve the above object, the present invention provides an MCPU (main CPU) for time-divisionally controlling the entire system, an SCPU (sub-CPU) for controlling data transmission with an external subscriber, and a clock having a different period by time division. A clock generation section for generating a signal, an address control section for controlling an address for accessing a memory at the counter address by the time division clock, an address latch section and an external module for latching an address output from the counter clock and the CPU bus; Memory for storing data accessed from the subscriber, a buffer for temporarily storing external data input to the system, and PAL logic for controlling the data transferred from the external module to the MCPU and SCPU by controlling the memory and the buffer. The clock generator when data is accessed from the external module From provides a shared memory of a multiprocessor circuit by time division, characterized in that comprising a interrupt to walk an interrupt to MCPU and SCPU.

제2도는 본 고안에 따른 시분할에 의한 다중 프로세서의 메모리 공유회로의 구성도로서, 외부 모듈 및 외부가입자로부터 액세스되는 데이타를 저장하고 프로세서의 CPU가 제어한 데이타를 외부 모듈로 전송하기 위한 메모리 공유회로이다.2 is a configuration diagram of a memory sharing circuit of a multiprocessor by time division according to the present invention, and stores a data accessed from an external module and an external subscriber, and a memory sharing circuit for transmitting data controlled by a processor's CPU to an external module. to be.

이하 제2도를 참조하여 본 고안의 동작을 상세히 설명한다.Hereinafter, the operation of the present invention will be described in detail with reference to FIG. 2.

주기억 장치에 저장된 프로그램의 수행을 교대로 하기 위하여 프로그램들사이의 스위칭이 필요하며 클럭이 이 스위칭을 제어하게 된다.In order to alternate the performance of the programs stored in the main memory, switching between the programs is required and the clock controls this switching.

제2도에서 클럭발생부(10)에서 시분할된 여러 주기의 클럭을 발생시켜 메모리의 어드레스(20)를 시간적으로 할당하며, 어드레스 제어부(20)에서는 이러한 메도리의 어드레스 주기를 다시 시분할하여 카운터 클럭과 MCPU(60)로부터 어드레스 래치부(30)로 공급되는 MCPU어드레스 및 SCPU(60)로부터 어드레스 래치부(30)로 공급되는 SCPU어드레스를 제어해준다. 어드레스 래치부(30)에서는 메모리(50)를 액세스하는 신호를 래치하기 위하여 상기의 어드레스 제어부(20)로부터 제어되는 카운터 클럭과 MCPU(60)로부터 공급되는 MCPU어드레스 및 SCPU(60')로부터 공급되는 SCPU어드레스를 래치한다. MCPU(60)에서는 CPU가 메모리를 액세스할때 다른 CPU의 메모리 액세스를 막기 위하여 시분할에 의하여 어드레스를 제어할뿐 아니라 CPU메모리의 임의의 어드레스에 플래그(flag)레지스터를 할당한다. 외부 모듈로부터 메모리에 액세스하는 데이타가 있으면 상기의 클럭이 프로세서의 MCPU(60 및 SCPU(60')에 인터럽트를 걸어 외부모듈로부터 입력된 데이타를 시분할하여 처리하게 된다.In FIG. 2, the clock generator 10 generates a clock of several periods that are time-divided to allocate an address 20 of the memory in time, and the address controller 20 time-divides the address period of the memory again to counter clock. And the MCPU address supplied from the MCPU 60 to the address latch unit 30 and the SCPU address supplied from the SCPU 60 to the address latch unit 30. The address latch unit 30 is supplied from the counter clock controlled by the address control unit 20 and the MCPU address supplied from the MCPU 60 and the SCPU 60 'to latch a signal for accessing the memory 50. Latch the SCPU address. The MCPU 60 not only controls the address by time division when the CPU accesses the memory but also assigns a flag register to an arbitrary address of the CPU memory in order to prevent memory access by another CPU. If there is data accessing the memory from an external module, the clock interrupts the MCPU 60 and SCPU 60 'of the processor to time-division and process the data input from the external module.

상기의 MCPU(60) 및 SCPU(60')의 어드레스는 메모리(50)에 액세스 되는 어드레스를 다시 시분할한 것이므로 메모리(50)로부터 데이타를 판독 및 기록하지 못한 경우가 발생하면 시분할 명령 모드에서 대기(wait)상태로 전환되어 상기의 데이타를 다음 시간대에 판독 및 기록할 수 있게 된다.Since the addresses of the MCPU 60 and the SCPU 60 'are time-divisions of the addresses accessed to the memory 50 again, if a case in which data cannot be read and written from the memory 50 occurs, the device waits in the time-division command mode ( transition to the wait) state so that the above data can be read and written in the next time slot.

버퍼(70)에서는 외부 모듈로부터 액세스 되는 데이타를 임시저장하여 프로세서의 MCPU(60), SCPU(60'), 메모리(50)와 데이타를 주고 받게 되며, PAL로직(Programmable Array Logic : 40)에서는 상기의 버퍼(70)와 메모리(50)를 제어하여 MCPU(60)와 SCPU(60')가 메모리를 액세스할 수 있도록 하였다.The buffer 70 temporarily stores data accessed from an external module to exchange data with the MCPU 60, SCPU 60 ', and memory 50 of the processor, and the PAL logic (Programmable Array Logic: 40). The buffer 70 and the memory 50 are controlled to allow the MCPU 60 and the SCPU 60 'to access the memory.

상술한 바와같이 본 고안의 다중 프로세서의 메모리 공유회로에서는 메모리를 액세스하는 어드레스를 시간적으로 배분시켜 메모리에 데이타를 저장하게 하고 외부 모듈로부터 메모리에 액세스하는 데이타도 프로세서 내부에서 클럭에 의하여 MCPU 및 SCPU에 인터럽트를 걸어주어 외부 데이타를 시분할시켜 처리하여 줌으로써 프로세서의 메모리 회로에 저장된 프로그램을 순차적으로 실행시킬 수 있고 종래의 하드웨어 메모리 회로에 비해 간단하게 회로를 구성함으로써 하드웨어 설계를 집적화 시킬 수 있다.As described above, in the memory sharing circuit of the multiprocessor of the present invention, the addresses for accessing the memory are distributed in time to store the data in the memory, and the data accessing the memory from the external module is also internally clocked to the MCPU and SCPU by the clock. By interrupting and processing the external data by time-interrupting, the program stored in the memory circuit of the processor can be executed sequentially and the hardware design can be integrated by simply constructing the circuit as compared with the conventional hardware memory circuit.

Claims (1)

시분할에 의한 다중프로세서의 메모리 공유회로에 있어서, 메모리를 액세스할시 임의의 어드레스에 플레스(flag)레지스터를 할당하여 액세스하는 어드레스를 시분할에 의한 제어하는 MCPU(60)와, 가입자와의 데이타 전송을 제어하는 SCPU(60')와, 시분할되어 각각 다른 주기를 갖는 클럭을 발생하여 어드레스제어부(20)및 인터럽터부(80)에 인가하는 클럭 발생부(10)와, 상기 클럭발생부(10)에서 공되도는 시분할된 클럭으로 메모리에 액세스하기 위한 어드레스를 제어하는 어드레스 제어부(20)와, 상기 어드레스 제어부(20)로부터 공급되는 카운터 클럭과가 상기 MCPU(60) 및 SCPU(60')로부터 CPU버스로 공급되는 어드레스를 래치하는 어드레스 래치부(30)와, 외부 모듈 및 가입자로부터 액세스되는 데이타를 저장하는 메모리(50)와, 시스템으로 입력되는 외부 테이타를 일시적으로 저장하여 완충시키는 버퍼(70)와, 상기의 메모리(50)와 상기 버퍼(70)를 제어하여 외부 모듈로부터 상기 MCPU(60) 및 SCPU(60')로 전송되는 데이타를 제어하는 PAL로직(40)과, 외부모듈로부터 프로세서에 데이타가 액세스되면 상기의 클럭 발생부(10)로부터 상기의 MCPU(60) 및 SCPU(60')에 인터럽트를 걸어주는 인터럽트부(80)를 구비하는 것을 특징으로 하는 시분할에 의한 다중프로세서의 메모리공유회로.In a memory-sharing circuit of a multiprocessor by time division, an MCPU 60 for time-division controlling an address to be accessed by allocating a flag register to an arbitrary address when the memory is accessed, and data transfer with a subscriber SCPU (60 ') for controlling the time, the clock generation unit 10 for generating a clock having a different period of time-division is applied to the address control unit 20 and the interrupter 80, and the clock generator 10 An address control unit 20 for controlling an address for accessing a memory with a time-divisioned clock provided by the CPU, and a counter clock unit supplied from the address control unit 20 are provided from the CPU and the CPU 60. An address latch unit 30 for latching an address supplied to a bus, a memory 50 for storing data accessed from an external module and a subscriber, and external data input to a system PAL logic to control the data transmitted from the external module to the MCPU 60 and the SCPU 60 'by controlling the buffer 70 to buffer and store the buffer in a timely manner, and the memory 50 and the buffer 70. 40 and an interrupt unit 80 for interrupting the MCPU 60 and SCPU 60 'from the clock generator 10 when data is accessed from the external module to the processor. Memory-sharing circuit of multiple processors by time division.
KR2019910016452U 1991-10-07 1991-10-07 A circuit for shared memory of multiprocessor system using time division processing KR950009411Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019910016452U KR950009411Y1 (en) 1991-10-07 1991-10-07 A circuit for shared memory of multiprocessor system using time division processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019910016452U KR950009411Y1 (en) 1991-10-07 1991-10-07 A circuit for shared memory of multiprocessor system using time division processing

Publications (2)

Publication Number Publication Date
KR930009447U KR930009447U (en) 1993-05-26
KR950009411Y1 true KR950009411Y1 (en) 1995-10-25

Family

ID=19320187

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019910016452U KR950009411Y1 (en) 1991-10-07 1991-10-07 A circuit for shared memory of multiprocessor system using time division processing

Country Status (1)

Country Link
KR (1) KR950009411Y1 (en)

Also Published As

Publication number Publication date
KR930009447U (en) 1993-05-26

Similar Documents

Publication Publication Date Title
US4698753A (en) Multiprocessor interface device
US5968150A (en) Processor element having a plurality of CPUs for use in a multiple processor system
JP3776449B2 (en) Multitasking low power controller
KR930008771B1 (en) Ic incoporating processor and memory
KR970029121A (en) Memory Data Path Control System in Parallel Processing Computer System
US5765195A (en) Method for distributing interprocessor interrupt requests via cache memory coherency mechanisms
US5727179A (en) Memory access method using intermediate addresses
KR950009411Y1 (en) A circuit for shared memory of multiprocessor system using time division processing
JP2618223B2 (en) Single chip microcomputer
KR970006412B1 (en) Multiprocessor memory control device
JPH04104358A (en) Micro computer device
JP4227789B2 (en) Integrated circuit device and data processing system
JPS63310060A (en) Multiprocessor system
GB2233480A (en) Multiprocessor data processing system
WO1988010468A1 (en) Multiply-installable, multi-processor board for personal computer and workstation expansion buses
SU1683039A1 (en) Device for data processing for multiprocessor system
JP2533162B2 (en) Multiprocessor system
JP4642398B2 (en) Shared bus arbitration system
KR940005776B1 (en) Multi-cache controller in tolerant system
JPH04205237A (en) Memory access system
KR0171759B1 (en) System control and i/o processor of multi-processor computer system
JPH03252856A (en) Processing system for program
KR19990080204A (en) Microprocessor
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPH11345221A (en) Multiprocessor system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20000428

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee