JPH0254357A - Temporary memory circuit - Google Patents

Temporary memory circuit

Info

Publication number
JPH0254357A
JPH0254357A JP63205726A JP20572688A JPH0254357A JP H0254357 A JPH0254357 A JP H0254357A JP 63205726 A JP63205726 A JP 63205726A JP 20572688 A JP20572688 A JP 20572688A JP H0254357 A JPH0254357 A JP H0254357A
Authority
JP
Japan
Prior art keywords
address
circuit
read
circuits
selection
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
JP63205726A
Other languages
Japanese (ja)
Inventor
Takamasa Kobayashi
小林 隆征
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 JP63205726A priority Critical patent/JPH0254357A/en
Publication of JPH0254357A publication Critical patent/JPH0254357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To realize the replacement of slots for valid data in terms of time by setting a monitor time slot at an address in a temporary memory circuit to monitor the cell corresponding to the address and fixing the time slot at a fault address when the cell has a trouble. CONSTITUTION:A collation circuit 6 collates the count output of a test address counter 5 with a read address and inputs the result of this collation to a selection circuit 8. A selection circuit control signal producing circuit 14 selects the read address or an address +1 and supplies it to the selection circuits 9A and 9B respectively. Then the main signals are read out of the temporary memory circuits 10A and 10B based on the outputs given from both circuits 9A and 9B and the control output of a read/write control circuit 12. The test signals are read out and collated with each other by a test signal collation circuit 11. The errors, if occurred in the circuits 11A and 11B, are sent to the circuit 14. The circuit 14 produces the control information to be sent to both circuits 2 and 8. Then a monitor time slot is fixed at a fault address.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は一時記憶回路に関し、特にデジタル信号のタイ
ムスロット入れ替えを行う一方式であるダブルバッファ
方式において、ダブルバッファとして用いる2個の一時
記憶回路の故障セルの検出及び切り替えに特徴を有する
一時記憶回路に関する。
Detailed Description of the Invention (Industrial Field of Application) The present invention relates to a temporary memory circuit, and in particular to two temporary memory circuits used as double buffers in a double buffer method, which is one method for exchanging time slots of digital signals. The present invention relates to a temporary storage circuit that is characterized by detection and switching of faulty cells.

(従来の技術) 従来、−時記憶回路の監視方法として、パリティチエツ
ク方式が広く用いられている。この方法は有効情報以外
にパリティビットを1ビツト付加し、書き込み側でマー
ク数の合計が奇数個か偶数個になるよう規則を定め、一
方、読み出し側では、読み出されたマーク数の数がその
規則通りになつているか否かをJべることにより監視を
行っている。このチエツクにより、もし、パリティチエ
ツクエラーが検出された場合J現用の一時記憶回路をあ
らかじめ用意していた予備系の一時記憶回路に切り替え
ていた。
(Prior Art) Conventionally, a parity check method has been widely used as a method for monitoring negative time memory circuits. This method adds one parity bit to the valid information, and sets a rule so that the total number of marks on the write side is an odd or even number.On the other hand, on the read side, the number of read marks is Monitoring is carried out by checking whether the rules are being followed. Through this check, if a parity check error is detected, the current temporary storage circuit is switched to a pre-prepared backup temporary storage circuit.

(発明が解決しようとする課題) 上述した従来の一時記憶回路では、−時記憶回路内のエ
ラーは検出できるものの、その記憶回路内の故障セルを
特定することができない。従って、1つでもセルの故障
が起きたら故障した一時記憶回路は使用できなくなると
いう欠点がある。
(Problems to be Solved by the Invention) In the conventional temporary storage circuit described above, although an error in the -time storage circuit can be detected, it is not possible to specify a faulty cell in the storage circuit. Therefore, there is a drawback that if even one cell fails, the failed temporary storage circuit becomes unusable.

(課題を解決するための手段) 本発明による一時記憶回路は、書き込み読み出しを交互
に周期的に行い、タイムスロットの入れ替えを行う2個
から成る一時記憶回路であって、データ信号の任意の位
置に監視用タイムスロットを設定し、テスト信号を挿入
する挿入手段と、前記テスト信号の書き込み、読み出し
アドレス信号を発生するアドレスカウンタと、前記アド
レスカウンタと前記データ信号の読み出しアドレスを比
較する比較手段と、前記比較手段の比較結果に応じて前
記読み出しアドレスと前記読み出しアドレスに1を加え
た値を出力する第1の選択手段と、前記データ信号用ア
ドレスと前記テスト信号用アドレスとを切り替え出力す
る第2の選択手段と、読み出された前記テスト信号の誤
りを検出するための照合手段と、前記照合手段からのエ
ラー出力により前記挿入手段および第1の選択手段への
制御信号を作成する選択回路制御信号作成手段とを有す
る。
(Means for Solving the Problems) The temporary storage circuit according to the present invention is a temporary storage circuit consisting of two pieces that alternately and periodically performs writing and reading, and exchanges time slots, and the temporary storage circuit is a temporary storage circuit that performs writing and reading in an alternating and periodic manner and replaces time slots. an insertion means for setting a monitoring time slot and inserting a test signal; an address counter for generating write and read address signals for the test signal; and a comparison means for comparing the address counter and the read address of the data signal. , a first selection means for outputting the read address and a value obtained by adding 1 to the read address in accordance with a comparison result of the comparison means; and a first selection means for outputting the data signal address and the test signal address by switching between the data signal address and the test signal address. 2 selection means, a collation means for detecting an error in the read test signal, and a selection circuit for creating a control signal to the insertion means and the first selection means based on the error output from the collation means. and control signal generating means.

(実施例) 次に本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す回路構成図である。タ
イムスロット入れ替え装置の動作は第2図に示すように
アドレス1〜14に従った順番でデータD1〜D14を
書き込む、タイムスロット入れ替えのために、読み出し
時に読み出しアドレスを13.10.3,1.5・・・
のように変化させると、このアドレス変化に対応してデ
ータD13゜DIO,D3.DI、D5・・・が読み出
される。その結果+  (Di、D2.D3.D4.D
5・・・)−(DI3.DIO,D3.Di、D5・・
・)というタイムスロットの時間的入れ替えが行われた
ことになる。
FIG. 1 is a circuit configuration diagram showing an embodiment of the present invention. As shown in FIG. 2, the time slot switching device operates by writing data D1 to D14 in the order according to addresses 1 to 14. In order to switch time slots, the read addresses 13, 10, 3, 1, . 5...
When the address is changed as shown in FIG. DI, D5... are read out. The result + (Di, D2.D3.D4.D
5...)-(DI3.DIO, D3.Di, D5...
・) This means that the time slots have been replaced in terms of time.

第1図と第3図を参照すると、まずタイムスロット入れ
替えが行われるデータ入力には遅延回路1と選択回路2
により任意の位置に監視用タイムスロットが作られる。
Referring to FIG. 1 and FIG. 3, first, the data input for time slot swapping includes a delay circuit 1 and a selection circuit 2.
A monitoring time slot is created at an arbitrary position.

これは第3図におけるRAMデータ入力の斜線部で示さ
れる0選択回路2の出力とテスト信号発生回路と3の出
力とは選択回路4に入力され、データ入力にテスト信号
が挿入される。このテスト信号が挿入された信号は、例
えばRAMで構成される一時記憶回路10Aと10Bの
第3図に示す対応書き込みアドレスに書き込まれる。読
み出し時においては、第3図に示すようなランダムアド
レスにより読み出しを行う。
This is because the output of the 0 selection circuit 2 and the output of the test signal generation circuit 3 shown by the hatched area of the RAM data input in FIG. 3 are input to the selection circuit 4, and the test signal is inserted into the data input. The signal into which this test signal has been inserted is written to the corresponding write address shown in FIG. 3 in the temporary storage circuits 10A and 10B, which are constituted by, for example, RAM. At the time of reading, reading is performed using a random address as shown in FIG.

読み出されたデータ出力は第3図に示されている。The read data output is shown in FIG.

ただし、周期nではアドレス6以上の書き込みは監視用
タイムスロットの挿入により1づつ増している。第1図
において、読み出しアドレスは照合回路6.加算回路7
−選択回路8に供給されている。加算回路7は入力され
ている読み出しアドレスに1を加算して選択図#18に
送出する。照合回路6はテスト用アドレスカウンタ5の
計数出力と読み出しアドレスとを照合し、照合結果を選
択回路8に入力する0選択回路8は照合結果に応じて選
択回路制御信号作成回路14の制御の下で読み出しアド
レスと読み出しアドレス十1のいずれがを選択して選択
回路9A、9Bに供給する。選択回路9A、9Bには、
テスト用アドレスカウンタ5からのアドレスと書き込み
アドレスとが供給されている。こうして、選択回路9A
、9Bからの出力と、読み出し/書き込み制御回路12
の制御に基づいて、−時記憶回路10A、IOBからは
主信号が読み出された後、テスト信号が読み出されてテ
スト信号照合回路11により照合される。
However, in period n, the number of writes to addresses 6 and above is increased by 1 due to the insertion of monitoring time slots. In FIG. 1, the read address is the matching circuit 6. Addition circuit 7
- supplied to the selection circuit 8; The adder circuit 7 adds 1 to the input read address and sends it to the selection diagram #18. The collation circuit 6 collates the count output of the test address counter 5 and the read address, and inputs the collation result to the selection circuit 8. The 0 selection circuit 8 operates under the control of the selection circuit control signal generation circuit 14 according to the collation result. Which of the read address and read address 11 is selected and supplied to selection circuits 9A and 9B. In the selection circuits 9A and 9B,
The address from the test address counter 5 and the write address are supplied. In this way, selection circuit 9A
, 9B and the read/write control circuit 12
Based on the control, the main signal is read out from the - time storage circuit 10A and IOB, and then the test signal is read out and checked by the test signal checking circuit 11.

次の周期n+1では監視用タイムスロットを1つずらす
ことにより次のアドレスチエツクが行われる。テスト信
号照合回路11A、IIBからエラーが発生した場合、
そのエラー情報は選択回路制txJ信号作成回路14に
送出され、選択回路2と選択回路8へ送る制御情報を作
成し、監視用タイムスロットを故障セルアドレスに固定
する。−時記憶回路10A、IOBから読み出された信
号は選択回路13を介してデータ出力として出力される
In the next cycle n+1, the next address check is performed by shifting the monitoring time slot by one. If an error occurs from the test signal matching circuits 11A and IIB,
The error information is sent to the selection circuit txJ signal creation circuit 14, which creates control information to be sent to the selection circuit 2 and the selection circuit 8, and fixes the monitoring time slot to the faulty cell address. - The signals read from the time memory circuit 10A and IOB are outputted as data output via the selection circuit 13.

(発明の効果) 以上説明したように、本発明は監視用タイムスロットを
一時記憶回路内のアドレスに設定することにより、アド
レス対応セルの監視を行い、もし、そのセルが故障して
いた場合には、監視用タイムスロットを故障セルのアド
レスに固定することにより、−時記憶回路のセルが故障
を起こしても有効データのタイムスロットの時間的入れ
替え動作を行うことができる効果がある。
(Effects of the Invention) As explained above, the present invention monitors a cell corresponding to an address by setting a monitoring time slot to an address in a temporary storage circuit, and if the cell is out of order, By fixing the monitoring time slot to the address of the faulty cell, the effective data time slot can be replaced in time even if a cell in the -time storage circuit fails.

沢回路、3・・・テスト信号発生回路、5・・・テスト
用アドレスカウンタ、6・・・照合回路、7・・・加算
回路、10A、IOB・・・−時記憶回路、11・・・
テスト信号照合回路、12・・・読み出し/書き込み制
御回路、14・・・選択回路制御信号作成回路。
Sawa circuit, 3...Test signal generation circuit, 5...Test address counter, 6...Verification circuit, 7...Addition circuit, 10A, IOB...-hour storage circuit, 11...
Test signal verification circuit, 12... Read/write control circuit, 14... Selection circuit control signal generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 書き込み、読み出しを交互に周期的に行い、タイムスロ
ットの入れ替えを行う2個から成る一時記憶回路であっ
て、データ信号の任意の位置に監視用タイムスロットを
設定し、テスト信号を挿入する挿入手段と、前記テスト
信号の書き込み、読み出しアドレス信号を発生するアド
レスカウンタと、前記アドレスカウンタと前記データ信
号の読み出しアドレスを比較する比較手段と、前記比較
手段の比較結果に応じて前記読み出しアドレスと前記読
み出しアドレスに1を加えた値を出力する第1の選択手
段と、前記データ信号用アドレスと前記テスト信号用ア
ドレスとを切り替え出力する第2の選択手段と、読み出
された前記テスト信号の誤りを検出するための照合手段
と、前記照合手段からのエラー出力により前記挿入手段
および第1の選択手段への制御信号を作成する選択回路
制御信号作成手段とを有することを特徴とする一時記憶
回路。
A temporary storage circuit consisting of two circuits that alternately and periodically performs writing and reading and exchanges time slots, and an insertion means that sets a monitoring time slot at an arbitrary position of a data signal and inserts a test signal. an address counter for generating write and read address signals for the test signal; a comparing means for comparing the address counter and the read address of the data signal; a first selection means for outputting a value obtained by adding 1 to the address; a second selection means for switching and outputting the address for the data signal and the address for the test signal; A temporary storage circuit comprising: collation means for detection; and selection circuit control signal generation means for generating control signals to the insertion means and the first selection means based on error output from the collation means.
JP63205726A 1988-08-19 1988-08-19 Temporary memory circuit Pending JPH0254357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63205726A JPH0254357A (en) 1988-08-19 1988-08-19 Temporary memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63205726A JPH0254357A (en) 1988-08-19 1988-08-19 Temporary memory circuit

Publications (1)

Publication Number Publication Date
JPH0254357A true JPH0254357A (en) 1990-02-23

Family

ID=16511661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63205726A Pending JPH0254357A (en) 1988-08-19 1988-08-19 Temporary memory circuit

Country Status (1)

Country Link
JP (1) JPH0254357A (en)

Similar Documents

Publication Publication Date Title
US5177744A (en) Method and apparatus for error recovery in arrays
AU597140B2 (en) Efficient address test for large memories
JPH0254357A (en) Temporary memory circuit
US7360132B1 (en) System and method for memory chip kill
JP2949984B2 (en) Memory monitoring circuit
JPH04212800A (en) Method for testing data line of ram
US5694400A (en) Checking data integrity in buffered data transmission
JPS63182759A (en) Memory monitor system
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH04111032A (en) Multiplexed storage device
JPH01137798A (en) Time slot changing device
JPS63163556A (en) Memory monitoring system
JPS6014361A (en) Memory monitor system
JPH04131951A (en) Monitoring system for data on time slot replacing device
JP2904030B2 (en) Random access memory monitoring method
JPH1196793A (en) Semiconductor memory test device
JPS63156465A (en) Data storage area monitoring system for time switch circuit
JPH0689236A (en) Random access memory monitor circuit
JP2744298B2 (en) Failure detection method for buffer control counting circuit
JPH0561777A (en) Memory control circuit
SU1065888A1 (en) Buffer storage
JPH01216448A (en) Memory monitoring device
JPH04283500A (en) Operation monitoring circuit of ram
JPH0562498A (en) Ram monitoring circuit
JPH02148325A (en) Memory monitoring circuit