JPS62229448A - Storage circuit write control system - Google Patents
Storage circuit write control systemInfo
- 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
Links
- 238000000034 method Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 7
- 238000003672 processing method Methods 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 abstract 2
- 230000005856 abnormality Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
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.
上記従来技術は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.
丘記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.
即ち、先頭アドレスの書込みデータはアドレス自身であ
るからアドレスレジスタの内容と一致するはずである。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.
本発明によれば、従来パリティチェックでは検出されな
かった偶数ビットのアドレスエラーも検出でき、そのた
めの特別な処理シーケンスを必要としないため、処理時
間も短縮できる。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.
図は本発明の一実施例のアドレシング回路ブロック図で
ある。
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)
ジスタと下位アドレスレジスタを有し、上位アドレスで
規定される範囲を順次書込みを行う如きデータ処理方式
において、ブロックの先頭アドレスに当該アドレスを書
込み、アドレスレジスタと書込みデータの比較一致検出
回路を設け、一致した場合のみ書込みを許可することに
より、データ書込シーケンスの中でアドレシングエラー
の検出を可能としたことを特徴とする記憶回路書込制御
方式。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.
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) |
-
1986
- 1986-03-31 JP JP61070975A patent/JPS62229448A/en active Pending
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 |