KR100717273B1 - Processor device including backup cache memory and method for backup cache memory access thereof - Google Patents

Processor device including backup cache memory and method for backup cache memory access thereof Download PDF

Info

Publication number
KR100717273B1
KR100717273B1 KR1020000065876A KR20000065876A KR100717273B1 KR 100717273 B1 KR100717273 B1 KR 100717273B1 KR 1020000065876 A KR1020000065876 A KR 1020000065876A KR 20000065876 A KR20000065876 A KR 20000065876A KR 100717273 B1 KR100717273 B1 KR 100717273B1
Authority
KR
South Korea
Prior art keywords
cache memory
memory
area
processor
backup
Prior art date
Application number
KR1020000065876A
Other languages
Korean (ko)
Other versions
KR20020036025A (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 KR1020000065876A priority Critical patent/KR100717273B1/en
Publication of KR20020036025A publication Critical patent/KR20020036025A/en
Application granted granted Critical
Publication of KR100717273B1 publication Critical patent/KR100717273B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1497Details of time redundant execution on a single processing unit
    • 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
    • G06F12/0804Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with main memory updating
    • 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
    • G06F12/0806Multiuser, multiprocessor or multiprocessing cache systems
    • G06F12/0811Multiuser, multiprocessor or multiprocessing cache systems with multilevel cache hierarchies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

본 발명은 백업 캐시 메모리를 구비하는 프로세서 장치 및 그의 백업 캐시 메모리 억세스 방법에 관한 것이다. 여기에 개시되는 프로세서 장치는 메인 메모리 장치를 사용하는 컴퓨터 시스템에 적합하다. 프로세서 장치는 프로세서 코어와 2 차 캐시 메모리 및 백업 캐시 메모리를 구비한다. 그리고 프로세서 코어와 2 차 캐시 메모리 및 백업 캐시 메모리 사이에 구비되어, 2 차 캐시 메모리의 이상 유무를 판별하고, 판별 결과 2 차 캐시 메모리가 적어도 하나의 특정 영역에 이상이 있으면, 프로세서 코어가 특정 영역 억세스 시, 상기 특정 영역에 대응하는 메모리 영역을 억세스하도록 하는 수단을 포함한다. 이 수단은 2 차 캐시 메모리의 이상이 있는 특정 영역과 백업 캐시 메모리의 메모리 영역을 상호 할당하는 맵핑 정보를 저장한다. 따라서 프로세서 코어가 2차 캐시 메모리의 이상이 있는 특정 영역 억세스 시, 맵핑 정보를 이용하여 할당된 백업 캐시 메모리 영역을 억세스하도록 함으로써, 2 차 캐시 메모리의 일부 영역의 고장으로 인한 프로세서의 오동작을 방지한다.The present invention relates to a processor device having a backup cache memory and a method of accessing the backup cache memory thereof. The processor device disclosed herein is suitable for a computer system using a main memory device. The processor device has a processor core and a secondary cache memory and a backup cache memory. And between the processor core and the secondary cache memory and the backup cache memory to determine whether there is an abnormality in the secondary cache memory, and if the secondary cache memory has an abnormality in at least one specific area, the processor core is located in the specific area. And upon access, means for accessing a memory area corresponding to the specific area. This means stores mapping information for mutually allocating a specific area having an abnormality of the secondary cache memory and a memory area of the backup cache memory. Accordingly, when the processor core accesses a specific region having an abnormality of the secondary cache memory, the processor may access the allocated backup cache memory region by using the mapping information, thereby preventing a processor malfunction due to a failure of a portion of the secondary cache memory. .

Description

백업 캐시 메모리를 구비하는 프로세서 장치 및 그의 백업 캐시 메모리 억세스 방법{PROCESSOR DEVICE INCLUDING BACKUP CACHE MEMORY AND METHOD FOR BACKUP CACHE MEMORY ACCESS THEREOF}A processor device having a backup cache memory and a method of accessing the backup cache memory thereof, and a method for accessing the backup cache memory thereof.

도 1 및 도 2는 2 차 캐시 메모리 장치를 구비하는 프로세서 장치의 개략적인 구성을 도시한 블럭도;1 and 2 are block diagrams showing a schematic configuration of a processor device having a secondary cache memory device;

도 3 및 도 4는 본 발명에 따른 프로세서 장치의 개략적인 구성을 도시한 블럭도;3 and 4 are block diagrams showing a schematic configuration of a processor device according to the present invention;

도 5는 본 발명의 일 실시예에 따른 프로세서 장치의 구성을 도시한 블럭도; 그리고5 is a block diagram showing a configuration of a processor device according to an embodiment of the present invention; And

고 6은 도 5에 도시된 프로세서 장치의 백업 캐시 메모리를 사용하기 위한 억세스 수순을 나타내는 흐름도이다.6 is a flowchart illustrating an access procedure for using the backup cache memory of the processor device shown in FIG. 5.

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

30, 40 : 프로세서 장치30, 40: processor unit

32, 42 : 프로세서 코어32, 42: processor core

34, 44 : 2 차 캐시 메모리34, 44: secondary cache memory

36, 46 : 백업 캐시 메모리36, 46: backup cache memory

38 : 캐시 메모리 인터페이스부 38: cache memory interface unit                 

50 : 메인 메모리50: main memory

본 발명은 컴퓨터용 프로세서 장치에 관한 것으로, 좀 더 구체적으로 백업 캐시 메모리를 구비하는 프로세서 장치 및 그의 백업 캐시 메모리 억세스 방법에 관한 것이다.The present invention relates to a processor device for a computer, and more particularly, to a processor device having a backup cache memory and a method of accessing the backup cache memory thereof.

일반적으로 컴퓨터용 프로세서 장치는 프로세서 코어(core) 내부에 구비되는 1 차(L1) 캐시 메모리와 프로세서 장치 내부에 구비되는 2 차(L2) 캐시 메모리를 구비한다.In general, a processor device for a computer includes a primary (L1) cache memory provided in a processor core and a secondary (L2) cache memory provided in a processor device.

예를 들어, 인텔(Intel) 사의 펜티엄 2 또는 3 프로세서는 슬롯(slot) 타입과 소켓(socket) 타입의 두가지 타입으로 제작되는데, 이들 타입 모두 프로세서 장치 내부에 2 차 캐시 메모리를 구비한다.For example, an Intel Pentium 2 or 3 processor is manufactured in two types, a slot type and a socket type, both of which have secondary cache memory inside the processor device.

도 1 내지 도 2를 참조하면, 슬롯 타입의 프로세서 장치(10)는 PCB 기판(16) 위에 프로세서 코어(12)와 2 차 캐시 메모리(14)를 구비하고 있다. 그리고 소켓 타입의 프로세서 장치(20)는 프로세서 코어(22) 내부에 2 차 캐시 메모리(24)를 구비하고 있다.1 and 2, a slot type processor device 10 includes a processor core 12 and a secondary cache memory 14 on a PCB substrate 16. The socket type processor device 20 includes a secondary cache memory 24 inside the processor core 22.

이들 프로세서 장치(10, 20)는 컴퓨터용 프로세서 장치로, 메인 메모리(미도시됨)와 연결되어 프로세서 동작에 따른 빈번한 메모리 억세스가 이루어진다. 그러므로 프로세서 장치(10, 20)는 메인 메모리보다 빠른 억세스 속도를 갖는 캐시 메모리를 프로세서 코어(12, 22)와 메인 메모리 사이에 구비한다. 즉, 프로세서 장치(10, 20)는 메인 메모리와의 데이터 억세스를 위한 인터페이스 시간이 많이 걸리기 때문에 프로세서 코어(12, 22)와 메인 메모리 사이에 2 차 캐시 메모리(14, 24)를 두고, 빈번한 데이터 억세스가 요구될 때, 데이터를 메인 메모리에서 독출하여 캐시 메모리로 로드(load)한다. 그리고 필요할 때마다 캐시 메모리로부터 데이터를 억세스함으로써, 짧은 시간으로 데이터 억세스를 처리한다. 이는 일반적으로 메인 메모리의 억세스 시간보다 캐시 메모리의 억세스 시간이 짧기 때문이다.These processor devices 10 and 20 are processor devices for computers, which are connected to main memory (not shown) to perform frequent memory accesses according to processor operation. The processor device 10, 20 therefore includes a cache memory between the processor cores 12, 22 and the main memory having an access speed faster than the main memory. In other words, since the processor apparatus 10 or 20 takes a long time for an interface for data access with the main memory, the processor apparatuses 10 and 20 have secondary cache memories 14 and 24 between the processor cores 12 and 22 and the main memory. When access is required, data is read from main memory and loaded into cache memory. Whenever necessary, data is accessed from the cache memory to handle data access in a short time. This is because cache memory access time is generally shorter than that of main memory.

그러나 일반적인 프로세서 장치에서는 캐시 메모리의 일부 영역에서 고장이 발생되면, 프로세서 장치의 오동작의 원인이 되기도 하며, 이를 해결하기 위하여 캐시 메모리의 억세스를 제한하고 메인 메모리를 직접 억세스하도록 구비함으로써 프로세서 장치의 성능을 저하시킨다.However, in a general processor device, if a failure occurs in a portion of the cache memory, it may cause a malfunction of the processor device. To solve this problem, the performance of the processor device may be limited by limiting access to the cache memory and directly accessing the main memory. Lowers.

본 발명의 목적은 상술한 문제점을 해결하기 위한 것으로, 캐시 메모리를 구비하는 프로세서 장치에서 캐시 메모리의 특정 영역에 이상이 발생되면 이에 대응해서 사용하는 백업 캐시 메모리를 구비하는 프로세서 장치를 구현하는데 있다.Disclosure of Invention An object of the present invention is to solve the above-described problem, and to implement a processor device having a backup cache memory used in response to an abnormality in a specific region of the cache memory in the processor device having a cache memory.

또한 본 발명의 다른 목적은 상술한 문제점을 해결하기 위한 것으로, 백업 캐시 메모리를 구비하는 프로세서 장치에서 이상이 있는 캐시 메모리의 특정 영역에 대응해서 백업 캐시 메모리를 사용하기 위한 방법을 구현하는데 있다.In addition, another object of the present invention is to solve the above-described problem, and to implement a method for using a backup cache memory corresponding to a specific region of the abnormal cache memory in the processor device having a backup cache memory.

상술한 목적을 달성하기 위한 본 발명의 일 특징에 의하면, 프로세서 장치에 있어서: 프로세서 코어와; 캐시 메모리와; 상기 캐시 메모리의 특정 메모리 영역과 상호 맵핑되는 메모리 영역을 갖는 백업 캐시 메모리 및; 상기 프로세서 코어와 상기 캐시 메모리 및 상기 백업 캐시 메모리 사이에 구비되고, 상기 프로세서 코어가 상기 캐시 메모리의 메모리 영역 중 적어도 하나의 영역에 이상이 있는지를 판별하여, 상기 캐시 메모리가 적어도 하나의 메모리 영역에 이상이 있으면, 상기 프로세서 코어가 상기 이상이 있는 메모리 영역 억세스 시, 상기 이상이 있는 메모리 영역에 대응하는 상기 백업 캐시 메모리의 메모리 영역을 억세스하도록 하는 수단을 포함한다.According to one aspect of the present invention for achieving the above object, a processor device comprising: a processor core; Cache memory; A backup cache memory having a memory area that is mapped to a specific memory area of the cache memory; The processor core is disposed between the cache memory and the backup cache memory, and the processor core determines whether there is an error in at least one of the memory areas of the cache memory, so that the cache memory is located in at least one memory area. If there is a problem, the processor core includes means for accessing a memory area of the backup cache memory corresponding to the abnormal memory area when the processor core accesses the abnormal memory area.

이 특징의 바람직한 실시예에 있어서, 상기 캐시 메모리는 2 차 캐시 메모리이다.In a preferred embodiment of this aspect, the cache memory is a secondary cache memory.

이 특징의 바람직한 실시예에 있어서, 상기 수단은 상기 이상이 있는 메모리 영역과 상기 백업 캐시 메모리의 상기 메모리 영역에 대한 상호 맵핑 정보를 저장한다.In a preferred embodiment of this aspect, the means stores the mutual mapping information for the memory area of the abnormality and the memory area of the backup cache memory.

상술한 목적을 달성하기 위한 본 발명의 다른 특징에 의하면, 프로세서 코어와 캐시 메모리 및 상기 캐시 메모리의 특정 메모리 영역과 상호 맵핑되는 메모리 영역을 갖는 백업 캐시 메모리를 구비하는 프로세서 장치에서, 상기 백업 캐시 메모리를 억세스하는 방법에 있어서: 상기 프로세서 장치를 초기화하는 단계와; 상기 초기화 단계에서 상기 캐시 메모리가 적어도 하나의 특정 영역에 이상이 있는지를 판별하는 단계와; 상기 판별 결과, 상기 적어도 하나의 특정 영역에 이상이 있으면, 상기 백업 캐시 메모리에 상기 특정 영역에 대응하는 메모리 영역을 할당 하는 단계와; 상기 특정 영역과 상기 메모리 영역 간의 상호 할당된 맵핑 정보를 저장하는 단계 및; 상기 프로세서 코어가 상기 특정 영역 억세스 시, 상기 맵핑 정보를 이용하여 상기 할당된 메모리 영역을 억세스하도록 하는 단계를 포함한다.According to another aspect of the present invention for achieving the above object, in the processor device having a backup cache memory having a processor core and a cache memory and a memory area that is mapped to a specific memory area of the cache memory, the backup cache memory A method of accessing a computer, the method comprising: initializing the processor device; Determining whether the cache memory has an abnormality in at least one specific area in the initializing step; Allocating a memory area corresponding to the specific area to the backup cache memory when the at least one specific area is abnormal as a result of the determination; Storing mutually allocated mapping information between the specific area and the memory area; Allowing the processor core to access the allocated memory region using the mapping information when the processor core accesses the specific region.

(작용)(Action)

따라서 본 발명에 의하면, 프로세서 장치는 초기화 과정을 통하여 캐시 메모리의 메모리 영역들 중에 이상 영역이 있는지를 판별한다. 판별 결과, 이상이 있는 영역이 적어도 하나 있으면, 이 영역에 대응하여 백업 캐시 메모리의 특정 영역 어드레스를 할당한다. 그리고 이들 할당된 맵핑 정보를 포함하는 테이블을 작성, 저장한다. 그러므로 프로세서 장치가 캐시 메모리 억세스시, 상기 테이블을 참조하고 억세스할 영역이 상기 테이블에 있으면, 맵핑 정보에 따른 백업 캐시 메모리의 해당 영역을 억세스한다.Therefore, according to the present invention, the processor device determines whether there is an abnormal area among the memory areas of the cache memory through an initialization process. As a result of the determination, if there is at least one abnormal area, a specific area address of the backup cache memory is allocated corresponding to this area. A table containing these allocated mapping information is created and stored. Therefore, when the processor device accesses the cache memory and the region to be accessed and the region to be accessed is in the table, the processor device accesses the corresponding region of the backup cache memory according to the mapping information.

(실시예)(Example)

이하 본 발명의 실시예를 첨부된 도면에 의거하여 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3 및 도 4는 본 발명에 따른 프로세서 장치들을 도시한 것이다.3 and 4 illustrate processor devices according to the present invention.

도 3을 참조하면, 상기 프로세서 장치(30)는 슬롯 타입의 컴퓨터용 프로세서 장치로, 프로세서 코어(32)와 2 차 캐시 메모리(34) 및 신규한 백업 캐시 메모리(36)를 구비한다. 그리고 상기 프로세서 장치(30)는 메인 메모리(50)와 전기적으로 연결되어 상기 프로세서 코어(32)의 동작에 따라 데이터 억세스가 이루어진다.Referring to FIG. 3, the processor device 30 is a slot type processor device for a computer. The processor device 30 includes a processor core 32, a secondary cache memory 34, and a new backup cache memory 36. In addition, the processor device 30 is electrically connected to the main memory 50 to perform data access according to the operation of the processor core 32.

그리고 상기 프로세서 코어(32)와 상기 2 차 및 백업 캐시 메모리들(34, 36) 은 캐시 버스(cache bus)를 통하여 상호 연결된다.The processor core 32 and the secondary and backup cache memories 34 and 36 are interconnected via a cache bus.

또한, 도 4를 참조하면, 상기 프로세서 장치(40)는 소켓 타입의 컴퓨터용 프로세서 장치로, 프로세서 코어(42)와 2 차 캐시 메모리(44) 및 신규한 백업 캐시 메모리(44)를 구비한다. 그리고 상기 2 차 및 백업 캐시 메모리(44, 46)는 상기 프로세서 코어(42) 내부에 구비된다.4, the processor device 40 is a socket type processor device for a computer, and includes a processor core 42, a secondary cache memory 44, and a new backup cache memory 44. The secondary and backup cache memories 44 and 46 are provided inside the processor core 42.

따라서 상기 프로세서 장치들(30, 40)은 2 차 캐시 메모리(34, 44)의 적어도 하나의 이상이 있는 메모리 영역에 대응하는 백업 캐시 메모리(36, 46)의 메모리 영역을 할당한다.Thus, the processor devices 30, 40 allocate a memory area of the backup cache memory 36, 46 corresponding to the memory area in which at least one or more of the secondary cache memories 34, 44 are located.

구체적으로 도 5를 참조하면, 상기 프로세서 장치(30)(또는 40)는 상기 프로세서 코어(32)와 상기 2 차 캐시 메모리(34) 및 상기 백업 캐시 메모리(36) 사이에 신규한 캐시 메모리 인터페이스부(38)를 구비한다.Specifically, referring to FIG. 5, the processor device 30 (or 40) includes a new cache memory interface unit between the processor core 32, the secondary cache memory 34, and the backup cache memory 36. 38 is provided.

상기 캐시 메모리 인터페이스부(38)는 캐시 버스를 통하여 상기 프로세서 코어(32)와 상기 2 차 캐시 메모리(34) 및 상기 백업 캐시 메모리(36)가 연결된다. 그리고 상기 캐시 메모리 인터페이스부(38)은 상기 프로세서 코어(32)의 제어를 받아서 상기 2 차 캐시 메모리(34)의 이상 영역에 대응하여 상기 백업 캐시 메모리(36)의 메모리 영역을 억세스하도록 한다. 그리고 상기 캐시 메모리 인터페이스부(38)는 상기 프로세서 코어(32)의 제어를 받아서 상기 2 차 캐시 메모리(34)의 적어도 하나의 이상 영역과 상기 백업 캐시 메모리(36)의 메모리 영역을 할당하는 맵핑 정보를 저장하는 맵핑 정보 저장부를 구비한다.The cache memory interface 38 is connected to the processor core 32, the secondary cache memory 34, and the backup cache memory 36 through a cache bus. The cache memory interface 38 controls the processor core 32 to access the memory area of the backup cache memory 36 corresponding to the abnormal area of the secondary cache memory 34. The cache memory interface 38 may be configured to allocate at least one abnormal area of the secondary cache memory 34 and a memory area of the backup cache memory 36 under the control of the processor core 32. It includes a mapping information storage unit for storing the.

따라서 상기 프로세서 장치(30)는 전원이 공급되어 리셋(reset)이 이루어지 면, 셀프 테스트(self test)를 통하여 초기화 된다. 이 때, 상기 2 차 캐시 메모리(34)의 메모리 영역들 중에 이상(fail)이 있는지를 판별한다. 판별 결과, 이상이 있는 영역이 적어도 하나 있으면, 이 영역에 대응하여 상기 백업 캐시 메모리(36)의 특정 영역을 어드레스 할당한다. 그리고 이들 할당된 맵핑 정보를 포함하는 마킹 테이블(marking table)을 작성, 상기 맵핑 정보 저장부에 저장한다. 그러므로 상기 프로세서 장치(30)가 상기 2차 캐시 메모리(34) 억세스시, 상기 마킹 테이블을 참조하여 억세스할 영역이 상기 마킹 테이블에 포함되어 있으면, 맵핑 정보에 따른 백업 캐시 메모리(36)의 해당 영역을 억세스한다.Therefore, when the power is supplied and reset, the processor device 30 is initialized through a self test. At this time, it is determined whether there is a failure among the memory areas of the secondary cache memory 34. As a result of the determination, if there is at least one abnormal region, an address is allocated to the specific region of the backup cache memory 36 corresponding to this region. A marking table including these allocated mapping information is created and stored in the mapping information storage unit. Therefore, when the processor device 30 accesses the secondary cache memory 34, if the marking table includes an area to be accessed by referring to the marking table, the corresponding area of the backup cache memory 36 according to mapping information. Access.

그리고 도 6은 도 5에 도시된 프로세서 장치의 백업 캐시 메모리를 억세스하기 위한 수순을 나타내고 있다. 이 수순은 프로세서 코어(32 또는 42) 또는 캐시 메모리 인터페이스부(38)에서 처리하는 프로그램이다.6 illustrates a procedure for accessing the backup cache memory of the processor device shown in FIG. 5. This procedure is a program processed by the processor core 32 or 42 or the cache memory interface 38.

도면을 참조하면, 단계 S60에서 프로세서 장치의 전원이 공급되어 초기 리셋되면, 단계 S62에서 셀프 테스트 과정을 수행하여 프로세서 장치를 초기화한다. 이어서 단계 S64에서 셀프 테스트 과정에서 2 차 캐시 메모리에 이상 유무가 있는지를 판별한다. 2 차 캐시 메모리의 특정 영역에 이상이 발생되면, 이 수순은 단계 S66으로 진행하여 백업 캐시 메모리에 상기 이상이 있는 특정 영역에 대응하는 메모리 영역을 할당한다. 이어서 단계 S68에서 상기 이상이 있는 특정 영역과 상기 할당된 메모리 영역을 맵핑한 정보를 포함하는 마킹 테이블(marking table)을 작성하여 저장한다. 그리고 상기 단계 S64에서 이상이 있는 특정 영역이 없으면, 이 수순은 단계 S70으로 진행한다. Referring to the drawing, when the power of the processor device is initially reset in step S60, the processor device is initialized by performing a self test process in step S62. In step S64, it is determined whether there is an abnormality in the secondary cache memory during the self test process. If an abnormality occurs in a specific area of the secondary cache memory, the procedure proceeds to step S66 to allocate a memory area corresponding to the specific area having the abnormality in the backup cache memory. Subsequently, in step S68, a marking table including information in which the abnormal region and the allocated memory region are mapped is created and stored. If there is no specific region with abnormality in step S64, the procedure goes to step S70.                     

단계 S70에서는 프로세서 코어가 2 차 캐시 메모리를 억세스하면, 이 수순은 단계 S72로 진행하여 상기 테이블에 포함된 영역인지를 판별한다. 즉, 상기 마킹 테이블을 이용하여 억세스할 2 차 캐시 메모리의 영역이 이상이 있는 영역인지를 판별한다. 판별 결과, 억세스할 특정 영역이 상기 마킹 테이블에 저장되어 있으면, 이 수순은 단계 S74로 진행하여 상기 특정 영역에 대응하는 백업 캐시 메모리의 해당 메모리 영역을 억세스하도록 한다. 그리고 판별 결과 상기 테이블에 저장되어 있지 않으면, 이 수순은 단계 S76으로 진행하여 2 차 캐시 메모리의 해당 영역을 억세스한다.If the processor core accesses the secondary cache memory in step S70, the procedure goes to step S72 to determine whether it is an area included in the table. That is, it is determined whether the region of the secondary cache memory to be accessed is an abnormal region by using the marking table. As a result of the determination, if the specific area to be accessed is stored in the marking table, the procedure proceeds to step S74 to access the corresponding memory area of the backup cache memory corresponding to the specific area. If the result of the determination is not stored in the table, the procedure goes to step S76 to access the corresponding area of the secondary cache memory.

상술한 바와 같이, 본 발명은 캐시 메모리를 구비하는 프로세서 장치에서 캐시 메모리의 이상이 있는 영역에 대응하여 억세스 가능하도록 보조 백업용 캐시 메모리를 구비함으로써, 프로세서 장치의 캐시 메모리 일부 영역에 문제가 발생되어도 프로세서 장치의 오동작을 방지할 수 있다.As described above, the present invention includes a secondary backup cache memory to be accessible in a processor device having a cache memory in response to a region in which there is an abnormality of the cache memory, and thus, even if a problem occurs in a portion of the cache memory of the processor device. Malfunction of the device can be prevented.

또한 컴퓨터 시스템에 장착된 프로세서 장치의 캐시 메모리가 이상이 있는 경우에 백업용 캐시 메모리를 억세스함으로써, 메인 메모리를 사용하는 것보다 억세스 속도를 향상시킬수 있으며 시스템 성능을 저하시키는 것을 방지할 수 있다.In addition, by accessing the cache memory for backup when the cache memory of the processor device mounted in the computer system is abnormal, the access speed can be improved and the system performance can be prevented from being lowered than using the main memory.

따라서 캐시 메모리 불량으로 인한 프로세서 장치의 신뢰성을 향상시켜 프로세서 장치의 교체 등으로 인한 소비자 불만과 서비스 비용을 줄일 수 있다.Therefore, it is possible to improve the reliability of the processor device due to the cache memory failure, thereby reducing consumer complaints and service costs due to the replacement of the processor device.

Claims (4)

프로세서 장치에 있어서:In the processor unit: 프로세서 코어와;A processor core; 캐시 메모리와;Cache memory; 상기 캐시 메모리의 특정 메모리 영역과 상호 맵핑되는 메모리 영역을 갖는 백업 캐시 메모리 및;A backup cache memory having a memory area that is mapped to a specific memory area of the cache memory; 상기 프로세서 코어와 상기 캐시 메모리 및 상기 백업 캐시 메모리 사이에 구비되고, 상기 프로세서 코어가 상기 캐시 메모리의 메모리 영역 중 적어도 하나의 영역에 이상이 있는지를 판별하여, 상기 캐시 메모리가 적어도 하나의 메모리 영역에 이상이 있으면, 상기 프로세서 코어가 상기 이상이 있는 메모리 영역 억세스 시, 상기 이상이 있는 메모리 영역에 대응하는 상기 백업 캐시 메모리의 메모리 영역을 억세스하도록 하는 수단을 포함하는 것을 특징으로 하는 프로세서 장치.The processor core is disposed between the cache memory and the backup cache memory, and the processor core determines whether there is an error in at least one of the memory areas of the cache memory, so that the cache memory is located in at least one memory area. Means for accessing a memory region of the backup cache memory corresponding to the abnormal memory region when the processor core accesses the abnormal memory region. 제 1 항에 있어서,The method of claim 1, 상기 캐시 메모리는 2 차 캐시 메모리인 것을 특징으로 하는 프로세서 장치.And the cache memory is a secondary cache memory. 제 1 항에 있어서,The method of claim 1, 상기 수단은 상기 이상이 있는 메모리 영역과 상기 백업 캐시 메모리의 상기 메모리 영역에 대한 상호 맵핑 정보를 저장하는 것을 특징으로 하는 프로세서 장치.And the means stores the mutual mapping information for the abnormal memory area and the memory area of the backup cache memory. 프로세서 코어와 캐시 메모리 및 상기 캐시 메모리의 특정 메모리 영역과 상호 맵핑되는 메모리 영역을 갖는 백업 캐시 메모리를 구비하는 프로세서 장치에서, 상기 백업 캐시 메모리를 억세스하는 방법에 있어서:A processor device having a backup cache memory having a processor core and a cache memory and a memory area mapped to a specific memory area of the cache memory, the method comprising: accessing the backup cache memory: 상기 프로세서 장치를 초기화하는 단계와;Initializing the processor device; 상기 초기화 단계에서 상기 캐시 메모리가 적어도 하나의 특정 영역에 이상이 있는지를 판별하는 단계와;Determining whether the cache memory has an abnormality in at least one specific area in the initializing step; 상기 판별 결과, 상기 적어도 하나의 특정 영역에 이상이 있으면, 상기 백업 캐시 메모리에 상기 특정 영역에 대응하는 메모리 영역을 할당하는 단계와;Allocating a memory area corresponding to the specific area to the backup cache memory when the at least one specific area is abnormal as a result of the determination; 상기 특정 영역과 상기 메모리 영역 간의 상호 할당된 맵핑 정보를 저장하는 단계 및;Storing mutually allocated mapping information between the specific area and the memory area; 상기 프로세서 코어가 상기 특정 영역 억세스 시, 상기 맵핑 정보를 이용하여 상기 할당된 메모리 영역을 억세스하도록 하는 단계를 포함하는 것을 특징으로 하는 프로세서 장치의 억세스 방법.And allowing the processor core to access the allocated memory area by using the mapping information when the processor core accesses the specific area.
KR1020000065876A 2000-11-07 2000-11-07 Processor device including backup cache memory and method for backup cache memory access thereof KR100717273B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000065876A KR100717273B1 (en) 2000-11-07 2000-11-07 Processor device including backup cache memory and method for backup cache memory access thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000065876A KR100717273B1 (en) 2000-11-07 2000-11-07 Processor device including backup cache memory and method for backup cache memory access thereof

Publications (2)

Publication Number Publication Date
KR20020036025A KR20020036025A (en) 2002-05-16
KR100717273B1 true KR100717273B1 (en) 2007-05-15

Family

ID=19697666

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000065876A KR100717273B1 (en) 2000-11-07 2000-11-07 Processor device including backup cache memory and method for backup cache memory access thereof

Country Status (1)

Country Link
KR (1) KR100717273B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10340215A (en) * 1997-06-06 1998-12-22 Shikoku Nippon Denki Software Kk Data backup system
US6119209A (en) * 1998-02-03 2000-09-12 International Business Machines Corporation Backup directory for a write cache

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10340215A (en) * 1997-06-06 1998-12-22 Shikoku Nippon Denki Software Kk Data backup system
US6119209A (en) * 1998-02-03 2000-09-12 International Business Machines Corporation Backup directory for a write cache

Also Published As

Publication number Publication date
KR20020036025A (en) 2002-05-16

Similar Documents

Publication Publication Date Title
US6052798A (en) System and method for remapping defective memory locations
KR100316981B1 (en) Microcomputer provided with flash memory and method of storing program into flash memory
KR0121800B1 (en) Memory card device
KR20110007072A (en) Memory device
US20070133331A1 (en) Device and method for reducing refresh current consumption
CN113672430A (en) System for running virtual machine, method, medium and storage device for operating the same
US20120311249A1 (en) Memory system, memory control method, and recording medium storing memory control program
US20040243879A1 (en) DRAM memory page operation method and its structure
KR100717273B1 (en) Processor device including backup cache memory and method for backup cache memory access thereof
US6934537B2 (en) Radio communication device, method of and program for rewriting boot program therefor
KR101877939B1 (en) Test circuit, memory system and test method of memory system
JP5103823B2 (en) Information processing apparatus and input / output request control method
US20240046720A1 (en) Vehicle-mounted information processing apparatus and vehicle-mounted information processing method
JPH0276045A (en) Memory system
US6684290B2 (en) Memory rewriting apparatus and method for memory mapping rewriting program to same address space
KR100311757B1 (en) Memory block replacement system and replacement method for a semiconductor memory
KR100429095B1 (en) Random Access Memory in Integrated Circuits and How to Test Them
GB2255843A (en) Optional memory.
WO2002056183A1 (en) Semiconductor memory device and method for accessing the same
KR102120044B1 (en) Controller comprising plurality of software levels and operating method thereof
JPH0475152A (en) Nonvolatile memory system
KR20030024472A (en) Apparatus for multiplexing CPU and Method thereof
JPS59229641A (en) Commumication control device
JPH04257030A (en) Rom patch system
JPS6011951A (en) Control system for exchange memory

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee