KR20030009812A - Apparatus and method for controlling DPRAM - Google Patents

Apparatus and method for controlling DPRAM Download PDF

Info

Publication number
KR20030009812A
KR20030009812A KR1020010044446A KR20010044446A KR20030009812A KR 20030009812 A KR20030009812 A KR 20030009812A KR 1020010044446 A KR1020010044446 A KR 1020010044446A KR 20010044446 A KR20010044446 A KR 20010044446A KR 20030009812 A KR20030009812 A KR 20030009812A
Authority
KR
South Korea
Prior art keywords
dpram
processors
address
access
control unit
Prior art date
Application number
KR1020010044446A
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 KR1020010044446A priority Critical patent/KR20030009812A/en
Publication of KR20030009812A publication Critical patent/KR20030009812A/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Static Random-Access Memory (AREA)

Abstract

PURPOSE: A device for controlling a DPRAM(Dual Port Random Access Memory) and a method thereof are provided to detect and prevent an error which may be generated when the same addresses are accessed by two processors in accessing a DPRAM. CONSTITUTION: A DPRAM(60) is connected to a plurality of processors(30,40), transmits/receives data and an address, receives a control signal from a control unit(50), and receives a control of an access operation. The control unit(50) transmits/receives an address signal and a control signal from the processors(30,40). When the processors(30,40) access the external DPRAM(60), if the processors(30,40) access the same address, respectively, the control unit(50) detects the same accessing operations and controls an access of the DPRAM(60) for making the processors(30,40) additionally perform reading/writing operations with respect to the DPRAM(60). The processors(30,40) transmit/receive an address control signal to the control unit(50) and transmit/receive data/address to the DPRAM(60) located in the exterior of the control unit(50).

Description

공통 입출력 램의 제어 장치 및 그 방법{Apparatus and method for controlling DPRAM}Apparatus and method for controlling DPRAM of common input / output RAM

본 발명은 공통 입출력 램(Dual Port Random Access Memory, DPRAM)의 제어 장치 및 그 방법에 관한 것으로, 특히 DPRAM의 액세스 시에 2개의 프로세서에서 같은 어드레스를 액세스할 때 발생할 수 있는 에러를 검출하여 방지하기에 적당하도록 한 공통 입출력 램의 제어 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a control apparatus of a common input / output RAM (DPRAM) and a method thereof, and more particularly, to detect and prevent errors that may occur when two processors access the same address when the DPRAM is accessed. The present invention relates to a control device for a common input / output RAM and a method thereof.

일반적으로 공통 입출력 램(DPRAM)은 하나의 램(RAM)을 2계통에서 접근할 수 있는 구조의 램이다. 그래서 병렬 입출력을 2계통을 갖는 것과 병렬 입출력과 직렬 입출력을 1계통씩 갖는 것으로 대별된다. 후자는 화상 기억 장치로서 이용되고 있다.In general, a common input / output RAM (DPRAM) is a RAM having a structure in which one RAM can be accessed from two systems. Therefore, it is roughly classified into two systems having parallel input / output and one system having parallel input / output and serial input / output. The latter is used as an image memory device.

그리고 DPRAM을 액세스할 때 2개의 프로세서에서 같은 어드레스를 액세스하게 되면, 잘못된 데이터가 읽어지거나 쓰여질 수 있다.And when accessing the same address from two processors when accessing DPRAM, bad data can be read or written.

이런 상황이 빈번하게 발생하지는 않지만, 만약 발생할 경우에 각 프로세서는 이를 알지 못하고, 어떤 경우에는 치명적인 에러가 발생할 수도 있게 된다.This situation does not occur frequently, but if it does, then each processor will not know, and in some cases a fatal error may occur.

종래에는 DPRAM을 사용함에 있어서, 상용 DPRAM에 프로세서를 직접 연결하여 사용하는 경우와 FPGA(Field Programmable Gate Array, 필드 프로그래머블 게이트 어레이)의 내부에 DPRAM을 구현하는 경우가 있었다.Conventionally, in the case of using DPRAM, there have been cases in which a processor is directly connected to a commercial DPRAM and a DPRAM is implemented in a field programmable gate array (FPGA).

도 1은 종래 공통 입출력 램의 블록구성도로써, 프로세서에 직접 연결될 수있는 DPRAM의 블록구성을 보인 것이다.1 is a block diagram of a conventional common input / output RAM, showing a block configuration of a DPRAM that can be directly connected to a processor.

이는 IDT 사의 IDT7130S/L 모델인데, 여기서 참조번호 11은 조정 및 인터럽트부(Arbitration and interrupt logic)이고, 12는 메모리 배열부(Memory array)이며, 13 및 14는 제 1 및 제 2 어드레스 디코더(Address decoder)이며, 15 및 16은 제 1 및 제 2 I/O 제어부(Control)이다.This is the IDT7130S / L model from IDT Inc., where reference numeral 11 is an arbitration and interrupt logic, 12 is a memory array, and 13 and 14 are first and second address decoders. 15 and 16 are first and second I / O control units.

또한 여기서는 다음과 같은 핀들이 존재한다.Also here are the pins:

OE#, CE#, R/W#, I/O(7:0), BUSY#, A(9:0), INT#OE #, CE #, R / W #, I / O (7: 0), BUSY #, A (9: 0), INT #

그래서 양쪽 포트의 어드레스와 CE#를 감시하는 로직인 제 1 및 제 2 제어부(15)(16)가 있다. 만약 양쪽의 CE# 모두 액티브(Active)이면서 어드레스가 같은 경우가 발생하게 되면, 이 때 BUSY# 신호를 액티브 시킨다. 이때는 쓰기 어드레스(Write Address)는 금지된다. 즉, 어느 한 쪽이 이러한 상황을 해제하기 전까지 양쪽은 모두 해당 주소에 쓰기(Write)를 할 수 없고, 단지 읽기 액세스(Read Access)만이 가능하다.Thus, there are first and second controllers 15 and 16, which are logic to monitor the addresses and CE # of both ports. If both CE # s are active and have the same address, the BUSY # signal is activated at this time. At this time, the write address is prohibited. In other words, neither side can write to the address until either side clears this situation, and only read access is possible.

이러한 IDT 사의 IDT7130S/L 모델은 대표적인 DPRAM이라고 할 수 있는데, 이 경우 자체적인 검증회로인 제 1 및 제 2 제어부(15)(16)에 의해서 busy# 핀을 통해 어드레스와 매칭이 발생했음을 알려주는 기능을 가지고 있다. 이때 에러가 발생하는 것을 막을 수 있지만, 이는 단순히 어느 한 쪽의 액세스를 늦추어서 이를 방지하는 것이다.The IDT7130S / L model of IDT is a representative DPRAM. In this case, the first and second controllers 15 and 16, which are independent verification circuits, inform the user that the address and the matching have occurred through the busy # pin. Have This can prevent errors from happening, but it simply prevents this by slowing down either access.

이 경우 DPRAM의 안정적인 동작은 보장된다.In this case, stable operation of the DPRAM is guaranteed.

그러나 이러한 종래의 DPRAM은 어드레스 매칭이 발생할 경우 단순히 어느 한쪽의 액세스를 늦추어서 이를 방지하기 때문에 필연적으로 시간지연이 발생하게 되는 문제점이 있었다.However, such a conventional DPRAM has a problem that a time delay is inevitably generated since address matching simply prevents it by delaying one of the accesses.

이렇게 BUSY 핀을 이용하는 경우 두 개의 프로세서에서 동시에 액세스가 발생했을 시에 이를 처리하기 위해서는 느린 쪽의 프로세서에서의 액세스가 끝날 때까지 다른 빠른 프로세서는 액세스가 지연되게 되고, 이 지연되는 대기 시간 만큼을 모든 DPRAM 액세스 시에 항상 보장해주어야만 하는 문제점이 있었다.In the case of using the BUSY pin, when two processors access simultaneously, the other fast processor delays the access until the access from the slower processor is completed. There was a problem that must always be guaranteed when accessing DPRAM.

이 경우 저속의 프로세서들 간에서는 별로 문제가 되지 않으나, 프로세서가 고속화될수록 문제가 크게 발생하며, 만약 DPRAM을 사용하는 두 개의 프로세서 간의 속도 차이가 커지게 되면, 여기서 발생하는 프로세서 자원의 손실은 매우 증가하게 되는 문제점이 있게 된다.In this case, it is not a problem between low speed processors, but as the speed of the processor increases, a problem occurs. If the speed difference between the two processors using the DPRAM becomes large, the loss of processor resources caused here increases greatly. There is a problem.

한편 도 2는 종래 FPGA 내부에 구현된 공통 입출력 램의 도면으로써, FPGA 내부에 DPRAM을 구현한 경우를 보인 것이다.Meanwhile, FIG. 2 is a diagram of a common input / output RAM implemented in a conventional FPGA, and illustrates a case in which DPRAM is implemented in an FPGA.

여기서 참조번호 21은 FPGA 내부에 구현된 DPRAM인 블록램(BlockRam)으로써, 이는 Xilinx 사의 FPGA Spartan2의 내부 블록램의 예를 보인 것이다.Here, reference numeral 21 denotes BlockRam, which is a DPRAM implemented in the FPGA, and shows an example of the internal block RAM of Xilinx FPGA Spartan2.

이에는 다음의 핀들이 존재한다.There are the following pins.

ADDR(m:0), DI(n:0), WE, EN, RST, CLK, DO(n:0)ADDR (m: 0), DI (n: 0), WE, EN, RST, CLK, DO (n: 0)

이 경우도 DPRAM이라면 한 쌍이 존재한다.In this case too, there is a pair of DPRAM.

이 블록램을 DPRAM으로 사용하는 경우에는 다른 제어 로직이 없이 단순히 어드레스/데이터와 칩 선택 신호(Chip Select, CS) 등의 신호만이 존재한다.When using this block RAM as a DPRAM, only signals such as address / data and chip select signals (CS) exist without any other control logic.

그러나 이러한 종래의 FPGA 내부에 구현된 블록램은 프로세서들이 액세스를수행할 때 동일한 어드레스를 읽을 때 발생하는 에러를 보정할 수 있는 보정회로에 대한 로직이 전무한 단점이 있었다. 즉, 단순한 DPRAM의 기능만을 제공할 뿐이고, 어드레스 일치에 의한 에러발생 자체에 대해 해결할 수 있는 어떠한 회로도 가지고 있지 못한 문제점이 있었다.However, the block RAM implemented in the conventional FPGA has a disadvantage in that there is no logic for a correction circuit capable of correcting an error that occurs when a processor reads the same address when performing an access. That is, there is a problem in that it provides only a function of a simple DPRAM and does not have any circuit which can solve the error occurrence itself by address matching.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은 DPRAM의 액세스 시에 2개의 프로세서에서 같은 어드레스를 액세스할 때 발생할 수 있는 에러를 검출하여 방지할 수 있는 공통 입출력 램의 제어 장치 및 그 방법을 제공하는 데 있다.Accordingly, the present invention has been proposed to solve the conventional problems as described above, and an object of the present invention is to detect and prevent an error that may occur when two processors access the same address when the DPRAM is accessed. The present invention provides a control device for a common input / output RAM and a method thereof.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 공통 입출력 램의 제어 장치는,In order to achieve the above object, a control device of a common input / output RAM according to an embodiment of the present invention,

복수개의 프로세서와 연결되어 데이터와 어드레스를 송/수신하고, 제어부로부터 제어 신호를 입력받아 액세스 동작을 제어받는 DPRAM와; 상기 복수개의 프로세서로부터 어드레스 신호와 제어 신호를 송/수신하고, 상기 복수개의 프로세서가 외부의 상기 DPRAM을 액세스할 때 동일한 어드레스를 액세스하면 이를 검출하여 상기 복수개의 프로세서가 상기 DPRAM에 대한 읽기/쓰기 동작을 별도로 수행하도록 상기 DPRAM의 액세스를 제어하는 제어부와; 상기 제어부와 어드레스/제어 신호를 송/수신하고, 상기 제어부의 외부에 있는 상기 DPRAM과 데이터/어드레스를 송/수신하는 복수개의 프로세서를 포함하여 이루어짐을 그 기술적 구성상의 특징으로 한다.A DPRAM connected to a plurality of processors to transmit / receive data and addresses, and receive a control signal from a controller to control an access operation; Sending / receiving an address signal and a control signal from the plurality of processors, detecting when the plurality of processors access the same address when accessing the external DPRAM so that the plurality of processors read / write the DPRAM. A control unit controlling access of the DPRAM to separately perform the operation; The technical configuration is characterized by including a plurality of processors for transmitting and receiving the control unit and the address / control signal, and the transmission / reception of the DPRAM and data / address outside the control unit.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 공통 입출력 램의 제어 방법은,In order to achieve the above object, a control method of a common input / output RAM according to an embodiment of the present invention,

복수개의 프로세서에서 DPRAM을 액세스할 때 액세스의 충돌이 발생하는 지를 판단할 수 있도록 미리 설정한 조건과 맞는 상황이 발생하는 지 판별하는 제 1 단계와; 상기 미리 설정한 조건과 맞는 상황이 발생하면, 하나의 프로세서는 쓰기 동작을 수행하도록 하고 다른 프로세서는 읽기 동작을 수행하도록 하는 제 2 단계를 포함하여 수행함을 그 기술적 구성상의 특징으로 한다.A first step of determining whether a situation that meets a preset condition occurs so as to determine whether an access collision occurs when accessing the DPRAM in a plurality of processors; The technical configuration may include performing a second step of causing one processor to perform a write operation and another processor to perform a read operation when a situation that meets the preset condition occurs.

도 1은 종래 공통 입출력 램의 블록구성도이고,1 is a block diagram of a conventional common input / output RAM;

도 2는 종래 FPGA 내부에 구현된 공통 입출력 램의 도면이며,2 is a diagram of a common input / output RAM implemented in a conventional FPGA.

도 3은 본 발명의 일실시예에 의한 공통 입출력 램을 외부에서 사용하는 경우의 공통 입출력 램의 제어 장치의 블록구성도이고,3 is a block diagram of a control device of a common input / output RAM in the case of using the common input / output RAM externally according to an embodiment of the present invention;

도 4는 본 발명의 일실시예에 의한 공통 입출력 램을 내부에서 사용하는 경우의 공통 입출력 램의 제어 장치의 블록구성도이며,4 is a block diagram of a control device of a common input / output RAM in the case of using the common input / output RAM in accordance with an embodiment of the present invention.

도 5는 도 4에서 콘트롤러가 추가된 상세블록도이고,5 is a detailed block diagram of adding a controller in FIG.

도 6은 본 발명의 일실시예에 의한 모드에 의해 공통 입출력 램을 제어하는 방법을 보인 블록구성도이며,6 is a block diagram illustrating a method of controlling a common input / output RAM in a mode according to an embodiment of the present invention.

도 7은 본 발명의 일실시예에 의한 저장테이블에 의해 공통 입출력 램을 제어하는 방법을 보인 블록구성도이고,7 is a block diagram illustrating a method of controlling a common input / output RAM by a storage table according to an embodiment of the present invention.

도 8은 도 7에 사용되는 테이블의 구성예를 보인 표이다.FIG. 8 is a table showing an example of the configuration of a table used in FIG. 7.

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

30 : 제 1 프로세서 40 : 제 2 프로세서30: first processor 40: second processor

50 : 제어부 60 : DPRAM50: control unit 60: DPRAM

70 : 콘트롤러70: controller

이하, 상기와 같이 구성된 본 발명, 공통 입출력 램의 제어 장치 및 그 방법의 기술적 사상에 따른 일실시예를 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention configured as described above, a control apparatus of a common input / output RAM, and a method thereof will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 일실시예에 의한 공통 입출력 램을 외부에서 사용하는 경우의 공통 입출력 램의 제어 장치의 블록구성도이다.FIG. 3 is a block diagram of a control device of a common input / output ram when the common input / output ram is externally used according to an embodiment of the present invention.

이에 도시된 바와 같이, 복수개의 프로세서(30)(40)와 연결되어 데이터와 어드레스를 송/수신하고, 제어부(50)로부터 제어 신호를 입력받아 액세스 동작을 제어받는 DPRAM(60)와; 상기 복수개의 프로세서(30)(40)로부터 어드레스 신호와 제어 신호를 송/수신하고, 상기 복수개의 프로세서(30)(40)가 외부의 상기 DPRAM(60)을 액세스할 때 동일한 어드레스를 액세스하면 이를 검출하여 상기 복수개의 프로세서(30)(40)가 상기 DPRAM(60)에 대한 읽기/쓰기 동작을 별도로 수행하도록 상기 DPRAM(60)의 액세스를 제어하는 제어부(50)와; 상기 제어부(50)와 어드레스/제어 신호를 송/수신하고, 상기 제어부(50)의 외부에 있는 상기 DPRAM(60)과 데이터/어드레스를 송/수신하는 복수개의 프로세서(30)(40)를 포함하여 구성된다.As shown therein, a DPRAM 60 is connected to the plurality of processors 30 and 40 to transmit / receive data and addresses, and receives a control signal from the controller 50 to control an access operation; Sending / receiving an address signal and a control signal from the plurality of processors 30 and 40, and accessing the same address when the plurality of processors 30 and 40 access the external DPRAM 60. A control unit (50) for detecting and controlling access of the DPRAM (60) so that the plurality of processors (30) (40) separately perform read / write operations to the DPRAM (60); And a plurality of processors 30 and 40 which transmit / receive an address / control signal with the controller 50 and transmit / receive data / address with the DPRAM 60 outside of the controller 50. It is configured by.

도 4는 본 발명의 일실시예에 의한 공통 입출력 램을 내부에서 사용하는 경우의 공통 입출력 램의 제어 장치의 블록구성도이다.4 is a block diagram of a control device of a common input / output RAM in the case of using the common input / output RAM in accordance with an embodiment of the present invention.

이에 도시된 바와 같이, 복수개의 프로세서(30)(40)와 연결되어 데이터와 어드레스를 송/수신하고 제어부(50)로부터 제어 신호를 입력받아 액세스 동작을 제어받는 DPRAM(60)을 내부에 구비하고, 상기 복수개의 프로세서(30)(40)로부터 어드레스 신호와 제어 신호를 송/수신하며, 상기 복수개의 프로세서(30)(40)가 내부의 상기 DPRAM(60)을 액세스할 때 동일한 어드레스를 액세스하면 이를 검출하여 상기 복수개의 프로세서(30)(40)가 상기 DPRAM(60)에 대한 읽기/쓰기 동작을 별도로 수행하도록 상기 DPRAM(60)의 액세스를 제어하는 제어부(50)와; 상기 제어부(50)와 어드레스/제어 신호를 송/수신하고, 상기 제어부(50)의 내부에 있는 상기 DPRAM(60)과 데이터/어드레스를 송/수신하는 복수개의 프로세서(30)(40)를 포함하여 구성된다.As shown in the drawing, a plurality of processors 30 and 40 are connected to transmit / receive data and addresses, receive a control signal from the controller 50, and include a DPRAM 60 to control an access operation therein. And transmit / receive an address signal and a control signal from the plurality of processors 30 and 40, and access the same address when the plurality of processors 30 and 40 access the DPRAM 60 therein. A controller (50) which detects this and controls access of the DPRAM (60) so that the plurality of processors (30) (40) separately perform read / write operations on the DPRAM (60); And a plurality of processors 30 and 40 which transmit / receive an address / control signal with the controller 50 and transmit / receive data / address with the DPRAM 60 inside the controller 50. It is configured by.

도 5는 도 4에서 콘트롤러가 추가된 상세블록도이다.FIG. 5 is a detailed block diagram to which a controller is added in FIG. 4.

여기서 참조번호 70은 제어부(50)가 FPGA로 구성될 때 FPGA인 제어부(50) 내에 있는 DPRAM(60)에 대한 액세스 제어를 수행하는 콘트롤러(Controller)이다.Here, reference numeral 70 denotes a controller that performs access control on the DPRAM 60 in the controller 50 which is an FPGA when the controller 50 is configured as an FPGA.

도 6은 본 발명의 일실시예에 의한 모드에 의해 공통 입출력 램을 제어하는 방법을 보인 블록구성도이다.6 is a block diagram illustrating a method of controlling a common input / output RAM in a mode according to an embodiment of the present invention.

이에 도시된 바와 같이, 복수개의 프로세서(30)(40)에서 DPRAM(60)을 액세스할 때 액세스의 충돌이 발생하는 지를 판단할 수 있도록 미리 설정한 조건과 맞는상황이 발생하는 지 판별하는 제 1 단계(ST11)와; 상기 미리 설정한 조건과 맞는 상황이 발생하면, 하나의 프로세서는 쓰기 동작을 수행하도록 하고 다른 프로세서는 읽기 동작을 수행하도록 하는 제 2 단계(ST12 ~ ST16)를 포함하여 수행한다.As shown in FIG. 1, when the DPRAM 60 is accessed by the plurality of processors 30 and 40, a first condition for determining whether a condition that meets a preset condition occurs so as to determine whether an access collision occurs. Step ST11; If a condition that meets the preset condition occurs, one processor includes a second step (ST12 to ST16) to perform a write operation and the other processor to perform a read operation.

상기에서 제 1 단계는, 상기 복수개의 프로세서(30)(40)에서 상기 DPRAM(60)를 액세스할 때 발생시키는 각각의 복수개 어드레스 신호가 일치하는 지를 판단한다.In the first step, it is determined whether the plurality of address signals generated when the plurality of processors 30 and 40 access the DPRAM 60 match.

상기에서 제 1 단계는, 상기 복수개의 프로세서(30)(40)에서 상기 DPRAM(60)를 액세스할 때 발생시키는 각각의 복수개 칩 선택 신호(Chip Select, CS)가 모두 액티브인지를 판단한다.In the first step, it is determined whether each of the plurality of chip select signals (Chip Select, CS) generated when the plurality of processors 30 and 40 access the DPRAM 60 is active.

상기에서 제 1 단계는, 상기 복수개의 프로세서(30)(40)에서 상기 DPRAM(60)를 액세스할 때 발생시키는 각각의 복수개 어드레스 신호가 일치하고, 각각의 복수개 칩 선택 신호(CS)가 모두 액티브인지를 함께 판단한다.In the first step, the plurality of address signals generated when the plurality of processors 30 and 40 access the DPRAM 60 are matched, and each of the plurality of chip select signals CS is active. Judge the awareness together.

도 7은 본 발명의 일실시예에 의한 저장테이블에 의해 공통 입출력 램을 제어하는 방법을 보인 블록구성도이고, 도 8은 도 7에 사용되는 테이블의 구성예를 보인 표이다.FIG. 7 is a block diagram illustrating a method of controlling a common input / output RAM using a storage table according to an embodiment of the present invention, and FIG. 8 is a table illustrating an example of a table used in FIG. 7.

이에 도시된 바와 같이, 복수개의 프로세서(30)(40)에서 DPRAM(60)을 액세스할 때 에러가 발생했는지 판별하는 단계(ST21)와; 상기 에러가 발생하지 않았으면, 정상적인 DPRAM(60) 액세스 동작이 수행되도록 하는 단계(ST22 ~ ST24)와; 상기 에러가 발생했으면, 임시로 어드레스와 데이터를 저장할 수 있는 저장테이블에 한쪽 프로세서에서 상기 DPRAM(60)에 대해 읽기/쓰기를 해야할 어드레스와 데이터를 저장하고 상기 한쪽 프로세서의 DPRAM(60)에 대한 액세스가 끝나면 상기 다른 쪽 프로세서에서 상기 DPRAM(60)에 대한 액세스를 수행하도록 하는 단계(ST25 ~ ST33)를 포함하여 수행한다.As shown therein, a step (ST21) of determining whether an error occurs when the DPRAM 60 is accessed by the plurality of processors 30 and 40; If the error has not occurred, allowing a normal DPRAM (60) access operation to be performed (ST22 to ST24); If the error has occurred, the address and data to be read / write to the DPRAM 60 in one processor are stored in a storage table that can temporarily store the address and data, and the DPRAM 60 of the one processor is accessed. After the process, the other processor performs the step of performing the access to the DPRAM 60 (ST25 to ST33).

이와 같이 구성된 본 발명에 의한 공통 입출력 램의 제어 장치 및 그 방법의 동작을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Referring to the accompanying drawings, the operation of the control device and method of the common input / output RAM according to the present invention configured as described above will be described in detail as follows.

먼저 본 발명은 DPRAM의 액세스 시에 2개의 프로세서에서 같은 어드레스를 액세스할 때 발생할 수 있는 에러를 방지하고자 한다. 이를 방지하는 회로를 PGA(Programmable Gate Array)에 구현할 수 있다.First, the present invention seeks to prevent an error that may occur when two processors access the same address when the DPRAM is accessed. A circuit for preventing this may be implemented in a programmable gate array (PGA).

이를 위해 두 가지의 장치로 구현이 가능하다.To this end, it can be implemented in two devices.

즉, 하나는 DPRAM(60)이 PGA로 구현할 수 있는 제어부(50)의 외부에 존재하는 경우(도 3 참조)이며, 다른 하나는 DPRAM(60)이 PGA로 구현할 수 있는 제어부(50)의 내부에 존재하는 경우(도 4 참조)이다.That is, one is when the DPRAM 60 exists outside the control unit 50 that can be implemented in PGA (see FIG. 3), and the other is inside of the control unit 50 that the DPRAM 60 can implement in PGA. If present in (see Figure 4).

또한 도 5는 도 4에서 콘트롤러가 추가된 상세블록도이다.5 is a detailed block diagram to which a controller is added in FIG. 4.

여기서 제 1 프로세서(30)와 제 2 프로세서(40)는 시스템에서 각 부분을 담당하는 보드이다. 이 둘 사이에 통신의 필요성이 있을 경우 시리얼 통신을 많이 쓰나 DPRAM을 이용해서 통신해야 하는 경우가 있다. 종래에는 따로 구성된 DPRAM을 구성해서 구현했으나, FPGA인 제어부(50)의 내부에 DPRAM(60) 블록을 구현한다.Here, the first processor 30 and the second processor 40 are boards that are responsible for each part of the system. If there is a need for communication between the two, serial communication may be used a lot but communication using DPRAM may be required. Conventionally, a DPRAM configured separately is implemented, but a DPRAM 60 block is implemented inside the controller 50 that is an FPGA.

이를 이용해서 두 보드가 통신을 하는 경우 FPGA를 이용해 내부에 간단한 제어 회로인 콘트롤러(70)를 만들어 주면 좀 더 효율적이고 안전한 회로 구현을 이룰 수 있다.When two boards communicate with each other, the controller 70, which is a simple control circuit, can be used inside the FPGA to achieve a more efficient and safe circuit implementation.

예를 들어 두 개의 MPC860인 제 1 및 제 2 프로세서(30)(40)가 통신을 하는 경우 중간에 FPGA를 이용한 DPRAM(60)을 사용하는 경우에 FPGA 내부에 DPRAM(60)의 동시 액세스를 제한하는 콘트롤러(70)를 사용하는 경우이다.For example, when two MPC860s, the first and second processors 30 and 40, communicate with each other, the DPRAM 60 may be restricted from being accessed inside the FPGA when the DPRAM 60 using the FPGA is used in the middle. This is the case when the controller 70 is used.

이 경우 address, data와 제어신호는 원래 FPGA에 연결이 되어 있는 경우가 많으므로 추가의 핀 설정이 필요없게 된다. 그리고 양쪽의 제어신호와 address를 받아서 이를 분석하여 새로운 제어신호를 생성하여 DPRAM(60)에 입력시켜주는 방식으로 DPRAM(60)에 대한 액세스를 제어하게 된다.In this case, the address, data and control signals are often connected to the FPGA, so no additional pin setting is necessary. Then, the control signal and the address of both sides are analyzed and the new control signal is generated and input to the DPRAM 60 to control access to the DPRAM 60.

또한 본 발명은 두 가지의 방법으로 구현이 가능하다.In addition, the present invention can be implemented in two ways.

1) 각 프로세서가 DPRAM(60)으로부터 TA(Transfer Acknowledgement) 신호를 받은 후에 다음으로 진행하는 경우.1) When each processor receives a TA (Transfer Acknowledgement) signal from DPRAM 60, then proceeds to the next.

2) 각 프로세서가 DPRAM(60)으로부터 TA 신호 없이 한 클럭 주기 후에 다음 수행으로 진행하는 경우.2) each processor proceeds to the next performance after one clock period without TA signal from DPRAM 60.

위의 1)의 경우에 있어서는 TA 신호에 의해 프로세서의 동작을 제어하는 것이 가능하므로, 이를 이용하여 좀 더 간단하게 구현할 수 있다(도 6 참조).In the case of 1) above, since the operation of the processor can be controlled by the TA signal, it can be more simply implemented using this (see FIG. 6).

그래서 각 프로세서로부터의 어드레스 신호가 같고, CS 신호가 액티브한 상태이며, 한쪽에선 읽기 어드레스(Read Address)를 다른 쪽에서는 쓰기 어드레스(Write Address)를 할 때 DPRAM(60)의 CS 신호를 제어부(50)에서 제어하여 실제로의 액세스를 순차적으로 할 수 있게 한다.Therefore, when the address signal from each processor is the same, the CS signal is active, and the read address is read on one side and the write address on the other, the CS signal of the DPRAM 60 is controlled. ) To allow real access sequentially.

이때 두 프로세서(30)(40)의 액세스 클럭이 같은 경우와 어느 한쪽이 빠른 경우의 두 가지 상황이 존재할 수 있는데, 이 두 경우에 대해서도 안정된 동작을보일 수 있게 된다.At this time, there may be two situations in which the access clocks of the two processors 30 and 40 are the same and one of which is fast, and stable operation may be exhibited in both cases.

또한 도 6을 보면, 여기서는 I_mode 핀을 이용하여 읽기(Read)와 쓰기(Write) 동작 중에서 어느 것을 먼저 수행할 것인지를 선택하는 경우를 나타내었다. 만약 두 프로세서(30)(40) 간의 클럭 속도 차이가 크다면 빠른 클럭을 가지는 프로세서의 수행을 먼저 시행하는 것이 대기시간의 측면에서 이득을 볼 수 있다. 이때는 I_mode로 읽기/쓰기를 선택하는 것이 아니라 빠른 클럭의 포토를 항상 1번으로 하던지 2번으로 고정시켜 연결한 다음 충돌 조건의 일치가 발생했을 경우 무조건 빠른 포트의 수행을 실시하게 할 수 있다.In addition, FIG. 6 illustrates a case in which one of a read and a write operation is first selected using the I_mode pin. If the clock speed difference between the two processors 30 and 40 is large, the execution of the processor having the fast clock first may benefit in terms of latency. In this case, instead of selecting read / write as I_mode, the fast clock port is always set to 1 or 2, and then connected, and when a collision condition occurs, a fast port can be performed unconditionally.

여기서 충돌 조건의 일치는 다음의 경우로 상정할 수 있다.In this case, the agreement of the collision conditions can be assumed as follows.

가) Address 1 = Address 2A) Address 1 = Address 2

나) CS1# = CS2# = ActiveB) CS1 # = CS2 # = Active

다) 두 경우 모두 읽기동작이 아닐 때C) In both cases, when it is not read operation

그리고 충돌 조건을 비교해서 두 개의 프로세서에 의한 액세스가 충돌하는지를 비교한다. 충돌하면 액티브(active)이다. 즉, 만약 Address 1과 Address 2가 같아서 같은 어드레스를 동시에 액세스하는데, 2개의 CS1, CS2가 켜지고 RHWL1과 RHWL2가 다른 경우, 즉 하나는 read, 하나는 write인 경우일 때는 2개의 프로세서가 충돌한 경우이다.Then compare the collision conditions to see if the access by the two processors is in conflict. If it crashes, it is active. That is, if Address 1 and Address 2 are the same, and the same address is accessed simultaneously, when two CS1 and CS2 are turned on and RHWL1 and RHWL2 are different, that is, one is read and one is write, two processors collide. to be.

여기서 cnt1과 cnt2가 있는데 이는 각각의 DPRAM의 칩 선택 신호인 CS 신호를 제어하기 위한 시그널이다. 이는 다른 하나의 DPRAM(60)을 액세스하는 프로세서를 대기시키기 위해서 만들었다. 따라서 모드(MODE)의 값에 따라 충돌시 먼저 액세스를 하는 프로세서가 결정되는데, 이 때 액세스를 하는 프로세서 쪽의 CS 신호는 cnt 값이 액티브하게 됨에 따라 액티브되어 액세스를 할 수 있게 된다.Here, cnt1 and cnt2 are signals for controlling the CS signal, which is a chip select signal of each DPRAM. This was made to wait for the processor to access another DPRAM 60. Therefore, the processor that accesses first in case of collision is determined according to the mode value. At this time, the CS signal of the accessing processor becomes active as the cnt value becomes active, thereby allowing access.

그리고 미리 설정한 모드(MODE)의 값을 보고, 만약 MODE의 값이 1이면 read동작을 우선하게 된다. 이 때 cnt1의 값을 0으로 주어서 CS1의 값을 액티브하게 하며, 현재 DPRAM(60)에 대한 액세스 동작이 진행중임을 표시해준다.If the MODE value is 1, the read operation is given priority. At this time, the value of cnt1 is set to 0 to activate the value of CS1, which indicates that an access operation to the DPRAM 60 is currently in progress.

DPRAM(60)을 액세스한 뒤 1 클럭이 진행되면, 이 때 cnt1을 1의 값으로 셋팅하여 한쪽 프로세서에서의 DPRAM(60) 액세스를 마치게 된다. 다음 클럭에도 액세스를 마친 상태로 유지가 되면, 한쪽 프로세서에서의 DPRAM(60)에 대한 액세스 동작이 완전히 끝나게 된다.When one clock advances after the DPRAM 60 is accessed, cnt1 is set to a value of 1 to finish accessing the DPRAM 60 from one processor. When the access to the next clock is maintained, the access operation to the DPRAM 60 in one processor is completely completed.

이러한 동작은 한쪽 프로세서에서 먼저 DPRAM(60)을 액세스하는 경우이다. 만약 MODE값의 선택에 의해 한쪽 프로세서를 기다려야 하는 상황이면, 미리 설정한 충돌 조건은 당연히 만족하지 않게 된다. 다른 프로세서가 액세스하기를 기다리고 있다가 다른 프로세서가 액세스를 하게 된 경우, cnt1에 0의 값을 주어 액티브하게 하며 액세스를 시작한다. 그 뒤에는 액세스의 수행 후 초기상태로 복귀한다.This operation occurs when one processor first accesses the DPRAM 60. If the situation in which one processor is to be waited by the selection of the MODE value, the conflict condition set in advance will not be satisfied. If another processor is waiting for access and another processor is accessing it, cnt1 is given a value of 0 to make it active and start access. After that, it returns to the initial state after performing the access.

여기서 모드(MODE)는 구성자가 우선순위를 두고자 하는 동작이 무엇인가를 결정하는 것이다. MODE가 1로 주어졌을 때, 만약 RHWL1이 1의 값으로 read 동작이면 한쪽 프로세서에서 먼저 동작을 수행한다. 만약 RHWL1의 값이 0이면 한쪽 프로세서는 write 동작이므로 대기하게 된다. 즉 MODE의 값을 1로 주면 read 우선, 0이면 write 우선이 된다.The MODE is where the constructor decides which action to prioritize. When MODE is set to 1, if RHWL1 is a read operation with a value of 1, one processor executes the operation first. If the value of RHWL1 is 0, one processor waits because it is a write operation. In other words, if the value of MODE is 1, it is read first, and if it is 0, it is write first.

한편 위의 2)의 각 프로세서가 DPRAM(60)으로부터 TA 신호 없이 한 클럭 주기 후에 다음 수행으로 진행하는 경우에서 중요한 것은 프로세서가 TA 신호를 받았는지에 상관없이 다음 데이터를 연속해서 보낸다는 것이다(도 7 참조).On the other hand, in the case where each processor of 2) proceeds to the next performance after one clock period without the TA signal from the DPRAM 60, it is important to continuously transmit the next data regardless of whether the processor has received the TA signal (Fig. 7).

이 경우에는 1)과 같은 구현으로는 처리할 수 없다. 이때는 각 어드레스와 데이터의 테이블을 구현하여 처리를 할 수 있다. 즉, 같은 어드레스에 Read와 Write가 동시에 들어왔을 때 Read와 Write 중 어느 것을 먼저 처리할 것인지를 정한다. 이는 사용자가 먼저 정해야 하는 내용이다.In this case, it can't be handled by an implementation like 1). In this case, a table of addresses and data can be implemented to process the data. In other words, when both Read and Write enter the same address, it decides which of Read and Write should be processed first. This is what the user must decide first.

만약 먼저 Read를 하고 Write를 그 후에 하게 된다면, 어드레스-데이터를 임시로 저장하는 저장테이블에 쓰기를 해야할 주소와 데이터를 저장하고, 읽기 액세스가 끝나기를 기다린다. 이 경우 제어부(50)에서 연속적으로 DPRAM(60)을 액세스하게 된다면, 이 연속적인 동작은 모두 저장테이블에 저장해야 한다.If you read first and then write, you save the address and data to be written to the storage table that temporarily stores the address-data, and wait for the read access to complete. In this case, if the control unit 50 continuously accesses the DPRAM 60, all of the continuous operations must be stored in the storage table.

이렇게 저장된 테이블을 가지고 제어부(50)에서 중복되는 어드레스의 읽기 액세스가 끝났음을 감지한 후에 바로 테이블을 처리하는 동작에 들어가게 된다.After the controller 50 detects that the read access of the duplicate address is completed with the stored table, the controller 50 immediately enters an operation of processing the table.

쓰기를 선처리 동작으로 결정하는 경우에도 위와 같은 원리에 의해서 구현할 수 있다.The same principle can be used to determine writing as a preprocessing operation.

도 8은 도 7에 사용되는 테이블의 구성예를 보인 표이다.FIG. 8 is a table showing an example of the configuration of a table used in FIG. 7.

여기서 첫 번째 행은 예를 들기 위한 것이다. 도 8에서와 같은 데이터를 메모리에 고정 비트를 잡아서 테이블화하면 된다. 예를 들어 총 23bit가 필요하다고 할 경우, 32bit 크기의 메모리를 잡아서 저장하고, 이를 임시 저장공간으로 사용한 후에 여기의 값들을 프로세서 액세스가 없는 시기에 DPRAM(60)에 재저장해서 정돈하는 방식으로 사용한다.The first line here is for example. The data as shown in FIG. 8 may be tabulated by holding fixed bits in the memory. For example, if a total of 23 bits is required, the 32-bit memory is captured and used as a temporary storage space, and then the values are re-stored in the DPRAM 60 when the processor is not accessed, and then used. do.

그래서 2)의 경우와 같은 방식의 장점은 1 클럭만에 읽기와 쓰기 동작이 끝나게 되고, 따라서 읽기와 쓰기 동작을 하고자 하는 프로세서가 대기해야 되는 시간이 짧아지게 된다. 반면에 2)와 같은 경우 테이블을 이용해서 해당 데이터와 어드레스를 저장해야 되기 때문에 자원을 점유하게 되며, 이를 구현하기 위한 알고리즘도 1)의 경우와 비교해 복잡해진다. 즉, 2)의 경우에는 자원을 사용하여 빠른 동작을 보장할 수 있는 것이다.Therefore, the advantage of the method as in the case of 2) is that the read and write operations are completed in one clock, and thus the time required for the processor to perform the read and write operations is shortened. On the other hand, in case of 2), the data and address must be stored using a table, thus occupying resources, and the algorithm for implementing this is complicated compared to the case of 1). That is, in the case of 2), fast operation can be guaranteed using resources.

또한 1)의 경우는 읽기/쓰기를 하고자 할 때 어드레스 충돌이 발생하는 경우 무조건 기다리게 한 뒤에 미리 정해진 모드에 따라 Read를 우선할 것이냐 아니면 Write를 우선할 것이냐를 결정한다. 따라서 2)의 경우와 비교해서 대기시간은 길어지지만 대신에 자원은 적게 된다.Also, in case of 1), if there is an address conflict when trying to read / write, wait unconditionally and decide whether to give priority to Read or Write according to a predetermined mode. Therefore, compared to the case 2), the waiting time is longer but resources are less.

이처럼 본 발명은 DPRAM의 액세스 시에 2개의 프로세서에서 같은 어드레스를 액세스할 때 발생할 수 있는 에러를 검출하여 방지하게 되는 것이다.As such, the present invention detects and prevents errors that may occur when two processors access the same address when the DPRAM is accessed.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 즉, 본 발명은 DPRAM 뿐만 아니라 다른 멀티포트(Multiport) 장비에도 적용될 수 있다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. That is, the present invention can be applied not only to DPRAM but also to other multiport equipment. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 공통 입출력 램의 제어 장치 및 그 방법은 DPRAM의 액세스 시에 2개의 프로세서에서 같은 어드레스를 액세스할 때발생할 수 있는 에러를 검출하여 방지할 수 있는 효과가 있게 된다.As described above, the apparatus and method for controlling the common input / output RAM according to the present invention have an effect of detecting and preventing an error that may occur when two processors access the same address when the DPRAM is accessed. .

또한 본 발명은 추가로 PGA의 IO 핀을 할당하지 않고서도 내부의 로직을 구현함으로써 동시 액세스에 따라 발생할 수 있는 에러를 미연에 방지할 수 있는 효과도 있게 된다.In addition, the present invention may implement an internal logic without allocating an IO pin of the PGA, thereby preventing an error that may occur due to simultaneous access.

Claims (7)

복수개의 프로세서와 연결되어 데이터와 어드레스를 송/수신하고, 제어부로부터 제어 신호를 입력받아 액세스 동작을 제어받는 DPRAM와;A DPRAM connected to a plurality of processors to transmit / receive data and addresses, and receive a control signal from a controller to control an access operation; 상기 복수개의 프로세서로부터 어드레스 신호와 제어 신호를 송/수신하고, 상기 복수개의 프로세서가 외부의 상기 DPRAM을 액세스할 때 동일한 어드레스를 액세스하면 이를 검출하여 상기 복수개의 프로세서가 상기 DPRAM에 대한 읽기/쓰기 동작을 별도로 수행하도록 상기 DPRAM의 액세스를 제어하는 제어부와;Sending / receiving an address signal and a control signal from the plurality of processors, detecting when the plurality of processors access the same address when accessing the external DPRAM so that the plurality of processors read / write the DPRAM. A control unit controlling access of the DPRAM to separately perform the operation; 상기 제어부와 어드레스/제어 신호를 송/수신하고, 상기 제어부의 외부에 있는 상기 DPRAM과 데이터/어드레스를 송/수신하는 복수개의 프로세서를 포함하여 구성된 것을 특징으로 하는 공통 입출력 램의 제어 장치.And a plurality of processors for transmitting / receiving the control unit and an address / control signal, and transmitting / receiving the DPRAM and data / addresses outside of the control unit. 복수개의 프로세서와 연결되어 데이터와 어드레스를 송/수신하고 제어부로부터 제어 신호를 입력받아 액세스 동작을 제어받는 DPRAM을 내부에 구비하고, 상기 복수개의 프로세서로부터 어드레스 신호와 제어 신호를 송/수신하며, 상기 복수개의 프로세서가 내부의 상기 DPRAM을 액세스할 때 동일한 어드레스를 액세스하면 이를 검출하여 상기 복수개의 프로세서가 상기 DPRAM에 대한 읽기/쓰기 동작을 별도로 수행하도록 상기 DPRAM의 액세스를 제어하는 제어부와;A DPRAM connected to a plurality of processors to transmit / receive data and addresses, receive a control signal from a controller, and control an access operation therein; transmit / receive an address signal and a control signal from the plurality of processors; A control unit which detects when a plurality of processors access the same address when the plurality of processors access the internal DPRAM, and controls access of the DPRAM so that the plurality of processors separately perform read / write operations to the DPRAM; 상기 제어부와 어드레스/제어 신호를 송/수신하고, 상기 제어부의 내부에 있는 상기 DPRAM과 데이터/어드레스를 송/수신하는 복수개의 프로세서를 포함하여 구성된 것을 특징으로 하는 공통 입출력 램의 제어 장치.And a plurality of processors for transmitting / receiving the control unit and the address / control signal, and transmitting / receiving the DPRAM and data / address inside the control unit. 복수개의 프로세서에서 DPRAM을 액세스할 때 액세스의 충돌이 발생하는 지를 판단할 수 있도록 미리 설정한 조건과 맞는 상황이 발생하는 지 판별하는 제 1 단계와;A first step of determining whether a situation that meets a preset condition occurs so as to determine whether an access collision occurs when accessing the DPRAM in a plurality of processors; 상기 미리 설정한 조건과 맞는 상황이 발생하면, 하나의 프로세서는 쓰기 동작을 수행하도록 하고 다른 프로세서는 읽기 동작을 수행하도록 하는 제 2 단계를 포함하여 수행하는 것을 특징으로 하는 공통 입출력 램의 제어 방법.And a second step of causing one processor to perform a write operation and another processor to perform a read operation when a situation that meets the preset condition occurs. 제 3 항에 있어서, 상기 제 1 단계는,The method of claim 3, wherein the first step, 상기 복수개의 프로세서에서 상기 DPRAM를 액세스할 때 발생시키는 각각의 복수개 어드레스 신호가 일치하는 지를 판단하는 것을 특징으로 하는 공통 입출력 램의 제어 방법.And determining whether each of the plurality of address signals generated when the plurality of processors accesses the DPRAM matches. 제 3 항에 있어서, 상기 제 1 단계는,The method of claim 3, wherein the first step, 상기 복수개의 프로세서에서 상기 DPRAM를 액세스할 때 발생시키는 각각의 복수개 칩 선택 신호가 모두 액티브인지를 판단하는 것을 특징으로 하는 공통 입출력 램의 제어 방법.And determining whether each of the plurality of chip select signals generated when the plurality of processors accesses the DPRAM is active. 제 3 항에 있어서, 상기 제 1 단계는,The method of claim 3, wherein the first step, 상기 복수개의 프로세서에서 상기 DPRAM를 액세스할 때 발생시키는 각각의 복수개 어드레스 신호가 일치하고, 각각의 복수개 칩 선택 신호가 모두 액티브인지를 함께 판단하는 것을 특징으로 하는 공통 입출력 램의 제어 방법.And determining whether each of the plurality of address signals generated when the plurality of processors accesses the DPRAM matches, and whether each of the plurality of chip selection signals is active. 복수개의 프로세서에서 DPRAM을 액세스할 때 에러가 발생했는지 판별하는 단계와;Determining whether an error has occurred when accessing the DPRAM in the plurality of processors; 상기 에러가 발생하지 않았으면, 정상적인 DPRAM 액세스 동작이 수행되도록 하는 단계와;If the error has not occurred, causing a normal DPRAM access operation to be performed; 상기 에러가 발생했으면, 임시로 어드레스와 데이터를 저장할 수 있는 저장테이블에 한쪽 프로세서에서 상기 DPRAM에 대해 읽기/쓰기를 해야할 어드레스와 데이터를 저장하고 상기 한쪽 프로세서의 DPRAM에 대한 액세스가 끝나면 상기 다른 쪽 프로세서에서 상기 DPRAM에 대한 액세스를 수행하도록 하는 단계를 포함하여 수행하는 것을 특징으로 하는 공통 입출력 램의 제어 방법.If the error has occurred, the processor and the processor store the address and data to be read / write with respect to the DPRAM in a storage table that can temporarily store the address and data. And performing access to the DPRAM in a common input / output RAM.
KR1020010044446A 2001-07-24 2001-07-24 Apparatus and method for controlling DPRAM KR20030009812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010044446A KR20030009812A (en) 2001-07-24 2001-07-24 Apparatus and method for controlling DPRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010044446A KR20030009812A (en) 2001-07-24 2001-07-24 Apparatus and method for controlling DPRAM

Publications (1)

Publication Number Publication Date
KR20030009812A true KR20030009812A (en) 2003-02-05

Family

ID=27716340

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010044446A KR20030009812A (en) 2001-07-24 2001-07-24 Apparatus and method for controlling DPRAM

Country Status (1)

Country Link
KR (1) KR20030009812A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050023699A (en) * 2003-09-02 2005-03-10 삼성전자주식회사 Device sharing Method And Appartus in Multiple CPU System
KR100720663B1 (en) * 2005-08-03 2007-05-21 경북대학교 산학협력단 Device for synchronizing with dual port ram and microprocessor using the device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050023699A (en) * 2003-09-02 2005-03-10 삼성전자주식회사 Device sharing Method And Appartus in Multiple CPU System
KR100720663B1 (en) * 2005-08-03 2007-05-21 경북대학교 산학협력단 Device for synchronizing with dual port ram and microprocessor using the device

Similar Documents

Publication Publication Date Title
US7096296B2 (en) Supercharge message exchanger
US6393576B1 (en) Apparatus and method for communication between integrated circuit connected to each other by a single line
EP1769361B1 (en) Method and system for terminating write commands in a hub-based memory system
US5659696A (en) Method and apparatus for determining address location and taking one of two actions depending on the type of read/write data transfer required
NZ245346A (en) Bus interface logic for computer with dual bus architecture
US6223260B1 (en) Multi-bus data processing system in which all data words in high level cache memories have any one of four states and all data words in low level cache memories have any one of three states
JP2007525766A (en) Collision detection in multiport memory systems
EP2062147B1 (en) Method and apparatus for conditional broadcast of barrier operations
US20030070049A1 (en) Memory control method, memory control circuit using the control method, and integrated circuit device with the memory control circuit
KR100377708B1 (en) Semiconductor memory device employing pipeline operation with reduced power consumption
US20030145149A1 (en) External bus controller
US6567321B2 (en) Semiconductor memory device using dedicated command and address strobe signal and associated method
KR100354933B1 (en) Slave Storage Device Access Method and Data Processing System
KR20030009812A (en) Apparatus and method for controlling DPRAM
JPH04278286A (en) Semiconductor memory and method for reading data therefrom
JP3861898B2 (en) Data processing system, array type processor, data processing apparatus, computer program, information storage medium
JP2004127305A (en) Memory controller
JP2522412B2 (en) Communication method between programmable controller and input / output device
CN209784996U (en) control circuit
JPH0652067A (en) Multiport ram check control method
KR20080034313A (en) Dual port memory having access control device, memory system having the same and access control method for dual port memory
KR100720663B1 (en) Device for synchronizing with dual port ram and microprocessor using the device
JP2882202B2 (en) Multi-port access control circuit
JP2023070309A (en) Data transfer apparatus and transfer method for data transfer apparatus
JP4062478B2 (en) Device access method

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination