JPS62229448A - Storage circuit write control system - Google Patents

Storage circuit write control system

Info

Publication number
JPS62229448A
JPS62229448A JP61070975A JP7097586A JPS62229448A JP S62229448 A JPS62229448 A JP S62229448A JP 61070975 A JP61070975 A JP 61070975A JP 7097586 A JP7097586 A JP 7097586A JP S62229448 A JPS62229448 A JP S62229448A
Authority
JP
Japan
Prior art keywords
address
data
register
circuit
block
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
JP61070975A
Other languages
Japanese (ja)
Inventor
Masatoshi Nishina
昌俊 仁科
Tsuneo Horie
堀江 恒雄
Hidekazu Kaneko
秀和 金子
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61070975A priority Critical patent/JPS62229448A/en
Publication of JPS62229448A publication Critical patent/JPS62229448A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect even the address error of even bits by writing the start address itself as data in the start address of a block in case of data write. CONSTITUTION:The start address itself is written in the start address of a block, and a circuit is provided which compares contents of an address register and write data with each other to detect the coincidence, and write is permitted only when they coincide with each other. That is, (01)16 is selected as write data in the start address of the block if (01)16 is loaded to the register. If a bus line, an upper address register, etc., are not abnormal, data inputted to a comparator circuit 4 coincide with each other, and a high-level signal is inputted to the D input of a D-type FF 10. If a lower address register or the like is not abnormal, all '0' is detected by an all bit '0' detecting circuit 5, and the trigger input of the FF 10 is turned on at the timing of a clock.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、記憶回路のアドレシング方式に係り、特にブ
ロック毎に書込みを行う場合の書込許可信号制御方式に
関する、 〔従来の技術〕 従来の装置は記憶回路のアドレシングチェラグ方式とし
てはパリティビット付加によるパリティチェック方式又
はアドレスレジスタ読出し方式によっていた。なお、こ
の種の装置として関連するものには例えば特開昭58−
169253号等が挙げられる。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an addressing method for a memory circuit, and in particular to a write permission signal control method when writing is performed block by block. The device used a parity check method by adding a parity bit or an address register read method as an addressing check method for the memory circuit. Incidentally, related devices of this type include, for example, Japanese Patent Application Laid-Open No. 1986-58-
No. 169253 etc. are mentioned.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は1例えばパリティチェック方式では、奇
数ピッ1〜エラーの検出に対しては有効であるが、偶数
ビットエラーは検出不能という欠点があった。またレジ
スタ読出し方式では信頼度は向上するが反面レジスタ読
出し比較という処理シーケンスが必要となり、制御が′
!fimになり、処理時間も増加するという欠点があっ
た。
The above conventional techniques, for example, the parity check method, are effective in detecting odd bit errors, but have the disadvantage that even bit errors cannot be detected. In addition, although the register read method improves reliability, it requires a processing sequence of register read comparison, making control difficult.
! fim, and the processing time also increases.

本発明の目的は、新たな処理シーケンスを追加すること
なく記憶回路の書込みシーケンスの中でアドレスエラー
を検出し書込許可信号を制御する回路を提供することに
ある。
An object of the present invention is to provide a circuit that detects an address error in a write sequence of a storage circuit and controls a write enable signal without adding a new processing sequence.

〔問題点を解決するための手段〕[Means for solving problems]

丘記1]的は、データの書込みを行う場合、ブロツクの
先頭アドレスに、先頭アドレス自身をデータとして書込
むことにより達成される。このとき。
When writing data, the objective is achieved by writing the start address itself as data to the start address of the block. At this time.

当該書込みデータと上位アドレスレジスタの比較回路を
付加することにより、アドレスエラーの検出が可能とな
る。
By adding a comparison circuit between the write data and the upper address register, it becomes possible to detect address errors.

〔作用〕[Effect]

即ち、先頭アドレスの書込みデータはアドレス自身であ
るからアドレスレジスタの内容と一致するはずである。
That is, since the write data at the first address is the address itself, it should match the contents of the address register.

この方式により検出されたアドレスエラーは書込許可信
号を無効にするために使用され得る。また処理装置への
エラー報告も可能である。以上の方法により、指定した
アドレス以外が誤ってアドレスレジスタにセットされて
もエラー検出が可能となりデータ破壊を防ぐことができ
る。
Address errors detected in this manner can be used to override the write enable signal. It is also possible to report errors to the processing device. With the above method, even if an address other than the designated address is mistakenly set in the address register, error detection becomes possible and data destruction can be prevented.

〔実施例〕 本発明の一実施例を図により説明する。バス線1は上位
アドレスレジスタ3及び下位アドレスレジスタ2に接続
し記憶回路8のアドレスを転送する。また記憶回路8及
び比較回路4に接続し、書込みデータを転送する。上位
アドレス1ノジスタ3と下位アドレスレジスタの出力は
それぞれアドレスバス6.7を介して記憶回路8に接続
する。同時にアドレスバス6は比較回路4に、アドレス
バス7は全ビット0検出回路に接続している。今、記憶
回路8は9ビツト幅のRAMとし、バス線1も9ビツト
幅とする。また上位アドレスレジスタは6ビツト(パリ
ティビット含めない)、下位アドレスレジスタは4ビツ
ト(パリティビット含めない)から成り、16アドレス
で1ブロツクのデータが記憶回路8内に64ブロツクま
で記憶できるものとする0本考案ではブロック単位にデ
ータの書込みが実行される場合の書込許可信号の制御回
路を示す。ブロック単位にデータの書込みを行う場合、
まず第一に上位アドレスレジスタ3に指定されたアドレ
スがロードされる。このアドレスにより書込みが行われ
るブロックが決定する。今。
[Example] An example of the present invention will be described with reference to the drawings. A bus line 1 is connected to an upper address register 3 and a lower address register 2, and transfers the address of the memory circuit 8. It is also connected to the memory circuit 8 and comparison circuit 4 to transfer write data. The outputs of the upper address 1 register 3 and the lower address register are connected to the memory circuit 8 via address buses 6.7, respectively. At the same time, address bus 6 is connected to comparison circuit 4, and address bus 7 is connected to all bits 0 detection circuit. Now, the memory circuit 8 is assumed to be a 9-bit wide RAM, and the bus line 1 is also assumed to be 9-bit wide. The upper address register consists of 6 bits (not including the parity bit), and the lower address register consists of 4 bits (not including the parity bit), and one block of data can be stored in the memory circuit 8 up to 64 blocks with 16 addresses. 0 The present invention shows a control circuit for a write permission signal when data is written block by block. When writing data in blocks,
First of all, the address specified in the upper address register 3 is loaded. This address determines the block to be written. now.

このレジスタに(01)□6がロードされたとする。Assume that (01)□6 is loaded into this register.

次に下位アドレスレジスタ2にアドレスがロードされる
が、先頭アドレスとして常に(0)、、がロードされる
ものとする。まずアドレス(010)、、に対して書込
みが行われるが、本発明に従いブロックの先頭アドレス
の書込みデータとしてそのアドレス自身、この場合(0
1)□、を書込みデータとする。このとき比較回路4に
人力するデータはパスライン及び上位アドレスレジスタ
等に異常がなければ一致し、 Irigh レベル信号
がD −T Y I) E −FFIOのD入力に入力
する。また、下位アドレスレジスタ等に異常がなければ
全ピットO検出回路5によりオールOが検出されCLO
CKのタイミングにより、FFl0のトリガ入力がON
する。
Next, an address is loaded into the lower address register 2, and it is assumed that (0), . . . is always loaded as the first address. First, writing is performed to the address (010), , but according to the present invention, the address itself is used as the write data of the first address of the block, in this case (0
1) Let □ be the write data. At this time, the data manually input to the comparator circuit 4 match if there is no abnormality in the pass line, upper address register, etc., and the Irrige level signal is input to the D input of the D-TYI) E-FFIO. In addition, if there is no abnormality in the lower address register etc., all pit O detection circuit 5 detects all O's and CLO
Depending on the timing of CK, the trigger input of FF10 is turned on.
do.

(下位アドレスの先頭アドレスが(0)、、以外の場合
でも、そのパターンを検出する回路を全ビット0検出回
路の代わりに使用すれば可能である。)  ・したがっ
て上位、下位アドレス共に異常がない場合には、FFL
Oの出力がHigh レベルになり、CLOCK  1
3のタイミングで書込許可信号が発生する。先頭アドレ
スの書込みが終了すると下位以1寺のアドレスチェック
はパリティチェッカー11により行われる。
(Even if the first address of the lower address is other than (0), it is possible if a circuit that detects that pattern is used in place of the all-bit 0 detection circuit.) -Therefore, there is no abnormality in both the upper and lower addresses. In this case, FFL
The output of O becomes High level, and CLOCK 1
A write permission signal is generated at timing 3. When the writing of the first address is completed, the parity checker 11 checks the address of the next lower address.

以」二のように5本実施例によればパリティチェックで
は検出できないアドレスエラーが検出され。
As shown in Figure 2 below, according to this embodiment, address errors that cannot be detected by parity checking are detected.

誤ったアドレスに書込んでデータを壊すことを防止でき
る。またエラー検出のための特別の処理シーケンスも不
要であり1通常の書込処理でエラーの検出ができる。
This prevents data from being destroyed by writing to the wrong address. Further, there is no need for a special processing sequence for error detection, and errors can be detected by one normal write process.

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

本発明によれば、従来パリティチェックでは検出されな
かった偶数ビットのアドレスエラーも検出でき、そのた
めの特別な処理シーケンスを必要としないため、処理時
間も短縮できる。
According to the present invention, it is possible to detect even-numbered address errors that were not detected by conventional parity checks, and a special processing sequence for this purpose is not required, so that processing time can also be reduced.

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

図は本発明の一実施例のアドレシング回路ブロック図で
ある。 1・・・パスライン、2・・・下位アドレスレジスタ、
3・・・上位アドレスレジスタ、4・・・比較回路、5
・・・全ピットO検出回路、6,7・・・アドレスライ
ン、8・・・記憶回路、9・・・インクリメンタ、10
・・・D−フリップフロップ、11・・パリティチェッ
カー。
The figure is a block diagram of an addressing circuit according to an embodiment of the present invention. 1... Pass line, 2... Lower address register,
3... Upper address register, 4... Comparison circuit, 5
...All pit O detection circuit, 6, 7...Address line, 8...Storage circuit, 9...Incrementer, 10
...D-flip-flop, 11...Parity checker.

Claims (1)

【特許請求の範囲】[Claims] 1、記憶回路のアドレシング回路として上位アドレスレ
ジスタと下位アドレスレジスタを有し、上位アドレスで
規定される範囲を順次書込みを行う如きデータ処理方式
において、ブロックの先頭アドレスに当該アドレスを書
込み、アドレスレジスタと書込みデータの比較一致検出
回路を設け、一致した場合のみ書込みを許可することに
より、データ書込シーケンスの中でアドレシングエラー
の検出を可能としたことを特徴とする記憶回路書込制御
方式。
1. In a data processing method that has an upper address register and a lower address register as the addressing circuit of the memory circuit and sequentially writes the range defined by the upper address, the address is written to the first address of the block and the address register is written. A memory circuit write control method characterized in that a writing data comparison match detection circuit is provided and writing is permitted only when there is a match, thereby making it possible to detect addressing errors in a data writing sequence.
JP61070975A 1986-03-31 1986-03-31 Storage circuit write control system Pending JPS62229448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61070975A JPS62229448A (en) 1986-03-31 1986-03-31 Storage circuit write control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61070975A JPS62229448A (en) 1986-03-31 1986-03-31 Storage circuit write control system

Publications (1)

Publication Number Publication Date
JPS62229448A true JPS62229448A (en) 1987-10-08

Family

ID=13447028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61070975A Pending JPS62229448A (en) 1986-03-31 1986-03-31 Storage circuit write control system

Country Status (1)

Country Link
JP (1) JPS62229448A (en)

Similar Documents

Publication Publication Date Title
JPS6391764A (en) Memory system having parity checking function
JPS62229448A (en) Storage circuit write control system
JPS6288044A (en) Memory control system
JPH0316655B2 (en)
JPS63257854A (en) Lru memory fault detecting circuit
JPH0441375B2 (en)
JPH05324487A (en) Memory control system
JPS61211786A (en) Ic card
JPH0689236A (en) Random access memory monitor circuit
JPS6043541B2 (en) data processing equipment
JPH0395653A (en) Address error detecting method for data storage device
JPS5899841A (en) Address controlling system of partially mounted control memory
JPH0528056A (en) Memory device
JPS63239545A (en) Memory error detecting circuit
JPS61173360A (en) Protective system for data of non-volatile memory
JPH03290745A (en) Memory error detecting/correcting method
JPH0561777A (en) Memory control circuit
JPH01258054A (en) Access control system for storage device
JPS60116043A (en) Data processing device
JPS61253564A (en) Storage device
JPH0373014B2 (en)
JPH01282658A (en) Common bus error detecting system
JPH02235159A (en) Storage device
JPH0367346A (en) Address control circuit
JPH01306929A (en) Microprocessor