JPS583200A - Memory check system - Google Patents

Memory check system

Info

Publication number
JPS583200A
JPS583200A JP56102853A JP10285381A JPS583200A JP S583200 A JPS583200 A JP S583200A JP 56102853 A JP56102853 A JP 56102853A JP 10285381 A JP10285381 A JP 10285381A JP S583200 A JPS583200 A JP S583200A
Authority
JP
Japan
Prior art keywords
check
value
memory
register
bit
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP56102853A
Other languages
Japanese (ja)
Inventor
Masami Yamamoto
正己 山本
Shuhei Inamori
稲森 洲平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56102853A priority Critical patent/JPS583200A/en
Publication of JPS583200A publication Critical patent/JPS583200A/en
Pending legal-status Critical Current

Links

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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0763Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To improve the reliability of check, by accumulating the number of the content of the same bit at the same bit location, calculating the accumulated value and collating the value with the check value. CONSTITUTION:In checking a memory 2, 8-bit or B0-7 of each address in a program memory area 2a is read out altogether and stored in a register 3. A bit register 5 detects if the content of a specific bit in the register 3 is at ''1'' and outputs an addition signal S1 to an adder 6 only at ''1''. The adder 6 reads out a register 7 with the signal S1, adds ''1'' and stores the value to the register 7 as an accumulated value T. All the addresses are checked and outputted to a check circuit 9. The check circuit 9 reads out a check value stored in a check memory area 2b for collation. When the check value of each bit location and the value T are coincident, it is decided that the check value is correct.

Description

【発明の詳細な説明】 従来、メモリのチェック方式としては、メモリの同一ア
ドレスの水子ビット又ハ全アトレスにわたる同一ビット
位置、即ち垂直ビットについて、IIIの数が偶数であ
るか奇数であるかを検出するバ17 /?イテエック方
式が知られていたが、この方式では、各ビットの111
1の数が偶数個変動してしまった場合には、誤pのチェ
ックが不可能になる不都合があった。
DETAILED DESCRIPTION OF THE INVENTION Conventionally, a memory checking method has been to check whether the number of III is an even number or an odd number for the same bit position across all addresses of the memory, that is, the vertical bit. Detecting bar17/? The Itek method was known, but in this method, each bit has 111
If the number of 1's changes by an even number, there is an inconvenience that it becomes impossible to check for erroneous p.

そこで、本発明は、メモリの被検査領域の全アドレスに
わたる同一ビット位置における同一ビット内容の数を累
計して累計4vAを算出し、それをチェックメモリ領域
中の検査値と照合するようにして構成し、もって前述の
欠点な解消したメモリチェック方式を提供することを目
的とするものである。
Therefore, the present invention is configured such that the number of identical bit contents at the same bit position across all addresses in the area to be inspected of the memory is accumulated to calculate a cumulative total of 4vA, and this is compared with the inspection value in the check memory area. However, it is an object of the present invention to provide a memory check method that eliminates the above-mentioned drawbacks.

以下、図面に示す実施例に基き、本発明を具体的に説明
する。
The present invention will be specifically described below based on embodiments shown in the drawings.

第1図は本発明が適用されたメモリチェック回路の一例
を示すブロック図、弗2図は本究明によるメモリチェッ
ク方式の一冥施例を示す模式図である。
FIG. 1 is a block diagram showing an example of a memory check circuit to which the present invention is applied, and FIG. 2 is a schematic diagram showing an example of the memory check method according to the present research.

メモリチェック回路1は、第1図に示すように、メモリ
2t−有しておシ、メモリ2には、第2図に示Iすよう
に、メモリアドレスがME− 0からMFi−nlでの
、被検査領域であるプログラムメモリ領域2aと、メモ
リアドレスがME−(n+1)からME−(m+n)ま
でのチェックメモリ領域2bが設けられ、更に各メモリ
アドレスにはBO〜B7の8個のビットがIけられてい
る。また、メモリ2には、第1図に示すように、レジス
タ3を介してビットレジスタ5が接続しており、ピット
レジスタ5には後述のレジスタ7と共に累計手段を構成
する加算機6が接続している。加算機6にはレジスタT
が接続しており、レジスタ7はメモリ2に接続されたチ
ェック回W&9が接続している。
The memory check circuit 1 has a memory 2t- as shown in FIG. 1, and the memory 2 has memory addresses ME-0 to MFi-nl as shown in FIG. , a program memory area 2a which is an area to be inspected, and a check memory area 2b whose memory addresses are from ME-(n+1) to ME-(m+n) are provided, and each memory address has eight bits from BO to B7. is being eclipsed. Further, as shown in FIG. 1, a bit register 5 is connected to the memory 2 via a register 3, and an adder 6, which constitutes a totalizing means together with a register 7, which will be described later, is connected to the pit register 5. ing. Adder 6 has register T
is connected to the register 7, and the check circuit W&9 connected to the memory 2 is connected to the register 7.

本発明は、以上のような構成を有するので、メモリ2を
チェックするには、プログラムメモリ領域2aにおける
各アドレスのBO〜B7の8ビツトを一括して読み出し
レジスタ3に収納する。ピットレジスタ5はレジスタ3
中の特定ビットの内容が1111であるか否か、例えば
BOビットの内容がl11であるか否かを検出し、′l
―の場合にのみ加算信号81を加算機6に出力する。7
JII 8機6は信号81により、レジスタ7の内容を
読み出してきて、その値に1だけ71[1算L、累計値
TとしてレジスタIに再度収納する。こうして、メモリ
2のME−0からM E −nまでの(n + 1 )
個のアドレスの同一ビット位fit(ここではBOビッ
ト)について、l11がある度に加算機6がレジスタI
の累計値Tを、lずつ加算する形で更新してゆく。M 
E −nまでのアドレスの読み出しが終了すると、レジ
スタ7中にはMFi−oからME−nまでの全アドレス
のBOビットにおける11″の数が累計され、その累計
値Tは直ちにチェック回路9に出力される。
Since the present invention has the above configuration, in order to check the memory 2, the 8 bits of BO to B7 of each address in the program memory area 2a are stored in the read register 3 at once. Pit register 5 is register 3
Detect whether the content of a specific bit in the is 1111, for example, whether the content of the BO bit is l11, and 'l
The addition signal 81 is output to the adder 6 only in the case of -. 7
The JII 8 machine 6 reads the contents of the register 7 in response to the signal 81, and stores the value by 1 in the register I again as 71 [1 calculation L, cumulative value T. In this way, (n + 1) from ME-0 to ME-n in memory 2
For the same bit position fit (in this case, BO bit) of addresses of
The cumulative value T is updated by adding l at a time. M
When the reading of addresses up to E-n is completed, the number of 11'' in the BO bits of all addresses from MFi-o to ME-n is accumulated in the register 7, and the accumulated value T is immediately sent to the check circuit 9. Output.

チェック回路9はチェックメモリ領域2bのアドレスM
E −(n+1 )からME−(m十n)中のBOビッ
トに格納されている検査値Kl読み出して、累計値にと
照合する。領域2bには、ブロクラムメモリ領域2aの
内容が全て正しいとした場合の、全アドレスにわたる同
一ビット位置におけるIImの数が、検査値にとして各
ビット位置毎に格納されているので、各ヒツト位置の検
査値にと累計値Kが一致すれは、全アドレスにわたる当
該ビットの内容は正しいものと判断され、一致しなけれ
ば当該ビットの内容は正しくないものと判断される。こ
うして、BOから87ビツトの全てについてIImの数
を照合することによシ、ブロクラムメモリ領域2aの内
容は正確にチェックされる。
The check circuit 9 checks the address M of the check memory area 2b.
The test value Kl stored in the BO bit in ME-(mn) is read from E-(n+1) and compared with the cumulative value. In the area 2b, the number of IIm at the same bit position across all addresses is stored for each bit position as a check value, assuming that the contents of the blockrum memory area 2a are all correct. If the check value of and the cumulative value K match, it is determined that the contents of the bit in question over all addresses are correct, and if they do not match, the contents of the bit in question are judged to be incorrect. In this way, by checking the number of IIm for all 87 bits from BO, the contents of blockrum memory area 2a can be accurately checked.

なお、上述の実施例は全アドレスにわたる同一ビット位
置における1II11の数を累計することによシメモリ
2の内容をチェックする場合につイテ述べたが、チェッ
ク対象、即ち累計すべき対象は同一ビット内容であれば
1llI+に限らず+lO1でもよいことは勿論である
In addition, although the above embodiment described the case where the contents of the memory 2 are checked by accumulating the number of 1II11 at the same bit position over all addresses, the object to be checked, that is, the object to be accumulated is the same bit contents. If so, it goes without saying that it is not limited to 1llI+ but may also be +1O1.

以上説明したように、本発明によれば、メモリ2の被検
査領域である、プログラムメモIJ2aの全アドレスに
わたる同一ビット位置における1111又はI□lの同
一ビット内容の数を累計して累計値Tを算出し、それを
チェックメモリ領域2b中に格納された検査値にと照合
するようにしたので、従来のように例えばnl−の数が
偶数個変動したとしても、直ちにwA9をチェックする
ことができ、信頼性の高いメモリチェック方式の提供が
可能となる。
As explained above, according to the present invention, the number of identical bit contents of 1111 or I is calculated and compared with the test value stored in the check memory area 2b, so even if the number of nl- changes by an even number, wA9 can be checked immediately, unlike in the conventional method. This makes it possible to provide a highly reliable memory check method.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明が適用されたメモリチェック回路の一ν
1.を示す10ツク図、第2図は本発明によるメモリチ
ェック方式の一実施例を示す模式図である。 2・・・・・・メモリ 2a・・・・・・被検査領域(プログラムメモリ)2b
・・・・・・メモリチェック領域 6・・・・・・累計手段(加算機) 7・・・・・・累計手段(レジスタ) K・・・・・・検査値 T・・・・・・累計値 出願人 冨士通株式会社
FIG. 1 shows a memory check circuit to which the present invention is applied.
1. FIG. 2 is a schematic diagram showing an embodiment of the memory check method according to the present invention. 2... Memory 2a... Area to be inspected (program memory) 2b
...Memory check area 6...Accumulation means (adder) 7...Accumulation means (register) K...Test value T... Cumulative value applicant Fujitsu Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] メモリの被検査領域の全アドレスにわたる同一ビット位
置における同一ビット内容の数を累計する累計手段及び
、所定アドレス域にわたる同一ビット位置における同一
ビット内容の数を検査値□として格納するチェックメモ
リ領域を設け、検量値と前記累計手段による累計値を照
合することによシメモリのチェックを行なうようにして
構成したメモリチェック方式。
A cumulative means for accumulating the number of identical bit contents at the same bit position over all addresses in the area to be inspected of the memory, and a check memory area for storing the number of identical bit contents at the same bit position over a predetermined address area as a check value □ are provided. . A memory check method configured to check the memory by comparing the calibration value with the cumulative value obtained by the cumulative totaling means.
JP56102853A 1981-06-30 1981-06-30 Memory check system Pending JPS583200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56102853A JPS583200A (en) 1981-06-30 1981-06-30 Memory check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56102853A JPS583200A (en) 1981-06-30 1981-06-30 Memory check system

Publications (1)

Publication Number Publication Date
JPS583200A true JPS583200A (en) 1983-01-08

Family

ID=14338479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56102853A Pending JPS583200A (en) 1981-06-30 1981-06-30 Memory check system

Country Status (1)

Country Link
JP (1) JPS583200A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5349697A (en) * 1991-06-14 1994-09-20 Nokia Mobile Phones Ltd. Radiotelephone including battery-backup random access memory for storing operating code
US5400057A (en) * 1990-06-27 1995-03-21 Texas Instruments Incorporated Internal test circuits for color palette device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS541422A (en) * 1977-06-06 1979-01-08 Citizen Watch Co Ltd Fixed quantity of liquid supplying device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS541422A (en) * 1977-06-06 1979-01-08 Citizen Watch Co Ltd Fixed quantity of liquid supplying device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5400057A (en) * 1990-06-27 1995-03-21 Texas Instruments Incorporated Internal test circuits for color palette device
US5349697A (en) * 1991-06-14 1994-09-20 Nokia Mobile Phones Ltd. Radiotelephone including battery-backup random access memory for storing operating code

Similar Documents

Publication Publication Date Title
AU618600B2 (en) Multiprocessor system with a fault locator
CA1159960A (en) Error detecting and correcting ram assembly
US6293385B1 (en) Coin sorting device using data related to false coins themselves
US4550278A (en) Control device
US4924465A (en) Memory with function test of error detection/correction device
JP3124278B2 (en) Inspection method of memory cell contents of program memory
JPS583200A (en) Memory check system
JP2606862B2 (en) Single error detection and correction method
US3391568A (en) Navigation system
JPH0419025B2 (en)
JP2542351B2 (en) Failure information storage device
JPS60200352A (en) Memory diagnosis system
JPS59177799A (en) Checking system of read-only memory
JPH0250226A (en) Microcomputer
JPH04276397A (en) Function inspecting method for memory card system
JPH03211632A (en) Covering rate measurement instrument
JPS5834853B2 (en) error verification circuit
JPS5736500A (en) Memory check system
JPS6142050A (en) Checking circuit of read only memory
JPH0338752A (en) Storage device
JPS6146539A (en) Diagnostic system for memory device
JP3087269B2 (en) Electronic odometer
JPH04307632A (en) Data line monitor
JPS61173360A (en) Protective system for data of non-volatile memory
JPH03270541A (en) Reception data protection circuit