JPH02207355A - Memory readout system - Google Patents

Memory readout system

Info

Publication number
JPH02207355A
JPH02207355A JP1030305A JP3030589A JPH02207355A JP H02207355 A JPH02207355 A JP H02207355A JP 1030305 A JP1030305 A JP 1030305A JP 3030589 A JP3030589 A JP 3030589A JP H02207355 A JPH02207355 A JP H02207355A
Authority
JP
Japan
Prior art keywords
address
rom
memory
read
information
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
JP1030305A
Other languages
Japanese (ja)
Inventor
Motojiro Nishio
西尾 元二郎
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1030305A priority Critical patent/JPH02207355A/en
Publication of JPH02207355A publication Critical patent/JPH02207355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To configure a system with high reliability by reading out program data written on a ROM in triplicate for one time of readout instruction for the ROM for three times, and comparing and collating them. CONSTITUTION:The same program is stored in #0, #1, and #2 areas of the ROM 6, and an address 2 from a CPU 1 are comprised of 16 bits of A0-A15. However, only the high-order bits A14 and A15 show counter values corresponding to the memory areas #0, #1, and #2 by the operation of a counter 5, and the counter values go to the address 11 of two high-order bits of the ROM. It follows that the ROM is read by changing a memory address for three times by modifying the address of the ROM by the counter values, and readout data 9 is inputted to the areas #0, #1, and #2 of a readout register 7, and the output are collated by a comparator 8, and majority logic decision is performed. In such a way, it is possible to improve the reliability for the readout data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ読出し方式に関し、特にメモリ読出しに
於ける読出しデータの信頼性向上策に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory read method, and particularly to a measure for improving the reliability of read data in memory read.

〔従来の技術〕[Conventional technology]

従来、メモリ読出しは唯一のメモリアドレスに従ってメ
モリの内容の読出しを行っている。また、メモリの情報
が正しいか否かを判定するために複数の情報ビットに対
して情報ビットが奇数又は偶数いずれであるか識別する
1ビツトのパリティビットを付加している。
Conventionally, memory reading involves reading the contents of a memory according to a unique memory address. Further, in order to determine whether the information in the memory is correct or not, a 1-bit parity bit is added to a plurality of information bits to identify whether the information bits are odd or even numbers.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメモリ読出し方式は、読出し情報が正し
いか否かはパリティピットにより識別は叩能であるが、
2ビット誤りが発生しなとき情報の誤りが発見できない
、また、パリティピットにより誤りを検出したとしても
、情報の不正は判るものの正しい情報は得られないと言
う欠点がある。
In the conventional memory read method described above, whether the read information is correct or not can be determined by parity pits, but
There are disadvantages in that errors in information cannot be detected unless a 2-bit error occurs, and even if errors are detected by parity pits, correct information cannot be obtained although it can be determined that the information is incorrect.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメモリ読出し方式は、同一情報を複数のアドレ
ス領域に格納するメモリと、一回の読出し指示によって
前記メモリの複数のアドレス領域から複数の情報を読み
出すアドレス生成手段と、前記アドレス生成手段が生成
したアドレスから読出しな複数の情報を比較して多数決
判定し一個の正しい情報を抽出する比較回路とを有する
The memory read method of the present invention includes a memory that stores the same information in a plurality of address areas, an address generation means that reads a plurality of pieces of information from the plurality of address areas of the memory in response to a single read instruction, and a memory that stores the same information in a plurality of address areas. It has a comparison circuit that compares a plurality of pieces of information to be read from the generated address, makes a majority decision, and extracts one piece of correct information.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成図であり、第2図はタ
イムチャートである。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a time chart.

第1図においてCPUIはメモリアドレス2を出力する
。このメモリアドレス2はアドレスレジスタ3で一旦ラ
ッチされる。アドレスレジスタ3の出力は16ビツトの
うち14ビツト分が下位アドレス4としてROM (リ
ードオンリメモリ)6のアドレス線に接続されており、
上位2ビツトはカウンタ5に接続され上位アドレスとな
ってROM6のアドレス線に接続されている。なお、R
OM6は64にバイトのROMであり、製造工程で同一
プログラムが#O,#1.#2に格納済である。さらに
ROM6の読出しデータ9は読出しレジスタ7の#0〜
#2に格納され、各々の結果が読出しデータとなって比
較回路8に入力される。
In FIG. 1, the CPUI outputs memory address 2. This memory address 2 is once latched by the address register 3. Of the 16 bits output from the address register 3, 14 bits are connected to the address line of the ROM (read only memory) 6 as the lower address 4.
The upper 2 bits are connected to the counter 5 and are connected to the address line of the ROM 6 as the upper address. In addition, R
OM6 is a 64-byte ROM, and during the manufacturing process the same program is stored in #O, #1, . It has already been stored in #2. Furthermore, the read data 9 of the ROM 6 is read from #0 of the read register 7.
#2, and each result becomes read data and is input to the comparison circuit 8.

そして比較回路8は3個の読出しデータのうちいずれか
2個の値が等しい時、その値をCPU転送データ10と
してCPUIに転送する。
Then, when the values of any two of the three read data are equal, the comparison circuit 8 transfers that value to the CPUI as CPU transfer data 10.

第2図においてアドレス2はA 6 □ A 15の1
6ビツトで構成されるが、上位A 14. A 1gの
みカウンタ5の動作によりメモリ領域#O,#1.#2
に対応するカウント値を示し、このカウント値がROM
の上位2ビツトのアドレス11となる。このカウント値
によるROMアドレスの修飾はメモリアドレスを3回変
えてROMを読む事を意味するが、CPUには見えない
、すなわち、CPUIからのメモリ読出し動作は1回に
しか見えない。
In Figure 2, address 2 is A 6 □ A 15 1
Consists of 6 bits, upper A 14. A 1g only in memory areas #O, #1 . #2
indicates the count value corresponding to the ROM.
The upper two bits of the address are 11. Modifying the ROM address with this count value means changing the memory address three times and reading the ROM, but it is invisible to the CPU, that is, the memory read operation from the CPUI is visible only once.

上記のようにして読出した読出しデータ9は読出しレジ
スタ7の#O,#1.12に入り、比較回路8により照
合され多数決論理判定が行なわれる。
The read data 9 read out as described above enters #O, #1.12 of the read register 7, is compared by the comparator circuit 8, and a majority logic decision is made.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、CPUからROMに対す
る1回の読出し指示に対しROMに3重に書込まれてい
るプログラムデータを3回読出し比較照合する。したが
ってプログラムデータの正常性及びROMの部分ビット
化けに対する復元性が保証でき高信頼度のシステムを構
成できる効果がある。
As explained above, in the present invention, in response to one read instruction from the CPU to the ROM, the program data written three times in the ROM is read out three times and compared and verified. Therefore, the normality of the program data and the resilience against partial bit corruption of the ROM can be guaranteed, and a highly reliable system can be constructed.

また、メモリのビット化けの起こりやすい安価な低品質
の部品を採用したとしても多数決論理の複数度を高くす
ることによって高信頼化することができる。
Furthermore, even if inexpensive, low-quality parts that are likely to cause memory bit corruption are used, reliability can be improved by increasing the plurality of majority logics.

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

第1図は本発明の一実施例を示す構成図、第2図はタイ
ムチャートである。 1・・・CPU(中央処理装置)、3・・・アドレスレ
ジスタ、5・・・カウンタ、6・・・ROM (リード
オンリメモリ)、7・・・読出しレジスタ、8・・・比
較回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a time chart. 1... CPU (central processing unit), 3... address register, 5... counter, 6... ROM (read only memory), 7... read register, 8... comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 同一情報を複数のアドレス領域に格納するメモリと、一
回の読出し指示によって前記メモリの複数のアドレス領
域から複数の情報を読み出すアドレス生成手段と、前記
アドレス生成手段が生成したアドレスから読出した複数
の情報を比較して多数決判定し一個の正しい情報を抽出
する比較回路とを有することを特徴とするメモリ読出し
方式。
a memory for storing the same information in a plurality of address areas; an address generating means for reading a plurality of pieces of information from the plurality of address areas of the memory in response to a single read instruction; and a plurality of pieces of information read from the address generated by the address generating means. A memory reading method characterized by comprising a comparison circuit that compares information, makes a majority decision, and extracts one piece of correct information.
JP1030305A 1989-02-08 1989-02-08 Memory readout system Pending JPH02207355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1030305A JPH02207355A (en) 1989-02-08 1989-02-08 Memory readout system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1030305A JPH02207355A (en) 1989-02-08 1989-02-08 Memory readout system

Publications (1)

Publication Number Publication Date
JPH02207355A true JPH02207355A (en) 1990-08-17

Family

ID=12300048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1030305A Pending JPH02207355A (en) 1989-02-08 1989-02-08 Memory readout system

Country Status (1)

Country Link
JP (1) JPH02207355A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011154583A (en) * 2010-01-28 2011-08-11 Seiko Epson Corp Integrated circuit device and electronic equipment
JP2014081967A (en) * 2014-02-12 2014-05-08 Seiko Epson Corp Integrated circuit device and electronic apparatus
JP2017083786A (en) * 2015-10-30 2017-05-18 キヤノン株式会社 Arithmetic unit and image forming apparatus comprising arithmetic unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011154583A (en) * 2010-01-28 2011-08-11 Seiko Epson Corp Integrated circuit device and electronic equipment
JP2014081967A (en) * 2014-02-12 2014-05-08 Seiko Epson Corp Integrated circuit device and electronic apparatus
JP2017083786A (en) * 2015-10-30 2017-05-18 キヤノン株式会社 Arithmetic unit and image forming apparatus comprising arithmetic unit

Similar Documents

Publication Publication Date Title
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US4005405A (en) Error detection and correction in data processing systems
US7797609B2 (en) Apparatus and method for merging data blocks with error correction code protection
JPS6061837A (en) Error corrector
US20120079346A1 (en) Simulated error causing apparatus
US3898443A (en) Memory fault correction system
JPH0412863B2 (en)
US4521872A (en) Instruction storage
JPH02207355A (en) Memory readout system
JPS6129024B2 (en)
JPH0316655B2 (en)
JPH01194046A (en) Memory access system
KR100216045B1 (en) Bit arithmetic processing method and apparatus of programmable controller
JP2818659B2 (en) Error correction method
JPH03147041A (en) Error correction system
JPH04255032A (en) Error correcting system for control storage
JP2690910B2 (en) Control storage device
JPS6327940A (en) Storage controller
JPH0136137B2 (en)
JPS5837638B2 (en) Kiokusouchi
JPS6054059A (en) Storage device
JPH01307852A (en) Detection of connection abnormality of memory unit
JPH02206855A (en) Fault detecting method and storage control device for storage device
JPS63279348A (en) Check system for memory
JPH0268633A (en) Check circuit for microprogram