KR950003883B1 - Memory logic controller - Google Patents

Memory logic controller Download PDF

Info

Publication number
KR950003883B1
KR950003883B1 KR1019920007733A KR920007733A KR950003883B1 KR 950003883 B1 KR950003883 B1 KR 950003883B1 KR 1019920007733 A KR1019920007733 A KR 1019920007733A KR 920007733 A KR920007733 A KR 920007733A KR 950003883 B1 KR950003883 B1 KR 950003883B1
Authority
KR
South Korea
Prior art keywords
address
memory
access
signal
control
Prior art date
Application number
KR1019920007733A
Other languages
Korean (ko)
Other versions
KR930023839A (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 KR1019920007733A priority Critical patent/KR950003883B1/en
Publication of KR930023839A publication Critical patent/KR930023839A/en
Application granted granted Critical
Publication of KR950003883B1 publication Critical patent/KR950003883B1/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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

A memory control logic device in a computer system for drawing data recorded in a memory by address and controlling signals of CPU includes: a first memory for recording the command word or data corresponding to even words; a second memory for recording the command word or data corresponding to odd words; an address buffer for latching the address of CPU into an upper/lower address, counting the lower address in a predetermined page area to thereby increase the address; and a control logic part for decoding the address of CPU.

Description

메모리제어논리장치Memory control logic device

제 1 도는 종래의 메모리를 제어하는 시스템 블록도.1 is a system block diagram of controlling a conventional memory.

제 2 도는 본 발명에 따른 메모리제어논리장치를 갖는 시스템 블럭도.2 is a system block diagram having a memory control logic apparatus according to the present invention.

제 3 도는 제1 및 제 2 메모리수단에 지정되는 논리 어드레스형식.3 is a logical address format assigned to first and second memory means.

제 4 도는 제 2 도에 따른 파형도.4 shows a waveform according to FIG.

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

10 : 중앙처리장치 11,200 : 제어논리부10: central processing unit 11,200: control logic

12 : 메모리 13,201 : 어드레스버퍼12: memory 13201: address buffer

14,28,30 : 명령어버퍼 15,29,31 : 데이타버퍼14,28,30: Command buffer 15,29,31: Data buffer

20 : 디코더 21: 상태머신20: decoder 21: state machine

22 : 제어신호발생기 23 : 카운터22: control signal generator 23: counter

24 : 제 1 래치 25 : 제 2 래치24: first latch 25: second latch

26 : 제 1 메모리수단 27 : 제 2 메모리수단26: first memory means 27: second memory means

본 발명은 컴퓨터 시스템에 있어서 메모리제어논리장치에 관한 것으로, 특히 액세스속도가 느린 메모리를 인터리브드 방식으로 구성하여 한 시스템 클럭에 하나의 명령어나 데이타를 인출할 수 있는 버스트모드의 메모리제어논리장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control logic apparatus for a computer system, and more particularly, to a burst mode memory control logic apparatus capable of fetching one instruction or data at a system clock by interleaving a slow access memory. It is about.

일반적으로 메모리제어논리장치는 중앙처리장치(Central Processing Unit, 이하 CPU라 함)의 제어신호와 어드레스에 의하여 메모리내에 기록된 명령어나 데이타를 인출(fetch)하기 위하여 제어하는 논리장치로서, 개인용 컴퓨터(Personal Computer), CAD/CAM을 위한 그래픽 시스템, 중형, 대형 컴퓨터나 근거리 통신망(Local Area Network, LAN) 또는 종합정보통신망(Inteqrated Services Digital Network, ISDN)과 같은 컴퓨터 통신시스템등에 이용된다. 또한 메모리제어논리장치는 전체시스템 성능에 영향을 끼치므로 고속처리능력을 위해서는 효율적으로 메모리를 액세스(Access)할 수 있도록 제어해야 한다.Generally, a memory control logic device is a logic device that controls to fetch instructions or data recorded in a memory by a control signal and an address of a central processing unit (hereinafter referred to as a CPU). Personal computers), graphics systems for CAD / CAM, medium and large computers, or computer communication systems such as local area networks (LANs) or integrated services digital networks (ISDN). In addition, since the memory control logic affects the overall system performance, it must be controlled so that the memory can be accessed efficiently for high-speed processing capability.

제 1 도는 종래의 메모리를 제어하여 명령어나 데이타를 인출하는 시스템 블럭도로서, EPROM(Erasable Programmable Reael Only Memory) 메모리를 사용한 시스템에 적용한 예이다. 메모리에는 시스템 운영에 필요한 명령어나 데이타들이 기록되어 있다. CPU(10)는 프로그램 수행을 위해서는 명령어를 메모리(12)로부터 인출해야 한다. 이때 CPU(10)는 인출하고자 하는 메모리 영역에 해당되는 어드레스와 제어신호를 발생시킨다. 어드레스버퍼(13)는 어드레스를 래치하여 메모리(12)에 인가한다. 제어논리부(11)는 어드레스를 디코딩(Decoding)하고 제어신호를 입력으로 받아 어드레스버퍼(13), 명령어버퍼(14) 및 데이타버퍼(15)를 제어한다. 또한 메모리(12)의 칩선택신호와 출력인에이블신호를 발생한다. 그리고 메모리(12)의 출력 인에이블신호와 칩선택신호에 따라 어드레싱된 메모리(12) 영역의 명령어가 출력된다. 출력된 명령어는 제어논리부(11)의 제어신호에 따라 명령어버퍼(14)를 통해 CPU(10)에 입력된다.FIG. 1 is a system block diagram of controlling a conventional memory to retrieve an instruction or data, and is an example of application to a system using an erasable programmable memory only memory (EPROM) memory. The memory contains the commands and data necessary for operating the system. The CPU 10 needs to withdraw instructions from the memory 12 to execute a program. At this time, the CPU 10 generates an address and a control signal corresponding to the memory area to be fetched. The address buffer 13 latches an address and applies it to the memory 12. The control logic unit 11 decodes an address and receives a control signal to control the address buffer 13, the command buffer 14, and the data buffer 15. The chip select signal and the output enable signal of the memory 12 are also generated. In addition, an instruction of a memory 12 area addressed according to the output enable signal and the chip select signal of the memory 12 is output. The output command is input to the CPU 10 through the command buffer 14 according to the control signal of the control logic unit 11.

이러한 명령어 인출을 수행하는데 있어서 제어논리부(11)는 CPU(10)의 시스템 클럭속도와 메모리(12)의 액세스 속도를 고려하여 명령어가 명령어버스상에서 유효(Valid)할때까지 메모리(12)의 출력인에이블신호와 칩선택신호를 계속 인가해야 하며, CPU(10)도 역시 어드레스와 제어신호는 해제(Release)해서는 안된다.In performing the instruction fetch, the control logic unit 11 considers the system clock speed of the CPU 10 and the access speed of the memory 12 until the instruction is valid on the instruction bus. The output enable signal and the chip select signal must be continuously applied, and the CPU 10 must also not release the address and control signals.

상술한 바와 같이 종래의 메모리를 제어하는 시스템은 한 시스템 클럭에 하나의 명령어를 인출하기 위해서는 CPU 시스템 클럭속도보다 두배 이상 빠른 메모리를 사용해야 하는 단점이 있으며 메모리의 액세스 속도가 제한되어 있기 때문에 시스템 클럭속도가 높아질수록 두개의 클럭 또는 네게의 클럭에 하나의 명령어를 인출하게 되어 그 만큼 시스템 성능은 절반 이하로 떨어진다는 문제점이 있다. 또한 시스템의 성능을 높이기 위해서는 액세스 속도가 빠른 메모리를 사용해야 한다. 그러나, 메모리의 액세스 속도가 빨라질수록 가격이 기하급수적으로 상승하여 시스템 원가에도 큰 영향을 미치게 된다.As described above, a system for controlling a conventional memory has a disadvantage of using a memory that is twice as fast as the CPU system clock speed in order to fetch one instruction in one system clock, and the system clock speed is limited because the memory access speed is limited. As the value increases, one instruction is drawn to two clocks or four clocks, and the system performance drops by less than half. In addition, to increase the performance of the system, use fast access memory. However, as memory access speeds up, the price increases exponentially, significantly affecting system costs.

따라서 본 발명의 목적은 액세스 속도가 느린 메모리를 인터리브드 방식으로 구성하여 한 시스템 클럭에 하나의 명령어를 인출할 수 있는 버스트 모드의 메모리 제어논리장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a burst control memory control apparatus capable of drawing one instruction to a system clock by configuring a memory having a slow access speed in an interleaved manner.

상기 목적을 달성하기 위하여 본 발명은 중앙처리장치의 어드레스와 제어신호에 의해서 메모리내에 기록된 정보를 인출하기 위한 컴퓨터 시스템에 있어서, 상기 중앙처리장치의 어드레스와 제어신호를 디코딩하여 명령어 액세스 신호와 데이타 액세스 신호중 하나의 신호를 판단하여 결정된 액세스 신호를 출력시키기 위한 디코더와, 상기 디코더에서 결정된 액세스 신호에 따른 동작상태신호를 인가하기 위한 상태머신과, 세개의 프로그램가능 어레이 논리(Proqrammable Array Logic, PAL)로 구성된 제어신호발생기와, 하위어드레스를 적재(load)하고 매 액세스때마다 어드레스를 카운트하기 위한 카운터와, 상위어드레스를 래치하기 위한 제 1 래치와, 하위어드레스중 홀수번째 워드에 해당되는 어드레스를 래치하기 위한 제 2 래치와, 짝수번째 워드에 해당되는 명령어나 데이타가 기록된 제 1 메모리수단과, 홀수번째 워드에 해당되는 명령어나 데이타가 기록된 제 2 메모리수단을 포함함을 특징으로 한다.In order to achieve the above object, the present invention provides a computer system for retrieving information recorded in a memory by an address and a control signal of a central processing unit, wherein the command access signal and data are decoded by decoding the address and control signal of the central processing unit. A decoder for outputting an access signal determined by determining one of the access signals, a state machine for applying an operation state signal according to the access signal determined by the decoder, and three programmable array logics (PALs) Latches a control signal generator including a control signal generator, a counter for loading a lower address and counting an address every access, a first latch for latching an upper address, and an address corresponding to an odd word among lower addresses. The second latch and an even word It characterized in that it comprises a second memory means as a command or data is recorded first memory means, a command or data corresponding to the odd-numbered word is written.

이하, 본 발명은 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제 2 도는 본 발명에 따른 메모리제어논리장치를 갖는 시스템 블럭도이다. 먼저 중앙처리장치(10)는 축소 명령형 컴퓨팅(Reduced Instruction Set Computing, 이하 RISC라 함) 프로세서를 사용한다. RISC프로세서는 명령어가 간단하고, 모두 고정된 명령어 필드를 형성할 뿐만 아니라 비교적 어드레싱 모드가 간단하므로 이를 처리하기 위한 데이타 패스를 단순화시킬 수 있고, 그 결과 모든 명령어 수행속도를 향상시키고 하드웨어의 칩면적을 간소화시킨다. 본 시스템에서 CPU(10)는 32비트의 워드형이고, 3개의 버스 즉 어드레스버스, 명령어버스, 데이타버스를 갖는다. 또한 버스트모드로 메모리액세스 지원이 가능하도록 설계되어 있다. CPU(10)는 제 1 메모리수단(26)과 제 2 메모리수단(27)에 기록된 명령어나 데이타를 인출하기 위해 명령어나 데이타 영역에 해당되는 어드레스와 제어신호를 발생시킨다. CPU(10)에서 출력되는 제어신호에는 명령어 액세스 요구신호, 데이타 액세스 요구신호, 버스트 모드 명령어 액세스 요구신호, 버스트 모드 데이타 액세스 요구신호, 명령어 요구의 어드레스 공간영역신호, 데이타 액세스의 어드레스 공간 영역신호, 액세스 단위(워드, 바이트, 반워드)의 선택신호등이 있다. 상술한 제어신호들은 각각 디코더(20)와 상태머신(21)에 인가된다.2 is a system block diagram having a memory control logic apparatus according to the present invention. First, the central processing unit 10 uses a reduced instruction computing (RISC) processor. RISC processors not only form simple instructions, all form a fixed instruction field, but also relatively simple addressing mode, which simplifies the data path to process them, resulting in faster execution of all instructions and reduced chip area of hardware. Simplify In this system, the CPU 10 is a 32-bit word type and has three buses: an address bus, an instruction bus, and a data bus. It is also designed to support memory access in burst mode. The CPU 10 generates an address and a control signal corresponding to the instruction or data area in order to retrieve the instruction or data recorded in the first memory means 26 and the second memory means 27. The control signal output from the CPU 10 includes an instruction access request signal, a data access request signal, a burst mode instruction access request signal, a burst mode data access request signal, an address space area signal of an instruction request, an address space area signal of a data access, There are a selection signal of an access unit (word, byte, half word), and the like. The control signals described above are applied to the decoder 20 and the state machine 21, respectively.

디코더(20)는 CPU(10)에서 발생한 어드레스와 제어신호를 디코딩하게 되는데 제어신호에 따라 명령어를 액세스할 것인가 데이타를 액세스할 것인가 결정하다. 만약 CPU(10)로부터 버스트모드 명령어 액세스 요구신호와 명령어요구의 어드레스 공간 영역신호가 인가되면, 명령어 액세스이고, 버스트 모드 데이타 액세스 요구신호와 명령어요구의 어드레스 공간영역 신호가 인가되면 데이타 액세스이다. 또한 디코더(20)는 명령어나 데이타 액세스의 결정에 따라 명령어 액세스 신호나 데이타 액세스 신호를 상태머신(21)에 인가한다.The decoder 20 decodes an address and a control signal generated from the CPU 10. The decoder 20 determines whether to access an instruction or data according to the control signal. If the burst mode command access request signal and the command space address signal are applied from the CPU 10, it is the instruction access, and if the burst mode data access request signal and the address space area signal of the command word are applied, it is data access. The decoder 20 also applies a command access signal or a data access signal to the state machine 21 in accordance with the determination of the command or data access.

상태머신(21)은 CPU(10)와 디코더(20)에서 출력되는 신호를 받아들여 액세스 신호가 유효할 경우 초기 액세스에 따른 각 상태신호를 제어신호발생기(22)에 인가한다.The state machine 21 receives the signals output from the CPU 10 and the decoder 20 and applies each state signal according to the initial access to the control signal generator 22 when the access signal is valid.

제어신호발생기(22)는 명령어제어PAL, 데이타제어PAL, 하위어드레스제어PAL로 구성되어, 제1, 제 2 메모리수단(26,27) 액세스에 따른 전반적인 신호를 발생시킨다.The control signal generator 22 is composed of an instruction control PAL, a data control PAL, and a lower address control PAL to generate an overall signal in accordance with access to the first and second memory means 26 and 27.

명령어제어PAL은 명령어 액세스에 따른 상태신호를 디코딩하여 어드레싱된 메모리영역의 명령어가 명령어 버스에 실리도록 명령어버퍼(28,30)의 출력인에이블신호를 제어하며, CPU(10)와의 핸드쉐이크(Handshake)신호인 명령어준비신호(Instruction Ready, IRDY)와 명령어 버스트 인식신호(Instruction Burst Acknowledqe, IBACK)를 초기액세스의 타이밍에 맞추어 CPU(1)에 인가한다. 명령어 버스트인식 신호는 제1, 제 2 메모리수단(26,27)과 명령어 버스 사이에서 버스트 모드 액세스가 계속된다는 신호이다. 명령어 준비신호는 각 명령어 액세스가 완료되어 명령어를 CPU(10)에 전송할 준비가 되었다는 신호이다.The instruction control PAL decodes a status signal according to instruction access to control an output enable signal of the instruction buffers 28 and 30 so that the instructions of the addressed memory region are loaded on the instruction bus, and a handshake with the CPU 10 is performed. Instruction Ready signals IRDY and Instruction Burst Acknowledgments IBACK, which are signals, are applied to the CPU 1 at the timing of initial access. The command burst recognition signal is a signal that burst mode access continues between the first and second memory means 26,27 and the command bus. The instruction ready signal is a signal that each instruction access is completed and ready to send instructions to the CPU 10.

데이타제어PAL은 명령어제어PAL과 동일하며, 제1, 제 2 메모리수단(26,27)에서 데이타 액세스에 따른 데이타버퍼(29,31)의 출력인에이블신호를 제어한다. 또한, 데이타준비신호(Data Ready, DRDY)와 데이타버스트인식신호(Data Burst Acknowledge, DBACK)를 발생하여 CPU(10)에 인가한다.The data control PAL is the same as the command control PAL and controls the output enable signal of the data buffers 29 and 31 in accordance with data access in the first and second memory means 26 and 27. In addition, a data ready signal (Data Ready, DRDY) and a data burst recognition signal (Data Burst Acknowledge, DBACK) is generated and applied to the CPU 10.

하위어드레스제어PAL은 초기액세스시, CPU(10)에서 출력된 어드레스를 소정의 페이지 영역내에서 버스트 모드가 지원되도록 카운터(23)를 제어하며 제 1 메모리수단(26)에 액세스시 홀수번째 워드에 해당되는 하위어드레스가 제 2 래치(25)에 일시적으로 래치되도록 타이밍을 제어한다.The lower address control PAL controls the counter 23 so that a burst mode is supported within a predetermined page area in the address output from the CPU 10 upon initial access, and the odd address word is accessed when the first memory means 26 is accessed. The timing is controlled so that the corresponding lower address is temporarily latched in the second latch 25.

카운터(23)는 초기하위 어드레스를 래치하고 소정의 페이지영역내에 해당되는 어드레스에 대해 카운트신호의 상승영역(Rising-edge)에서 트리거함으로써 어드레스를 증가시킨다. 이것은 다수의 명령어 또는 데이타를 인출할때마다 CPU(10)가 어드레스를 발생시키는 것이 아니라 초기어드레스만 발생시키고 카운터(23)에서 어드레스를 증가시키기 때문에 버스트 모드로 명령어나 데이타를 인출할 수 있다.The counter 23 increments the address by latching the initial lower address and triggering on the rising-edge of the count signal for the address corresponding to the predetermined page area. This is because the CPU 10 does not generate an address every time a plurality of instructions or data are fetched, but only an initial address and increments the address in the counter 23, so that the instruction or data can be fetched in the burst mode.

제 1 메모리수단(26)과 제 2 메모리수단(27)은 EPROM 메모리로 사용하고, 인터리브드 방식으로 구성된다. 인터리브드 방식이란 한 기억장치 모듈내의 접속된 메모리들에 연속적으로 어드레스를 지정하지 않고, 일정한 수의 배수만큼 거리를 두고 어드레스를 지정하는 방식이다.The first memory means 26 and the second memory means 27 are used as EPROM memories and are configured in an interleaved manner. The interleaved method is a method of designating addresses at a distance of a predetermined number without assigning addresses sequentially to connected memories in a storage module.

본 장치의 메모리는 두개의 메모리모듈로 분할하여 짝수번째 워드에 해당되는 어드레스는 제 1 메모리수단(26)에 홀수번째 워드에 해당되는 어드레스는 제 2 메모리수단(27)에 지정하도록 구성한다.The memory of the apparatus is divided into two memory modules so that an address corresponding to an even word is assigned to the first memory means 26 and an address corresponding to an odd word is assigned to the second memory means 27.

제 3 도는 제 1 메모리수단(26)과 제 2 메모리수단(27)에 지정되는 논리어드레스형식이다.3 is a logical address type assigned to the first memory means 26 and the second memory means 27. As shown in FIG.

CPU(10)는 바이트단위로 어드레스를 발생시키고, 32비트 프로세서의 처리능력을 갖고 있으므로 32비트가 한 워드에 해당된다. 또한 바이트단위로 나누면 4개의 바이트가 한 워드에 해당된다. 만약 각 워드에 최하위 바이트가 ×××0, ×××8이면 짝수번째 워드에 해당되므로 제 1 메모리수단(26)에 지정되고 최하위바이트가 ×××4, ×××C이면 홀수번째 워드에 해당되므로 제 2 메모리수단(27)에 지정된다. 그러므로 각 워드에 최하위 바이트 ×××0, ×××4, ×××8, ×××C만을 판단하여 소정의 페이지영역내에서 상위바이트에 관계없이 교번하며 인터리브드 방식으로 제 1 메모리수단(26)에 제 2 메모리수단(27)을 액세스할 수 있다.The CPU 10 generates addresses in units of bytes and has 32-bit processor processing power, so 32 bits correspond to one word. In addition, when divided by byte, four bytes correspond to one word. If the least significant byte of each word is ××× 0, ××× 8, it corresponds to the even word, so it is assigned to the first memory means 26. If the least significant byte is ××× 4, ××× C, As such, it is assigned to the second memory means 27. Therefore, only the least significant byte ××× 0, ××× 4, ××× 8, ××× C is determined for each word, and the first memory means is alternately interleaved regardless of the upper byte in the predetermined page area. The second memory means 27 can be accessed.

예를들면 제 3 도를 참조하여 30000번째 바이트부터 어드레스가 발생하면 최상위 바이트에 해당되는 3은 제 1 래치(24)에 일시적으로 래치되고 초기어드레스인 3000번째 바이트에 해당되는 어드레스가 카운터에 적재(load)되면서 카운트를 시작한다. 3000~3003바이트까지 카운트하여 초기액세스 기준보면 0번째 워드로서 제 1 메모리수단(26)을 액세스한다. 제 1 메모리수단(16)이 액세스하는 동안 3004~3007바이트를 카운트하여 1번째 워드로서 제 2 래치(25)에 일시적으로 래치된다. 제 1 메모리수단(26) 액세스가 끝다면 제 2 래치(25)에 래치됐던 1번째 워드가 제 2 메모리수단(27)을 액세스한다. 어드레스의 마지막까지 카운터(23)에서 어드레스를 증가시키면서 제 1 메모리수단(26)와 제 2 메모리수단(27)을 교번하여 액세스 동작을 하게 된다.For example, referring to FIG. 3, when an address occurs from the 30000th byte, 3 corresponding to the most significant byte is temporarily latched in the first latch 24, and an address corresponding to the 3000th byte, the initial address, is loaded into the counter ( start counting when loaded). By counting up to 3000 to 3003 bytes, the first memory means 26 is accessed as the 0th word in the initial access reference. While the first memory means 16 is accessed, 3004-3007 bytes are counted and temporarily latched in the second latch 25 as the first word. When the first memory means 26 is accessed, the first word latched in the second latch 25 accesses the second memory means 27. The first memory means 26 and the second memory means 27 alternately perform an access operation while increasing the address in the counter 23 until the end of the address.

제 4 도는 초기액세스가 짝수번째 워드의 어드레스인 경우에 명령어를 액세스하는 타이밍도이다. 제4(a)도는 시스템 클럭이고, 제4(b)도는 명령어 요구(Instruction Request, IREQ)신호로써 명령어 액세스를 요청할때 사용된다. 즉 제4(b)도 신호가 액티브(Active)이면 액세스하고자 하는 어드레스가 어드레스 버스상에 나타난다. 제4(c)도신호는 명령어 버스트요구(Instruction Burst Request, IBREQ)신호로써 버스트모드 명령어 액세스를 요청할때 사용된다. 제4(d)도신호는 명령어 액세스(Instruction Access, IACC)신호이고, 제4(e)도신호는 명령어 버스트요구지연(Instruction Burst Request Delay, IBREQD)신호로써 명령어 버스트요구신호가 시스템 클럭의 상승영역에서 액티브하도록 지연시켜 주는 신호이다. 제4(f)도~제4(i)도신호는 상태머신(21)의 제어신호이고, 제4(j)도신호는 명령어 버스트 인식신호이고, 제4(k)도신호는 현재 액세스가 초기 액세스임을 나타내는 신호이다. 제4(l)도신호는 초기액세스시 하위어드레스를 카운터(23)에 적재(load)하게 하는 신호이고, 제4(m)도신호는 초기액세스시 상위어드레스를 제 1 래치(24)에 래치하게 하는 신호이고, 제4(n)도신호는 메모리선택신호로써 초기액세스가 끝나고 버스트모드액세스가 시작되면 토글(toggle)하게 된다. 즉, 버스트모드액세스시 CPU(10)의 두번째 어드레스버스를 디코딩하여 로우레벨에서는 제 1 메모리수단이 선택되고 하이레벨에서는 제 2 메모리수단이 선택되도록 제어하는 신호이다. 제4(o)도신호는 카운트신호이고, 제4(p)도신호는 카운터(23)에서 발생한 홀수번째 어드레스를 제 2 래치(25)에서 래치하게 하는 신호이고, 제4(q)도신호는 현재 액세스가 버스트액세스임을 알리는 신호이고 제4(r)도신호와 제4(s)도신호는 제 1 메모리수단과 제 2 메모리수단을 논리적으로 분류한 단위신호이고, 제4(t)도신호는 명령어 준비신호이고, 제4(u)도신호는 메모리버퍼(28,30)의 출력인에이블신호이다.4 is a timing diagram of accessing an instruction when the initial access is an address of an even word. FIG. 4 (a) is a system clock, and FIG. 4 (b) is used to request instruction access as an instruction request (IREQ) signal. That is, if the signal of the fourth (b) is active, the address to be accessed is displayed on the address bus. The fourth signal (c) is an instruction burst request (IBREQ) signal and is used to request burst mode instruction access. The fourth (d) degree signal is an instruction access (IACC) signal, and the fourth (e) degree signal is an instruction burst request delay (IBREQD) signal. This signal is delayed to be active in the area. The fourth (f) to fourth (i) degrees signals are control signals of the state machine 21, the fourth (j) degrees signals are command burst recognition signals, and the fourth (k) degrees signals are currently accessed. Signal indicating initial access. The fourth (l) degree signal is a signal for loading the lower address into the counter 23 during the initial access, and the fourth (m) degree signal latches the upper address in the first latch 24 during the initial access. The fourth (n) signal is a memory selection signal, which is toggled when the initial access ends and the burst mode access starts. That is, the signal decodes the second address bus of the CPU 10 during the burst mode access so that the first memory means is selected at the low level and the second memory means is selected at the high level. The fourth (o) degree signal is a count signal, the fourth (p) degree signal is a signal which causes the second latch 25 to latch the odd-numbered address generated by the counter 23, and the fourth (q) degree signal. Is a signal indicating that the current access is a burst access, and the fourth (r) degree signal and the fourth (s) degree signal are unit signals that logically classify the first memory means and the second memory means, and the fourth (t) arrival The call is an instruction ready signal, and the fourth (u) degree signal is an output enable signal of the memory buffers 28 and 30.

상술한 신호중에서 상태머신 제어신호인제4(f)도~제4(i)도신호와 제4(k)도신호는 하이레벨(High Level)에서 액티브이고 그 외의 신호들은 로우레벨(Low Level)에서 액티브동작을 한다.Among the above-mentioned signals, the fourth (f) to fourth (i) and fourth (k) degrees signals, which are state machine control signals, are active at high level and other signals are low level. Activating at

다음, 상술한 동작내용의 신호처리관계는 제 2 도와 제 4 도를 결부시켜 설명하기로 한다.Next, the signal processing relationship of the above-described operation contents will be described with reference to FIG. 2 and FIG.

CPU(10)에서 명령어를 제 1 메모리수단(26)과 제 2 메모리수단(27)에서 인출하고자 할때 CPU(10)는 제4(b)도의 신호를 액티브시키고, 어드레스를 어드레스버스상에 출력시킨다. 버스트 액세스이므로 제4(c)도의 신호를 액세스시킨다. 다음, 디코더(20)에서 어드레스를 디코딩하여 제4(d)도의 신호에 의해 명령어 액세스가 시작되었음을 알려준다. 제4(e)도의 신호는 제4(c)도의 신호가 시스템클럭(2)의 상승영역에서 액티브하도록 제4(c)도의 신호를 지연시킨다. 상태머신(21)은 상태머신 제어신호인 제4(f)도~제(i)도의 신호를 생성한다.When the CPU 10 intends to withdraw an instruction from the first memory means 26 and the second memory means 27, the CPU 10 activates the signal of FIG. 4 (b) and outputs an address on the address bus. Let's do it. Since it is a burst access, the signal of FIG. 4 (c) is accessed. Next, the decoder 20 decodes the address to indicate that the instruction access is started by the signal of FIG. The signal in FIG. 4 (e) delays the signal in FIG. 4 (c) so that the signal in FIG. 4 (c) is active in the rising region of the system clock 2. FIG. The state machine 21 generates signals of FIGS. 4 (f) to (i) which are state machine control signals.

다음 제4(l)도의 신호가 액티브되면 카운터(23)는 CPU(10)의 하위어드레스를 래치시킨다. 제4(m)도의 신호는 CPU(10)의 상위어드레스를 제 1 래치(24)에 래치시킨다. 제4(n)도의 신호는 로우레벨상태이므로 제 1 메모리수단(26)이 선택되도록 내정되어 있고 제4(q)도의 신호에 의해 버스트모드가 시작됨을 알린다.The counter 23 latches the lower address of the CPU 10 when the next signal of Fig. 4 (l) is activated. The signal in FIG. 4 (m) latches the upper address of the CPU 10 to the first latch 24. As shown in FIG. Since the signal of FIG. 4 (n) is in the low level state, the first memory means 26 is selected so that the burst mode is started by the signal of FIG. 4 (q).

다음 제4(o)도의 신호가 카운트되면서 제 1 메모리수단(26)을 액세스하게 되는데 시스템 클럭(6)에서 초기액세스 동작이 일어난다. 초기액세스 동작기 전에 제4(p)도의 신호에 의해 홀수번째 워드에 해당되는 하위어드레스가 제 2 래치(25)에 일시적으로 래치한다. 그러면 초기액세스 동작이 완료되면 시스템 클럭(6)에서 카운트가 하강영역으로 떨어지면서 제 2 메모리수단(27)을 액세스한다. 제 4(t)도의 신호와 제4(u)도의 신호가 액티브상태이므로 명령어버퍼(28,30)를 통해 어드레싱된 영역의 명령어가 CPU(10)에 인가된다.Next, the first memory means 26 is accessed while the signal of FIG. 4 (o) is counted. An initial access operation occurs at the system clock 6. Before the initial access operation, the lower address corresponding to the odd word is temporarily latched in the second latch 25 by the signal of FIG. 4 (p). Then, when the initial access operation is completed, the count drops to the falling region in the system clock 6 to access the second memory means 27. Since the signal of FIG. 4 (t) and the signal of FIG. 4 (u) are in an active state, an instruction of an area addressed through the instruction buffers 28 and 30 is applied to the CPU 10.

초기액세스시에는 시스템 클럭(2)에서 버스트모드 명령어 요구신호가 발생하여 시스템 클럭(6)에서 액세스 동작이 일어났으므로 4개의 시스템 클럭이 소요되지만 초기액세스가 끝난 버스트모드 액세스시에는 시스템 클럭(7)에서 제 2 메모리수단(27) 액세스 동작이 일어나고 액세스 클럭(8)에서 제 1 메모리수단(26) 액세스 동작이 일어나 연속적으로 한 시스템 클럭에 하나의 메모리 액세스 동작을 하게 된다. 즉, 한 시스템 클럭에 하나의 명령어 인출이 이루어진다.In the initial access, four system clocks are required because the burst mode command request signal is generated in the system clock (2) and the access operation has occurred in the system clock (6). The second memory means 27 access operation takes place at the second memory device 27, and the first memory means 26 access operation occurs at the access clock 8 to perform one memory access operation to one system clock. That is, one instruction fetch is made to one system clock.

상술한 바와 같이 본 발명은 컴퓨터 시스템의 메모리제어논리장치에 있어서, 메모리를 두개의 인터리브 방식으로 구성하고 한 시스템 클럭에 하나의 명령어를 인출할 수 있는 버스크 모드로 메모리를 액세스함으로써 액세스 속도가 느린 저가격의 메모리를 사용하면서도 고성능의 컴퓨터 시스템을 설계하고 제작할 수 있는 효과가 있다.As described above, in the memory control logic apparatus of a computer system, the access speed is slow by configuring the memory in two interleaved manners and accessing the memory in a burst mode that can fetch one instruction to one system clock. Using low-cost memory, you can design and build high-performance computer systems.

Claims (9)

중앙처리장치(10)의 어드레스와 제어신호에 의해서 메모리내에 기록된 정보를 인출하기 위한 컴퓨터 시스템에 있어서, 짝수번째 워드에 해당되는 명령어나 데이타가 기록된 제 1 메모리수단(26) ; 홀수번째 워드에 해당되는 명령어나 데이타 기록된 제 2 메모리수단(27) ; 상기 중앙처리장치(10)의 어드레스를 각각 상위어드레스와 하위어드레스로 래치시키고, 소정의 페이지영역내에서 하위어드레스를 카운트하여 어드레스를 증가시키므로써 상기 제 1 메모리수단(26)과 상기 제 2 메모리수단(27)에 어드레스를 인가시키기 위한 어드레스버퍼수단(201) ; 상기 중앙처리장치(10)의 어드레스를 디코딩하고, 제어신호를 입력으로 받아 명령어나 데이타의 액세스신호에 따른 동작상태를 결정하고 상기 제 1 메모리수단(26)과 상기 제 2 메모리수단(27)과 상기 어드레스버퍼수단(201)을 제어하기 위한 제어논리부(200)을 포함함을 특징으로 하는 메모리제어논리장치.A computer system for retrieving information recorded in a memory by an address and a control signal of a central processing unit (10), comprising: first memory means (26) in which instructions or data corresponding to an even word are recorded; Second memory means 27 in which an instruction or data corresponding to an odd word is recorded; The first memory means 26 and the second memory means are latched by the address of the CPU 10 to the upper address and the lower address, respectively, and the address is increased by counting the lower addresses in a predetermined page area. Address buffer means 201 for applying an address to 27; Decode the address of the CPU 10, receive a control signal to determine the operation state according to the access signal of the command or data, and the first memory means 26 and the second memory means 27 and And a control logic unit (200) for controlling the address buffer means (201). 제 1 항에 있어서, 상기 제 1 메모리수단(26)과 상기 제 2 메모리수단(27)은 인터리브드방식으로 구성되어, 각각 명령어나 데이타를 상기 중앙처리장치(10)로 출력됨을 특징으로 하는 메모리제어논리장치.The memory according to claim 1, wherein the first memory means (26) and the second memory means (27) are configured in an interleaved manner, and output instructions or data to the CPU 10, respectively. Control logic device. 제 1 항에 있어서, 상기 어드레스버퍼수단(201)은 상기 중앙처리장치(10)으로부터 공급되는 하위어드레스를 적재(load)하여 매액세스시 어드레스를 증가시키기 위한 카운터(23)와, 상기 중앙처리장치(10)로부터 공급되는 상위어드레스를 래치하기 위한 제 1 래치(24)와, 상기 카운터(23)에 적재되는 하위어드레스중 홀수번째 워드에 해당되는 하위어드레스를 래치하기 위한 제 2 래치(25)로 구성됨을 특징으로 하는 메모리제어논리장치.The apparatus of claim 1, wherein the address buffer means 201 loads a lower address supplied from the central processing unit 10 to increase an address upon every access, and the central processing unit A first latch 24 for latching an upper address supplied from (10), and a second latch 25 for latching a lower address corresponding to an odd word among lower addresses loaded on the counter 23; Memory control logic device, characterized in that configured. 제 1 항에 있어서, 상기 제어논리부(200)는 상기 중앙처리장치(10)로부터 공급되는 어드레스와 제어신호를 디코딩하기 위한 디코더(20)와, 상기 디코더에서 출력되는 액세스신호에 따른 동작상태를 결정하는 상태머신(21)과 상기 제 1 메모리수단(26)과 제 2 메모리수단(27)과 상기 어드레스 버퍼(201)를 제어하기 위한 제어신호발생기(22)로 구성됨을 특징으로 하는 메모리제어논리장치.The apparatus of claim 1, wherein the control logic unit 200 is configured to decode an address and a control signal supplied from the CPU 10, and an operation state according to an access signal output from the decoder. Memory control logic, characterized in that it comprises a control signal generator 22 for controlling the state machine 21, the first memory means 26, the second memory means 27, and the address buffer 201 to determine. Device. 제 4 항에 있어서, 상기 중앙처리장치(10)로부터 공급되는 하위어드레스를 적재(load)하여 매 액세스시 어드레스를 증가시키기 위한 카운터(23)와, 상기 중앙처리장치(10)로부터 공급되는 상위어드레스를 래치하기 위한 제 1 래치(24)와, 상기 카운터(23)에 적재되는 하위어드레스중 홀수번째 워드에 해당되는 하위어드레스를 래치하기 위한 제 2 래치(25)로 구성됨을 특징으로 하는 메모리제어논리장치.5. The counter 23 according to claim 4, wherein the counter 23 for loading a lower address supplied from the central processing unit 10 to increase the address at every access, and the upper address supplied from the central processing unit 10 Memory control logic, comprising: a first latch 24 for latching a second latch; and a second latch 25 for latching a lower address corresponding to an odd word among lower addresses loaded in the counter 23. Device. 제 4 항에 있어서, 상기 제어신호발생기(22)는 명령어 액세스를 위한 명령어제어 프로그램 가능 어레이논리(PAL)와, 데이타 액세스를 위한 데이타 제어 프로그램 가능 어레이논리(PAL)와, 하위어드레스를 제어하기 위한 하위어드레스 제어 프로그램 가능 어레이논리(PAL)로 구성됨을 특징으로 하는 메모리제어논리장치.5. The control signal generator (22) according to claim 4, wherein the control signal generator (22) is adapted to control instruction control programmable array logic (PAL) for instruction access, data control programmable array logic (PAL) for data access, and lower address. A memory control logic device comprising lower address control programmable array logic (PAL). 인터리브드방식으로 구성된 복수개의 메모리에 대하여 한 시스템 클럭에 하나의 명령어나 데이타들 인출할 수 있는 버스트모드로 제어하기 위한 메모리제어논리장치에 있어서, 상위어드레스와 하위어드레스를 래치시키고, 소정의 페이지 영역내에서 하위어드레스를 카운트하여 어드레스를 증가시킴으로써 상기 수개의 메모리에 어드레스를 인가하기 위한 어드레스버퍼수단 ; 상기 복수개의 메모리선택과 상기 어드레스버퍼수단을 제어하기 위한 제어논리부를 포함함을 특징으로 하는 메모리제어논리장치.A memory control logic apparatus for controlling a plurality of memories configured in an interleaved manner in a burst mode in which one instruction or data can be fetched in one system clock, comprising: latching an upper address and a lower address and predetermined page area; Address buffer means for applying an address to said several memories by counting a lower address within said address and increasing said address; And a control logic section for controlling the plurality of memory selections and the address buffer means. 제 7 항에 있어서, 상기 어드레스버퍼수단은 상위어드레스를 래치시키기 위한 래치수단과 하위어드레스를 래치시키고 카운트하기 위한 카운터수단과 턴워드에 해당되는 하위어드레스가 하나의 메모리에 인가되는 동안 다음번의 워드에 해당되는 하위어드레스를 래치시키기 위한 래치수단으로 구성됨을 특징으로 하는 메모리제어논리장치.8. The address buffering device of claim 7, wherein the address buffer means includes a latch means for latching an upper address, a counter means for latching and counting a lower address, and a lower word corresponding to a turn word to the next word while being applied to one memory. And a latch means for latching a corresponding lower address. 제 8 항에 있어서, 상기 제어논리는 프로그램 가능 어레이논리(PAL)로 구성됨을 특징으로 하는 메모리제어논리장치.10. The apparatus of claim 8, wherein the control logic consists of programmable array logic (PAL).
KR1019920007733A 1992-05-07 1992-05-07 Memory logic controller KR950003883B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920007733A KR950003883B1 (en) 1992-05-07 1992-05-07 Memory logic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920007733A KR950003883B1 (en) 1992-05-07 1992-05-07 Memory logic controller

Publications (2)

Publication Number Publication Date
KR930023839A KR930023839A (en) 1993-12-21
KR950003883B1 true KR950003883B1 (en) 1995-04-20

Family

ID=19332818

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920007733A KR950003883B1 (en) 1992-05-07 1992-05-07 Memory logic controller

Country Status (1)

Country Link
KR (1) KR950003883B1 (en)

Also Published As

Publication number Publication date
KR930023839A (en) 1993-12-21

Similar Documents

Publication Publication Date Title
US6175893B1 (en) High bandwidth code/data access using slow memory
US5367494A (en) Randomly accessible memory having time overlapping memory accesses
US5386385A (en) Method and apparatus for preventing invalid operating modes and an application to synchronous memory devices
JP3992873B2 (en) Synchronous random access memory
US6356987B1 (en) Microprocessing device having programmable wait states
US5280594A (en) Architecture for high speed contiguous sequential access memories
US6178488B1 (en) Method and apparatus for processing pipelined memory commands
US4462073A (en) Apparatus for fetching and decoding instructions
US4316244A (en) Memory apparatus for digital computer system
JPH06101225B2 (en) Computer system, memory reading method and transfer method in computer system, memory control method and memory controller
JPH04230544A (en) Data processing apparatus for dynamically setting timing of dynamic memory system
US4583162A (en) Look ahead memory interface
JP2002132701A (en) Memory control unit
JPH0527971A (en) Information processor
US6003120A (en) Method and apparatus for performing variable length processor write cycles
US4447877A (en) Memory bus interface system
JPH11353225A (en) Memory that processor addressing gray code system in sequential execution style accesses and method for storing code and data in memory
US5526500A (en) System for operand bypassing to allow a one and one-half cycle cache memory access time for sequential load and branch instructions
KR950003883B1 (en) Memory logic controller
JPH0844560A (en) Memory control circuit and integrated circuit element incorporating this circuit
US5115498A (en) Local memory fast selecting apparatus including a memory management unit (mmu) and an auxiliary memory
JPH064398A (en) Information processor
KR940001590B1 (en) Method and device for shortening memory access time in reading and writing
JPH09319657A (en) Processor provided with buffer for reading instruction
JP3242474B2 (en) Data processing device

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030324

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee