JPS59198600A - Data processing system - Google Patents
Data processing systemInfo
- Publication number
- JPS59198600A JPS59198600A JP58072919A JP7291983A JPS59198600A JP S59198600 A JPS59198600 A JP S59198600A JP 58072919 A JP58072919 A JP 58072919A JP 7291983 A JP7291983 A JP 7291983A JP S59198600 A JPS59198600 A JP S59198600A
- Authority
- JP
- Japan
- Prior art keywords
- parity
- data
- circuit
- rom
- parity 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
この発明は、リードオンリメモリに記憶されているプロ
グラムまたはデータのパリティビット(パリティデータ
)の作成、記憶が可能なデータ処理システムに関する。DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a data processing system capable of creating and storing parity bits (parity data) of programs or data stored in a read-only memory.
一般に、この株のデータ処理システムにおいては、プロ
グラムまたはデータの変更によるパリティデータの変更
が容易で、しかも信頼性の高いものであることが望まし
い。Generally, in this type of data processing system, it is desirable that parity data can be easily changed by changing programs or data, and that the reliability is high.
プログラムまたはデータを格納するROM(リードオン
リメモリ)、RAM(ランダムアクセスメモリ)などの
メモリユニットを有するマイクロプロセッサ応用システ
ム等において、プログラムの記憶用には主としてROM
が使用されるのが一般的であシ、また格納されたプログ
ラムまたはデータの信頼性を確保するため、これらにパ
リティビットを付加するとともに、該パリティビットを
記憶するための専用のメモリが設けられることが多い。In microprocessor application systems that have memory units such as ROM (read only memory) and RAM (random access memory) that store programs or data, ROM is mainly used for storing programs.
In order to ensure the reliability of the stored program or data, a parity bit is added to the stored program or data, and a dedicated memory is provided to store the parity bit. There are many things.
第1図はパリティデータ記憶システムの従来例を示すブ
ロック図である。同図において、1はマイクロプロセッ
サの如き中央処理装置(CPU)、2はプログラムまた
はデータ(以下、プログラム等ともいう。)を格納する
ROM、3はROM2の記憶内容に対応するパリティビ
ット(パリティデータ)を格納するROM、4はパリテ
ィチェック回路、5はデータバス、6はアドレスバス、
7はパリティデータ線、8はパリティエラー情報線であ
る。すなわち、プログラム等を格納するROM2と、こ
のROM2の記憶内容に対応するパリティビットを格納
する別のROM3を設け、これらROM2.3によって
記憶システムが構成される。FIG. 1 is a block diagram showing a conventional example of a parity data storage system. In the figure, 1 is a central processing unit (CPU) such as a microprocessor, 2 is a ROM that stores programs or data (hereinafter also referred to as programs, etc.), and 3 is a parity bit (parity data) corresponding to the storage contents of ROM2. ), 4 is a parity check circuit, 5 is a data bus, 6 is an address bus,
7 is a parity data line, and 8 is a parity error information line. That is, a ROM 2 for storing programs and the like and another ROM 3 for storing parity bits corresponding to the stored contents of the ROM 2 are provided, and these ROMs 2.3 constitute a storage system.
なお、この場合、ROM2に格納されているプログラム
等からCPUIにてパリティビットを作成して紙テープ
等に一旦出力した後、該テープの内容を転写することに
よjOROM3が作成される。In this case, the jOROM 3 is created by creating a parity bit using the CPU from a program stored in the ROM 2, outputting it to a paper tape, etc., and then transferring the contents of the tape.
したがって、CPUIからアドレスバス6を介してRO
M2.3の所定アドレスが指定されると、ROM2の内
容はデータバス5を介してCPUIおよびパリティチェ
ック回路4に与えられる一方、ROM3からはROM2
の内容に対応するパリティビットがパリティデータ線7
を介して読み出されてチェック回路4に与えられるので
、チェック回路4ではROM2から与えられる情報に対
応するパリティビットを作成し、これを線7を介して与
えられるパリティビットと比較することによシ、ROM
2の内容をチェックすることができる。このため、メモ
リまたはバス等の不良等によってデータバス5上のデー
タにパリティ異常が発生すると、パリティチェック回路
4ではこれを検出し、パリティエラー情報線8にパリデ
ィエラー情報を出力する。かかる場合に、RoM2,3
はメモリ内容等の変更を考慮して、通常は交換を容易に
するため、それぞれROM用ソケットまたはコネクタを
介してプリント基板等に実装されるので、ソケットまた
はコネクタの使用個数が増えてメモリの信頼性が低下す
るとともに、その専有スペースが増大するという欠点が
ある。また、プログラムの内容、順序等を変更する必要
が生じると、ROM2を変更すると同時にROM3につ
いても変更しなければならないため、その変更、交換操
作が煩雑であるという欠点もある。Therefore, the RO
When a predetermined address of M2.3 is specified, the contents of ROM2 are given to the CPUI and parity check circuit 4 via data bus 5, while the contents of ROM2 are sent from ROM3 to
The parity bit corresponding to the content of is connected to parity data line 7.
The check circuit 4 creates a parity bit corresponding to the information provided from the ROM 2 and compares it with the parity bit provided via the line 7. ROM
You can check the contents of 2. Therefore, when a parity error occurs in the data on the data bus 5 due to a defect in the memory or the bus, the parity check circuit 4 detects this and outputs parity error information to the parity error information line 8. In such a case, RoM2,3
are usually mounted on printed circuit boards, etc. via ROM sockets or connectors to facilitate replacement in consideration of changes in memory contents, etc., which increases the number of sockets or connectors used and reduces memory reliability. The drawbacks are that the performance is reduced and the space occupied increases. Furthermore, if it becomes necessary to change the content, order, etc. of a program, it is necessary to change ROM 3 at the same time as changing ROM 2, which has the disadvantage that the changing and replacement operations are complicated.
この発明はかかる欠点を除去すべくなされたもので、R
OMに記憶されている情報の変更、交換操作を簡略化す
る七ともに、その信頼性を向上させることかできるデー
タ処理システムを提供することを目的とする。This invention was made to eliminate such drawbacks, and R
An object of the present invention is to provide a data processing system that can simplify the operation of changing and exchanging information stored in an OM, and improve its reliability.
その要点は、ROMに格納されているプログラム等に対
応するパリティデータを作成するパリティデータ作成回
路と、このパリティデータを各プログラム命令語に対応
させて記憶するRAMとを設け、このパリティデータ作
成回路において電源投入時に既にROMに格納されてい
るプログラム等を読み出してこれに対応するパリティデ
ータを作成し、これをRAMに記憶させるようにして、
パリティデータ用ROMt−不要とした点にある。The key point is to provide a parity data creation circuit that creates parity data corresponding to a program etc. stored in the ROM, and a RAM that stores this parity data in correspondence with each program instruction word. When the power is turned on, a program etc. already stored in the ROM is read out, parity data corresponding to this is created, and this is stored in the RAM.
ROMt for parity data is unnecessary.
以下、この発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第2図はこの発明の実施例を示すブロック図である。同
図において、9はパリティビットを記憶するRAM、1
0はパリティピッ)f作成するパリティビット作成回路
、11はパリティエラー線、 ′12はアドレス
デコーダ、13はパリティ有効・無効指定回路、14は
デコーダ信号線で、その他は第1図と同様である。すな
わち、CPUIからアドレスバス6に出力されるアドレ
ス情報は、ROM2およびパリティビット用RAM9の
アドレス端子にそれぞれ与えられるとともに、アドレス
デコーダ12に与えられるので、デコーダ12では上記
アドレス情報にもとづき、デコーダ信号線14を介して
パリティ有効・無効指定回路13を選択する。このパリ
ティ有効・無効指定回路13は、パリティエラー線11
を介して与えられるパリティエラー情報を有効にするか
、または無効にするかを決めるもので、例えば、RAM
9にパリティビットが記憶される電源投入時には、無効
に指定される。また、データバス5は、ROM2のデー
タ端子と、パリティビット作成回路10およびパリティ
チェック回路4のそれぞれの入力端子に接続されておシ
、パリティビット作成回路10にて作成されたパリティ
ビットは、パリティデータa7を介してRAM9に与え
られるとともに、このRAM9からチェック回路4にも
与えられる如く構成されている。FIG. 2 is a block diagram showing an embodiment of the invention. In the figure, 9 is a RAM for storing parity bits;
0 is a parity bit generating circuit for creating a parity bit f), 11 is a parity error line, '12 is an address decoder, 13 is a parity valid/invalid designation circuit, 14 is a decoder signal line, and the other parts are the same as in FIG. That is, the address information output from the CPUI to the address bus 6 is applied to the address terminals of the ROM 2 and the parity bit RAM 9, as well as to the address decoder 12, so the decoder 12 uses the decoder signal line based on the address information. 14, the parity valid/invalid designation circuit 13 is selected. This parity valid/invalid designation circuit 13 is connected to the parity error line 11.
This determines whether to enable or disable the parity error information provided via the RAM.
At power-on, when the parity bit is stored in 9, it is designated as invalid. Further, the data bus 5 is connected to the data terminal of the ROM 2 and the respective input terminals of the parity bit creation circuit 10 and the parity check circuit 4, and the parity bit created by the parity bit creation circuit 10 is The data is supplied to the RAM 9 via the data a7, and is also supplied from the RAM 9 to the check circuit 4.
この発明は、以上のような構成において、電投入時にプ
ログラム・データ用ROM2の記憶内容に対応するパリ
ティデータを作成し、パリティビット用RAM9に格納
する処理を自動的に行なわせることにより、第1図の如
きパリティビット用ROMの作成を不要とするものであ
υ、その処理の詳細手順は、下記の通りである。In the above configuration, the present invention automatically creates parity data corresponding to the storage contents of the program/data ROM 2 when the power is turned on, and stores the parity data in the parity bit RAM 9. This eliminates the need to create a ROM for parity bits as shown in the figure, and the detailed procedure for the process is as follows.
1)電源投入直後のイニシャル状態においては、パリテ
ィビット用RAM9には、パリティデータがまだ格納さ
れていない。そのため、cPUlがプログラム・データ
用ROM2の記憶内容を読み取ってもパリティエラー処
理を行えないように、パリティ有効・無効指定回路13
を無効にする。1) In the initial state immediately after power is turned on, parity data is not yet stored in the parity bit RAM 9. Therefore, the parity valid/invalid designation circuit 13 is configured so that parity error processing cannot be performed even if the cPUl reads the stored contents of the program/data ROM 2.
Disable.
2)CPUIが一プログラム・データ用ROM2に記憶
された最初の情報を読み込む。2) The CPU reads the first information stored in the ROM 2 for one program and data.
3)CPUIはROM2から読み取った情報をパリティ
ビット作成回路10に送る。3) The CPUI sends the information read from the ROM 2 to the parity bit creation circuit 10.
4)パリティピット作成回路10は、受は取った情報に
基づいてパリティビットデータを作成し、パリティビッ
ト用RAM9の最初のアドレスに格納する。4) The parity pit creation circuit 10 creates parity bit data based on the received information and stores it in the first address of the parity bit RAM 9.
5)プログラム・データ用のROM2、ノ(リテイビッ
ト用のRAM9のアドレスを順次歩進させながら、上記
0〜4)の処理を繰シ返すことによシ、プログラム・デ
ータ用ROM2の全領域にわたってパリティビットを生
成し、RAM9に記憶させる。5) By repeating the processes of 0 to 4 above while sequentially incrementing the address of RAM 9 for program data, parity is created over the entire area of ROM 2 for program data. A bit is generated and stored in RAM 9.
6〕 上記1)〜5)の処理が終了すると、パリティ有
効・無効指定回路13を有効に切替え、次からプログラ
ム会データ用ROM2の出力データに対してパリティチ
ェック機能が有効となるようにする。6] When the above processes 1) to 5) are completed, the parity valid/invalid designation circuit 13 is switched to valid, so that the parity check function is enabled for the output data of the program session data ROM 2 from then on.
なお、記憶情報の劣化、素子あるbはバスの不良等によ
り、前記データにおいてパリティエラーか生じた時は、
パリティ有効・無効指定回路13が有効ならば、パリテ
ィエラー情報線8を通して、パリティエラー情報を出力
するが、無効の時は、パリティエラー情報は出力されな
い。Note that if a parity error occurs in the data due to deterioration of stored information or a defective bus of an element,
If the parity valid/invalid designation circuit 13 is valid, it outputs parity error information through the parity error information line 8, but if it is invalid, no parity error information is output.
以上のように、パリティビットの自動生成機能をもつメ
モリ周辺回路を付加することによシ、従来はROMで形
成していたパリティビットデータ用のメモリチップをR
AM化することが可能になるとともに、次の如き効果が
期待される。As described above, by adding a memory peripheral circuit with an automatic parity bit generation function, the memory chip for parity bit data, which was conventionally formed in ROM, can be
It becomes possible to use AM, and the following effects are expected.
イ)パリティビット格納用ROMのICソケットまたは
コネクタガ不要となる、つまり、パリティビット用RA
Mは交換が不要であるため、基板上に直接実装(直付)
できるようになシ、したがってその信頼性が向上するば
かシでなく、占有スペースも減少する。b) There is no need for the IC socket or connector of the ROM for storing the parity bit, that is, the RA for the parity bit
Since M does not require replacement, it can be mounted directly on the board (direct mounting).
Therefore, its reliability is improved, and the space it occupies is also reduced.
口)ハリティビット格納用ROMの作成が不要であ、!
l)、RAMはROMに比べて一般的に安価であること
から、コストダウンを図ることができる。Mouth) There is no need to create a ROM for storing Haritibit!
l) Since RAM is generally cheaper than ROM, costs can be reduced.
なお、この発明は、ROMに記憶された情報のパリティ
ビットまたはデータが必要なシステム、またはかかるデ
ータを格納するメモリが必要なシステム一般に対して広
く適用することが可能である。Note that the present invention can be widely applied to systems that require parity bits or data of information stored in a ROM, or systems in general that require a memory to store such data.
第1歯はパリティデータ記憶システムの従来例を示すブ
ロック図、第2図はこの発明の実施例を示すブロック図
である。
符号説明
1・・・中央処理装置(CPU)、2・・・プログラム
格納用ROM、3・・・パリティデータ格納用ROM、
4・・・パリティチェック回路、5・・・データバス、
6・・・アドレスバス、7・・・パリティデータ線、8
・・・パリティエラー情報線、9・・・パリティデータ
用RA’M。
10・・・パリティデータ作成回路、11・・・パリテ
ィデータ線、12・・・アドレスレコーダ、13・・・
パリティ有効・無効指定回路、14・・・デコーダ信号
線。
代理人弁理士 並 木 昭 夫
代理人弁理士 松 崎 清The first tooth is a block diagram showing a conventional example of a parity data storage system, and FIG. 2 is a block diagram showing an embodiment of the present invention. Description of symbols 1... Central processing unit (CPU), 2... ROM for storing programs, 3... ROM for storing parity data,
4... Parity check circuit, 5... Data bus,
6... Address bus, 7... Parity data line, 8
... Parity error information line, 9... RAM'M for parity data. 10... Parity data creation circuit, 11... Parity data line, 12... Address recorder, 13...
Parity valid/invalid designation circuit, 14... decoder signal line. Representative Patent Attorney Akio Namiki Representative Patent Attorney Kiyoshi Matsuzaki
Claims (1)
報を記憶するリードオンリメモリ(ROM)と、該RO
Mに記憶されたそれぞれの情報に対応するパリティデー
タを作成するパリティデータ作成回路と、該パリティデ
ータを記憶するランダムアクセスメモIJ (RAM)
とを備え、前記中央処理装置は、電源投入時には前記R
OMに記憶された各情報を順次読み出して前記パリティ
データ作成回路に与えることによシ、該作成回路を介し
て得られるパリティデータを前記RAMに順次記憶させ
ることを特徴とするデータ処理システム。 2)所定の処理を実行する中央処理装置と、所定の情報
を記憶するリードオンリメモリ(ROM)と、該ROM
に記憶されたそれぞれの情報に対応するパリティデータ
を作成するパリティデータ作成回路と、該パリティデー
タを記憶するランダムアクセスメモIJ (RAM)と
、前記ROMの各記憶情報を該RAMからのパリティデ
ータにもとづいてチェックするパリティチェック回路と
、該パリティチェック回路出力の有効、無効を指定する
有効・無効指定回路とを備え、前記中央処理i置は、電
源投入時には前記ROMに記憶された各情報を順次読み
出して前記パリティデータ作成回路に与えることによシ
、該作成回路を介して得られるパリティデータを前記R
AMの所定位置に順次記憶させるとともに、少なくとも
かかる操作を実行しているときは前記有効・無効指定回
路を介してパリティチェック回路からの出力を無効とす
ることを特徴とするデータ処理システム。[Claims] 1) - A central processing unit that executes predetermined processing, a read-only memory (ROM) that stores predetermined information, and the RO
A parity data creation circuit that creates parity data corresponding to each piece of information stored in M, and a random access memory IJ (RAM) that stores the parity data.
and the central processing unit is configured to control the R when the power is turned on.
A data processing system characterized in that by sequentially reading each piece of information stored in an OM and providing it to the parity data creation circuit, the parity data obtained through the creation circuit is sequentially stored in the RAM. 2) A central processing unit that executes predetermined processing, a read-only memory (ROM) that stores predetermined information, and the ROM
a parity data creation circuit that creates parity data corresponding to each piece of information stored in the ROM; a random access memory IJ (RAM) that stores the parity data; The central processing unit is equipped with a parity check circuit that performs a parity check based on the parity check circuit, and a valid/invalid designation circuit that designates whether the output of the parity check circuit is valid or invalid. By reading the parity data and providing it to the parity data generation circuit, the parity data obtained through the generation circuit is
A data processing system characterized in that the data are sequentially stored in predetermined locations of an AM, and the output from the parity check circuit is made invalid via the valid/invalid designation circuit at least when such an operation is being executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58072919A JPS59198600A (en) | 1983-04-27 | 1983-04-27 | Data processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58072919A JPS59198600A (en) | 1983-04-27 | 1983-04-27 | Data processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59198600A true JPS59198600A (en) | 1984-11-10 |
Family
ID=13503238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58072919A Pending JPS59198600A (en) | 1983-04-27 | 1983-04-27 | Data processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59198600A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57212695A (en) * | 1981-06-23 | 1982-12-27 | Kokusai Electric Co Ltd | Redundant code adding circuit system of electronic computer |
-
1983
- 1983-04-27 JP JP58072919A patent/JPS59198600A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57212695A (en) * | 1981-06-23 | 1982-12-27 | Kokusai Electric Co Ltd | Redundant code adding circuit system of electronic computer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5966727A (en) | Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same | |
JPH09330151A (en) | Card | |
JP3519954B2 (en) | Chip enable signal generation circuit and memory device | |
US5450366A (en) | IC memory card | |
JP3673015B2 (en) | Peripheral device identification method in semiconductor device | |
JPS59198600A (en) | Data processing system | |
US5446873A (en) | Memory checker | |
US6535992B1 (en) | DRAM auto-swapping device | |
JPH10111839A (en) | Storage circuit module | |
JPS623520B2 (en) | ||
JPS5842545B2 (en) | Memory card block selection method | |
JPH0528058A (en) | Memory address bus test system | |
JPS6243273B2 (en) | ||
JPH09305485A (en) | Image memory control system | |
JPH0765586A (en) | Access system for eeprom | |
JPH05233470A (en) | Address conversion device | |
JPH0457287A (en) | Multiport memory | |
JPH09179777A (en) | Information storage device | |
JPH04268659A (en) | Option board i/o address setting system | |
JP2002342105A (en) | System for writing to flash memory | |
JPH1011357A (en) | Data writing device | |
JPS60196865A (en) | Backup memory circuit | |
JPS58166594A (en) | Writing device of programmable rom | |
JPS59231629A (en) | Microprogram control channel device | |
JPH04336643A (en) | Information processor |