KR19990080079A - Address Error Detection Device of Computer System - Google Patents
Address Error Detection Device of Computer System Download PDFInfo
- Publication number
- KR19990080079A KR19990080079A KR1019980013072A KR19980013072A KR19990080079A KR 19990080079 A KR19990080079 A KR 19990080079A KR 1019980013072 A KR1019980013072 A KR 1019980013072A KR 19980013072 A KR19980013072 A KR 19980013072A KR 19990080079 A KR19990080079 A KR 19990080079A
- Authority
- KR
- South Korea
- Prior art keywords
- address
- memory
- program
- hardware
- central processing
- Prior art date
Links
Abstract
본 발명은 현재의 실제 메모리 용량을 벗어난 어드레스 접근을 감시하도록 하는 컴퓨터 시스템의 어드레스 오류 검출 장치에 관한 것이다. 종래의 기술에 있어서는 원하는 메모리 용량만큼에 해당하는 메모리가 하드웨어적으로 실제 설정되어 있지 않은 상태에서 프로그램을 개발하는 경우에 있어서, 원하는 메모리 용량 내에서 하드웨어적으로 실제 메모리 용량을 벗어난 어드레스에 접근하면 이 후, 이와 같이 개발된 프로그램을 실행시킬 때 하드웨어적으로 실제 원하는 메모리 용량을 충족시켜주지 않는다면 프로그램에 오류가 발생하는 결점이 있었다. 이와 같은 종래 기술의 결점을 해결하기 위한 본 발명에서는 프로그램의 개발에 있어서 현재의 하드웨어적인 실제 메모리 영역을 벗어난 어드레스의 접근 여부를 감시하여 프로그램 개발 환경을 개선시킬 수 있도록 한다. 따라서, 본 발명은 더욱 완벽한 프로그램을 개발할 수 있는 효과가 있는 것이다.The present invention relates to an address error detection apparatus of a computer system that allows monitoring of address access outside of the current actual memory capacity. In the prior art, when a program is developed in a state in which the memory corresponding to the desired memory capacity is not actually set in hardware, if an address outside the actual memory capacity is approached in hardware within the desired memory capacity, Later, when executing the program developed as described above, if the hardware does not meet the actual desired memory capacity, the program has an error that occurs. In the present invention for solving the drawbacks of the prior art, it is possible to improve the program development environment by monitoring the access of the address outside the current hardware real memory area in the development of the program. Therefore, the present invention has the effect of developing a more complete program.
Description
본 발명은 컴퓨터 시스템(computer system)의 어드레스 오류(address error) 검출 장치에 관한 것으로서, 특히 현재의 실제 메모리 용량을 벗어난 어드레스 접근(address access)을 감시하도록 하는 컴퓨터 시스템의 어드레스 오류 검출 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an apparatus for detecting address errors in a computer system, and more particularly to an apparatus for detecting address errors in a computer system for monitoring address access beyond a current actual memory capacity. .
이와 관련하여, 소프트웨어 개발자는 하드웨어 개발자와 함께 원하는 메모리 용량에 따른 어드레스 맵(address map)이라는 테이블을 작성하고 이 범위 내에서의 어드레스를 사용하여 프로그램을 개발한다. 예를 들어, DRAM(Dynamic Random Access Memory)이 총 64Mbyte의 용량을 가진다면 어드레스 맵은 64Mbyte에 해당하는 어드레스 영역을 하드웨어적으로 제공한다.In this regard, the software developer works with the hardware developer to create a table called an address map according to the desired memory capacity and develop a program using an address within this range. For example, if a DRAM (Dynamic Random Access Memory) has a total capacity of 64 Mbytes, the address map provides a hardware address area corresponding to 64 Mbytes.
현재 일반적으로 사용되고 있는 DRAM은 메모리 용량별로 모듈(module) 형태로 이루어져 소켓(socket)에 장착하여 사용함으로써 단위별로 예를 들어, "16Mbyte-32Mbyte-48Mbyte-64Mbyte" 순으로 메모리 용량을 증가시킬 수 있다. 즉, 64Mbyte의 용량을 액세스할 수 있도록 어드레스 맵을 정했을 경우 DRAM 모듈이 각 소켓별로 삽입되지 않는다 할지라도 64Mbyte의 모든 어드레스 영역을 하드웨어적으로 접근할 수 있다.DRAM, which is generally used, is formed in a module form for each memory capacity and used in a socket to increase the memory capacity in order of, for example, "16Mbyte-32Mbyte-48Mbyte-64Mbyte". . In other words, if the address map is set so that 64 Mbytes of capacity can be accessed, all 64 Mbytes of address area can be accessed in hardware even if the DRAM module is not inserted in each socket.
도 1은 종래의 기술에 따른 메모리 사용의 일 실시 예를 나타낸 블록도로, 디코더(decoder)(12)는 프로세서(processor)(2)에서 출력되는 어드레스 신호를 디코딩(decoding)하여 제1,제2,제3,제4 DRAM 소켓(4,6,8,10)을 선택하기 위한 DRAM 선택 신호를 출력한다.1 is a block diagram illustrating an example of memory use according to the prior art, in which a decoder 12 decodes an address signal output from a processor 2 so as to decode first and second signals. The DRAM select signal for selecting the third and fourth DRAM sockets 4, 6, 8, and 10 is output.
다음, DRAM 콘트롤러(14)는 디코더(12)의 DRAM 선택 신호에 따라 제1 내지 제4 DRAM 소켓(4 내지 10)에 장착된 DRAM 모듈의 리드(read)/라이트(write)를 제어한다. 이때, 이미 약속된 64Mbyte 어드레스 맵을 가지기 때문에 제1 내지 제4 DRAM 소켓(4 내지 10)에 DRAM 모듈이 장착되지 않았더라도 프로세서(2)가 하드웨어적인 액세스를 시도할 경우에도 어떠한 오류도 발생하지 않는다. 즉, 디코더(12)에 대한 어떠한 제약도 두지않을 경우 제1 내지 제4 DRAM 소켓(4 내지 10)에 DRAM 모듈을 장착하지 않을 경우에도 하드웨어적인 결함이 전혀 발생하지 않는 것이다.Next, the DRAM controller 14 controls read / write of the DRAM module mounted in the first to fourth DRAM sockets 4 to 10 according to the DRAM selection signal of the decoder 12. At this time, since there is already a promised 64 Mbyte address map, even if the DRAM module is not mounted in the first to fourth DRAM sockets 4 to 10, no error occurs even when the processor 2 attempts to access the hardware. . In other words, if no limitation is imposed on the decoder 12, no hardware defect occurs even when the DRAM module is not mounted in the first through fourth DRAM sockets 4 through 10.
물론, 상술한 바와 같이 64Mbyte 용량의 어드레스 맵을 설정한 상태에서 65Mbyte의 메모리 영역을 접근하고자 할 때는 하드웨어적인 오류가 발생한다.Of course, when attempting to access the 65 Mbyte memory area with the 64 Mbyte address map set as described above, a hardware error occurs.
이와 같은 오류에 대해서 더욱 상세히 보면, 프로세서(2)는 DRAM 모듈에 접근하기 위한 시작 신호를 발생시킨 후 종료 신호를 기다리는데, 어드레스 맵에서 벗어난 즉, 상술한 바와 같이 65Mbyte 영역의 어드레스가 발생되면 디코더(12)는 DRAM 선택 신호를 발생하지 않으므로 DRAM 콘트롤러(14)는 프로세서(2)로 종료 신호를 주지 못한다.In more detail with regard to such an error, the processor 2 generates a start signal for accessing the DRAM module and waits for an end signal. If the address is out of the address map, that is, an address of 65 Mbyte region is generated as described above, 12 does not generate a DRAM selection signal, so the DRAM controller 14 does not give a termination signal to the processor 2.
따라서 DRAM 콘트롤러(14)는 설정된 시간이 지난 후, 프로세서(2)에게 오류 신호를 보냄으로써 그 프로세서(2)가 자신의 시스템에 오류를 유발시키도록 한다.Therefore, the DRAM controller 14 sends an error signal to the processor 2 after the set time has elapsed, causing the processor 2 to cause an error in its system.
그러나, 이와 같은 종래의 기술에 있어서는 원하는 메모리 용량만큼에 해당하는 메모리가 하드웨어적으로 실제 설정되어 있지 않은 상태에서 프로그램을 개발하는 경우에 있어서, 원하는 메모리 용량 내에서 하드웨어적으로 실제 메모리 용량을 벗어난 어드레스에 접근하면 이 후, 이와 같이 개발된 프로그램을 실행시킬 때 하드웨어적으로 실제 원하는 메모리 용량을 충족시켜주지 않는다면 프로그램에 오류가 발생하는 결점이 있었다.However, in such a conventional technology, when a program is developed in a state in which a memory corresponding to a desired memory capacity is not actually set in hardware, an address outside the actual memory capacity in hardware within a desired memory capacity is provided. After that, there was a flaw that the program would fail if it did not meet the actual desired memory capacity in hardware when running the developed program.
본 발명은 상술한 결점을 개선하기 위하여 안출한 것으로서, 프로그램의 개발에 있어서 현재의 하드웨어적인 실제 메모리 영역을 벗어난 어드레스의 접근 여부를 감시하여 프로그램 개발 환경을 개선시킬 수 있도록 하는 컴퓨터 시스템의 어드레스 오류 검출 장치를 제공하는 데 그 목적이 있다.Disclosure of Invention The present invention has been made to solve the above-mentioned shortcomings. In the development of a program, the detection of an address error of a computer system to monitor an access of an address outside an actual hardware real memory area and to improve a program development environment. The object is to provide a device.
이와 같은 목적을 달성하기 위한 본 발명은, 중앙처리장치(Central Processing Unit; CPU) 및 다수의 소켓이 회로보드에 탑재되어 그 각 소켓에 장착된 메모리 모듈의 총 용량정보가 제공되고 그 중앙처리장치가 어드레스 신호를 통해 그 메모리 모듈의 리드·라이트 동작을 제어하는 컴퓨팅 시스템에 있어서: 상기 중앙처리장치로부터의 어드레스 및 상기 메모리 모듈의 총 용량정보를 비교하여 상기 어드레스가 상기 메모리 모듈의 총 용량정보에 대응하는 어드레스 맵을 벗어날 경우 이 사실을 상기 중앙처리장치에 제공하여 상기 중앙처리장치가 상기 어드레스를 오류 처리하도록 하는 비교부로 이루어지는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a central processing unit (CPU) and a plurality of sockets mounted on a circuit board to provide total capacity information of memory modules mounted in the respective sockets. A computing system for controlling a read / write operation of a memory module through an address signal, the computing system comprising: comparing an address from the central processing unit with total capacity information of the memory module and comparing the address to the total capacity information of the memory module. And a comparator for providing this fact to the central processing unit when the address is out of the corresponding address map so that the central processing unit can process the address in error.
도 1은 종래의 기술에 따른 메모리 사용의 일 실시 예를 나타낸 블록도,1 is a block diagram illustrating an embodiment of memory usage according to the prior art;
도 2는 본 발명에 따른 컴퓨터 시스템의 어드레스 오류 검출 장치의 일 실시 예를 나타낸 블록도.Figure 2 is a block diagram showing an embodiment of an address error detection apparatus of a computer system according to the present invention.
<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
10 : 메모리부 12 : 메모리 검출부10 memory unit 12 memory detection unit
14,16 : 제1,제2 디코더 18 : 메모리 판단부14,16: first and second decoder 18: memory determination unit
20 : 중앙처리장치 22 : 메모리 제어부20: central processing unit 22: memory control unit
24 : 비교부24: comparison unit
이하, 이와 같은 본 발명의 실시 예를 상세히 설명하면 다음과 같다.Hereinafter, the embodiment of the present invention as described in detail as follows.
도 2는 본 발명에 따른 컴퓨터 시스템의 어드레스 오류 검출 장치의 일 실시 예를 나타낸 블록도로, 메모리부(10)는 프로세서가 탑재되는 메인 보드 상에 설치되어서 뱅크 단위마다 다수의 소켓으로 이루어져 각 소켓에 다수의 메모리 모듈(이하, 메모리 모듈은 DRAM 메모리 모듈인 것으로 함)을 용량에 상관 없이 각각 실장한다. 이때 각 소켓에 메모리 모듈을 특정 조합에 상관없이 각각 실장하므로 특별히 뱅크 단위는 고려할 필요가 없을 것이다.2 is a block diagram illustrating an address error detection apparatus of a computer system according to an exemplary embodiment of the present invention. The memory unit 10 is installed on a main board on which a processor is mounted and includes a plurality of sockets for each bank unit. A plurality of memory modules (hereinafter, referred to as memory modules are DRAM memory modules) are respectively mounted regardless of their capacity. In this case, since each memory module is mounted in each socket regardless of a specific combination, there is no need to consider a bank unit in particular.
다음, 메모리 검출부(12)는 메모리부(10)의 각 소켓을 감시 즉, 메모리 모듈의 각 핀(pin)을 감시하여 어느 소켓에 어느 정도 크기의 용량을 갖는 메모리가 장착되어 있는지를 검출한다. 이때 각 메모리 모듈은 자신이 소유하고 있는 핀을 통해 자신의 용량을 나타내기 위한 신호를 출력하는 기능이 있다. 따라서 메모리 검출부(12)는 어느 소켓에 어느 정도 크기의 용량을 갖는 메모리가 장착되어 있는지를 검출할 수 있음은 물론이고 어느 소켓이 비어있는지 여부도 검출할 수 있다.Next, the memory detector 12 monitors each socket of the memory unit 10, that is, monitors each pin of the memory module, and detects which socket has a memory having a certain size. At this time, each memory module has a function of outputting a signal indicating its capacity through its own pin. Therefore, the memory detector 12 may detect which socket is equipped with a memory having a certain size, as well as detect which socket is empty.
또한, 제1 디코더(14)는 메모리 검출부(12)의 검출 신호를 디코딩해서 시스템에서 그 검출 정보를 인식할 수 있는 신호를 메모리 판단부(18) 및 메모리 제어부(22)로 출력하고, 제2 디코더(16)는 중앙처리장치(20)로부터의 어드레스 신호를 디코딩하여 시스템이 원하는 정보를 원하는 위치에 리드 또는 라이트하도록 하기 위한 신호를 메모리 판단부(18) 및 메모리 제어부(22)로 출력한다.In addition, the first decoder 14 decodes a detection signal of the memory detector 12 and outputs a signal capable of recognizing the detection information in the system to the memory determiner 18 and the memory controller 22. The decoder 16 decodes the address signal from the central processing unit 20 and outputs a signal for the system to read or write the desired information to the desired position to the memory determining unit 18 and the memory control unit 22.
따라서 메모리 판단부(18)는 제1,제2 디코더(14,16)의 신호를 논리 연산하여 메모리부(10)의 어느 소켓에 어느 정도 크기의 용량을 갖는 메모리가 장착되어 있는지를 판단하여 판단 결과를 중앙처리장치(20)에 알려준다.Therefore, the memory determination unit 18 performs a logical operation on the signals of the first and second decoders 14 and 16 to determine which socket of the memory unit 10 is equipped with a memory having a certain size. The result is reported to the central processing unit 20.
다음, 중앙처리장치(20)는 메모리 판단부(18)의 판단 결과를 참조하여 시스템에서 요구하는 정보를 원하는 위치에 리드 또는 라이트하도록 하기 위한 어드레스 신호를 제2 디코더(16)에 인가하고, 메모리 제어부(22)는 제1,제2 디코더(14,16)의 신호를 논리 연산하여 메모리부(10)에 장착된 각 메모리에 있어서 시스템이 원하는 해당 어드레스에 따른 리드 또는 라이트 동작을 제어한다.Next, the CPU 20 applies an address signal to the second decoder 16 to read or write the information requested by the system at a desired position with reference to the determination result of the memory determiner 18. The controller 22 performs a logic operation on the signals of the first and second decoders 14 and 16 to control a read or write operation according to a corresponding address desired by the system in each memory mounted in the memory unit 10.
그리고 비교부(24)는 중앙처리장치(20)로부터의 어드레스 및 메모리 판단부(18)로부터의 메모리 모듈의 총 용량정보를 비교하여 어드레스가 메모리 모듈의 총 용량정보에 대응하는 어드레스 맵을 벗어날 경우 이 사실을 중앙처리장치(20)에 제공하여 중앙처리장치(20)가 어드레스를 오류 처리하도록 한다. 이때, 중앙처리장치(20)의 어드레스 오류 처리의 예를 보면, 모니터 화면에 오류 메시지를 디스플레이하거나 스피커를 통해 경고음을 발생시키거나 또는, 상술한 두 가지를 모두 실행시킬 수 있을 것이다.The comparison unit 24 compares the address of the central processing unit 20 with the total capacity information of the memory module from the memory determination unit 18 and the address is out of the address map corresponding to the total capacity information of the memory module. This fact is provided to the central processing unit 20 so that the central processing unit 20 may process the address error. In this case, as an example of address error processing of the central processing unit 20, an error message may be displayed on a monitor screen, a warning sound may be generated through a speaker, or both of the above may be executed.
이상에서 설명한 바와 같이 본 발명은 프로그램의 개발에 있어서 현재의 하드웨어적인 실제 메모리 영역을 벗어난 어드레스의 접근 여부를 감시하여 프로그램 개발 환경을 개선시킬 수 있도록 함으로써 더욱 완벽한 프로그램을 개발할 수 있는 효과가 있다.As described above, the present invention has the effect of improving the program development environment by monitoring the access of addresses outside the current hardware real memory area in the development of the program, thereby improving the program development environment.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980013072A KR19990080079A (en) | 1998-04-13 | 1998-04-13 | Address Error Detection Device of Computer System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980013072A KR19990080079A (en) | 1998-04-13 | 1998-04-13 | Address Error Detection Device of Computer System |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990080079A true KR19990080079A (en) | 1999-11-05 |
Family
ID=65890109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980013072A KR19990080079A (en) | 1998-04-13 | 1998-04-13 | Address Error Detection Device of Computer System |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990080079A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100435783B1 (en) * | 2000-07-31 | 2004-06-12 | 엘지전자 주식회사 | Method for user memory effectiveness verification in operating system |
KR100525537B1 (en) * | 2000-12-28 | 2005-11-02 | 엘지전자 주식회사 | Applied Program Bungle Detection Apparatus and Method by Interrupt |
-
1998
- 1998-04-13 KR KR1019980013072A patent/KR19990080079A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100435783B1 (en) * | 2000-07-31 | 2004-06-12 | 엘지전자 주식회사 | Method for user memory effectiveness verification in operating system |
KR100525537B1 (en) * | 2000-12-28 | 2005-11-02 | 엘지전자 주식회사 | Applied Program Bungle Detection Apparatus and Method by Interrupt |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR970049498A (en) | Central processing unit with non-cacheable repeat operation instruction | |
GB2497736A (en) | Hardware monitor with context selector for selecting from multiple contexts | |
US7246257B2 (en) | Computer system and memory control method thereof | |
US5613087A (en) | Cache testing using a modified snoop cycle command | |
KR19990080079A (en) | Address Error Detection Device of Computer System | |
US7350109B2 (en) | System and method for testing a memory using DMA | |
JPH09160837A (en) | Memory check system | |
JP2005078632A (en) | System and method for testing memory | |
KR19990080078A (en) | Memory automatic detection device | |
KR0164930B1 (en) | Emulator program stop method | |
JP3106448B2 (en) | Processor unit | |
JP4426344B2 (en) | Memory device control method and apparatus | |
KR0150057B1 (en) | Memory access, effective memory area arranging method | |
KR100223297B1 (en) | Parity error checking apparatus of dram | |
JP2005078603A (en) | Test method of data processor | |
JPH05189997A (en) | Memory fault detecting mechanism | |
JPH0398112A (en) | Mirrored disk system | |
JPH07302226A (en) | Memory illegal access detection circuit | |
KR19980041214A (en) | Computer memory control method and device | |
JPH10320269A (en) | Method for detecting size of loaded memory | |
JP2000122887A (en) | Method for detecting hardware abnormality | |
JPH01251254A (en) | Interruption request generating system | |
JPH08305636A (en) | Memory device | |
JPH05342112A (en) | Memory control circuit | |
KR19990003352A (en) | Memory access device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |