Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0257382B2 - - Google Patents
[go: Go Back, main page]

JPH0257382B2 - - Google Patents

Info

Publication number
JPH0257382B2
JPH0257382B2 JP59092091A JP9209184A JPH0257382B2 JP H0257382 B2 JPH0257382 B2 JP H0257382B2 JP 59092091 A JP59092091 A JP 59092091A JP 9209184 A JP9209184 A JP 9209184A JP H0257382 B2 JPH0257382 B2 JP H0257382B2
Authority
JP
Japan
Prior art keywords
data
address
circuit
setting
byte
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
JP59092091A
Other languages
Japanese (ja)
Other versions
JPS60236341A (en
Inventor
Susumu Hishinuma
Noryuki Hinai
Shinkei Orime
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59092091A priority Critical patent/JPS60236341A/en
Publication of JPS60236341A publication Critical patent/JPS60236341A/en
Publication of JPH0257382B2 publication Critical patent/JPH0257382B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Small-Scale Networks (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、同一回路構成の複数個の回路を直
列接続にし、シリアルに転送されてくるデータか
ら個々の回路に対応したアドレス及びデータを設
定し、その設定されたアドレス及びデータが所望
の値に設定されたか否かを判定するためのモニタ
機能を有する装置に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention connects a plurality of circuits with the same circuit configuration in series, and sets addresses and data corresponding to each circuit from serially transferred data. The present invention relates to a device having a monitoring function for determining whether or not the set address and data are set to desired values.

〔従来技術〕[Prior art]

従来のデータ転送方式の機能はアドレス及びデ
ータ設定の機能しかなく、その動作を以下に述べ
る。
The conventional data transfer system only has the functions of address and data setting, and its operation will be described below.

第1図は複数個の回路へのデータ転送方式の回
路構成図で、1は制御回路、1aは故障検出回
路、A0〜Ao-1はデータ転送回路である。
FIG. 1 is a circuit configuration diagram of a data transfer method to a plurality of circuits, in which 1 is a control circuit, 1a is a failure detection circuit, and A 0 to A o-1 are data transfer circuits.

第2図は、従来のデータ転送回路の一実施例
で、2はシフトレジスタ、3はデータシフトレジ
スタ、4はアツプダウンカウンタ(以後U/Dカ
ウンタと略す)、5はスタート検出用ゲート回路、
6は3進カウンタ、7はm進カウンタ、8はモー
ドレジスタ、9はモードセレクタ、10はセツト
終了用F/F回路、11はチエツクビツト判定回
路、12はアドレスセツト用ゲート回路、13は
アドレスレジスタ、14はアドレス比較回路、1
5はデータセツト用ゲート回路、16はデータレ
ジスタである。
FIG. 2 shows an example of a conventional data transfer circuit, in which 2 is a shift register, 3 is a data shift register, 4 is an up-down counter (hereinafter abbreviated as U/D counter), 5 is a start detection gate circuit,
6 is a ternary counter, 7 is an m-ary counter, 8 is a mode register, 9 is a mode selector, 10 is an F/F circuit for setting completion, 11 is a check bit judgment circuit, 12 is a gate circuit for address set, and 13 is an address register. , 14 is an address comparison circuit, 1
5 is a data set gate circuit, and 16 is a data register.

第3図は第1図1の制御回路からのデータ転送
のタイミングチヤートを、第4図はスタートデー
タ、モードデータ、アドレス設定時のデータ
(0)〜データ(n−1)及びデータ設定時のデ
ータ(0)〜データ(n−1)のデータフオーマ
ツトを、第5図・第6図はアドレス(n−1)に
おけるアドレス設定開始時のタイミングチヤート
を、第7図・第8図はアドレス(n−1)におけ
るアドレス設定時のタイミングチヤートを示す。
Figure 3 shows a timing chart of data transfer from the control circuit in Figure 1. Figure 4 shows start data, mode data, data (0) to data (n-1) during address setting and data setting. The data format of data (0) to data (n-1) is shown in Figures 5 and 6, and the timing charts at the start of address setting at address (n-1) are shown in Figures 7 and 8. A timing chart at the time of address setting in (n-1) is shown.

始めに、アドレス設定開始時の第1図Ao-1
データ転送回路における第3図のt(2)までの動作
を第6図を用いて説明する。ただし、第6図の
DATA−IN信号及びDAHA−OUT信号のデー
タの区切は第5図を参照する。
First, the operation up to t (2) in FIG. 3 in the data transfer circuit of FIG. 1 A o-1 at the start of address setting will be explained using FIG. 6. However, in Figure 6
Refer to FIG. 5 for data division of the DATA-IN signal and DAHA-OUT signal.

第3図のスタートデータ、つまり第6図の
DATA−IN信号のスタートデータ部分は、
CLOCK信号の立上りに同期して第4図のスター
トデータのMSBより1ビツトづつ第2図のシフ
トレジスタ2からデータシフトレジスタ3にシフ
トしながら取込んでゆき、スタートデータがすべ
て取り込まれた時にスタート検出用ゲート回路5
の出力Stが第6図に示すように“H”から“L”
に変化し、第2図の3進カウンタ6及びセツト終
了用F/F回路10をリセツトする。この時
DATA−OUT信号には、第6図に示すようにス
タートデータのMSBが出力され、このDATA−
OUT信号は第1図に示す次のデータ転送回路
Ao-2のDATA−IN信号となる。また、このリセ
ツト状態はシフトレジスタ2に第4図Bのモード
データのMSBを取り込み、第2図のスタート検
出用ゲート回路5の出力Stが第6図に示すように
“L”から“H”になるまで続き、“H”になつた
後のCLOCK信号の立上りから、第2図の3進カ
ウンタ6はカウントを開始し、3カウント後に3
進カウンタ6の出力MSは第6図に示すように
“L”から“H”に変わり、第3図のt(0)に示すよ
うにモードデータを第2図のモードレジスタ8に
取込み、モードセレクタ9の出力ADは第6図に
示すように“L”から“H”になる。と同時に第
2図のm進カウンタ7をリセツトする。このリセ
ツト状態は、第6図のMSに示すように次のクロ
ツクの立下りで“H”から“L”になつた時に解
除され、次のCLOCK信号の立下りからm進カウ
ンタ7のカウントを開始し、3進カウンタ6は停
止する。また、この時DATA−IN信号からは第
4図Cに示すようなアドレス判定データ(n)、
アドレスデータ(0)及びチエツクビツトが1組
となつたアドレス設定データ(0)がMSBより
入力され、このデータOが第2図のシフトレジス
タ2及びU/Dカウンタ4に取り込まれた時、チ
エツクビツト判定回路11の出力Cbは第6図に
示すように“L”から“H”になる。
The starting data in Figure 3, that is, in Figure 6
The start data part of the DATA-IN signal is
In synchronization with the rising edge of the CLOCK signal, the MSB of the start data in Figure 4 is shifted and captured one bit at a time from shift register 2 to data shift register 3 in Figure 2, and starts when all the start data is captured. Detection gate circuit 5
The output S t changes from “H” to “L” as shown in Figure 6.
The ternary counter 6 and the set end F/F circuit 10 shown in FIG. 2 are reset. At this time
The MSB of the start data is output to the DATA-OUT signal as shown in Figure 6, and this DATA-OUT signal is
The OUT signal is transferred to the next data transfer circuit shown in Figure 1.
This becomes the DATA-IN signal of A o-2 . In addition, in this reset state, the MSB of the mode data shown in FIG. 4B is loaded into the shift register 2, and the output S t of the start detection gate circuit 5 shown in FIG. ”, and from the rise of the CLOCK signal after it becomes “H”, the ternary counter 6 in FIG. 2 starts counting, and after 3 counts, it reaches 3.
The output MS of the decimal counter 6 changes from "L" to "H" as shown in FIG. 6, and the mode data is taken into the mode register 8 of FIG. 2 as shown at t (0) of FIG. The output AD of the selector 9 changes from "L" to "H" as shown in FIG. At the same time, the m-ary counter 7 shown in FIG. 2 is reset. This reset state is released when the signal goes from "H" to "L" at the next falling edge of the clock, as shown by MS in FIG. starts, and the ternary counter 6 stops. At this time, address determination data (n) as shown in FIG. 4C is output from the DATA-IN signal.
Address setting data (0), which is a set of address data (0) and check bit, is input from the MSB, and when this data O is taken into the shift register 2 and U/D counter 4 in Fig. 2, check bit judgment is made. The output Cb of the circuit 11 changes from "L" to "H" as shown in FIG.

そして、データ(0)のLSBを取り込んだ
CLOCK信号の立上りの次の立下りで第2図のm
進カウンタ7のTpが“L”から“H”に変わり、
アドレスセツト用ゲート回路12の出力ASが第
6図に示すように“L”から“H”になる。この
ASの立上りで、第2図のシフトレジスタ2に入
つているアドレスデータOをアドレスレジスタ1
3に取り込むと同時にU/Dカウンタ4のカウン
トダウンクロツクとして用い、アドレス判定デー
タ(n)を(n−1)にする。そして、第7図の
SAに示すアドレスレジスタ13に取り込まれた
アドレスデータ(0)と第2図のU/Dカウンタ
4の出力CAをアドレス比較回路14で比較する。
この時、両者は一致しないのでアドレス比較回路
14の出力COは第6図に示すように“L”のま
ま変化せず、第2図のセツト終了用F/F回路1
0の出力Qも第6図に示すように“L”レベルの
まま変化しない。
Then, I imported the LSB of data (0)
At the next falling edge after the rising edge of the CLOCK signal,
Tp of decimal counter 7 changes from “L” to “H”,
The output AS of the address set gate circuit 12 changes from "L" to "H" as shown in FIG. this
At the rising edge of AS, address data O stored in shift register 2 in Figure 2 is transferred to address register 1.
At the same time, it is used as a countdown clock for the U/D counter 4, and address determination data (n) is set to (n-1). And in Figure 7
The address comparison circuit 14 compares the address data (0) taken into the address register 13 indicated by SA with the output CA of the U/D counter 4 shown in FIG.
At this time, since the two do not match, the output CO of the address comparison circuit 14 remains "L" as shown in FIG. 6, and does not change.
The output Q of 0 also remains unchanged at the "L" level as shown in FIG.

次に第6図のDATA−IN信号のデータ1を
MSBより1ビツトづつ第2図のシフトレジスタ
2に取り込むと同時に、今まで取込んでいたデー
タ(0)を第5図のDATA−OUT信号に示すよ
うにMSBより1ビツトづつ出力する。ただし、
入力時のアドレス判定データ(n)は、1カウン
トダウンされたアドレス判定データ(n−1)と
して出力される。
Next, data 1 of the DATA-IN signal in Figure 6 is
At the same time, the data (0) that has been taken in so far is outputted bit by bit from the MSB as shown in the DATA-OUT signal in FIG. however,
Address determination data (n) at the time of input is output as address determination data (n-1) that is counted down by one.

以上の動作を第3図のt(n)まで繰り返し、
第7図のDATA−IN信号のデータ(n−1)が
CLOCK信号の立上りでシフトレジスタ2及び
U/Dカウンタ4に取り込まれた次のCLOCK信
号の立下りで、第2図のアドレスセツト用ゲート
回路12の出力ASは、第8図に示すように“L”
から“H”に変わり、その立上りで第2図のシフ
トレジスタ2に入つているアドレスデータ(n−
1)をアドレスレジスタ13に取り込むと同時
に、U/Dカウンタ4のアドレス判定データ
(n)を(n−1)にし、この両者をアドレス比
較回路14で比較する。この時両者は一致するの
で、アドレス比較回路14の出力COは第8図に
示すように“L”から“H”に変わり、第2図の
セツト終了用F/F回路10の出力Qは、第8図
に示すように“L”から“H”に変わり、第2図
のm進カウンタ7は次のCLOCKの立下りでスト
ツプし、以後スタートデータが入力され、セツト
終了用F/F回路10の出力Qが“H”から
“L”に変わるまで動作しないので、アドレスセ
ツト用ゲート回路12の出力ASは変化せず、ア
ドレスレジスタ13に所望のアドレスデータ(n
−1)が設定される。
Repeat the above operation until t(n) in Figure 3,
The data (n-1) of the DATA-IN signal in Figure 7 is
At the next fall of the CLOCK signal, which is taken into the shift register 2 and U/D counter 4 at the rising edge of the CLOCK signal, the output AS of the address set gate circuit 12 in FIG. L"
The level changes from "H" to "H", and at the rising edge, the address data (n-
1) into the address register 13, the address determination data (n) of the U/D counter 4 is set to (n-1), and the two are compared in the address comparison circuit 14. At this time, since the two match, the output CO of the address comparison circuit 14 changes from "L" to "H" as shown in FIG. 8, and the output Q of the set end F/F circuit 10 in FIG. As shown in FIG. 8, the level changes from "L" to "H", and the m-ary counter 7 in FIG. 10 does not operate until the output Q changes from "H" to "L", the output AS of the address set gate circuit 12 does not change and the desired address data (n
-1) is set.

次にデータの設定であるが、データの設定はア
ドレス時と比較して、第1図のDATA−IN信号
では、モードデータの内容が第4図Bに示すよう
に“000”から“001”に、データ(0)〜データ
(n−1)の内容が第4図のCからDに変わり、
動作的には、モードデータが変わることにより第
2図のモードセレクタ9出力ADが“H”から
“L”になり、アドレスセツト用ゲート回路12
をブロツクし、代わりにDTが“L”から“H”
になりデータセツト用ゲート回路15をオープン
にし、アドレスレジスタ13のデータと第4図D
のアドレスデータを比較回路14で比較し、一致
したらデータセツト用ゲート回路15の出力DS
が“L”から“H”になり、データレジスタ16
に第4図Dのセツトデータが取り込まれるという
違いがあるだけでは他はアドレス設定時と等しい
ので省略する。
Next is the data setting.Compared to the address setting, in the DATA-IN signal in Figure 1, the mode data contents change from "000" to "001" as shown in Figure 4B. , the contents of data (0) to data (n-1) change from C to D in Figure 4,
Operationally, as the mode data changes, the mode selector 9 output AD in FIG. 2 changes from "H" to "L", and the address set gate circuit 12 changes.
is blocked, and DT changes from “L” to “H” instead.
Then, the data set gate circuit 15 is opened, and the data in the address register 13 and FIG.
The comparison circuit 14 compares the address data of
changes from “L” to “H”, and the data register 16
The only difference is that the set data shown in FIG. 4D is taken in, but the rest is the same as when setting the address, so a description thereof will be omitted.

以上が従来までのデータ転送方式の有する機能
で、単にデータ転送回路のアドレス及びデータを
設定するだけの機能しか有していないため、第1
図のDATA−OUT信号が正常でも、第2図のア
ドレスレジスタ13やデータレジスタ16等が故
障し、第4図Dのセツトデータを正常に入力して
いない様な場合、複数個のデータ転送回路のどれ
が異常で、その回路のどの部品が故障しているの
かを発見するのが非常に困難である。
The above are the functions of the conventional data transfer method, and since it only has the function of simply setting the address and data of the data transfer circuit,
Even if the DATA-OUT signal in the figure is normal, if the address register 13, data register 16, etc. in Figure 2 is broken and the set data in Figure 4 D is not being input normally, multiple data transfer circuits It is very difficult to discover which part of the circuit is abnormal and which part of the circuit is malfunctioning.

〔発明の概要〕 そこで本発明は、信号線数を増やすことなくこ
のような欠点を改善し、各データ転送回路のアド
レス及びセツトデータをモニタすることにより、
故障の早期発見及び故障箇所の検出を行えるよう
にした回路である。
[Summary of the Invention] Therefore, the present invention improves these drawbacks without increasing the number of signal lines, and by monitoring the address and set data of each data transfer circuit,
This circuit enables early detection of failures and detection of failure locations.

〔発明の実施例〕[Embodiments of the invention]

第9図は、この発明によるデータ転送回路の一
実施例で、2のシフトレジスタから16のデータ
レジスタは従来と同じで、17はバイトセレクト
用ゲート回路、18はバイトセレクタ、19はク
ロツク制御回路、20はクロツク制御用ゲート回
路である。第10図はスタートデータ、モードデ
ータ、アドレス設定時、データ設定時・バイトア
ドレス設定時・バイトデータ設定時のデータ
(0)〜データ(n−1)のデータフオーマツト
を、第11図、第12図はアドレス(n−1)に
おけるバイトデータ設定開始時のタイミングチヤ
ートを、第13図・第14図はアドレス(n−
1)におけるバイトデータ設定時のタイミングチ
ヤートを示す。
FIG. 9 shows an embodiment of the data transfer circuit according to the present invention, in which the data registers from shift register 2 to 16 are the same as the conventional ones, 17 is a byte select gate circuit, 18 is a byte selector, and 19 is a clock control circuit. , 20 are gate circuits for clock control. Figure 10 shows the data formats of data (0) to data (n-1) at the time of start data, mode data, address setting, data setting, byte address setting, and byte data setting. Figure 12 shows the timing chart when byte data setting starts at address (n-1), and Figures 13 and 14 show the timing chart at address (n-1).
1) shows a timing chart when setting byte data.

以下、この発明によるデータ転送回路の動作を
説明するが、バイトアドレス設定とバイトデータ
設定の違いは、第9図のモードセレクタ9出力が
BAかADかの違いとバイトセレクタ18の出力
SDの内容がアドレスレジスタ13の内容かデー
タレジスタ16の内容かの違いしかなく、動作的
には同じなので、バイトアドレス設定の動作説明
は省略し、バイトデータ設定の動作のみを説明す
る。
The operation of the data transfer circuit according to the present invention will be explained below, but the difference between byte address setting and byte data setting is that the mode selector 9 output in FIG.
Difference between BA and AD and output of byte selector 18
The only difference is that the contents of the SD are the contents of the address register 13 or the contents of the data register 16, and since the operations are the same, the explanation of the operation for setting the byte address will be omitted, and only the operation for setting the byte data will be explained.

始めに、第3図のt(2)までの動作を第12図を
用いて説明する。ただし、第12図のDATA−
IN信号及びDATA−OUT信号のデータの区切は
第11図を参照。
First, the operation up to t (2) in FIG. 3 will be explained using FIG. 12. However, DATA− in Figure 12
See Figure 11 for the data divisions of the IN signal and DATA-OUT signal.

第12図のDATA−IN信号のスタートデータ
部分は、CLOCK信号の立上りに同期して、第1
0図のMSBより1ビツトづつ第9図のシフトレ
ジスタ2からデータシフトレジスタ3にシフトし
ながら取り込んでゆき、スタートデータがすべて
取り込まれた時に、スタート検出用ゲート回路5
の出力Stが第12図に示すように“H”から
“L”に変化し、第9図の3進カウンタ6及びセ
ツト終了用F/F回路10を第10図のMS及び
Qに示すようにリセツトする。このリセツト状態
は、シフトレジスタ2に第10図Bのモードデー
タのMSBを取り込み、第9図のスタート検出用
ゲート回路5の出力Stが第12図に示すように
“L”から“H”になるまで続き、“H”になつた
後のCLOCK信号の立上りから、第9図の3進カ
ウンタ6はカウントを開始し、3カウント後に3
進カウンタ6の出力MSは第12図に示すように
“L”から“H”となりモードデータを第9図の
モードレジスタ8に取り込み、モードセレクタ9
の出力BDは第12図に示すように“L”から
“H”にし、バイトセレクタ18出力SDをデータ
レジスタ16の内容に切換、バイトセレクト用ゲ
ート回路17出力BSを“L”から“H”にし、
クロツク制御回路19を動作状態にする。
The start data part of the DATA-IN signal in Figure 12 is synchronized with the rising edge of the CLOCK signal.
Starting with the MSB in Figure 0, bit by bit is transferred from the shift register 2 to the data shift register 3 in Figure 9, and when all the start data has been acquired, the start detection gate circuit 5
The output S t changes from "H" to "L" as shown in FIG. 12, and the ternary counter 6 and set end F/F circuit 10 in FIG. 9 are changed to MS and Q in FIG. 10. Reset as follows. In this reset state, the MSB of the mode data shown in FIG. 10B is taken into the shift register 2, and the output S t of the start detection gate circuit 5 shown in FIG. 9 changes from "L" to "H" as shown in FIG. The ternary counter 6 in FIG. 9 starts counting from the rise of the CLOCK signal after it becomes "H", and after 3 counts, the ternary counter 6 starts counting.
The output MS of the advance counter 6 changes from "L" to "H" as shown in FIG. 12, and the mode data is taken into the mode register 8 shown in FIG.
The output BD of the byte selector 18 is changed from "L" to "H" as shown in FIG. west,
The clock control circuit 19 is put into operation.

また、この3進カウンタ6の出力MSは第9図
のm進カウンタ7をリセツトする。このリセツト
状態は、第12図のMSに示すように次のクロツ
クの立下りで“H”から“L”になつた時に解除
され、次のCLOCK信号の立下りからm進カウン
タ7のカウントを開始し、3進カウンタ6は停止
する。また、この時DATA−IN信号からは第1
0図Fに示すようなアドレスデータ、バイトデー
タ及びチエツクビツトが1組となつたバイトデー
タ設定のデータ(0)がMSBより入力され、こ
のデータ(0)が第9図のシフトレジスタ2及び
データシフトレジスタ3に取り込まれた時、第4
図Fのアドレスデータ、つまり第9図の比較回路
14の入力CAと、すでにアドレスレジスタ13
に入力されているアドレスデータSAとは一致し
ないので、比較回路14の出力COは第12図に
示すように変化せず、セツト終了用F/F回路1
0の出力Qも第12図に示すように“L”レベル
のまま変化しないので、クロツク制御回路19も
動作せず、クロツク制御用ゲート回路21の出力
CCにはそのままCLOCK信号が出力され、次のバ
イトデータ(1)を第9図のシフトレジスタ2にデー
タの取り込みを行う。
Further, the output MS of the ternary counter 6 resets the m-ary counter 7 shown in FIG. This reset state is released when the signal goes from "H" to "L" at the next falling edge of the clock, as shown by MS in FIG. starts, and the ternary counter 6 stops. Also, at this time, the first
Byte data setting data (0), which is a set of address data, byte data, and check bits as shown in Figure F, is input from the MSB, and this data (0) is input to shift register 2 and data shift in Figure 9. When captured in register 3, the 4th
The address data in FIG. F, that is, the input CA of the comparator circuit 14 in FIG.
Since it does not match the address data SA that is input to
Since the output Q of 0 also remains at the "L" level as shown in FIG. 12, the clock control circuit 19 also does not operate, and the output of the clock control gate circuit 21
The CLOCK signal is directly output to CC, and the next byte data (1) is loaded into the shift register 2 shown in FIG.

以上の動作を第3図のt(n)まで繰り返し、
第14図のDATA−IN信号のバイト設定のデー
タ(n−1)がCLOCK信号の立上りで第9図の
シフトレジスタ2及びデータシフトレジスタ3に
取りこまれた時、第4図Fのアドレスデータ、つ
まり第9図の比較回路14の入力CAと、すでに
アドレスレジスタ13に入力されているアドレス
データSAとは一致するので、比較回路14の出
力COは、第14図に示すように“L”から“H”
に変化し、F/F回路10の出力Qは第14図に
示すように“L”から“H”になり、クロツク制
御回路19を動作させる。このクロツク制御回路
19の動作は第14図SCに示すようにF/F回
路10の出力Qが変化した次のCLOCK信号の立
下りからその次のCLOCK信号の立下りまでの1
クロツクのパルスを出力する。そして、このクロ
ツク制御回路19の出力SCの変化の間、シフト
レジスタ2はそれまでのデータをシフトする機能
から、パラレルに入力されるバイトセレクタ18
の出力SDを取り込む機能となり、バイトデータ
設定のデータ(n−1)をシフトレジスタ2及び
データシフトレジスタ3に取り込んだ次のクロツ
クの立上りで、第10図Fのバイトデータに第9
図のバイトセレクタ18の出力SDを取り込むと
同時にクロツク制御用ゲート回路20をブロツク
することにより第14図CCに示すようにCLOCK
信号を1クロツクブロツクすることにより、先の
バイトセレクタ18の出力SDをシフトレジスタ
2に取り込む間、データシフトレジスタ3に取り
込まれている。アドレスデータがシフトするのを
防止している。
Repeat the above operation until t(n) in Figure 3,
When the byte setting data (n-1) of the DATA-IN signal in Figure 14 is taken into the shift register 2 and data shift register 3 in Figure 9 at the rising edge of the CLOCK signal, the address data in Figure 4F In other words, since the input CA of the comparison circuit 14 in FIG. 9 and the address data SA already input to the address register 13 match, the output CO of the comparison circuit 14 becomes "L" as shown in FIG. From “H”
The output Q of the F/F circuit 10 changes from "L" to "H" as shown in FIG. 14, causing the clock control circuit 19 to operate. The operation of this clock control circuit 19 is as shown in FIG.
Outputs clock pulses. During this change in the output SC of the clock control circuit 19, the shift register 2 changes the function of shifting the previous data to the byte selector 18 that is input in parallel.
The function is to take in the output SD of the byte data, and at the next clock rise after taking the byte data setting data (n-1) into the shift register 2 and data shift register 3, the 9th byte data of FIG.
By blocking the clock control gate circuit 20 at the same time as taking in the output SD of the byte selector 18 shown in the figure, the CLOCK clock is set as shown in FIG. 14 CC.
By blocking the signal by one clock, the output SD of the previous byte selector 18 is taken into the data shift register 3 while being taken into the shift register 2. This prevents address data from shifting.

よつて第1図のデータ転送回路A0〜Ao-1
各々には、各々に対応した第10図Fのバイトデ
ータ設定のデータ(0)〜データ(n−1)が、
しかも、バイトデータの部分には、各々の第9図
のデータレジスタ16のデータの内容が取り込ま
れたものが設定されており、それを第1図の
DATA−OUT信号より制御回路1に転送し、故
障検出回路1aによりデータ転送回路A0〜
Ao-1の各々に、第10図Dに示すセツトデータ
がセツトされているかが確認できる。
Therefore, data (0) to data (n -1) of the byte data setting in FIG. 10F corresponding to each of the data transfer circuits A0 to A o-1 in FIG.
Moreover, the byte data part is set to contain the data contents of each data register 16 in FIG.
Data is transferred to the control circuit 1 from the DATA-OUT signal, and the data transfer circuits A0 to A0 are transferred by the failure detection circuit 1a.
It can be confirmed whether the set data shown in FIG. 10D is set for each of A o-1 .

〔発明の効果〕〔Effect of the invention〕

以上の原理に基くこの発明によるデータ転送回
路を用いることにより、個々のデータ転送回路に
アドレス及びデータの設定が確実に行われている
か否かの判定ができ、異常の場合も容易にその箇
所を発見することができる他、アドレス数がいく
ら増加しても第1図の制御回路1との信号線数は
増加することがない等、作業性及び信頼性が一段
と向上する。
By using the data transfer circuit of the present invention based on the above principle, it is possible to determine whether or not the address and data settings are reliably set in each data transfer circuit, and even in the event of an abnormality, the location can be easily identified. In addition, the number of signal lines connected to the control circuit 1 of FIG. 1 does not increase even if the number of addresses increases, which further improves workability and reliability.

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

第1図は、データ転送方式の回路構成を示した
図、第2図は、従来のデータ転送回路の回路構成
を示した図、第3図は、第1図のDATA−IN信
号の時間tにおけるデータ転送のタイミングチヤ
ートを示した図、第4図はDATA−IN信号に入
力されるデータのフオーマツトを示した図、第5
図・第6図はデータ転送回路Ao-1におけるアド
レス設定時のタイミングチヤートを示した図、第
7図・第8図はデータ転送回路Ao-1におけるデ
ータ設定時のタイミングチヤートを示した図、第
9図は本発明によるデータ転送装置の回路構成を
示した図、第10図は本発明におけるDATA−
IN信号に入力されるデータのフオーマツトを示
した図、第11図・第12図はデータ転送回路
Ao-1におけるバイトデータ設定時のスタート時
のタイミングチヤートを示した図、第13図・第
14図はデータ転送回路Ao-1におけるバイトデ
ータ設定時のタイミングチヤートを示した図であ
る。 図中において、1は制御回路、1aは故障検出
回路、A0〜Ao-1はデータ転送回路、2はシフ
トレジスタ、3はデータシフトレジスタ、4は
U/Dカウンタ、5はスタート検出用ゲート回
路、6は3進カウンタ、7はm進カウンタ、8は
モードレジスタ、9はモードセレクタ、10はセ
ツト終了用F/F回路、11はチエツクビツト判
定回路、12はアドレスセツト用ゲート回路、1
3はアドレスレジスタ、14はアドレス比較回
路、15はデータセツト用ゲート回路、16はデ
ータレジスタ、17はバイトセレクト用ゲート回
路、18はバイトセレクタ、19はクロツク制御
回路、20はクロツク制御用ゲート回路である。
なお、図中同一あるいは相当部分には同一符号を
付して示してある。
Figure 1 is a diagram showing the circuit configuration of a data transfer method, Figure 2 is a diagram showing the circuit configuration of a conventional data transfer circuit, and Figure 3 is a diagram showing the time t of the DATA-IN signal in Figure 1. Figure 4 is a diagram showing the timing chart of data transfer in
Figures 6 and 6 show timing charts when setting addresses in the data transfer circuit A o-1 , and Figures 7 and 8 show timing charts when setting data in the data transfer circuit A o-1. 9 shows the circuit configuration of the data transfer device according to the present invention, and FIG. 10 shows the DATA-transfer device according to the present invention.
A diagram showing the format of data input to the IN signal, Figures 11 and 12 are data transfer circuits.
13 and 14 are diagrams showing timing charts at the time of setting byte data in the data transfer circuit A o-1 . In the figure, 1 is a control circuit, 1a is a failure detection circuit, A0 to A o-1 are data transfer circuits, 2 is a shift register, 3 is a data shift register, 4 is a U/D counter, and 5 is a start detection gate. 6 is a ternary counter, 7 is an m-ary counter, 8 is a mode register, 9 is a mode selector, 10 is a set end F/F circuit, 11 is a check bit determination circuit, 12 is a gate circuit for address set, 1
3 is an address register, 14 is an address comparison circuit, 15 is a data set gate circuit, 16 is a data register, 17 is a byte select gate circuit, 18 is a byte selector, 19 is a clock control circuit, 20 is a clock control gate circuit It is.
It should be noted that the same or corresponding parts in the figures are indicated by the same reference numerals.

Claims (1)

【特許請求の範囲】[Claims] 1 同一の回路構成をもつたN個の回路を直列に
接続したデータ転送ラインにおいて、転送データ
をデータの始めを示すスタートデータ、データの
種類を設定するモード、N個の回路にアドレスを
設定するアドレスデータ、及び各回路に与える設
定データとで構成し、最初にスタートデータ、ア
ドレス設定モード、N個のアドレス設定データの
順に転送を行ない、N個の回路にアドレスを設定
した後、スタートデータ、データ設定モード、N
個のデータ設定データの順に転送を行ないN個の
回路に内蔵のレジスタに所望のデータの設定を行
ない、その後、スタートデータ、バイトデータ設
定モード、N個のバイトデータ設定データの順に
転送し、N個の回路のレジスタにデータ設定モー
ドで設定されていたデータを同時に転送ラインに
のせ転送し、このデータを外部に付加した制御回
路によりデータ設定モードで送出したデータと、
バイトデータ設定モードで読み込まれたデータを
比較し、一致をみることで回路および転送ライン
の異常の確認を行なえるようにしたことを特徴と
するデータ転送装置。
1 In a data transfer line in which N circuits with the same circuit configuration are connected in series, the transfer data is set as start data indicating the beginning of the data, a mode for setting the data type, and an address for the N circuits. It consists of address data and setting data to be given to each circuit. First, start data, address setting mode, and N address setting data are transferred in this order. After setting addresses to N circuits, start data, Data setting mode, N
The data setting data are transferred in order to set the desired data in the registers built into the N circuits, and then the start data, the byte data setting mode, and the N byte data setting data are transferred in this order. The data that was set in the data setting mode in the register of each circuit is simultaneously transferred onto the transfer line, and the data is sent out in the data setting mode by a control circuit that is added externally.
A data transfer device characterized in that it is possible to check for abnormalities in circuits and transfer lines by comparing data read in a byte data setting mode and checking for a match.
JP59092091A 1984-05-09 1984-05-09 Data transfer device Granted JPS60236341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59092091A JPS60236341A (en) 1984-05-09 1984-05-09 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59092091A JPS60236341A (en) 1984-05-09 1984-05-09 Data transfer device

Publications (2)

Publication Number Publication Date
JPS60236341A JPS60236341A (en) 1985-11-25
JPH0257382B2 true JPH0257382B2 (en) 1990-12-04

Family

ID=14044767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59092091A Granted JPS60236341A (en) 1984-05-09 1984-05-09 Data transfer device

Country Status (1)

Country Link
JP (1) JPS60236341A (en)

Also Published As

Publication number Publication date
JPS60236341A (en) 1985-11-25

Similar Documents

Publication Publication Date Title
JP2755580B2 (en) Digital data processing system
US4498178A (en) Data error correction circuit
KR950010770B1 (en) Error detect & correction method of wide data transmition
KR950015189B1 (en) Wide error first-in first-out buffer (FIFO) error detection device
JPH0257382B2 (en)
JPH0121560B2 (en)
JP2644112B2 (en) FIFO test diagnostic circuit
KR930004178B1 (en) Test circuit of semiconductor memory device
JP3241663B2 (en) Clock transfer circuit
JP3412927B2 (en) Frame synchronization circuit
JP3039631B2 (en) Signal line monitoring device
JPS6318776B2 (en)
JPS606143B2 (en) Input data state change detection circuit
SU1405059A1 (en) Device for checking digital units
SU1741143A2 (en) Device for connecting users to a computer
JPS60200631A (en) Code error detecting circuit
JPH0546105Y2 (en)
JPH0554316B2 (en)
JP3088144B2 (en) FIFO reset circuit
SU1185341A1 (en) Device for built-in checking digital systems with majority redundancy
JPH0430234A (en) Error detection circuit
JPS6326904B2 (en)
JPH04192162A (en) Block synchronizing circuit for digital data
JPH01231445A (en) Data error deciding circuit
JPS6282837A (en) Pn data receiving circuit