KR930007044B1 - Circuit for mapping address - Google Patents

Circuit for mapping address Download PDF

Info

Publication number
KR930007044B1
KR930007044B1 KR1019900018132A KR900018132A KR930007044B1 KR 930007044 B1 KR930007044 B1 KR 930007044B1 KR 1019900018132 A KR1019900018132 A KR 1019900018132A KR 900018132 A KR900018132 A KR 900018132A KR 930007044 B1 KR930007044 B1 KR 930007044B1
Authority
KR
South Korea
Prior art keywords
address
bit
output
inputting
gate
Prior art date
Application number
KR1019900018132A
Other languages
Korean (ko)
Other versions
KR920010427A (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 KR1019900018132A priority Critical patent/KR930007044B1/en
Publication of KR920010427A publication Critical patent/KR920010427A/en
Application granted granted Critical
Publication of KR930007044B1 publication Critical patent/KR930007044B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/34Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Abstract

The circuit is for utilizing memory space efficiently by mapping a RAM space of 640 KB - 1 MB overlapped to ROM on most significant level of logical address space and the other space on the logical address space one to one. It includes a register for storing the most significant K bit of logical address space, an address detector for detecting the logical address to be mapped or not, and an address converter for converting the logical address of n bit to physical address of n bit.

Description

어드레스 맵핑회로Address mapping circuit

제1도는 종래의 일반적인 메모리 제어 블럭 구성도.1 is a block diagram of a conventional general memory control block.

제2도는 종래의 맵핑기능을 수행하기 위한 메모리 제어 블럭 구성도.2 is a block diagram illustrating a memory control block for performing a conventional mapping function.

제3도는 RAM의 용량이 1MB인 경우에 제2도의 맵핑기능에 의해서 맵핑된 것을 나타내는 메모리 멥.FIG. 3 shows memory mapped by the mapping function of FIG. 2 when the capacity of RAM is 1MB.

제4도는 RAM의 용량이 1MB를 초과하는 경우에 제2도의 맵핑기능에 의해서 맵핑된 것을 나타내는 메모리 맵.FIG. 4 is a memory map showing that the mapping function of FIG. 2 is mapped when the amount of RAM exceeds 1MB.

제5도는 본 발명의 메모리 제어 블럭 구성도.5 is a block diagram of a memory control block of the present invention.

제6도는 제5도의 어드레스 맵핑회로의 블럭 구성도.6 is a block diagram of the address mapping circuit of FIG.

제7도는 본 발명의 어드레스 맵핑회로도.7 is an address mapping circuit diagram of the present invention.

제8도는 본 발명에 의해 RAM의 용량이 2MB일때 2MB∼2.384MB의 논리적 어드레스 공간으로 맵핑된 경우를 나타내는 메모리 맵.8 is a memory map showing a case where the RAM is mapped to a logical address space of 2MB to 2.384MB when the capacity of RAM is 2MB according to the present invention.

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

1 : ROM 어드레스 결합부 2 : ROM 제어부1: ROM address combining unit 2: ROM control unit

3,3' : RAM 제어부 4, 4' : RAM 어드레스 멀티플렉서3,3 ': RAM control unit 4, 4': RAM address multiplexer

5 : 1MB∼1.384MB 어드레스 검출부 6 : 어드레스 검출부5: 1MB to 1.384MB address detection unit 6: address detection unit

7 : 레지스터 8 : 어드레스 검출부7: register 8: address detection unit

9 : 어드레스 변환부 XNR1∼XNR4 : EXNOR 게이트9: Address conversion unit XNR1 to XNR4: EXNOR gate

XOR1∼XOR2 : EXOR 게이트 NA1∼NA6 : NAND 게이트XOR1 to XOR2: EXOR gate NA1 to NA6: NAND gate

1NV1∼1NV6 : 인버터 AND : AND 게이트1 NV1 to 1 NV6: Inverter AND: AND gate

NOR1,NOR2 : NOR 게이트NOR1, NOR2: NOR Gate

본 발명은 메모리 제어회로에 관한 것으로, 특히 ROM과 중첩되는 RAM의 영역을 맵핑시키기 위한 어드레스 밉핑회로에 관한 것이다.The present invention relates to a memory control circuit, and more particularly, to an address mipping circuit for mapping an area of RAM overlapping a ROM.

컴퓨터 시스템에 있어서, 주기억 장치는 RAM(Random Access Memory)과 ROM(Read Only Memory)으로 나누어진다. 일반적으로 ROM에는 프로그램들이 기억되고 있고 그리고 RAM은 데이타, 가변적인 변수등 변경되기 쉬운 업 데이팅을 필요로 하는 데이타를 저장하기 위하여 사용된다. 그런데 중앙처리장치(CPU : Central Processing Unit)로부터 나오는 어드레스(이하 논리적 어드레스라함)가 ROM의 어드레스와 RAM의 어드레스가 중첩되는 어드레스인 경우에는 어드레스의 맵핑이 불가능하였다.In a computer system, a main memory device is divided into a random access memory (RAM) and a read only memory (ROM). In general, ROM stores programs and RAM is used to store data, variable variables, and other data that require easy updating. However, when an address (hereinafter referred to as a logical address) coming from a central processing unit (CPU) is an address in which an ROM address and an RAM address overlap, it is impossible to map the address.

제1도는 종래의 맵핑이 안되는 일반적인 메모리 제어 블럭을 나타낸 것으로서, 어드레스 버스로부터 ROM의 어드레스를 검출하기 위한 ROM 어드레스 검출부(1)와, 상기 ROM 어드레스 검출부의 출력신호(R)에 응답하여 ROM 제어출력을 발생하는 ROM 제어부(2)와 상시 출력신호(R)에 응답하여 어드레스 버스로부터의 어드레스를 RAM의 어드레스 영역으로 일대일로 대응시키기 위한 RAM 제어출력을 발생하는 RAM 제어부(3)로 구성되어 ROM과 중첩되는 RAM의 영역의 맵핑이 불가능하여 메모리 영역을 효율적으로 활용할 수 없었다.FIG. 1 shows a general memory control block which is not mapped in the related art, and includes a ROM address detection unit 1 for detecting a ROM address from an address bus and a ROM control output in response to an output signal R of the ROM address detection unit. And a ROM controller (3) for generating a RAM control output for one-to-one correspondence of addresses from the address bus to an address area of the RAM in response to the always-output signal (R). It was impossible to map regions of overlapping RAM, so the memory regions could not be utilized efficiently.

이러한 문제점을 해결하기 위하여 종래의 IBM PC 및 그 호환기종에 있어서는 ROM의 어그레스 공간 영역이 640KB∼1MB이고 ROM과 중첩되는 640KB∼1MB의 RAM의 영역을 1MB∼1.384MB의 논리적 어드레스 공간으로 맵핑을 하였다.In order to solve this problem, in conventional IBM PCs and compatible models, the ROM address space area is 640 KB to 1 MB, and the 640 KB to 1 MB RAM area that overlaps the ROM is mapped to a logical address space of 1 MB to 1.384 MB. It was.

제2도는 종래의 맵핑기능을 수행하기 위한 메모리 제어 블럭 구성도를 나타낸 것으로서, 어드레스 버스로부터 ROM의 어드레스를 검출하기 위한 ROM 어드레스 검출부(1)와, 상기 어드레스 버스로부터 1MB∼1.384MB의 어드레스를 검출하기 위한 검출부(5)와, 상기 ROM 어드레스 검출부의 제어신호(R)에 응답하여 ROM을 제어하기 위한 ROM 제어부(2)와, 상기 제어신호(R)와 상기 검출부의 출력신호에 응답하여 상기 어드레스 버스로부터의 신호에 의해 RAM을 제어하는 RAM 제어부(3`)로 구성되어 상기 어드레스 버스로부터 1MB∼1.384MB의 어드레스가 상기 검출부(5)에서 검출되면 상기 RAM 제어부(3`)가 640KB∼1MB의 RAM의 영역을 선택하여 맵핑하였다.2 is a block diagram of a memory control block for performing a conventional mapping function, wherein a ROM address detection section 1 for detecting an address of a ROM from an address bus and an address of 1MB to 1.384MB are detected from the address bus. A detection unit 5 for controlling the ROM, a ROM control unit 2 for controlling the ROM in response to the control signal R of the ROM address detection unit, and the address in response to the control signal R and an output signal of the detection unit. RAM control unit 3` which controls the RAM by a signal from a bus. When an address of 1MB to 1.384MB is detected by the detection unit 5 from the address bus, the RAM control unit 3` is 640KB to 1MB. Areas of RAM were selected and mapped.

따라서 제2도의 메모리 제어 블럭에 의해 맵핑을 하는 경우에 제3도에 보여진 것처럼 RAM의 용량이 1MB인 경우에는 ROM과 중첩되는 640KB∼1MB의 RAM을 1MB∼1.384MB로 맵핑하여 메모리 영역을 효율적으로 활용할 수 있었다. 그러나 제4도에 보여진 것처럼 RAM의 용량이 1MB를 초과하는 경우에도 여전히 ROM과 중첩되는 640KB∼1MB의 RAM을 1MB∼1.384MB로 맵핑을 하게 됨으로써 1MB위의 RAM 영역을 사용하지 못하는 단점이 있다.Therefore, in the case of mapping by the memory control block of FIG. 2, as shown in FIG. 3, when the capacity of RAM is 1MB, the memory area is efficiently mapped by mapping the 640KB to 1MB of RAM overlapping the ROM to 1MB to 1.384MB. Could use. However, as shown in FIG. 4, even when the capacity of the RAM exceeds 1 MB, the 640 KB to 1 MB of RAM overlapping with the ROM is mapped to 1 MB to 1.384 MB, which makes it impossible to use the RAM area above 1 MB.

따라서 본 발명의 목적은 ROM과 중첩되는 640KB∼1MB의 RAM을 논리적 어드레스 공간의 최상위로 맵핑시키고 다른 RAM의 영역을 논리적 어드레스 공간의 영역과 일대일로 맵핑시킴으로써 메모리 영역을 효과적으로 활용할 수 있는 어드레스 맵핑회로를 제공하는데 있다.Accordingly, an object of the present invention is to provide an address mapping circuit that effectively utilizes a memory area by mapping a RAM of 640KB to 1MB overlapping with a ROM to the top of a logical address space and mapping one area of another RAM to one of a logical address space. To provide.

이와같은 목적을 달성하기 위하여 본 발명의 어드레스 맵핑회로는 어드레스 버스로부터 ROM의 어드레스를 검출하기 위한 ROM 어드레스 검출부와, 상기 ROM 어드레스 검출부의 출력신호에 응답하여 ROM 제어출력을 발생하는 ROM 제어부와, 상기 출력신호에 응답하여 어드레스 버스로부터의 어드레스를 RAM의 어드레스 영역으로 일대일로 대응시키기 위한 RAM 제어출력을 발생하는 RAM 제어부를 구비한 시스템이 있어서, n비트의 논리적 어드레스 공간의 최상위 K비트를 저장하는 레지스터와, 상기 입력되는 n비트의 논리적 어드레스와 맵핑되어야 할 것인지 아닌지를 검출하기 위한 어드레스 검출부와, 상기 어드레스 검출부의 출력신호에 응답하여 상시 n비트의 논리적 어드레스를 n비트의 물리적 어드레스로 변환하여 상기 RAM 제어부에 입력하는 어드레스 변환부를 구비한 것을 특징으로 한다.In order to achieve the above object, the address mapping circuit of the present invention includes a ROM address detecting unit for detecting an address of a ROM from an address bus, a ROM control unit for generating a ROM control output in response to an output signal of the ROM address detecting unit, and A system having a RAM control unit for generating a RAM control output for one-to-one correspondence of an address from an address bus to an address area of a RAM in response to an output signal, wherein the register stores a most significant K bit of an n-bit logical address space. And an address detecting unit for detecting whether or not to be mapped with the input n-bit logical address, and converting a logical address of n bits into an n-bit physical address at all times in response to an output signal of the address detecting unit. Address translation input to control unit It is characterized by having a part.

이하 첨부한 도면을 참조로 하여 본 발명의 어드레스 맵핑회로의 구성을 설명하면 다음과 같다.Hereinafter, a configuration of an address mapping circuit of the present invention will be described with reference to the accompanying drawings.

제5도는 본 발명의 메모리 제어 블럭 구성도를 나타낸 것으로서, 제1도의 종래의 일반적인 메모리 제어블럭에 어드레스 맵핑회로(6)를 더 구비하고 있다.5 is a block diagram of the memory control block according to the present invention, and the address mapping circuit 6 is further provided in the conventional general memory control block of FIG.

제6도는 제5도는 어드레스 맵핑회로(6)를 나타낸 것으로서, 논리적 어드레스 공간의 최상위 K비트를 저장하는 레지스터(7)와, 어드레스 버스로부터 입격되는 논리적 어드레스와 상기 레지스터의 출력값을 익력하여 제어출력(FLAG)을 발생하는 어드레스 검출부(8)와, 상기 제어출력신호(FLAG)에 응답하여 상기 논리적 어드레스를 맵핑되어야 할 RAM의 물리적 어드레스로 변환하는 어드레스 변환부(9)로 구성되어 있다.FIG. 6 shows the address mapping circuit 6. The register 7 stores the most significant K bits of the logical address space, the logical address entered from the address bus, and the output value of the register. And an address detector 8 for generating FLAG, and an address converter 9 for converting the logical address into a physical address of RAM to be mapped in response to the control output signal FLAG.

제7도는 시스템 RAM의 용량이 2MB이고 ROM의 영역이 640KB∼1MB인 24비트(bit)의 어드레스 버스를 가지는 시스템에의 적용을 위한 제6도의 어드레스 맵핑회로의 블럭들을 구체화시킨 일실시예의 회로도이다.FIG. 7 is a circuit diagram of one embodiment incorporating blocks of the address mapping circuit of FIG. 6 for application to a system having a 24-bit address bus having a system RAM capacity of 2 MB and a ROM area of 640 KB to 1 MB. .

그리고 제7도의 어드레스 맵핑회로는 ROM과 중첩된 640KB∼1MB의 RAM을 ROM과 중첩되지 않게 논리적 어드레스의 최상위 공간인 2MB∼2.384MB로 맵핑시키기 위해서 논리적 어드레스(200000H∼25FFFFH)를 물리적 어드레스(0A0000H∼0FFFFFH)로 변환해야 한다.The address mapping circuit of FIG. 7 maps the logical addresses 200000H to 25FFFFH to physical addresses 0A0000H to in order to map 640KB to 1MB of RAM superimposed on the ROM into 2MB to 2.384MB, which is the uppermost space of the logical address, so as not to overlap the ROM. 0FFFFFH).

어드레스 변환표는 다음과 같다.The address conversion table is as follows.

위의 어드레스 변화표에서 맵핑되어야 할 어드레스인지 아닌지를 검출하기 위한 어드레스 검출부(8)는 레지스터(B23,B22,B21,B20)(7)에 저장된 논리적 어드레스의 공간의 최상위 비트(0010)와 논리적 어드레스의 최상위 비트(A23,A22,A21,A20)를 입력하여 A23=B23, A22=B22, A21=B21, A20=B20이면The address detecting section 8 for detecting whether or not the address to be mapped in the above address change table is the most significant bit of the logical address space stored in the registers B23, B22, B21, and B20 and the logical address of the logical address. Input the most significant bit (A23, A22, A21, A20) and if A23 = B23, A22 = B22, A21 = B21, A20 = B20

X=Y=Z=P=1이고,X = Y = Z = P = 1,

논리적 어드레스의 3비트(A19,A18,A17)이Three bits (A19, A18, A17) of the logical address

이면 Back side

Q=1의 논리식을 만족시켜야 한다.The logical expression of Q = 1 must be satisfied.

X=Y=Z=P=Q=1인 경우에 논리적 어드레스(A23∼A17)를 물리적 어드레스(iA23∼iA17)로 변화하기 위한 제어출력(FLAG)을 발생시키고, FLAG=0인 경우에 어드레스 변환을 하기 위하여 즉, FLAG=의 논리식을 만족시켜야 한다. 즉,When X = Y = Z = P = Q = 1, a control output FLAG is generated to change the logical addresses A23 to A17 to physical addresses iA23 to iA17, and address conversion when FLAG = 0. Ie FLAG = Must satisfy the logical expression of. In other words,

FLAG= FLAG =

의 논리식을 만족시켜야 한다. 또한 어드레스 변환회로(9)는Must satisfy the logical expression of. In addition, the address conversion circuit 9

i) FLAG=1i) FLAG = 1

iA23=A23,iA22=A22,iA21=A21,iA20=A20iA23 = A23, iA22 = A22, iA21 = A21, iA20 = A20

iA19=A19,iA18=A18,iA17=A17iA19 = A19, iA18 = A18, iA17 = A17

ii) FLAG=0ii) FLAG = 0

iA23=iA22=iA21=iA20=0iA23 = iA22 = iA21 = iA20 = 0

iA19=1iA19 = 1

iA18=A17+A18 iA18 = A17 + A18

iA17= iA17 =

상기 i) ii) 식에 의해서By i) ii)

iA23=A23·FLAG …………………………………………………………(1)iA23 = A23FLAG... … … … … … … … … … … … … … … … … … … … … … (One)

iA22=A22·FLAG …………………………………………………………(2)iA22 = A22FLAG... … … … … … … … … … … … … … … … … … … … … … (2)

iA21=A21·FLAG …………………………………………………………(3)iA21 = A21 FLAG... … … … … … … … … … … … … … … … … … … … … … (3)

iA20=A20·FLAG …………………………………………………………(4)iA20 = A20 FLAG... … … … … … … … … … … … … … … … … … … … … … (4)

iA19=A19·FLAG+……………………………………………………(5)iA19 = A19FLAG + … … … … … … … … … … … … … … … … … … … … (5)

iA18=A18·FLAG+(·A17+A18·)…………………(6)iA18 = A18FLAG + ( A17 + A18 ) … … … … … … … (6)

iA17=A19·FLAG+·…………………………………………(7)iA17 = A19FLAG + · … … … … … … … … … … … … … … … … (7)

의 논리식으로 나타내어진다.It is represented by the logical expression of.

상기 5), 6), 7) 식을 간략화 하면Simplify the equations 5), 6) and 7)

iA19=A19+=……………………………………………(5)iA19 = A19 + = … … … … … … … … … … … … … … … … … (5)

iA18=A18(+FLAG)+()=A18 …(6)iA18 = A18 ( + FLAG) + ( ) = A18 … (6)

iA17= FLAG …………………………………………………………(7)iA17 = FLAG… … … … … … … … … … … … … … … … … … … … … … (7)

로 나타내어진다(위 논리식들은 Karnaugh map에 의해서 간략화 된다).(The above expressions are simplified by the Karnaugh map).

제7도는 상기 논리식을 구현하기 위한 회로도로서 어드레스 검출부(8)는 노드 X=Y=Z=P=1을 발생하기 위하여 각 4개의 EXNOR 게이트(XNOR1∼XNOR4)로 구성하고 노드 Q=1을 발생하기 위하여 1개의 AND 게이트(AND)와 1개의 NOR 게이트(NOR2)로 구성하였다. 제어출력(FLAG)=X·Y·Z·P·Q의 논리식을 만족시키기 위해 1개의 NAND 게이트(NA1)로 구성하였다. 어드레스 변환회로(9)는 논리식 (1)∼(4)를 만족시키기 위하여 제어출력(FLAG)과 논리적 어드레스(A23∼A20)의 각 비트를 입력하는 4개의 NAND 게이트(NA2∼NA5)와 4개의 NAND 게이트(NA2∼NA5)의 출력을 입력하는 4개의 인버터(INV1∼INV4)로 구성하였다. 그리고 논리식(5)를 만족시키기 위하여 논리적 어드레스(A19)를 반전하는 인버터(INV5)와 인버터(INV5)의 출력과 제어출력(FLAG)을 입력하는 NAND 게이트(NA6)로 구성하고 논리식(6)을 만족시키기 위하여 제어출력(FLAG)과 논리적 어드레스(A17)를 반전하는 인버터(INV6)와 제어출력(FLAG)과 인버터(INV6)의 출력을 입력하는 NOR 게이트(NOR1)와 논리적 어드레스(A18)을 입력하는 EXOR 게이트(XOR1)로 구성하고 논리식(7)을 만족시키기 위하여 인버터(INV6)의 출력과 제어출력(FLAG)을 입력하는 EXOR 게이트(XOR2)로 구성하였다.7 is a circuit diagram for implementing the above logic expression. The address detecting unit 8 is composed of four EXNOR gates XNOR1 to XNOR4 and generates a node Q = 1 to generate nodes X = Y = Z = P = 1. In order to do this, one AND gate (AND) and one NOR gate (NOR2) are configured. In order to satisfy the logic expression of control output FLAG = X, Y, Z, P, Q, one NAND gate NA1 was configured. The address converting circuit 9 has four NAND gates NA2 to NA5 and four inputs for inputting the control output FLAG and each bit of the logical addresses A23 to A20 to satisfy the logic expressions (1) to (4). Four inverters INV1 to INV4 for inputting the outputs of the NAND gates NA2 to NA5 were configured. In order to satisfy the expression (5), the inverter consists of an inverter INV5 that inverts the logical address A19 and a NAND gate NA6 that inputs the output of the inverter INV5 and the control output FLAG. To satisfy the input, the inverter INV6 which inverts the control output FLAG and the logical address A17 and the NOR gate NOR1 and the logical address A18 which input the outputs of the control output FLAG and the inverter INV6 are inputted. And an EXOR gate (XOR2) for inputting the output of the inverter (INV6) and the control output (FLAG) to satisfy the expression (7).

제8도는 제7도의 어드레스 맵핑회로를 제5도의 메모리 제어 블럭 구성도에 적용하여 시스템 RAM의 용량이 2MB일때 2M∼2.384MB의 논리적 어드레스 공간으로 맵핑된 경우를 나타내는 메모리 맵을 나타낸 것이다.FIG. 8 shows a memory map showing the case where the address mapping circuit of FIG. 7 is applied to the memory control block diagram of FIG. 5 and mapped to a logical address space of 2M to 2.384MB when the capacity of the system RAM is 2MB.

따라서 본 발명의 어드레스 맵핑회로는 시스템 RAM의 용량이 1MB를 넘을 경우에 1MB∼1.384MB에 존재하던 기존의 RAM과 맵핑된 RAM이 중첩되고, 1.384MB 위의 RAM을 사용하지 못했던 종래의 단점을 개선하여 시스템 RAM의 용량과 관계없이 ROM과 중첩된 RAM을 논리적 어드레스 최상위 공간으로 맵핑하고 다른 RAM은 논리적 어드레스 공간과 일대일로 맵핑시킴으로서 RAM을 효율적으로 활용할 수 있다.Therefore, in the address mapping circuit of the present invention, when the capacity of the system RAM exceeds 1 MB, the existing RAM existing in the range of 1 MB to 1.384 MB overlaps with the mapped RAM, and improves the conventional disadvantage of not using the RAM above 1.384 MB. Therefore, RAM can be efficiently utilized by mapping ROM and overlapped RAM to the logical address top space regardless of the amount of system RAM, and mapping other RAM one-to-one with the logical address space.

본 발명은 상기 실시예에만 국한되는 것이 아니고 본 발명의 정신과 범주내에서 여러가지 변형과 응용이 가능하다.The present invention is not limited to the above embodiments, and various modifications and applications are possible within the spirit and scope of the present invention.

Claims (8)

어그레스 버스로부터 ROM의 어드레스를 검출하기 위한 ROM 어드레스 검출부와, 상기 어드레스 검출부의 제어신호에 응답하여 ROM을 제어하기 위한 ROM 제어부와, 상기 ROM 어드레스 검출부의 제어신호에 응답하여 어드레스 버스로부터의 논리적 어드레스를 RAM의 어드레스로 일대일로 대응시키기 위한 RAM을 구비한 시스템에 있어서, n비트의 논리적 어드레스 공간의 최상위 K비트를 저장하는 레지스터와, 상기 입력되는 n비트의 논리적 어드레스가 맵핑되어야 할 것인지 아닌지를 검출하기 위한 어드레스 검출부와, 상기 어드레스 검출부의 출력신호에 응답하여 상기 n비트의 논리적 어드레스를 n비트의 물리적 어드레스 변환부를 구비하는 것을 특징으로 하는 어드레스 맵핑회로.A ROM address detection section for detecting the address of the ROM from an address bus, a ROM control section for controlling the ROM in response to a control signal of the address detection section, and a logical address from the address bus in response to a control signal of the ROM address detection section. In a system having a RAM for one-to-one correspondence to an address of a RAM, a register for storing the most significant K bits of an n-bit logical address space and whether the input n-bit logical address should be mapped or not are detected. And an n-bit physical address converting unit for the n-bit logical address in response to an output signal of the address detecting unit. 제1항에 있어서, 상기 어드레스 검출부는 상기 n비트의 논리적 어드레스중의 최상위 K비트를 각각 비교하는 제1비교부와, 상기 n비트의 논리적 어드레스중의 n-K비트를 비교하는 제2비교부와, 상기 제1비교부와 상기 제2비교부의 출력을 조합하여 제어출력을 발생하는 제어부를 구비한 것을 특징으로 하는 어드레스 맵핑회로.2. The apparatus of claim 1, wherein the address detecting unit comprises: a first comparing unit comparing each of the most significant K bits in the n-bit logical address; a second comparing unit comparing the nK bits in the n-bit logical address; And a control unit for generating a control output by combining the outputs of the first comparing unit and the second comparing unit. 제2항에 있어서, 상기 제1비교부는 상기 K비트의 각 비트와, 상기 레지스터의 K비트의 각 비트를 입력하는 EXNOR 게이트를 구비한 것을 특징으로 하는 어드레스 맵핑회로.3. The address mapping circuit according to claim 2, wherein the first comparison section includes an EXNOR gate for inputting each bit of the K bits and each bit of the K bits of the register. 제3항에 있어서, 상기 제2비교부는 상기 n-K비트의 상위 2비트를 입력하는 AND 게이트와, 상기 AND 게이트의 출력과 하위 1비트를 입력하는 NOR 게이트를 구비한 것을 특징으로 하는 어드레스 맵핑회로.4. The address mapping circuit according to claim 3, wherein the second comparator comprises an AND gate for inputting the upper two bits of the n-K bits, and a NOR gate for inputting the output of the AND gate and the lower one bit. 제4항에 있어서, 상기 제어부는 상기 K개의 EXNOR 게이트의 출력과 NOR 게이트의 출력을 입력하는 NAND 게이트를 구비한 것을 특징으로 하는 어드레스 맵핑회로.The address mapping circuit according to claim 4, wherein the control unit includes a NAND gate for inputting outputs of the K EXNOR gates and outputs of the NOR gates. 제1항에 있어서, 상기 어드레스 변환부는 상기 K비트의 각 비트를 변환하는 제1변환부와, 상기 n-K비트의 각 비트를 변환하는 제2변환부를 구비한 것을 특징으로 하는 어드레스 맵핑회로.The address mapping circuit according to claim 1, wherein the address conversion section comprises a first conversion section for converting each bit of the K bits and a second conversion section for converting each bit of the n-K bits. 제6항에 있어서, 상기 제1변환부는 상기 K비트의 각 비트와 상기 어드레스 검출부의 출력을 각각 입력하는 NAND 게이트와, 상기 NAND 게이트의 출력을 입력하는 인버터를 구비한 것을 특징으로 하는 어드레스 맵핑회로.7. The address mapping circuit according to claim 6, wherein the first conversion section comprises a NAND gate for inputting each bit of the K bit and an output of the address detection section, and an inverter for inputting the output of the NAND gate. . 제7항에 있어서, 상기 제2변환부는 상기 n-K비트의 상위 1비트를 입력하는 제1인버터와 상기 인버터의 출력과 상기 어드레스 검출부의 출력을 입력하는 NAND 게이트 ; 상기 n-K비트의 하위 1비트를 입력하는 제2인버터와 상기 인버터의 출력과 상기 어드레스 검출부의 출력을 입력하는 NOR 게이트와 상기 NOR 게이트의 출력과 상기 n-K비트의 중위 1비트를 입력하는 EXOR 게이트 ; 상기 제2인버터의 출력과 상기 어드레스 검출부의 출력을 입력하는 EXOR 게이트를 구비한 것을 특징으로 하는 어드레스 맵핑회로.The display device of claim 7, wherein the second converter comprises: a first inverter for inputting the upper 1 bit of the n-K bit, a NAND gate for inputting an output of the inverter and an output of the address detection unit; A second inverter for inputting the lower 1 bit of the n-K bit, an NOR gate for inputting the output of the inverter and the output of the address detector, an EXOR gate for inputting the output of the NOR gate and the middle 1 bit of the n-K bit; And an EXOR gate for inputting the output of the second inverter and the output of the address detector.
KR1019900018132A 1990-11-09 1990-11-09 Circuit for mapping address KR930007044B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900018132A KR930007044B1 (en) 1990-11-09 1990-11-09 Circuit for mapping address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900018132A KR930007044B1 (en) 1990-11-09 1990-11-09 Circuit for mapping address

Publications (2)

Publication Number Publication Date
KR920010427A KR920010427A (en) 1992-06-26
KR930007044B1 true KR930007044B1 (en) 1993-07-26

Family

ID=19305817

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900018132A KR930007044B1 (en) 1990-11-09 1990-11-09 Circuit for mapping address

Country Status (1)

Country Link
KR (1) KR930007044B1 (en)

Also Published As

Publication number Publication date
KR920010427A (en) 1992-06-26

Similar Documents

Publication Publication Date Title
US4473878A (en) Memory management unit
US6226732B1 (en) Memory system architecture
US3786432A (en) Push-pop memory stack having reach down mode and improved means for processing double-word items
KR100705171B1 (en) Simple high-performance memory management unit
KR950015083A (en) A data processing system, and a method for providing memory access control
US3982231A (en) Prefixing in a multiprocessing system
KR930007044B1 (en) Circuit for mapping address
US4692897A (en) Arrangement for dynamic range checking or matching for digital values in a software system
JPS5821305B2 (en) calculator
JP2504500B2 (en) Address translation device
JPS6220583B2 (en)
JPS60150148A (en) Virtual address mapping using 2-level conversion buffer
KR920003845B1 (en) Rom region expansion system for users of pc
JPS61141054A (en) Information processor
JPS5818757A (en) Array limit inspecting device
KR920010468A (en) Single chip microcomputer and electronic devices embedded therein
JPS5844417Y2 (en) Change detector input module
JP2587221B2 (en) Virtual memory control method in compiler
KR0176186B1 (en) Address mapping circuit of pc chip set
JPS63241647A (en) Microprocessor
JPS62212751A (en) Data processor
JPH0244445A (en) Data processor
JPH0635792A (en) Address space extension device
KR910001541A (en) Error bit detection and correction circuit
JPS62237544A (en) Memory access controller

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

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee