JPH01137798A - Time slot changing device - Google Patents

Time slot changing device

Info

Publication number
JPH01137798A
JPH01137798A JP29706987A JP29706987A JPH01137798A JP H01137798 A JPH01137798 A JP H01137798A JP 29706987 A JP29706987 A JP 29706987A JP 29706987 A JP29706987 A JP 29706987A JP H01137798 A JPH01137798 A JP H01137798A
Authority
JP
Japan
Prior art keywords
data
time slot
temporary storage
circuit
address
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
JP29706987A
Other languages
Japanese (ja)
Inventor
Toshiharu Yoshii
吉井 俊治
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 JP29706987A priority Critical patent/JPH01137798A/en
Publication of JPH01137798A publication Critical patent/JPH01137798A/en
Pending legal-status Critical Current

Links

Landscapes

  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

PURPOSE:To enable the normal read/write operation of whole address in a temporary memory device to be monitored by providing a monitoring time slot for reading the data of an address for monitoring. CONSTITUTION:Data (dt) receiving the change of the time slot is written in the temporary memory devices 1A and 1B by a write address. At this time, a position where the discrete value of a counter circuit 8 generating the address (Mad) for monitoring and the write address coincide is found, the data corresponding to that position is stored in data holding register circuits 6A and 6B and test patterns (tpa) and (tpb) are inserted to that position of the memory devices 1A and 1B. Next, the time slot for monitoring is provided in course of a read cycle and at the position, the (tpa) and (tpb) corresponding to the (Mad) of the output of the circuit 8 is read from the memory devices 1A and 1B and checked by checking circuits 10A and 10B. Simultaneously to that, the data stored in the register circuits 6A and 6B in course of the write cycle is inserted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デジタル信号である1木のデータ列のタイム
スロット位置を入れ替えるタイムスロットの入れ替え装
置に関し、とくに書き込みならびに読み出しを交互に同
期的に行なう2個の一時記憶装置によって、タイムスロ
ットの入れ替えを行なうダブルバッファ方式のタイムス
ロット入れ替え装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a time slot switching device for switching the time slot positions of a single data string, which is a digital signal, and in particular, to a time slot switching device for switching the time slot positions of a single data string, which is a digital signal. The present invention relates to a double-buffer type time slot switching device that switches time slots using two temporary storage devices.

さらに本発明を特定すると、ダブルバッファとして用い
る2個の一時記憶装置の正常な書き込みならびに読み出
し動作を監視する機能に関するものである。
More particularly, the present invention relates to a function for monitoring normal write and read operations of two temporary storage devices used as double buffers.

〔従来の技術〕[Conventional technology]

従来、一時記憶装置の監視をする手段としては、パリテ
ィ検査方式が広く用いられる。たとえば第2図のように
、有効情報のデータdt以外に、パリティ発生回路14
のパリティビットを1ビツト付加し、一時記憶装置11
A、 IIBの書き込み側でマーク数の合計が、奇数個
あるいは偶数個になるように規則を定めて、一時記憶装
置11A 。
Conventionally, a parity check method has been widely used as a means for monitoring temporary storage devices. For example, as shown in FIG. 2, in addition to the valid information data dt, the parity generation circuit 14
1 parity bit is added to the temporary storage device 11.
The temporary storage device 11A sets a rule so that the total number of marks on the write side of A and IIB becomes an odd number or an even number.

JIBの読み出し側のマーク数が、その通りになってい
るかどうかを、パリティ検査回路15A、 15Bで調
べることにより監視を行フている。
Parity check circuits 15A and 15B check whether the number of marks on the read side of the JIB is as specified or not to monitor it.

なお、第2図において、12A、 12Bはそれぞれ選
択回路で、書き込みアドレスW a dあるいは読み出
しアドレスRadを選択して、一時記憶装置+1A、 
IIBのそわぞれに送出する。選択回路12Xは、一時
記憶装置11A、 IIBの各出力を選択してデータd
を出力する。書き込み/読み出しの制御回路13は、一
時記憶装置+1A、 IIB、選択回路+2A、12B
、12X、ならびにパリティ検査回路!5A、 15B
をそれぞれ制御する。また、パリティ検査回路15A、
15Bはそれぞれエラー信号ea。
In FIG. 2, 12A and 12B are selection circuits, respectively, which select the write address W a d or the read address Rad, and select the temporary storage device +1A,
Send to each IIB. The selection circuit 12X selects each output of the temporary storage devices 11A and IIB to store data d.
Output. The write/read control circuit 13 includes a temporary storage device +1A, IIB, and a selection circuit +2A, 12B.
, 12X, as well as parity check circuit! 5A, 15B
control each. Moreover, the parity check circuit 15A,
15B is an error signal ea.

ebを出力する。Output eb.

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

上述した従来のパリティ検査方式では、一時記憶装置に
パリティビット用として余分に1ビツトが必要であるた
め、一時記憶装置の容量がそのぶん余分に必要である。
In the conventional parity checking method described above, one extra bit is required for the parity bit in the temporary storage device, so the capacity of the temporary storage device is required accordingly.

また、一時記憶装置の出力が、マーク数が正しい状態で
固定されてしまったときに、障害が検出できないという
欠点があった。
Another drawback is that a failure cannot be detected when the output of the temporary storage device is fixed with the correct number of marks.

本発明の目的は、読み出し周期中に、監視用アドレスの
データを読み出すための監視用タイムスロットを設ける
タイムスロット入れ替え装置を提供することにある。
An object of the present invention is to provide a time slot switching device that provides a monitoring time slot for reading data at a monitoring address during a read cycle.

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

本発明のタイムスロット入ね替え装置は、2個の一時記
憶装置を使用して、データの書き込みならびに読み出し
を交互に周期的に行なって、該データのタイムスロット
位置の入れ替えを行なう装置において、少なくとも、前
記一時記憶装置への前記データの書き込み中に、監視す
るアドレス位置の該データを別にして一時保持する手段
と、前記書き込み中の当該一時記憶装置の前記監視する
アドレス位置に、テスト用のパターンを挿入する手段と
、前記一時記憶装置からの前記データの読み出し中に、
前記監視するアドレス位置から読み出される前記テスト
パターンを検査する手段と、前記読み出し中に+1f記
別にして一時保持された前記データを送出するための手
段と、を備えていることを特徴とする。
The time slot switching device of the present invention is a device that uses two temporary storage devices to alternately and periodically write and read data to switch the time slot positions of the data. , a means for separately temporarily holding the data at an address location to be monitored while writing the data to the temporary storage device; and a means for temporarily holding the data at an address location to be monitored in the temporary storage device during writing; means for inserting a pattern and during reading of said data from said temporary storage device;
The present invention is characterized by comprising means for inspecting the test pattern read from the monitored address position, and means for transmitting the data temporarily held in +1f increments during the reading.

〔作 用〕[For production]

したかって本発明によると、タイムスロット位置の入れ
替え動作に支障を与えることなく、一時記憶装置内の全
アドレスの正常な読み書き動作を監視できることになる
Therefore, according to the present invention, normal read/write operations of all addresses in the temporary storage device can be monitored without interfering with the operation of exchanging time slot positions.

〔実施例〕〔Example〕

以下に本発明を、その実施例について図面を参照して説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明による一実施例を示すブロック図で、
ここでまず、実施例を概略説明すると、書き込みならび
に読み出しを交互に周期的に行う2個の一時記憶装置I
A、IBを使用して、タイムスロットを入れ替える装置
において、前記一時記憶装置IA、IBの全セルを監視
するためのアドレスMadを発生する計数回路8と、該
計数回路8の監視用アドレスMadならびに書き込みア
ドレスW a dの一致する位置をみつける一致検出回
路1と、前記−数位置におけるデータdtを保持するレ
ジスタ回路6A、6Bと、その位置にテストパターンt
pa、tpbを挿入するパターン発生回路9A、9Bと
、テストパターンtpa。
FIG. 1 is a block diagram showing an embodiment according to the present invention.
First, to briefly explain the embodiment, two temporary storage devices I perform writing and reading alternately and periodically.
A device that uses time slots A and IB to switch time slots includes a counting circuit 8 that generates an address Mad for monitoring all cells of the temporary storage devices IA and IB, a monitoring address Mad of the counting circuit 8, and A coincidence detection circuit 1 that finds a matching position of the write address W a d, register circuits 6A and 6B that hold data dt at the minus number position, and a test pattern t at that position.
pattern generation circuits 9A and 9B that insert pa and tpb, and a test pattern tpa.

tpbならびにデータdtの選択回路2A、2Bと、前
記計数回路8の出力である監視アドレスMadならびに
書き込みアドレスW a d、読み出しアドレスRad
を切り替える選択回路2A1.2Blと、前記計数回路
8の監視用アドレスMadならびに読み出しアドレスW
 a dの一致する位置をみつける−数構出回路7Bと
、−数位置におけるパターンをチエツクする検査回路!
OA、 IOBと、そしてその位置に前記レジスタ回路
6A。
tpb and data dt selection circuits 2A and 2B, and the monitoring address Mad, write address W a d, and read address Rad, which are the outputs of the counting circuit 8.
the selection circuit 2A1.2Bl for switching the monitoring address Mad and the read address W of the counting circuit 8;
A - number configuration circuit 7B that finds matching positions of a and d, and an inspection circuit that checks the pattern at the - number positions!
OA, IOB, and the register circuit 6A at that position.

6Bの出力を挿入するための選択回路2A2゜2B2と
を有している。
It has selection circuits 2A2 and 2B2 for inserting the output of 6B.

さらに第1図を説明すると、第1の2個の選択回路2A
、2Bはそれぞれ、入力するデータdtを選択するか、
あるいは2個のパターン発生回路9A、9Bからのテス
トパターンtpa、tpbを選択して、ランダムアクセ
スメモリ(RAM)などの一時記憶装置IA、IBに送
出する。
Further explaining FIG. 1, the first two selection circuits 2A
, 2B respectively select input data dt,
Alternatively, the test patterns tpa and tpb from the two pattern generation circuits 9A and 9B are selected and sent to temporary storage devices IA and IB such as random access memory (RAM).

第2の2個の選択回路2A1,281はそれぞわ、書き
込みアドレスW a dか、読み出しアドレスRadか
、あるいは計数回路8からの監視用アドレスMadを選
択して、一時記憶装置IA。
The second two selection circuits 2A1 and 281 each select the write address W a d, the read address Rad, or the monitoring address Mad from the counting circuit 8, and select the temporary storage device IA.

IBに送出する。Send to IB.

10AならびにIOBはそれぞれ検査回路で、一時記憶
装置IA、IBからのパターンをチエツクして、エラー
があるエラー信号ea、ebを出力する。データ保持用
のレジスタ回路6A、6Bはそれぞれ、人力のデータd
tを一時的に保持する。
10A and IOB are inspection circuits, respectively, which check the patterns from the temporary storage devices IA and IB and output error signals ea and eb in the presence of an error. The register circuits 6A and 6B for holding data each have human data d.
t is temporarily held.

第3の2個の選択回路2A2,282はそれぞれ、一時
記憶装置IA、IBの出力を選択するか、あるいはレジ
スタ回路6A、6Bの出力を選択する。第4の1個の選
択回路2Xは、第3の2個の選択回路2A2,282の
出力を選択して、データdを出力する。
The third two selection circuits 2A2, 282 select the outputs of the temporary storage devices IA, IB, or the outputs of the register circuits 6A, 6B, respectively. The fourth selection circuit 2X selects the outputs of the third two selection circuits 2A2, 282 and outputs data d.

第1の一致検出回路7Aは、書き込みアドレスW a 
dならびに監視用アドレスMadを入力して、一致を検
出すると、レジスタ回路6A、6Bならびに第1の選択
回路2A、2Bを制御する。
The first coincidence detection circuit 7A detects the write address W a
d and the monitoring address Mad are input, and when a match is detected, the register circuits 6A, 6B and the first selection circuits 2A, 2B are controlled.

第2の一致検出回路7Bは、読み出しアドレスRadな
らびに監視用アドレスMadを入力して、一致を検出す
ると、書き込み/読み出しの制御回路3をコントロール
する。
The second coincidence detection circuit 7B inputs the read address Rad and the monitoring address Mad, and when a coincidence is detected, controls the write/read control circuit 3.

制御回路3は、レジスタ回路6A、6B、一時記憶装置
IA、IB、7g2の選択回路2A1゜2B1.パター
ンの検査回路10A、 IOB、第3の選択回路2A2
.282ならびに第4の選択回路2Xをそれぞれ;しJ
御する。
The control circuit 3 includes register circuits 6A, 6B, temporary storage devices IA, IB, and selection circuits 2A1, 2B1. Pattern inspection circuit 10A, IOB, third selection circuit 2A2
.. 282 and the fourth selection circuit 2X;
control

つぎに第1図の実施例の動作を説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained.

まず、タイムスロットの入れ替えを受けるデータdtは
、書き込み周期の一時記憶装置IA、IBに書き込みア
ドレスW a dで書き込まれる。このとき、監視用の
アドレスMadを発生する計数回路8(全アドレスを監
視するために1周期毎にカウントアツプする)の計数値
と書き込みアドレスW a dの値とが一致する位置を
見つけ、それに対応するデータをデータ保持用のレジス
タ回路6A、6Bに蓄え、かつ、一時記憶装置IA。
First, the data dt whose time slots are replaced is written to the temporary storage devices IA and IB in the write cycle at the write address W a d. At this time, find a position where the count value of the counting circuit 8 (which counts up every cycle to monitor all addresses) that generates the monitoring address Mad matches the value of the write address W a d, and Corresponding data is stored in data holding register circuits 6A and 6B, and a temporary storage device IA.

IBのその位置にテストパターンtpa、tpbを挿入
する。
Test patterns tpa and tpb are inserted into the IB at that position.

読み出し周期では、読み出しアドレスRadに従って一
時記憶装置IA、IBを読み出すことにより、タイムス
ロットの人ね替えを行うが、読み出し周期中に監視用の
タイムスロットを設けその位置で計数回路8の出力の監
視用アドレスMadに対応するテストパターンtpa、
tpbを、一時記憶装置IA、1Bから読み出して検査
回路IflA 、 IOBでチェッ、゛り7へと共ニ、
書き込み周期中に蓄えていたレジスタ回路6A、6Bの
データを挿入する。なお、上述の処理は、2個の一時記
憶装置IA、IBの書き込み/読み出しチエツクができ
る全アドレスに′ついて行えることは勿論である。
In the read cycle, the temporary storage devices IA and IB are read out according to the read address Rad, thereby changing the time slots. However, a time slot for monitoring is provided during the read cycle, and the output of the counting circuit 8 is monitored at that position. test pattern tpa corresponding to address Mad for
tpb is read from the temporary storage devices IA and 1B, checked by the inspection circuits IflA and IOB, and then sent to 7.
The data stored in the register circuits 6A and 6B during the write cycle is inserted. It goes without saying that the above-mentioned processing can be performed for all addresses that can be checked for writing/reading in the two temporary storage devices IA and IB.

(発明の効果) 以上述べた様に本発明は、ダブルバッファ方式に用いて
いる一時記憶装置を監視するに当って、書き込み中に監
視するアドレスのデータをレジスタに蓄えると共に、そ
の位置にテストパターンを挿入して、読み出し周期中の
監視用タイムスロット位置で、上記のテストパターンを
チエツクすると共に、書き込み周期中に蓄えていたレジ
スタの上記データを挿入することにより、タイムスロッ
トの入れ替え動作に支障を与えることなく、一時記憶装
置内の全アドレスの正常な読み書き動作を監視できると
いう効果がある。
(Effects of the Invention) As described above, in monitoring a temporary storage device used in the double buffer method, the present invention stores data at an address to be monitored during writing in a register, and also stores a test pattern at that location. By inserting the above test pattern and checking the above test pattern at the monitoring time slot position during the read cycle, and inserting the above data stored in the register during the write cycle, it is possible to prevent the time slot switching operation from occurring. This has the advantage that normal read/write operations of all addresses in the temporary storage device can be monitored without having to read or write data.

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

である。 l A 、  I B −−−−−−一時記憶装置、2
A、2B、2A1.2B1.2A2.2B22x・・・
・・・選択回路、 3−−−−−−−−−−−−−−−・・・書き込み/読
み出し制御回路、6 A 、  6 B−−−−−−レ
ジスタ回路、7A、7B・・・・・・−数構出回路、8
・・・・・・・・・・・・・・・・・・計数回路、9A
、9B−−−−−−パターン発生回路、10A、IGB
−−−−−−パターン検査回路。
It is. l A, I B ----- Temporary storage device, 2
A, 2B, 2A1.2B1.2A2.2B22x...
...Selection circuit, 3------------------- Write/read control circuit, 6A, 6B--Register circuit, 7A, 7B... ...-Number structure circuit, 8
・・・・・・・・・・・・・・・Counting circuit, 9A
, 9B------Pattern generation circuit, 10A, IGB
--------Pattern inspection circuit.

Claims (1)

【特許請求の範囲】 1)2個の一時記憶装置を使用して、データの書き込み
ならびに読み出しを交互に同期的に行なって、該データ
のタイムスロット位置の入れ替えを行なう装置において
、少なくとも、前記一時記憶装置への前記データの書き
込み中に、監視するアドレス位置の該データを別にして
一時保持する手段と、前記書き込み中の当該一時記憶装
置の前記監視するアドレス位置に、テスト用のパターン
を挿入する手段と、前記一時記憶装置からの前記データ
の読み出し中に、前記監視するアドレス位置から読み出
される前記テスト用パターンを検査する手段と、前記読
み出し中に前記別にして一時保持された前記データを送
出するための手段と、を備えていることを特徴とするタ
イムスロット入れ替え装置。 2)前記のデータを一時保持する手段がレジスタ回路で
あると共に、前記のテスト用パターンを挿入する手段が
選択回路ならびに第1の一致検出回路であり、かつ前記
のテスト用パターンを検査する手段が検査回路であると
共に、前記の一時保持されたデータを送出するための手
段が、制御回路ならびに第2の一致検出回路である前記
特許請求の範囲第1項に記載のタイムスロット入れ替え
装置。
[Scope of Claims] 1) In an apparatus that uses two temporary storage devices, writes and reads data alternately and synchronously, and replaces the time slot position of the data, at least Means for separately temporarily holding the data at a monitored address position while writing the data to the storage device, and inserting a test pattern into the monitored address position of the temporary storage device during the writing. means for inspecting the test pattern read from the monitored address location during reading of the data from the temporary storage device; and means for inspecting the test pattern read from the monitored address location while reading the data from the temporary storage device; A time slot switching device characterized by comprising: means for sending. 2) The means for temporarily holding the data is a register circuit, the means for inserting the test pattern is a selection circuit and a first coincidence detection circuit, and the means for inspecting the test pattern is a register circuit. 2. The time slot switching device according to claim 1, wherein the checking circuit and the means for transmitting the temporarily held data are a control circuit and a second coincidence detection circuit.
JP29706987A 1987-11-24 1987-11-24 Time slot changing device Pending JPH01137798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29706987A JPH01137798A (en) 1987-11-24 1987-11-24 Time slot changing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29706987A JPH01137798A (en) 1987-11-24 1987-11-24 Time slot changing device

Publications (1)

Publication Number Publication Date
JPH01137798A true JPH01137798A (en) 1989-05-30

Family

ID=17841809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29706987A Pending JPH01137798A (en) 1987-11-24 1987-11-24 Time slot changing device

Country Status (1)

Country Link
JP (1) JPH01137798A (en)

Similar Documents

Publication Publication Date Title
JP3563362B2 (en) Method for testing the function of a memory cell of an integrated memory and integrated memory
JPH01137798A (en) Time slot changing device
JP2949984B2 (en) Memory monitoring circuit
JPH07321795A (en) Buffer address management method
JPH0561777A (en) Memory control circuit
JP2927924B2 (en) Time slot swapping device data monitoring method
JP2744298B2 (en) Failure detection method for buffer control counting circuit
JPH11102325A (en) Memory monitoring system
JPH0689236A (en) Random access memory monitor circuit
JPS63156465A (en) Data storage area monitoring system for time switch circuit
JPH0241775B2 (en)
JPH0769872B2 (en) Memory monitoring device
JPH0254357A (en) Temporary memory circuit
JPH0658622B2 (en) Memory monitoring circuit
JPS61100064A (en) Time division switch channel supervisory system
JPH038040A (en) 1-bit error information storage device
JPH04283500A (en) Operation monitoring circuit of ram
JPH04219845A (en) Information processor
JPH01216448A (en) Memory monitoring device
JPS60221842A (en) Fault diagnosing circuit of logical device
JPH01121941A (en) Data buffering device
JPH0199138A (en) Information history storage
JPS62182935A (en) Memory address tracing system
JPH06139086A (en) Error detecting device and error detecting method
JPS63177241A (en) Alternate memory checking system