JP2713222B2 - Memory monitoring device - Google Patents

Memory monitoring device

Info

Publication number
JP2713222B2
JP2713222B2 JP7105588A JP10558895A JP2713222B2 JP 2713222 B2 JP2713222 B2 JP 2713222B2 JP 7105588 A JP7105588 A JP 7105588A JP 10558895 A JP10558895 A JP 10558895A JP 2713222 B2 JP2713222 B2 JP 2713222B2
Authority
JP
Japan
Prior art keywords
clock
parity
supplied
memory
transfer
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.)
Expired - Lifetime
Application number
JP7105588A
Other languages
Japanese (ja)
Other versions
JPH08307481A (en
Inventor
かおり 佐藤
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 JP7105588A priority Critical patent/JP2713222B2/en
Publication of JPH08307481A publication Critical patent/JPH08307481A/en
Application granted granted Critical
Publication of JP2713222B2 publication Critical patent/JP2713222B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えばクロックの乗せ
換えを行うエラスティックメモリの正常性の監視を行う
メモリ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory device for monitoring the normality of an elastic memory for changing clocks.

【0002】[0002]

【従来の技術】一般に、入力ディジタル信号のクロック
は各種の変動があるので、安定なクロック信号による制
御を行うために、入力信号のクロックを装置内クロック
に乗せ換えるクロックの乗せ換えが行われることがあ
る。この場合、例えばFIFOを使用したエラスティッ
クメモリが使用される。図2は従来の一例を示すもので
あり、エラスティックメモリ1は書込データ10が乗せ
換え前クロック50と共に書き込みデータ端子に供給さ
れ、その乗せ換え前クロック50が書き込み端子に供給
されることによって、書込データ10がエラスティック
メモリ1に書き込まれる。また、パリティ則指示信号3
0によって例えば、乗せ換え後フレームの周期毎に偶数
パリティと奇数パリティを交互に切り換える指示がパリ
ティ演算回路2に供給され、書込データに対してパリテ
ィ演算を行い、その演算結果も同時にエラスティックメ
モリ1へ書き込まれる。
2. Description of the Related Art Generally, since the clock of an input digital signal has various variations, in order to perform control by a stable clock signal, the clock of the input signal is changed to the clock in the apparatus. There is. In this case, for example, an elastic memory using a FIFO is used. FIG. 2 shows a conventional example. In the elastic memory 1, the write data 10 is supplied to a write data terminal together with a pre-replacement clock 50, and the pre-replacement clock 50 is supplied to the write terminal. , Write data 10 is written to elastic memory 1. Also, the parity rule instruction signal 3
For example, an instruction to alternately switch between even parity and odd parity is provided to the parity operation circuit 2 for each cycle of the frame after the transfer, and the parity operation is performed on the write data. Written to 1.

【0003】書き込まれた情報のうち、読出データ20
は乗せ換え後クロック60によって読み出されるととも
に、書き込まれたパリティ演算結果も乗せ換えクロック
によって読み出され、読出データ20とそのパリティ演
算結果によってパリティ検出回路3でパリティ検出が行
われ、パリティ検出結果40が出力される。このように
してクロックの乗せ換えおよびそれに伴うパリティチェ
ックが行われる。なお、パリティ則指示信号を適宜切り
換えているのは、エラスティックメモリ1の異常時の誤
判断を防止するためである。このとき図3(a)に示す
パリティ検出回路3に供給されるパリティ則指示信号3
0は、図3(b)に示す乗せ換え後のフレームパルス7
0によって図3(c)に示すようにフリップフロップ8
に記憶され、その記憶された信号が読み出し時のパリテ
ィ則指示信号75として使用される。これにより、書き
込み時と読み出し時でパリティ則が異なる状態となるこ
とを防止している。
Of the written information, read data 20
Is read by the clock 60 after the transfer, and the parity calculation result written is also read by the transfer clock, and the parity detection circuit 3 performs parity detection based on the read data 20 and the parity calculation result, and the parity detection result 40 Is output. In this manner, the clock transfer and the accompanying parity check are performed. The reason why the parity law instruction signal is appropriately switched is to prevent erroneous determination when the elastic memory 1 is abnormal. At this time, the parity rule instruction signal 3 supplied to the parity detection circuit 3 shown in FIG.
0 is the frame pulse 7 after the transfer shown in FIG.
0, the flip-flop 8 as shown in FIG.
, And the stored signal is used as a parity law instruction signal 75 at the time of reading. This prevents the parity rule from being different between the time of writing and the time of reading.

【0004】[0004]

【発明が解決しようとする課題】しかしながらこのよう
な従来の装置は乗せ換え前のクロックが断になると、メ
モリ内データはクロックによるシフトが行われないた
め、読出位置まで到達できないことから読み出しが行わ
れない。このため、パリティチェックが行えずメモリの
正常性の判断が行えない。また、パリティ則切換直後に
乗せ換え前のクロックが断になってしまうと、前述のよ
うにクロックによるシフトが行われないことから、エラ
スティックメモリ1内はパリティ則が切り換わる前のデ
ータとパリティ演算結果が書き込まれたままで変化せ
ず、それを読み出してパリティチェックを行っても、切
換後のパリティ則とは異なりパリティエラーになってし
まい、乗せ換え前のクロックが断になったことにより生
じた状態にも関わらず、見かけ上はエラスティックメモ
リの異常のような状態を呈するため、エラスティックメ
モリの正常性を監視できないという課題を有していた。
本発明はこのような状況に鑑みてなされたもので、乗せ
換え前のクロックが断になってもエラスティックメモリ
の正常性を監視できるようにしたものである。
However, in such a conventional device, if the clock before the transfer is cut off, the data in the memory is not shifted by the clock, and the data cannot be reached to the read position. I can't. Therefore, the parity check cannot be performed, and the normality of the memory cannot be determined. Further, if the clock before the transfer is interrupted immediately after the parity rule switching, the shift by the clock is not performed as described above. Even if the operation result remains written and does not change, even if it is read and a parity check is performed, unlike the parity rule after switching, a parity error occurs, and this occurs because the clock before switching is cut off. In spite of the state, the apparent state of the elastic memory is abnormal, so that the normality of the elastic memory cannot be monitored.
The present invention has been made in view of such a situation, and enables the normality of an elastic memory to be monitored even if a clock before transfer is lost.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、乗せ換え前のクロックの断を検出し
たときクロック断検出信号を発生する乗せ換え前クロッ
ク断検出回路と、乗せ換え前のクロックおよび乗せ換え
後のクロックの双方が供給されクロック断検出信号が供
給されないときは乗せ換え前のクロックをメモリの書き
込み端子に供給し、クロック断検出信号が発生したとき
は乗せ換え後のクロックを上記メモリの書き込み端子に
供給してデータの書き込みを行う選択回路と、上記メモ
リに書き込まれるデータに対してパリティ演算を実施
し、この演算結果を上記メモリに供給するパリティ演算
回路と、乗せ換え後のフレームパルスとパリティを指示
する信号とが供給され、この乗せ換え後のフレームパル
スに同期したパリティ則指示信号を出力するフリップフ
ロップと、上記メモリから読み出されたデータと上記パ
リティ則指示信号とが供給され、上記パリティ則指示信
号に従ってパリティチェックを行い、パリティの検出結
果を出力するパリティ検出回路とを備えたものである。
SUMMARY OF THE INVENTION In order to solve such a problem, the present invention detects a disconnection of a clock before a transfer.
Generates a clock loss detection signal when
Disconnection detection circuit, clock before transfer and transfer
Both clocks are supplied and the clock loss detection signal is supplied.
If the clock is not supplied, write the clock before changing
When a clock loss detection signal is generated
To the write terminal of the above memory
A selection circuit for supplying and writing data,
Performs parity operation on data written to memory
And a parity operation for supplying the operation result to the memory.
Indicate circuit, frame pulse and parity after transfer
Is supplied, and the frame pal
Flip-flop that outputs a parity rule indication signal synchronized with the
The data read from the memory and the data
And the parity rule instruction signal is supplied.
Parity check according to the
And a parity detection circuit for outputting the result .

【0006】[0006]

【作用】乗せ換え前のクロックが正常に供給されればそ
れによりデータ及びパリティ結果の書き込みが行われ、
乗せ換え前のクロックが断になれば乗せ換え後のクロッ
クによってデータの書き込みおよびパリティ結果の書き
込みが行われ、継続してメモリへの書き込み及び読み出
しが行われメモリ異常が発生しない。
If the clock before the transfer is supplied normally, the data and the parity result are written accordingly,
If the clock before the transfer is lost, data writing and parity result writing are performed by the clock after the transfer, and writing and reading to and from the memory are continuously performed, so that no memory abnormality occurs.

【0007】[0007]

【実施例】図1は本発明の一実施例を示すブロック図で
あり、図2と同一部分は同記号を用いてその説明を省略
している。乗せ換え前クロック50は選択回路4の一方
の入力端子および乗せ換え前クロック断検出回路5の双
方に供給されている。また乗せ換え後クロック60はエ
ラスティックメモリ1の読み出し端子に供給されると共
に、選択回路4の他方の入力端子に供給されている。乗
せ換え前クロック断検出回路5は、乗せ換え前クロック
50が断になると「1」レベルの出力信号を送出するよ
うになっており、選択回路4は乗せ換え前クロック断検
出回路5から「1」レベルの信号が供給されたとき、乗
せ換え後クロック60を選択してエラスティックメモリ
1の書き込み端子に送出するが、それ以外の時は乗せ換
え前クロック50を選択して書き込み端子に送出するよ
うになっている。
FIG. 1 is a block diagram showing an embodiment of the present invention, and the same parts as those in FIG. 2 are denoted by the same reference numerals and their description is omitted. The pre-replacement clock 50 is supplied to both one input terminal of the selection circuit 4 and the pre-replacement clock disconnection detection circuit 5. The clock 60 after the transfer is supplied to the read terminal of the elastic memory 1 and to the other input terminal of the selection circuit 4. The pre-replacement clock disconnection detection circuit 5 sends out an output signal of “1” level when the pre-replacement clock 50 is disconnected, and the selection circuit 4 outputs “1” from the pre-replacement clock disconnection detection circuit 5. When the signal of the "" level is supplied, the clock 60 after the transfer is selected and transmitted to the write terminal of the elastic memory 1, otherwise, the clock 50 before the transfer is selected and transmitted to the write terminal. It has become.

【0008】このように構成された装置は、乗せ換え前
クロック50が正常に供給されているとき、選択回路4
はそれを選択して書込信号55としてエラスティックメ
モリ1の書き込み端子に供給するので、従来と同様に、
書込データ10がエラスティックメモリ1に書き込まれ
る。また、書込データ10はパリティ則指示信号ととも
にパリティ演算回路2に供給され、そこでパリティチェ
ックが行われ、演算結果がエラスティックメモリ1に書
き込まれる。
[0008] When the pre-transfer clock 50 is normally supplied, the apparatus having the above-described configuration can select the selection circuit 4.
Selects it and supplies it to the write terminal of the elastic memory 1 as a write signal 55.
Write data 10 is written to the elastic memory 1. The write data 10 is supplied to the parity operation circuit 2 together with the parity rule instruction signal, where a parity check is performed, and the operation result is written to the elastic memory 1.

【0009】書き込まれたデータは乗せ換え後クロック
60によってエラスティックメモリ1から読み出され、
読出データ20として出力されると共に、読み出しデー
タ20はパリティ検出回路3に供給される。パリティ検
出回路3では供給されているパリティ則指示信号75に
従ってパリティチェックを行い、パリティ検出結果40
を出力する。
The written data is read from the elastic memory 1 by the clock 60 after the transfer,
The data is output as the read data 20, and the read data 20 is supplied to the parity detection circuit 3. The parity detection circuit 3 performs a parity check according to the supplied parity rule instruction signal 75, and obtains a parity detection result 40
Is output.

【0010】ここで、乗せ換え前クロックが断になった
場合、乗せ換え前クロック断検出回路5から「1」レベ
ルの信号が選択回路4に供給されるので、選択回路4は
乗せ換え後クロックを選択してエラスティックメモリ1
の書き込み端子に書込信号55として出力する。この結
果、書込データ10が乗せ換え後クロック60によって
エラスティックメモリ1に順次書き込まれ、それによっ
て乗せ換え前クロックが断になる直前にエラスティック
メモリ1へ書き込まれたデータがシフトされ、そのシフ
トされたデータが乗せ換え後クロック60によって読み
出される。
When the pre-replacement clock is cut off, a "1" level signal is supplied from the pre-replacement clock disconnection detection circuit 5 to the selection circuit 4, so that the selection circuit 4 outputs the post-replacement clock. Select Elastic memory 1
Is output as a write signal 55 to the write terminal. As a result, the write data 10 is sequentially written to the elastic memory 1 by the post-replacement clock 60, whereby the data written to the elastic memory 1 is shifted immediately before the pre-replacement clock is cut off. The transferred data is read out by the clock 60 after the transfer.

【0011】なお、エラスティックメモリ1に書き込ま
れたデータが読み出されるのは、同一フレーム期間内で
行われるようになっており、パリティ則指示信号は例え
ばフレーム信号周期毎に変化するようにしてある。この
ため書き込データと読み出しデータには時間遅れがあ
るが、その時間遅れはフリップフロップ8によって吸収
される。また、乗せ換え前のクロックが断になることに
よって正常なクロックの乗せ換えは行えないが、乗せ換
え前のクロックが断になったことは図示していない別の
監視装置で監視しており、乗せ換え前のクロックが断に
なった以後の乗せ換え動作保証されないことは、その
別の監視装置の監視結果によって知ることができる。こ
のため、クロックの乗せ換え動作は保証されなくても、
図1の装置では乗せ換え前のクロックが断になっても、
メモリ異常の判定が行われないようにすれば、乗せ換え
前クロック断によってメモ異常が発生しない。
The data written in the elastic memory 1 is read out within the same frame period, and the parity law instruction signal changes, for example, every frame signal period. . Although in this for write data and the read data there is a time delay, the time delay is absorbed by the flip-flop 8. In addition, normal clock transfer cannot be performed because the clock before the transfer is cut off, but it is monitored by another monitoring device (not shown) that the clock before the transfer is cut off, the subsequent resynchronization operations recombinant previous clock becomes sectional placed is not guaranteed, it can be known by monitoring the results of the different monitoring devices. For this reason, even if the clock transfer operation is not guaranteed,
In the device of FIG. 1, even if the clock before the transfer is lost,
If so is not performed determination of memory error, the previous clock loss instead put memory abnormality does not occur.

【0012】[0012]

【発明の効果】以上説明したように、本発明は乗せ換え
前のクロックが断になっても乗せ換え後のクロックで継
続動作をさせるようにしたので、乗せ換え前のクロック
が断になることによるメモリの異常は発生しないと言う
効果を有する。
As described above, according to the present invention, even if the clock before the transfer is cut off, the continuous operation is performed with the clock after the transfer, so that the clock before the transfer is cut off. Has the effect that no memory abnormality occurs.

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

【図1】 本発明の一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of one embodiment of the present invention.

【図2】 従来装置の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a conventional device.

【図3】 図2の回路の動作を説明する波形図である。FIG. 3 is a waveform chart illustrating the operation of the circuit of FIG. 2;

【符号の説明】[Explanation of symbols]

1…エラスティックメモリ、2,3…パリティ演算回
路、4…選択回路、5…乗せ換え前クロック断検出回
路、8…フリップフロップ。
DESCRIPTION OF SYMBOLS 1 ... Elastic memory, 2, 3 ... Parity operation circuit, 4 ... Selection circuit, 5 ... Clock disconnection detection circuit before transfer, 8 ... Flip-flop.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 乗せ換え前のクロックが書き込み端子に
供給されたとき外部から供給されるデータをパリティチ
ェック結果とともにメモリに書き込み、読み出し端子に
乗せ換え後のクロックが供給されたとき書き込まれたデ
ータを読み出しデータの正常性を監視するメモリ監視
装置において、 乗せ換え前のクロックの断を検出したときクロック断検
出信号を発生する乗せ換え前クロック断検出回路と、 乗せ換え前のクロックおよび乗せ換え後のクロックの双
方が供給されクロック断検出信号が供給されないときは
乗せ換え前のクロックを前記メモリの書き込み端子に供
給し、クロック断検出信号が発生したときは乗せ換え後
のクロックを前記メモリの書き込み端子に供給してデー
タの書き込みを行う選択回路と、 前記メモリに書き込まれるデータに対してパリティ演算
を実施し、この演算結果を前記メモリに供給するパリテ
ィ演算回路と、 乗せ換え後のフレームパルスとパリティを指示する信号
とが供給され、この乗せ換え後のフレームパルスに同期
したパリティ則指示信号を出力するフリップフロップ
と、 前記メモリから読み出されたデータと前記パリティ則指
示信号とが供給され、前記パリティ則指示信号に従って
パリティチェックを行い、パリティの検出結果を出力す
るパリティ検出回路と を備えたことを特徴とするメモリ
監視装置。
An externally supplied data is written into a memory together with a parity check result when a clock before transfer is supplied to a write terminal, and data written when a clock after transfer is supplied to a read terminal. reading, in the memory monitoring device for monitoring the health of the data, before the clock interruption detecting circuit instead put generates a clock interruption detection signal when detecting a disconnection of the pre-changeover clock loaded, handoff previous clock and handoff When both clocks are supplied and the clock disconnection detection signal is not supplied, the clock before switching is supplied to the write terminal of the memory, and when the clock disconnection detection signal is generated, the clock after switching is supplied to the memory. a selection circuit for writing data is supplied to the write terminal and written to the memory Parity calculation on the over data
And supplies the calculation result to the memory.
Operation circuit and a signal indicating the frame pulse and parity after the transfer
Is synchronized with the frame pulse after the transfer.
Flip-flop which outputs a parity rule indicating signal
And the data read from the memory and the parity rule
And an indication signal according to the parity rule indication signal.
Performs parity check and outputs parity detection result
And a parity detection circuit .
JP7105588A 1995-04-28 1995-04-28 Memory monitoring device Expired - Lifetime JP2713222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7105588A JP2713222B2 (en) 1995-04-28 1995-04-28 Memory monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7105588A JP2713222B2 (en) 1995-04-28 1995-04-28 Memory monitoring device

Publications (2)

Publication Number Publication Date
JPH08307481A JPH08307481A (en) 1996-11-22
JP2713222B2 true JP2713222B2 (en) 1998-02-16

Family

ID=14411667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7105588A Expired - Lifetime JP2713222B2 (en) 1995-04-28 1995-04-28 Memory monitoring device

Country Status (1)

Country Link
JP (1) JP2713222B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276148A (en) * 1987-05-07 1988-11-14 Nec Corp Parity check system for dual port memory
JPH0628844Y2 (en) * 1988-02-02 1994-08-03 日本電気株式会社 Data transceiver

Also Published As

Publication number Publication date
JPH08307481A (en) 1996-11-22

Similar Documents

Publication Publication Date Title
JPS631626B2 (en)
US20080086666A1 (en) Analyzer
JP2713222B2 (en) Memory monitoring device
KR100253565B1 (en) Data input and output circuit of synchronous memory device
JP2793456B2 (en) Transmission line switching method
JPH08316797A (en) Clock changeover device
JP3425933B2 (en) Asynchronous inter-system information transfer method, device therefor, and recording medium recording control program therefor
JP2758736B2 (en) Cell phase transfer circuit
JPH083078Y2 (en) AIS transmission circuit in digital multiplexer
JPH0712165B2 (en) Frame aligner
JPH0776934B2 (en) Microcomputer-based abnormality detection device
JPH0662480A (en) Time division type switch monitor circuit
JPS61286770A (en) Apparatus for diagnosing trouble
JPS6184136A (en) Slip control circuit
JPH08305594A (en) Control memory redundancy system for duplex device
JPH0612273A (en) Data memory monitor system
JP2003150460A (en) Memory initial activation control circuit
JPH05152993A (en) Switching system for redundant structure transmission line
JPH0950305A (en) Programmable controller and fault detection method therefor
JPH0667996A (en) Velocity conversion circuit with erroneous operation detecting function
JPH04220097A (en) Address control memory circuit
JPH07175727A (en) Memory monistoring device
JPH02104178A (en) Still picture receiving equipment
JPH0220133A (en) Time slot replacing device
JPH11118890A (en) Circuit failure detecting method and circuit