JPS6170646A - Detection system for ineffective data - Google Patents
Detection system for ineffective dataInfo
- Publication number
- JPS6170646A JPS6170646A JP59191525A JP19152584A JPS6170646A JP S6170646 A JPS6170646 A JP S6170646A JP 59191525 A JP59191525 A JP 59191525A JP 19152584 A JP19152584 A JP 19152584A JP S6170646 A JPS6170646 A JP S6170646A
- Authority
- JP
- Japan
- Prior art keywords
- address
- display bit
- data
- invalid data
- written
- 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
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は書込みおよび続出し可能なランダムアクセスメ
モリの続出しデータが無効であるのを検出する無効デー
タ検出方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an invalid data detection method for detecting that successive data of a random access memory that can be written to and written to continuously is invalid.
一般に蓄込みおよび絖出し9能なランダムアクセスメモ
リは電源投入後の内容が不定である。Generally, the contents of a random access memory capable of storing and starting data are undefined after power is turned on.
したがって有効なデータを薔込む以91に誤って不定状
態の内容を読出し、その内g fC従って処理を行なう
とその結果は予想できない。この問題に対してあらかじ
めメモリの内容を一定+=<初期化しておくこと処より
、誤って読出した場合の処理を限定することが可能であ
る。しかしこの従来方式では、誤読出しの発生を検出す
ることおよびその発生アドレスを求めることが雌しい問
題点がある。Therefore, if you mistakenly read out contents in an undefined state after entering valid data and process them according to gfC, the result will be unpredictable. To deal with this problem, by initializing the contents of the memory to a certain value in advance, it is possible to limit the processing to be performed in the event of erroneous reading. However, this conventional method has the problem of detecting the occurrence of erroneous reading and finding the address where the erroneous reading occurs.
またランダムアクセスメモリをデータパ、ファとして使
用した場合のようK、データ書込みおよび読出しを繰シ
返す工9アでは初期設定動作外にも有効なデータの未書
込み状態で誤読出しを行なう可能性がある。この場合に
は上記の初期化如よる検出方式は効果がない。In addition, when random access memory is used as a data buffer and data writing and reading are repeated, there is a possibility that erroneous reading may occur even outside of the initial setting operation when valid data has not been written. . In this case, the above-described detection method based on initialization is ineffective.
本発明の目的は上記した従来技術の問題点を解決し、有
効なデータが書き込まれていないランダムアクセスメモ
リの内容を読み出したのを検出して外部に通知する無効
データ検出方式を提供するKある。SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art, and to provide an invalid data detection method that detects reading out the contents of a random access memory in which no valid data has been written and notifies the outside. .
本発明は薯込みおよび読出し可能なランダムアクセスメ
モリに1ワードごとに1ピ、トの無効データ表示ビット
領域を設け、当該ワードの内容が有効データの書込み智
の無効状態か書込み後の有効状態かを表示することによ
シ、書込み前の無効データを読み出したのを検出して外
部釦通知可能にした無効データ検出方式である。The present invention provides an invalid data display bit area of 1 bit for each word in a random access memory that can be written and read, and determines whether the contents of the word are in an invalid state after writing valid data or in a valid state after writing. This is an invalid data detection method that detects reading of invalid data before writing by displaying this and enables notification using an external button.
以″FK本発明の実施例を第1図および第2図によシ説
明する。An embodiment of the FK invention will be described below with reference to FIGS. 1 and 2.
第1図は本発明による無効データ検出方式の一実施例を
示すブロック図である。第1図において、1は書込みお
よび読出し可能なランダムアクセスメモ9% 2はメ
モ9フに設けられたフード単位に1ビットの無効データ
表示ビット領域である。20および21はそれぞれ無効
データ表示ビット領域2の表示ビット人力および衆示ビ
ット出力である。3はフジツブフロップ、61および3
2はそれぞれフリ、プフロップ30セット信号およびリ
セット信号、4はデコーダ、5はランダムアクセスメモ
リ1および無効データ表示ビット領域2およびデコーダ
4へのアドレスである。6は誉込み信号、7は人出力ア
クセス指示信号、8は読出し信号、9は無効データ検出
信号、91はゲートである。FIG. 1 is a block diagram showing an embodiment of an invalid data detection method according to the present invention. In FIG. 1, 1 is a writable and readable random access memo 9%, and 2 is an invalid data display bit area of 1 bit for each food provided in the memo 9. Reference numerals 20 and 21 are the display bit manual output and the public display bit output of the invalid data display bit area 2, respectively. 3 is Fujitsubu flop, 61 and 3
2 is a set signal and a reset signal for the flip-flop 30, 4 is a decoder, and 5 is an address to the random access memory 1, invalid data display bit area 2, and decoder 4, respectively. Reference numeral 6 designates an input signal, 7 a human output access instruction signal, 8 a read signal, 9 an invalid data detection signal, and 91 a gate.
次に第1図の回路動作を説明する。まず初期設定動作は
、電源投入後に入出力アクセス指示信号7と同時忙あら
かじめ指定されたアドレスを7ドレス5としてデコーダ
4釦人力することKより、デコーダ4からのリセット信
号31にょクツ9.プフロ、プ3をリセットすると、表
示ビット人力20は10″の状態となる。この状態で無
効データ表示ビット領域2の全アドレスに対して誓込み
信号6およびアドレス5を入力することKより、無効デ
ータ表示ビット領域2はすべて10″′にセットされる
。この動作の終了fleK入出力アクセス指示信号7と
あらかじめ指示された別のアドレスをアドレス5として
デコーダ4に入力することによシ、デコーダ4からのセ
、ト信号31によシフ9.プフロップ6をセットすると
、表示ビット入力2oは′げの状態となる。Next, the operation of the circuit shown in FIG. 1 will be explained. First, the initial setting operation is to input the input/output access instruction signal 7 simultaneously with the input/output access instruction signal 7 after the power is turned on, and manually press the decoder 4 button with the pre-specified address 7 address 5. When Pflo and P3 are reset, the display bit input 20 becomes 10''. In this state, by inputting the pledge signal 6 and address 5 to all addresses in the invalid data display bit area 2, the invalid All data display bit areas 2 are set to 10''. By inputting the input/output access instruction signal 7 and another address specified in advance to the decoder 4 as the address 5, the shift signal 31 from the decoder 4 is used. When the flip-flop 6 is set, the display bit input 2o becomes open.
以上が初期設定動作であう、上記入力信号およびアドレ
スは図示しない公知のハードウェアロジックで作成すれ
ばよく、あるいは図示しないプロセ、fおよび絖出し専
用メモリ内の初期化プログラムにより作成してもよい。The above is the initial setting operation, and the input signals and addresses may be created by known hardware logic (not shown), or may be created by an initialization program in a process (not shown), f, and a memory dedicated to setting out.
上記初期設定動作後にランダムアクセスメモ91に対し
て通常のデータの書込みおよび読出しが行なわれるが、
このさい無効データ表示ビット領域2の表示ビットは当
該アドレスヘのデータ書込みが行なわれるまでは10″
′にセットされたままであり、当該アドレスヘのデータ
擦込みが一度でも行なわれると表示ビット入力20が1
1″′の状態なので以後は11″にリセットされる。After the above initial setting operation, normal data is written and read from the random access memory 91.
At this time, the display bit of invalid data display bit area 2 is 10'' until data is written to the address.
' remains set, and if data is written to the address even once, the display bit input 20 becomes 1.
Since it is in the state of 1'', it will be reset to 11'' thereafter.
したがってデータ書込み後の当該アドレスを読出し信号
8およびアドレス5により読み出しても、当該表示ビッ
トは11″でろって表示ビット出力21が11″のため
、ゲート91からの無効データ検出信号9は出力されな
い。しかしデータ畳み状態の当該アドレスを読出し信号
8およびアドレス5によシ誤って読み出すと、当該表示
ビット10″であって表示ビット出力21が′0′のた
め、ゲート91からの無効データ検出信号9が送出され
外部に通知される。たとえは本検出店号9はランダムア
クセスメモリ1をアクセスするし°ロセ、fへの割込み
入力として使用することにより、無効データ読出し発生
後の適当な処理を行なうことが可能である。Therefore, even if the address after data writing is read using the read signal 8 and the address 5, the display bit is 11'' and the display bit output 21 is 11'', so the invalid data detection signal 9 from the gate 91 is not output. . However, if the address in the data folded state is mistakenly read by the read signal 8 and the address 5, the display bit output 21 is '0' at the display bit 10'', so the invalid data detection signal 9 from the gate 91 is output. is sent out and notified to the outside.For example, main detection store number 9 accesses random access memory 1, and by using it as an interrupt input to f, it performs appropriate processing after invalid data reading occurs. Is possible.
以上のように本実施例によれば、ランダムアクセスメモ
91の内容が電源投入後の不定値であるアドレスを誤っ
て読み出したときに、これを検出して外部へ通知するこ
とができる。As described above, according to this embodiment, when an address whose content is an undefined value after power-on is read out by mistake in the random access memo 91, this can be detected and notified to the outside.
第2図は本発明による無効データ検出方式の・池の実施
例を示すプロ、り図である。第2図において、オフ図と
同一符号または記号が同一または相当部分を示すものと
し、10は遅延回路、11は遅延書込み信号、12はア
ンドゲート、13はゲート、14はオアゲートである。FIG. 2 is a schematic diagram showing an embodiment of the invalid data detection method according to the present invention. In FIG. 2, the same reference numerals or symbols as in the OFF diagram indicate the same or corresponding parts, 10 is a delay circuit, 11 is a delayed write signal, 12 is an AND gate, 13 is a gate, and 14 is an OR gate.
次に第2図の回路動作を説明する。まず初期設定動作は
、電源投入後に79.プフロップ3をリセットして無効
データ表示ビット領域2をすべて′0″にセットしたの
ち、フジ、プフロップ3をセットするまで第1図と同様
である。そしてフリップフロ、プ3のセット状態では、
アンドゲート12からの遅延回路10への入力が禁止さ
れるため遅延書込み信号11は′0″′のままでありて
第2図は第1図と等価となる。Next, the operation of the circuit shown in FIG. 2 will be explained. First, the initial setting operation is 79. After resetting the flip-flop 3 and setting all the invalid data display bit areas 2 to '0'', the process is the same as in FIG. 1 until the flip-flop 3 is set. Then, when the flip-flop 3 is set,
Since the input from the AND gate 12 to the delay circuit 10 is prohibited, the delayed write signal 11 remains at ``0'''', and FIG. 2 becomes equivalent to FIG. 1.
したがって上記初期設定動作後忙うンダムアクセスメモ
J’IK対して通常のデータの書込みおよび続出しを行
なえば、第1図と同様にデータ書込みまたは未書込み状
態に対応した表示ビット出力21の値忙応じて無効デー
タ検出信号9が未送出または送出される。しかしフリッ
プフロ、プ5を再びリセットシた後に1読出し信号8お
よびアドレス5によりランダムアクセスメモリ1の内容
を読み出すと、表示ビット出力21の値に応じて無効デ
ータ検出信号9が未送出または送出される一方、表示ビ
、)出力21の値と無関係にアンドゲート12がらの遅
延回路10への入力が11″′となるため遅延書込み信
号11(工11″′となって、これによシゲート13か
らの無効データ表示ビット領域2への読出し信号8は禁
止され、代りにオアゲート14からの同領域2への誉込
み信号6が送出されて、表示ビy)入力20のいt′0
“となっている値をR局データ表示ビット領域2の当該
アドレスにセ、+−する。上記のようにしてフリ、プフ
ロップ3をリセット状態にしてランダムアクセスメモリ
1の内容を読み出せば、自動的忙無効データ我示ビット
領域20当該アドレスの表示ビットが#oMにセットさ
れて未書込みアドレスを、t#するようになる。Therefore, if normal data is written and successively output to the busy random access memo J'IK after the above initial setting operation, the value of the display bit output 21 corresponding to the data writing or non-writing state as shown in FIG. In response, invalid data detection signal 9 is not sent or is sent. However, when the contents of the random access memory 1 are read out using the 1 read signal 8 and the address 5 after resetting the flip-flop 5, the invalid data detection signal 9 is either not sent or sent, depending on the value of the display bit output 21. , display bit, ) Since the input to the delay circuit 10 from the AND gate 12 is 11'', regardless of the value of the output 21, the delayed write signal 11 (11'') is generated, which causes the input from the AND gate 13 to be 11''. The read signal 8 to the invalid data display bit area 2 is prohibited, and instead, the honor signal 6 from the OR gate 14 to the same area 2 is sent, and the display bit y) is input 20 at t'0.
” is set in the corresponding address of R station data display bit area 2. The display bit of the relevant address in the busy invalid data display bit area 20 is set to #oM, and the unwritten address becomes t#.
なお上記遅延−J!f!10の遅延時間は庸幼ゲータ検
出信号9が外部に認知されるために必要な時間よシも長
く設定しておく。また上記フリップフロップ3をリセッ
トシたまま再び書込み動作を行なうと、無効データ表示
ビット領域20当該アドレスが再び10″にセットされ
るので、瞥込み動作の直前に79:、プフロ、プ3をI
与びセット状態にしておくよりにする。In addition, the above delay-J! f! The delay time 10 is set to be longer than the time required for the young gator detection signal 9 to be recognized externally. If the write operation is performed again with the flip-flop 3 reset, the address in the invalid data display bit area 20 will be set to 10'' again, so immediately before the glance operation, 79:, Pflo, and P3 are
It is better to leave it set.
以上のように本実施列建よれば、ランダムアクセスメモ
リ1のグータパ、ファ領域などのように一度データを読
み出した後は次のデータをiFき込むまで無効データと
みなすべき領域についても、無効データを読み出したこ
とを慣肘でよる。As described above, according to this implementation, even areas that should be regarded as invalid data once data is read out, such as the goo-tapa and fa areas of the random access memory 1, are treated as invalid data until the next data is written into the iF. I am confident that I have read out the .
なお矛2図の実施例では無効データ表示上。In the embodiment shown in Figure 2, invalid data is displayed.
ト領域2の初期化忙すべで10″をセットするためのフ
リップフロ、プとメモリ内容読出し後に自動的忙無効デ
ータ表示ビット領域20当該アドレスを# o Mにセ
ットするためのフリップフロ、グを共有しているが、こ
れらを分離してもよい。Initialization of bit area 2 The flip-flop to set the address to 10'' in bit area 20 and the flip-flop to set the address to #oM are shared. However, they can be separated.
また第1図および第2図の実施例で無効データ表示ビッ
ト領域2の表示ビットの10″と11″の意味を入れ替
えて回路を構成することも可能である。Further, in the embodiments shown in FIGS. 1 and 2, the meanings of the display bits 10'' and 11'' in the invalid data display bit area 2 can be interchanged to configure a circuit.
以上の説明から明らかなように、第1にランダムアクセ
スメモリの!@投入後の内容不定状態を誤って読み出し
た時にこれをその時点で検出して外部へ通知することが
でき、これにより誤読出し発生時に任意の処理を行なう
システムが構成可能となる。また第2に上記に加えてデ
ータパ、ファのようKその内容を1回読み出した後は次
のデータを書き込むまで内容が無効であるような場合に
も、その無効データを読み出したことを検出して外部へ
通知することが可能である。As is clear from the above explanation, firstly, random access memory! When the contents are erroneously read out after inputting the contents, it can be detected at that time and notified to the outside, thereby making it possible to configure a system that performs arbitrary processing when erroneous reading occurs. Second, in addition to the above, even in cases where the contents are invalid until the next data is written, such as in data files, once the contents are read, it is detected that the invalid data has been read. It is possible to notify the outside party.
第1図は本発明忙よる無効データ検出方式の一実施例を
示すプロ、り図、第2図は同じく池の実施例を示すプロ
、り図である。
1・・・ランダムアクセスメモリ、2・・・無効データ
表示ビット領域、3・・・フジ、プフロ、プ、4・・・
デコーダ、5・・・アドレス、6・・・誓込み信号、7
・・・入出力アクセス指示信号、8・・・続出し信号、
9・・・無効データ検出信号、10・・・遅延回路、1
1・・・遅延書込み信号。FIG. 1 is a diagram showing an embodiment of the invalid data detection method according to the present invention, and FIG. 2 is a diagram showing a similar embodiment of the invention. 1...Random access memory, 2...Invalid data display bit area, 3...Fuji, puflo, puf, 4...
Decoder, 5... Address, 6... Commitment signal, 7
... input/output access instruction signal, 8... continuation signal,
9... Invalid data detection signal, 10... Delay circuit, 1
1...Delayed write signal.
Claims (1)
にワード単位に1ビットの無効データ表示ビット領域を
設け、該表示ビット領域に表示ビットをセットする手段
と、該表示ビットがセットされているあるアドレスの続
出しが生じた時にこれを検出して外部に通知する手段と
、あるアドレスヘの書込みが生じた時に該アドレスの表
示ビットをリセットする手段を備えた無効データ検出方
式。 2、書込みおよび続出し可能なランダムアクセスメモリ
にワード単位に1ビットの無効データ表示ビット領域を
設け、該表示ビット領域に表示ビットをセットする手段
と、該表示ビットがセットされているアドレスの読出し
が生じた時にこれを検出して外部に通知する手段と、あ
るアドレスヘの書込みが生じた時に該アドレスの表示ビ
ットをリセットする手段と、該表示ビットがリセットさ
れているあるアドレスの読出しが生じた時に該アドレス
の内容を続出した後に該表示ビットをセットする手段を
備えた無効データ検出方式。[Claims] 1. A writable and readable random access memory is provided with a 1-bit invalid data display bit area for each word, means for setting a display bit in the display bit area, and means for setting a display bit in the display bit area; An invalid data detection method comprising: means for detecting and notifying the outside when a certain address continues to be written; and means for resetting a display bit of the address when writing to the address occurs. 2. Providing a 1-bit invalid data display bit area in word units in a random access memory that can be written and read continuously, means for setting a display bit in the display bit area, and reading an address where the display bit is set. A means for detecting and notifying the outside when a write occurs, a means for resetting a display bit of the address when writing to a certain address occurs, and a means for reading a certain address for which the display bit is reset. An invalid data detection method comprising means for setting the display bit after successively displaying the contents of the address when the address is read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59191525A JPS6170646A (en) | 1984-09-14 | 1984-09-14 | Detection system for ineffective data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59191525A JPS6170646A (en) | 1984-09-14 | 1984-09-14 | Detection system for ineffective data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6170646A true JPS6170646A (en) | 1986-04-11 |
Family
ID=16276109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59191525A Pending JPS6170646A (en) | 1984-09-14 | 1984-09-14 | Detection system for ineffective data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6170646A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006178733A (en) * | 2004-12-22 | 2006-07-06 | Nec Micro Systems Ltd | Memory device and initialization leakage detection method for memory |
-
1984
- 1984-09-14 JP JP59191525A patent/JPS6170646A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006178733A (en) * | 2004-12-22 | 2006-07-06 | Nec Micro Systems Ltd | Memory device and initialization leakage detection method for memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5257236A (en) | Static RAM | |
US4314353A (en) | On chip ram interconnect to MPU bus | |
JPH07118187B2 (en) | First-in first-out storage | |
JPS6170646A (en) | Detection system for ineffective data | |
KR950020173A (en) | Data processing system with memory with low power operation mode and method thereof | |
US6742073B1 (en) | Bus controller technique to control N buses | |
JP3568384B2 (en) | Memory access circuit | |
US5479165A (en) | Two-dimensional coding apparatus | |
JP2580877B2 (en) | Light module for data flow calculator | |
JPS63200392A (en) | Semiconductor memory device | |
JP2919357B2 (en) | CPU interface circuit | |
KR920005294B1 (en) | Chip enable signal control circuit of dual port memory device | |
JPS63129438A (en) | Memory controller | |
JPH02245846A (en) | Memory protecting circuit | |
JPS61214039A (en) | Cache memory | |
JPH04105298A (en) | Semiconductor memory integrated circuit | |
JPH05334074A (en) | Microprocessor | |
JPH02212952A (en) | Memory access control system | |
JPH03276346A (en) | Memory card | |
JPS59219780A (en) | Graphic memory access circuit | |
JPH02116941A (en) | Semiconductor storage device | |
JPH07121351A (en) | Semiconductor ram | |
JPH03283188A (en) | Memory system | |
JPH02224138A (en) | Restarting system for information processor | |
JPS5814000B2 (en) | register set circuit |