KR19990076182A - Synchronous dynamic RAM controller device and its connection method - Google Patents

Synchronous dynamic RAM controller device and its connection method Download PDF

Info

Publication number
KR19990076182A
KR19990076182A KR1019980010892A KR19980010892A KR19990076182A KR 19990076182 A KR19990076182 A KR 19990076182A KR 1019980010892 A KR1019980010892 A KR 1019980010892A KR 19980010892 A KR19980010892 A KR 19980010892A KR 19990076182 A KR19990076182 A KR 19990076182A
Authority
KR
South Korea
Prior art keywords
sdram
block
data
processor
write
Prior art date
Application number
KR1019980010892A
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 KR1019980010892A priority Critical patent/KR19990076182A/en
Publication of KR19990076182A publication Critical patent/KR19990076182A/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1416Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights
    • G06F12/1425Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/08Address circuits; Decoders; Word-line control circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Dram (AREA)

Abstract

동기 동적 램 제어기 장치 및 이의 접속 방법에 대하여 개시한다. 본 동기 동적 램 제어기 장치의 바람직한 실시예는, 프로세서로부터의 신호를 받아 조정기 블록으로 SDRAM 읽기/쓰기를 요구하는 신호를 보내는 기능을 가진 n개의 프로세서 접속 블록, 각 프로세서 접속 블록에 연결되어 SDRAM 쓰기 동작동안에 오는 SDRAM에 적을 데이터를 임시적으로 가지고 있는 n개의 쓰기 메모리, n개의 프로세서 접속 블록에서 오는 SDRAM 접속 조정용 신호들을 받아 그 중 하나를 선택하여 SDRAM 접속 블록으로 보내주는 기능을 하는 조정기 블록, 소정 시간마다 SDRAM을 재생시키기 위한 신호를 발생시키는 재생 인터럽트 발생기, 전원이 켜졌을 때 SDRAM에 적어주어야 하는 초기값들을 발생시키는 전원 온 초기화 블록 및 SDRAM에 쓰거나 읽기 위한 신호를 만들어 내고 데이터를 접속시켜주는 SDRAM 접속 블록을 포함한다.Disclosed are a synchronous dynamic RAM controller device and a method of connecting the same. A preferred embodiment of the synchronous dynamic RAM controller device includes n processor access blocks having a function of receiving a signal from a processor and sending a signal requesting SDRAM read / write to a regulator block, each of which is connected to each processor access block to write an SDRAM N write memory that temporarily holds the data to write to the SDRAM, the regulator block that receives the SDRAM access control signals from the n processor access blocks and selects one of them to send to the SDRAM access block, every predetermined time Regeneration interrupt generator that generates a signal to regenerate the SDRAM, a power-on initialization block that generates initial values to be written to the SDRAM when the power is turned on, and an SDRAM connection block that generates data for writing to or reading from the SDRAM and accesses data. It includes.

Description

동기 동적 램 제어기 장치 및 이의 접속 방법Synchronous dynamic RAM controller device and its connection method

본 발명은 동기 동적 램(Synchronous Dynamic Random Access Memory: 이하 SDRAM라 칭한다) 제어기 장치 및 이의 접속 방법에 관한 것으로서, 특히 다수의 프로세서 또는 제어 장치가 하나의 SDRAM에 데이터를 쓰거나 읽고자 하는 경우, 각 제어 장치간의 조정을 하여주고 각 중앙 처리 장치(Central Processing Unit: 이하 CPU라 칭한다) 또는 제어 장치의 조정 기간 동안의 시간 손실을 최소화하기 위한 SDRAM 접속 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a synchronous dynamic random access memory (SDRAM) controller device and a method of connecting the same, particularly when a plurality of processors or controllers want to write or read data in one SDRAM. The present invention relates to an SDRAM access method for performing coordination between devices and minimizing time loss during each central processing unit (hereinafter referred to as CPU) or control device adjustment period.

일반적으로, 보드에 보면 하나의 메모리(10)와 하나의 CPU(12), 그리고 여러 개의 메모리를 억세스하고자 하는 프로세서(14, 16)들이 있다. 이러한 경우 연결도를 보면 도 1 과 같이 CPU의 로컬 버스(local bus)를 서로 공유하고 메모리를 억세스하고자 하는 프로세서들은 CPU에 버스 요구 신호(bus request signals)를 보냄으로써 메모리를 억세스하고자 한다는 것을 CPU에 알려주고, CPU는 이 신호를 받아 조정을 한 후 버스를 사용해도 좋다는 신호를 버스 요구 신호를 보낸 프로세서에 전송함으로써 그 프로세서가 CPU 로컬 버스를 이용하여 메모리에 쓰거나 메모리로부터 데이터를 읽는 일을 수행한다.Generally, there are one memory 10, one CPU 12, and processors 14 and 16 that want to access several memories. In this case, as shown in the connection diagram, processors that share CPU local buses and access memory as shown in FIG. 1 indicate that they want to access memory by sending bus request signals to the CPU. In addition, the CPU takes this signal, adjusts it, and sends a signal to the processor that sent the bus request signal to the processor that sent the bus request signal so that the processor can use the CPU local bus to write to or read data from the memory.

이러한 경우 CPU가 모든 조정기능을 수행하여야 하고, 프로세서가 메모리를 억세스하기 위하여 로컬 버스를 사용하고 있는 중에는 CPU가 로컬 버스를 이용한 다른 일(즉, 도 1 에서 보이는 메모리 억세스를 제외한 다른 메모리 억세스 등)을 하지 못하게 됨으로써 CPU의 사용 효율을 떨어뜨릴 수 있다.In this case, the CPU must perform all the adjustments, and while the processor is using the local bus to access the memory, the CPU uses the local bus to do something else (that is, access to memory other than the memory access shown in Figure 1). By not doing so, the CPU's efficiency can be reduced.

또한 메모리를 억세스하는데 있어서 다양한 우선 순위가 요구될 수도 있는데, 이러한 경우에 CPU내에 조정기가 있다면 다양한 우선 순위를 지원하는 것이 불가능하다는 문제점이 발생한다.In addition, various priorities may be required to access the memory. In this case, if there is a coordinator in the CPU, it is impossible to support various priorities.

따라서, 본 발명은 상기된 바와 같은 문제점을 해결하기 위하여 창안된 것으로, 다수의 프로세서 또는 제어 장치를 하나의 SDRAM에 접속시키기 위하여 프로세서 또는 제어 장치의 접속 순위를 조정하고, 조정하는 시간을 최소화하기 위한 SDRAM 제어기 및 이의 접속방법을 제공하는 것을 목적으로 한다.Accordingly, the present invention was devised to solve the above problems, and to minimize the time to adjust and adjust the connection order of processors or control devices in order to connect a plurality of processors or control devices to one SDRAM. An object of the present invention is to provide an SDRAM controller and a connection method thereof.

또한, 다양한 우선순위를 제공할 수 있고, CPU의 조정기 기능을 CPU밖에 둠으로써 CPU의 부하를 줄일 있으며, 다른 프로세서들이 SDRAM을 억세스하는 동안에도 CPU의 로컬 버스를 완전히 분리하여 독립적으로 동작할 수 있도록 하는 SDRAM 제어기 및 이의 접속방법을 제공하는 것을 목적으로 한다.It can also provide a variety of priorities, reduce CPU load by leaving the CPU's regulator function outside of the CPU, and allow independent processing of the CPU's local bus completely independent while other processors access SDRAM. An object of the present invention is to provide an SDRAM controller and a connection method thereof.

본 발명의 다른 목적과 장점은 아래의 발명의 상세한 설명을 읽고 아래의 도면을 참조하면 보다 명백해질 것이다.Other objects and advantages of the present invention will become more apparent from the following detailed description of the invention and the accompanying drawings.

도 1 은 본 발명에 적용되는 제어를 위한 보드.1 is a board for control applied in the present invention.

도 2 는 본 발명에 따른 SDRAM 제어기 구조를 나타내는 도면.2 illustrates an SDRAM controller structure in accordance with the present invention.

도 3 은 본 발명에 따른 조정기 블록에서 SDRAM 접속을 위한 중재 기능에 대한 흐름도.3 is a flow chart for the arbitration function for SDRAM connection in a regulator block in accordance with the present invention.

상기와 같은 목적을 달성하기 위하여 창안된 본 발명에 따른 SDRAM 제어기 장치의 바람직한 실시예는,In order to achieve the above object, a preferred embodiment of the SDRAM controller device according to the present invention,

프로세서로부터의 신호를 받아 조정기 블록으로 SDRAM 읽기/쓰기를 요구하는 신호를 보내는 기능을 가진 n개의 프로세서 접속 블록;N processor access blocks having a function of receiving a signal from a processor and sending a signal requesting SDRAM read / write to a regulator block;

각 프로세서 접속 블록에 연결되어 SDRAM 쓰기 동작동안에 오는 SDRAM에 적을 데이터를 임시적으로 가지고 있는 n개의 쓰기 메모리;N write memories connected to each processor access block to temporarily hold data to be written to SDRAM during an SDRAM write operation;

n개의 프로세서 접속 블록에서 오는 SDRAM 접속 조정용 신호들을 받아 그 중 하나를 선택하여 SDRAM 접속 블록으로 보내주는 기능을 하는 조정기 블록;a regulator block for receiving SDRAM access control signals from the n processor access blocks and selecting one of the signals to be sent to the SDRAM access block;

소정 시간마다 SDRAM을 재생시키기 위한 신호를 발생시키는 재생 인터럽트 발생기;A reproduction interrupt generator for generating a signal for reproducing the SDRAM every predetermined time;

전원이 켜졌을 때 SDRAM에 적어주어야 하는 초기 값들을 발생시키는 전원 온 초기화 블록; 및A power-on initialization block that generates initial values that should be written to the SDRAM when the power is turned on; And

SDRAM에 쓰거나 읽기 위한 신호를 만들어 내고 데이터를 접속시켜주는 SDRAM 접속 블록을 포함한다.It contains SDRAM access blocks that generate signals for writing to and reading from SDRAM and access data.

본 발명에 있어서, 상기 소정 시간은 2.56μs인 것이 바람직하다.In the present invention, the predetermined time is preferably 2.56 µs.

상기한 다른 목적을 달성하기 위한 본 발명에 따른 SDRAM 접속 방법의 바람직한 실시예는,In order to achieve the above object another preferred embodiment of the SDRAM connection method according to the present invention,

처음 전원이 들어오면 SDRAM의 초기값들을 설정해 주는 과정;Setting initial values of SDRAM when power is first turned on;

재생 인터럽트 발생기 블록은 소정 시간마다 타이머를 돌려 인터럽트를 발생시켜 조정기 블록에서 최우선적으로 재생을 실행할 수 있도록 하는 과정;The playback interrupt generator block may include: generating a interrupt by turning a timer every predetermined time so that playback may be performed first in the regulator block;

n개의 프로세서나 제어 장치가 SDRAM 데이터를 공유하게 되면, 각 프로세서는 SDRAM 제어기내의 프로세서 접속 블록과 신호를 주고받는 과정;when n processors or control devices share SDRAM data, each processor sends and receives signals to a processor access block in the SDRAM controller;

데이터를 읽는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이를 프로세서 접속 블록으로 전송하고, 데이터를 쓰는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이, 그리고 쓸 데이터를 프로세서 접속 블록에 전송하는 과정;Transferring the start address and byte length to be written to the processor access block when reading data, and transmitting the start address and byte length to be written and data to be written to the processor access block when writing data;

상기 과정에서 데이터를 쓰는 경우, 상기 프로세서 접속 블록은 데이터를 임시적으로 쓰기 메모리 블록에 저장을 하고 SDRAM 쓰기 접속을 요구하는 신호를 조정기 블록으로 전송하고 프로세서 쪽으로는 쓰기가 완료되었음을 알리는 신호를 전송하여 프로세서가 다른 일을 할 수 있도록 하는 과정;When data is written in the above process, the processor access block temporarily stores the data in the write memory block, transmits a signal requesting the SDRAM write connection to the coordinator block, and transmits a signal indicating that writing is completed to the processor. To allow others to do other things;

데이터를 읽는 경우, 상기 프로세스 접속 블록은 SDRAM 읽기 접속을 요구하는 신호를 조정기 블록으로 전송하고 읽기 신호가 받아들여지고 읽은 데이터가 전송되어 오기를 기다리다가 데이터가 전송되어 오면 상기 데이터를 프로세서 쪽으로 전송하고 프로세서의 데이터 읽기 접속이 완료되었음을 알리는 신호를 전송하여 데이터 읽기 접속을 완료하는 과정;When reading data, the process access block sends a signal requesting an SDRAM read connection to the coordinator block, waits for a read signal to be accepted and read data to be transmitted, and then transfers the data to the processor when the data is transmitted. Completing a data read connection by transmitting a signal indicating that the data read connection is completed;

각 프로세서 접속 블록에서 오는 SDRAM 쓰기 요구나 읽기 요구 신호를 받은 조정기 블록은 어느 쪽에서 오는 것을 SDRAM 접속 블록으로 전송할 지를 결정하는 과정;A regulator block receiving an SDRAM write request or read request signal from each processor access block determines which one to send from the processor access block to the SDRAM access block;

상기 과정에서 결정된 것이 프로세서의 SDRAM 쓰기 신호라면, 상기 조정기 블록은 SDRAM 쓰기를 위한 첫 어드레스와 거기에 쓰일 데이터를 임시적으로 정장된 쓰기 메모리로부터 읽어내어 SDRAM 접속 블록에 전송하는 과정;If it is determined in the process that the processor's SDRAM write signal, the regulator block reads the first address for SDRAM write and data to be written from the temporarily written write memory to the SDRAM access block;

만약 결정된 것이 프로세서의 SDRAM 읽기 신호라면, 상기 조정기 블록은 읽기 위한 어드레스를 SDRAM 접속 블록으로 전송하고 데이터가 들어오기를 기다렸다가 데이터가 들어오면 상기 데이터를 해당하는 SDRAM 접속 블록으로 전송하는 과정;If it is determined that the processor is an SDRAM read signal, the regulator block transmits an address for reading to the SDRAM access block, waits for data to come in, and then transfers the data to the corresponding SDRAM access block when data comes in;

상기 SDRAM 접속 블록은 조정기 블록에서 오는 SDRAM 읽기 또는 쓰기 신호와 목적 어드레스를 받아 SDRAM이 받아들일 수 있는 SDRAM 제어 신호를 만들어 내고, 동시에 데이터를 SDRAM에 쓰거나 읽는 기능을 수행하는 과정을 포함한다.The SDRAM access block includes a process of receiving a SDRAM read or write signal and a destination address from the regulator block to generate an SDRAM control signal acceptable to the SDRAM, and simultaneously write or read data to or from the SDRAM.

본 발명에 있어서, 상기 소정 시간은 2.56μs인 것이 바람직하며,In the present invention, the predetermined time is preferably 2.56 μs,

상기 처음 전원이 들어오면 SDRAM의 초기값들을 설정해 주는 과정은,The process of setting initial values of the SDRAM when the first power is turned on,

전원 온 초기화 블록에서는 초기값을 발생시키는 과정;Generating an initial value in the power-on initialization block;

상기 과정에서 발생된 상기 초기값을 SDRAM에 쓸 수 있도록 SDRAM 접속 블록으로 보내는 SDRAM 쓸 수 있도록 하는 과정; 및SDRAM write to send the initial value generated in the process to the SDRAM access block to write to the SDRAM; And

전원 온 초기화 상태동안 프로세서의 SDRAM 접속을 막기 위한 신호를 조정기 블록으로 전송하는 과정을 포함하여 이루어지는 것이 바람직하고,And transmitting a signal to the regulator block to prevent the processor from accessing the SDRAM during the power-on initialization state.

상기 SDRAM 쓰기 요구나 읽기 요구 신호를 받고 어느 쪽에서 오는 것을 SDRAM 접속 블록으로 전송할 지를 결정하는 방법은, 최종적으로 SDRAM 쓰기나 읽기를 수행한 프로세서 접속 블록 다음의 프로세서 접속 블록에서 온 신호부터 차례로 SDRAM 읽기/쓰기 요구 신호가 있는지를 조사하여 처음 만나는 프로세서 접속 블록을 처리하는 것이 바람직하다.The method of determining whether to receive the SDRAM write request or read request signal and to send the SDRAM access block to the SDRAM access block includes the order of SDRAM read / read sequentially from the signal from the processor access block after the processor access block that finally performed the SDRAM write or read. It is desirable to process the first encountering processor access block by checking for a write request signal.

이하, 첨부한 도면을 참조하여 본 발명의 구성 및 동작원리에 대하여 상세히 설명하면 다음과 같다.Hereinafter, the configuration and operation principle of the present invention with reference to the accompanying drawings in detail as follows.

도 2 는 본 발명에 따른 SDRAM 제어기 구조를 나타내는 도면이다. 도 2 를 참조로 하면, SDRAM 제어기는 프로세서로부터의 신호를 받아 조정기 블록(24)으로 SDRAM 읽기/쓰기(R/W)를 요구하는 신호를 보내는 기능을 가진 n개의 프로세서 접속 블록(20a, 20b, 20c)과 각 프로세서 접속 블록에 연결되어 SDRAM에 적을 데이터를 임시적으로 가지고 있는 n개의 쓰기 메모리(22a, 22b, 22c)와 n개의 프로세서 접속 블록에서 오는 SDRAM 접속 조정용 신호들을 받아 그 중 하나를 선택하여 SDRAM 접속 블록(26)으로 보내주는 기능을 하는 조정기 블록(24)과 2.56us마다 SDRAM을 재생(refresh)시키기 위한 신호를 발생시키는 재생 인터럽트(Refresh Interrupt) 발생기(28)와 전원 온(Power On)시에 SDRAM에 적어주어야 하는 초기 값들을 발생시키는 전원 온 초기화 블록(30)과 SDRAM에 쓰거나 읽기 위한 신호를 만들어 내고 데이터를 접속시켜주는 SDRAM 접속 블록(26)으로 구성된다.2 is a diagram illustrating an SDRAM controller structure according to the present invention. Referring to FIG. 2, the SDRAM controller receives a signal from the processor and sends n processor connection blocks 20a, 20b, having a function of sending a signal requesting SDRAM read / write (R / W) to the regulator block 24. 20c) and n write memory (22a, 22b, 22c) connected to each processor access block temporarily holding data to write in SDRAM and SDRAM access control signals from n processor access blocks are selected and one of them is selected. A regulator block 24 that functions to send to the SDRAM access block 26, a refresh interrupt generator 28 that generates a signal for refreshing the SDRAM every 2.56us, and a power on. A power-on initialization block 30 for generating initial values that should be written to the SDRAM at the time and an SDRAM connection block 26 for generating a signal for writing or reading to the SDRAM and for connecting data. .

SDRAM은 DRAM의 특성을 지니면서도 고속 클럭에서 동작할 수 있도록 만들어진 메모리의 일종으로, 프로세서와 프로세서간 또는 프로세서와 다수의 주변 제어 장치간에 이 메모리를 공유하여 데이터 전송이 이루어질 수가 있다. 이러한 경우에 다수의 프로세서나 제어 장치가 동시에 SDRAM과의 접속을 요구하는 경우가 발생하는데, 이러한 상황을 해소하고 모든 프로세서가 순차적으로 그리고 조정하는 동안 발생할 수 있는 프로세서의 시간 손실을 없애주기 위한 SDRAM 제어기의 동작을 설명하고자 한다.SDRAM is a type of memory designed to operate at a high speed clock while having DRAM characteristics. The data can be transferred by sharing the memory between the processor and the processor or a plurality of peripheral control devices. In this case, multiple processors or controllers simultaneously require access to the SDRAM, which is an SDRAM controller that eliminates this situation and eliminates processor time loss that may occur during the sequential and coordination of all processors. Will be described.

처음 전원이 들어오면 SDRAM의 초기값들을 설정해 주어야 한다. 전원 온 초기화 블록에서는 이 초기값을 발생시켜 SDRAM 접속 블록으로 보내어 SDRAM에 쓸 수 있도록 하고, 전원 온 초기화 상태동안 프로세서의 SDRAM 접속을 막기 위한 신호를 조정기 블록으로 전송한다. 그리고 SDRAM의 특성상 매 2.56μs마다 한번씩 재생을 시켜주어야 하는데 이것을 위하여 재생 인터럽트 발생기 블록은 타이머를 돌려 2.56μs마다 인터럽트를 발생시켜 조정기 블록에서 최우선적으로 재생을 실행할 수 있도록 한다.When the power is turned on for the first time, the initial values of the SDRAM should be set. The power-on initialization block generates this initial value and sends it to the SDRAM access block for writing to SDRAM, and sends a signal to the regulator block to prevent the processor from accessing the SDRAM during power-on initialization. And, because of the characteristic of SDRAM, play should be done once every 2.56μs. For this purpose, the play interrupt generator block turns timer to generate an interrupt every 2.56μs so that the regulator block can perform the play first.

도 2 에서 보듯이 n개의 프로세서나 제어 장치가 SDRAM 데이터를 공유하는 상황을 가정하자. 이때 각 프로세서는 SDRAM 제어기내의 프로세서 접속 블록과 신호를 주고받는다. 각 프로세서는 데이터를 읽는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이를 프로세서 접속 블록으로 전송하고, 데이터를 쓰는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이, 그리고 쓸 데이터를 프로세서 접속 블록에 전송한다. 그러면 프로세서 접속 블록은 데이터를 쓰는 경우에는 데이터를 임시적으로 쓰기 메모리 블록에 저장을 하고 SDRAM 쓰기 접속을 요구하는 신호를 조정기 블록으로 전송하고 프로세서 쪽으로는 쓰기가 완료되었음을 알리는 신호를 전송하여 프로세서가 다른 일을 할 수 있도록 하여준다. 데이터를 읽는 경우에는 SDRAM 읽기 접속을 요구하는 신호를 조정기 블록으로 전송하고 읽기 신호가 받아들여지고 읽은 데이터가 전송되어 오기를 기다린다. 데이터가 전송되어 오면 그것을 프로세서 쪽으로 전송하고 프로세서의 데이터 읽기 접속이 완료되었음을 알리는 신호를 전송하여 데이터 읽기 접속을 완료한다.Assume that n processors or control devices share SDRAM data as shown in FIG. 2. At this time, each processor communicates with the processor access block in the SDRAM controller. Each processor transmits a start address and byte length to be written to the processor access block when reading data, and a start address and byte length to be written and data to be written to the processor access block when writing data. When the data is written, the processor access block temporarily stores the data in the write memory block, transmits a signal requesting the SDRAM write connection to the coordinator block, and sends a signal to the processor indicating that the write is completed. To do this. When reading data, send a signal to the regulator block requesting an SDRAM read connection and wait for the read signal to be accepted and the read data to be transferred. When data is transmitted, it is transmitted to the processor and the data read connection is completed by transmitting a signal indicating that the data read connection of the processor is completed.

조정기 블록은 각 프로세서 접속 블록에서 오는 SDRAM 쓰기 요구나 읽기 요구 신호를 받고 어느 쪽에서 오는 것을 SDRAM 접속 블록으로 전송할 지를 결정한다. 결정하는 방법은 도 3의 흐름도에서 보듯이 기본적으로 라운드 로빈 방법으로 처리한다. 즉, 최종적으로 SDRAM 쓰기나 읽기를 수행한 프로세서 접속 블록 다음의 프로세서 접속 블록에서 온 신호부터 차례로 SDRAM 읽기/쓰기 요구 신호가 있는지를 조사하여 처음 만나는 프로세서 접속 블록을 처리한다. 이렇게 하여 결정된 것이 프로세서의 SDRAM 쓰기 신호라면, 조정기 블록은 SDRAM 쓰기를 위한 첫 어드레스와 거기에 쓰일 데이터를 임시적으로 정장된 쓰기 메모리로부터 읽어내어 SDRAM 접속 블록에 전송한다. 만약 읽기 신호라면 읽기 위한 어드레스를 SDRAM 접속 블록으로 전송하고 데이터가 들어오기를 기다리다가 데이터가 들어오면 그것을 해당하는 프로세서 접속 블록으로 전송한다.The coordinator block receives SDRAM write request or read request signals from each processor access block and decides which one to send to the SDRAM access block. The decision method is basically processed by the round robin method as shown in the flowchart of FIG. 3. That is, the first processor access block is processed by checking whether there is an SDRAM read / write request signal in order from the signal from the processor access block next to the processor access block that finally performed the SDRAM write or read. If the decision thus made is the processor's SDRAM write signal, the regulator block reads the first address for the SDRAM write and the data to be written from the temporarily written write memory and transfers it to the SDRAM access block. If it is a read signal, it transfers the address for reading to the SDRAM access block, waits for data to come in, and then sends it to the corresponding processor access block.

SDRAM 접속 블록은 전원 온 초기화 블록이나 조정기 블록에서 오는 SDRAM 읽기 또는 쓰기 신호와 목적 어드레스를 받아 SDRAM이 받아들일 수 있는 SDRAM 제어 신호를 만들어 내고, 동시에 데이터를 SDRAM에 쓰거나 읽는 기능을 수행한다. 이 부분의 자세한 동작은 SDRAM 데이터북에 있는 타이밍도에 따라 이루어진다.The SDRAM access block receives the SDRAM read or write signal from the power-on initialization block or regulator block and the destination address to produce an SDRAM control signal that can be accepted by the SDRAM, while simultaneously writing or reading data into the SDRAM. The detailed operation of this part is done according to the timing chart in the SDRAM databook.

본 발명은 다양하게 변형될 수 있고, 여러 가지 형태를 취할 수 있지만, 상기 발명의 상세한 설명에서는 그에 따라 특별한 실시예에 대해서만 기술하였다. 하지만, 본 발명은 명세서에서 언급된 특별한 형태로 한정되는 것이 아닌 것으로 이해되어야 하며, 오히려 본 발명은 첨부된 청구범위에 의해 정의된, 본 발명의 정신과 범위 내에 있는 모든 변형물, 균등물 및 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, the disclosure thereof has been described with reference to specific embodiments only. It is to be understood, however, that the present invention is not limited to the specific forms referred to in the specification, but rather that the invention is intended to cover all modifications, equivalents, and substitutions within the spirit and scope of the invention as defined by the appended claims. It should be understood to include.

상기와 같이 동작하는 본 발명은, 다수의 프로세서나 제어 장치가 하나의 SDRAM을 공유하고 있을 때에 서로간의 충돌없이 SDRAM으로부터 데이터를 읽거나 쓸 수 있는 기능을 제공하고 내부에 각 프로세서와 관련된 쓰기 메모리를 두어 각 프로세서의 쓰기 신호에 대한 완료 신호를 좀 더 빨리 보내줌으로써 프로세서의 대기 시간을 줄일 수 있는 효과가 있다.The present invention operating as described above provides a function to read or write data from and to the SDRAM without conflicting with each other when a plurality of processors or control devices share a single SDRAM and internally writes a write memory associated with each processor. In other words, by sending the completion signal for the write signal of each processor more quickly, the processor can reduce the waiting time.

Claims (6)

프로세서로부터의 신호를 받아 조정기 블록으로 SDRAM 읽기/쓰기를 요구하는 신호를 보내는 기능을 가진 n개의 프로세서 접속 블록;N processor access blocks having a function of receiving a signal from a processor and sending a signal requesting SDRAM read / write to a regulator block; 각 프로세서 접속 블록에 연결되어 SDRAM 쓰기 동작 동안에 오는 SDRAM에 적을 데이터를 임시적으로 가지고 있는 n개의 쓰기 메모리;N write memories connected to each processor access block to temporarily hold data to be written to SDRAM during an SDRAM write operation; 상기 n개의 프로세서 접속 블록에서 오는 SDRAM 접속 조정용 신호들을 받아 그 중 하나를 선택하여 SDRAM 접속 블록으로 보내주는 기능을 하는 조정기 블록;An adjuster block for receiving SDRAM access control signals from the n processor access blocks and selecting one of the signals to be sent to the SDRAM access block; 소정 시간마다 SDRAM을 재생시키기 위한 신호를 발생시키는 재생 인터럽트 발생기;A reproduction interrupt generator for generating a signal for reproducing the SDRAM every predetermined time; 전원이 켜졌을 때 SDRAM에 적어주어야 하는 초기 값들을 발생시키는 전원 온 초기화 블록; 및A power-on initialization block that generates initial values that should be written to the SDRAM when the power is turned on; And SDRAM에 쓰거나 읽기 위한 신호를 만들어 내고 데이터를 접속시켜주는 상기 SDRAM 접속 블록을 포함하는, SDRAM 제어기 장치.And said SDRAM connection block for generating signals for writing to or reading from SDRAM and for connecting data. 제 1 항에 있어서, 상기 소정시간은 2.56μs인, SDRAM 제어기 장치.2. The SDRAM controller device of claim 1 wherein the predetermined time is 2.56 μs. 처음 전원이 들어오면 SDRAM의 초기값들을 설정해 주는 과정;Setting initial values of SDRAM when power is first turned on; 재생 인터럽트 발생기 블록은 소정 시간마다 타이머를 돌려 인터럽트를 발생시켜 조정기 블록에서 최우선적으로 재생을 실행할 수 있도록 하는 과정;The playback interrupt generator block may include: generating a interrupt by turning a timer every predetermined time so that playback may be performed first in the regulator block; n개의 프로세서나 제어 장치가 SDRAM 데이터를 공유하게 되면, 각 프로세서는 SDRAM 제어기내의 프로세서 접속 블록과 신호를 주고 받는 과정;when n processors or control devices share SDRAM data, each processor sends and receives signals to and from a processor access block in the SDRAM controller; 데이터를 읽는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이를 프로세서 접속 블록으로 전송하고, 데이터를 쓰는 경우에는 쓰고자 하는 시작 어드레스와 바이트 길이, 그리고 쓸 데이터를 프로세서 접속 블록에 전송하는 과정;Transferring the start address and byte length to be written to the processor access block when reading data, and transmitting the start address and byte length to be written and data to be written to the processor access block when writing data; 상기 과정에서 데이터를 쓰는 경우, 상기 프로세서 접속 블록은 데이터를 임시적으로 쓰기 메모리 블록에 저장을 하고 SDRAM 쓰기 접속을 요구하는 신호를 조정기 블록으로 전송하고 프로세서 쪽으로는 쓰기가 완료되었음을 알리는 신호를 전송하여 프로세서가 다른 일을 할 수 있도록 하는 과정;When data is written in the above process, the processor access block temporarily stores the data in the write memory block, transmits a signal requesting the SDRAM write connection to the coordinator block, and transmits a signal indicating that writing is completed to the processor. To allow others to do other things; 데이터를 읽는 경우, 상기 프로세스 접속 블록은 SDRAM 읽기 접속을 요구하는 신호를 조정기 블록으로 전송하고 읽기 신호가 받아들여지고 읽은 데이터가 전송되어 오기를 기다리다가 데이터가 전송되어 오면 상기 데이터를 프로세서 쪽으로 전송하고 프로세서의 데이터 읽기 접속이 완료되었음을 알리는 신호를 전송하여 데이터 읽기 접속을 완료하는 과정;When reading data, the process access block sends a signal requesting an SDRAM read connection to the coordinator block, waits for a read signal to be accepted and read data to be transmitted, and then transfers the data to the processor when the data is transmitted. Completing a data read connection by transmitting a signal indicating that the data read connection is completed; 각 프로세서 접속 블록에서 오는 SDRAM 쓰기 요구나 읽기 요구 신호를 받은 조정기 블록은 어느 쪽에서 오는 것을 SDRAM 접속 블록으로 전송할 지를 결정하는 과정;A regulator block receiving an SDRAM write request or read request signal from each processor access block determines which one to send from the processor access block to the SDRAM access block; 상기 과정에서 결정된 것이 프로세서의 SDRAM 쓰기 신호라면, 상기 조정기 블록은 SDRAM 쓰기를 위한 첫 어드레스와 거기에 쓰일 데이터를 임시적으로 정장된 쓰기 메모리로부터 읽어내어 SDRAM 접속 블록에 전송하는 과정;If it is determined in the process that the processor's SDRAM write signal, the regulator block reads the first address for SDRAM write and data to be written from the temporarily written write memory to the SDRAM access block; 만약 결정된 것이 프로세서의 SDRAM 읽기 신호라면, 상기 조정기 블록은 읽기 위한 어드레스를 SDRAM 접속 블록으로 전송하고 데이터가 들어오기를 기다렸다가 데이터가 들어오면 상기 데이터를 해당하는 SDRAM 접속 블록으로 전송하는 과정;If it is determined that the processor is an SDRAM read signal, the regulator block transmits an address for reading to the SDRAM access block, waits for data to come in, and then transfers the data to the corresponding SDRAM access block when data comes in; 상기 SDRAM 접속 블록은 조정기 블록에서 오는 SDRAM 읽기 또는 쓰기 신호와 목적 어드레스를 받아 SDRAM이 받아들일 수 있는 SDRAM 제어 신호를 만들어 내고, 동시에 데이터를 SDRAM에 쓰거나 읽는 기능을 수행하는 과정을 포함하는, SDRAM 접속 방법.The SDRAM access block includes a process of receiving an SDRAM read or write signal from a regulator block and a destination address to generate an SDRAM control signal acceptable to the SDRAM, and simultaneously performing a function of writing or reading data to the SDRAM. Way. 제 3 항에 있어서, 상기 소정 시간은 2.56μs인, SDRAM 접속 방법.4. The method of claim 3, wherein said predetermined time is 2.56 mu s. 제 3 항에 있어서, 상기 처음 전원이 들어오면 SDRAM의 초기값들을 설정해 주는 과정은,The method of claim 3, wherein the initial values of the SDRAM are set when the first power is turned on. 전원 온 초기화 블록에서는 초기값을 발생시키는 과정;Generating an initial value in the power-on initialization block; 상기 과정에서 발생된 상기 초기값을 SDRAM에 쓸 수 있도록 SDRAM 접속 블록으로 보내는 SDRAM 쓸 수 있도록 하는 과정; 및SDRAM write to send the initial value generated in the process to the SDRAM access block to write to the SDRAM; And 전원 온 초기화 상태동안 프로세서의 SDRAM 접속을 막기 위한 신호를 조정기 블록으로 전송하는 과정을 포함하여 이루어지는, SDRAM 접속 방법.And sending a signal to a regulator block to block the SDRAM connection of the processor during the power-on initialization state. 제 3 항에 있어서, 상기 SDRAM 쓰기 요구나 읽기 요구 신호를 받고 어느 쪽에서 오는 것을 SDRAM 접속 블록으로 전송할 지를 결정하는 방법은, 최종적으로 SDRAM 쓰기나 읽기를 수행한 프로세서 접속 블록 다음의 프로세서 접속 블록에서 온 신호부터 차례로 SDRAM 읽기/쓰기 요구 신호가 있는지를 조사하여 처음 만나는 프로세서 접속 블록을 처리하는, SDRAM 접속 방법.4. The method of claim 3, wherein the method of determining whether to receive the SDRAM write request or read request signal and transmit the coming from the SDRAM access block is from a processor access block after the processor access block that finally performed the SDRAM write or read. An SDRAM access method that processes a processor access block for the first time by checking whether there is an SDRAM read / write request signal in order from a signal.
KR1019980010892A 1998-03-28 1998-03-28 Synchronous dynamic RAM controller device and its connection method KR19990076182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980010892A KR19990076182A (en) 1998-03-28 1998-03-28 Synchronous dynamic RAM controller device and its connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980010892A KR19990076182A (en) 1998-03-28 1998-03-28 Synchronous dynamic RAM controller device and its connection method

Publications (1)

Publication Number Publication Date
KR19990076182A true KR19990076182A (en) 1999-10-15

Family

ID=65860974

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980010892A KR19990076182A (en) 1998-03-28 1998-03-28 Synchronous dynamic RAM controller device and its connection method

Country Status (1)

Country Link
KR (1) KR19990076182A (en)

Similar Documents

Publication Publication Date Title
KR101558482B1 (en) Bank sharing and refresh in a shared multi-port memory device
JP3248140B2 (en) Method and computer bus structure for integrating data memory and video memory access requests in a computer device
US7395364B2 (en) Data transfer control apparatus
JP2007507056A (en) Memory device, interface buffer, memory system, computer system, method, machine accessible medium
US5802581A (en) SDRAM memory controller with multiple arbitration points during a memory cycle
JP2000020451A (en) Device and method for processing information and provision method
JPWO2007105376A1 (en) Integrated circuit and integrated circuit system
JP4313456B2 (en) Memory control device
KR19990076182A (en) Synchronous dynamic RAM controller device and its connection method
US8301816B2 (en) Memory access controller, system, and method
JP2783195B2 (en) Microcomputer
JPH0343804A (en) Sequence controller
JPH1091568A (en) Method and device for accessing chip selection enable device in data processing system
JP3820831B2 (en) Memory control method and apparatus
JPH09198298A (en) Memory controller
US6766403B2 (en) CPU system with high-speed peripheral LSI circuit
US7017000B2 (en) Data transfer control circuit in system LSI
KR0165505B1 (en) The communication apparatus using shared memory
JPS60151894A (en) Refresh circuit of dynamic ram
JPH10222979A (en) Information processing apparatus
JPH03250488A (en) Method for controlling memory bus
JPH0142017B2 (en)
JPS6337418B2 (en)
JPH10312333A (en) Data transfer control unit
JP2001043355A (en) Data processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
SUBM Submission of document of abandonment before or after decision of registration