JPH08263436A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH08263436A
JPH08263436A JP7061249A JP6124995A JPH08263436A JP H08263436 A JPH08263436 A JP H08263436A JP 7061249 A JP7061249 A JP 7061249A JP 6124995 A JP6124995 A JP 6124995A JP H08263436 A JPH08263436 A JP H08263436A
Authority
JP
Japan
Prior art keywords
clock
unit
signal
data transfer
data
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.)
Withdrawn
Application number
JP7061249A
Other languages
Japanese (ja)
Inventor
Shinichi Shiwachi
真一 志和地
Masahiko Iwakiri
政彦 岩切
Toshiyuki Sakai
俊行 酒井
Aya Suzuki
綾 鈴木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7061249A priority Critical patent/JPH08263436A/en
Publication of JPH08263436A publication Critical patent/JPH08263436A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To prevent a data error by preventing crosstalk from being superimposed at the timing of latch by driving the operation clock of a data transfer circuit part and the system clock of a CPU control part corresponding to the same clock signal. CONSTITUTION: This device is provided with a data transfer circuit part 1 for inputting a clock for transfer data and transferring data based on this clock signal and a CPU control part 2 for controlling the data transfer of this data transfer circuit 1. Then, the operation clock of the data transfer circuit part 1 and the system clock of the CPU control part 2 are driven by using the same clock signal. Therefore, the crosstalk exerted from the system bus of a CPU onto the transfer data is synchronously superimposed. Thus, the latch error of transfer data can be suppressed at a minimum and the influence of crosstalk at the latch timing of transfer data can be avoided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CPUを用いて構成さ
れるデータ転送装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer device composed of a CPU.

【0002】[0002]

【従来の技術】従来、マイクロコンピュータ(CPU)
を用いてデータ転送回路部を制御するデータ転送装置に
おいては、CPUのシステムクロックはCPUボード内
のクロックの発振器から供給されている。一方、データ
転送部は外部より供給されるクロックにより動作する。
このため、CPU内のシステムバスと転送データのバス
とは全く非同期で動作することとなる。
2. Description of the Related Art Conventionally, a microcomputer (CPU)
In the data transfer device that controls the data transfer circuit section using the, the system clock of the CPU is supplied from the clock oscillator in the CPU board. On the other hand, the data transfer section operates by a clock supplied from the outside.
Therefore, the system bus in the CPU and the transfer data bus operate completely asynchronously.

【0003】[0003]

【発明が解決しようとする課題】しかし、近年CPUが
高速化するに伴ってCPUのシステムバスから転送デー
タバスに対してクロストークが生じることがある。この
クロストークは、転送データのラッチのタイミングで転
送データに重畳されたときには、データのエラーを引き
起こす恐れがあるという欠点があった。
However, as the CPU speed has increased in recent years, crosstalk may occur from the system bus of the CPU to the transfer data bus. This crosstalk has a drawback that it may cause a data error when it is superimposed on the transfer data at the timing of latching the transfer data.

【0004】本発明は、このような従来の問題点を解決
することを目的とし、ラッチのタイミングでクロストー
クの重畳が生じないようにしてデータエラーを未然に防
止するデータ転送装置を提供することにある。
An object of the present invention is to provide a data transfer device for preventing the data error by preventing the superposition of the crosstalk at the latch timing in order to solve the above conventional problems. It is in.

【0005】[0005]

【課題を解決するための手段】本願の請求項1の発明
は、図1の発明原理ブロック図に示すように、転送デー
タ用クロックが入力され、該クロック信号に基づいてデ
ータを転送するデータ転送回路部1と、該データ転送回
路部1のデータ転送を制御するCPU制御部2と、を有
して構成されている。そして、データ転送回路部1の動
作クロックとCPU制御部2のシステムクロックとを同
一のクロック信号を用いて駆動するようにしたものであ
る。
According to the invention of claim 1 of the present application, as shown in the block diagram of the principle of the invention of FIG. 1, a data transfer clock is input and data transfer is performed based on the clock signal. The circuit unit 1 and the CPU control unit 2 that controls the data transfer of the data transfer circuit unit 1 are included. The operation clock of the data transfer circuit unit 1 and the system clock of the CPU control unit 2 are driven by using the same clock signal.

【0006】又本願の請求項2の発明は、複数のクロッ
ク信号、例えば図2の発明原理ブロック図に示すように
転送用データクロック0,転送データ用クロック1とク
ロック切換信号とが入力され、データ転送回路部1及び
CPU制御部2を駆動するクロック信号を、複数のクロ
ック信号から選択するクロック切換部3を有することを
特徴とするものである。
According to a second aspect of the present invention, a plurality of clock signals, for example, a transfer data clock 0, a transfer data clock 1 and a clock switching signal are input as shown in the block diagram of the principle of the invention of FIG. It is characterized by having a clock switching unit 3 for selecting a clock signal for driving the data transfer circuit unit 1 and the CPU control unit 2 from a plurality of clock signals.

【0007】又本願の請求項3の発明は、図3の発明原
理ブロック図に示すように、クロック切換部3を、入力
されるクロック、即ち転送データ用クロック0及びクロ
ック1を外部からのクロック切換信号に基づいてマスク
するマスク部とマスク部の出力が入力される選択部(S
EL)とにより構成している。又クロック切換信号に基
づいて所定時間、このマスク部によりクロック信号をマ
スクすると共に、その後選択部によりクロック信号を切
換えるクロック切換制御部4を有している。
Further, according to the invention of claim 3 of the present application, as shown in the block diagram of the principle of the invention of FIG. 3, the clock switching unit 3 inputs the input clocks, that is, the transfer data clock 0 and the clock 1 from the outside. A masking unit for masking based on the switching signal and a selecting unit (S
EL) and. Further, it has a clock switching control unit 4 for masking the clock signal by the masking unit for a predetermined time based on the clock switching signal and thereafter switching the clock signal by the selecting unit.

【0008】本願の請求項4の発明は、図4の発明原理
ブロック図に示すように、クロック切換部3に加えてク
ロック切換信号が入力されたときにCPU制御部2のC
PUを一時停止すると共に、一時停止の確認後にクロッ
ク切換部3にクロック切換信号を出力するホールト制御
部5を有するものである。
According to the invention of claim 4 of the present application, as shown in the block diagram of the principle of the invention of FIG. 4, when the clock switching signal is input in addition to the clock switching portion 3, the C of the CPU control portion 2 is inputted.
It has a halt control unit 5 that suspends the PU and outputs a clock switching signal to the clock switching unit 3 after confirming the suspension.

【0009】又本願の請求項5の発明は、図5の発明原
理ブロック図に示すように、クロック切換部3により切
換えられたクロック信号の遮断を検出するクロック断検
出部6を有し、クロック断検出部6によってクロックの
遮断が検出されたときにクロック切換部3に切換信号を
出力して他方のクロック信号に切換えるようにしたもの
である。
Further, the invention of claim 5 of the present application, as shown in the block diagram of the principle of the invention of FIG. 5, has a clock loss detecting section 6 for detecting interruption of the clock signal switched by the clock switching section 3, When the disconnection detection unit 6 detects the interruption of the clock, a switching signal is output to the clock switching unit 3 to switch to the other clock signal.

【0010】又本願の請求項6の発明は、図6の発明原
理ブロック図に示すように、入力されるクロック毎にそ
の遮断を検出する個別クロック断検出部7を有し、遮断
されていないクロック信号又は装置内のクロック信号を
クロック切換部3により選択するようにしたものであ
る。
Further, as shown in the block diagram of the principle of the invention of FIG. 6, the invention of claim 6 of the present application has the individual clock breakage detecting section 7 for detecting the breakage for each input clock, and is not cut off. The clock signal or the clock signal in the device is selected by the clock switching unit 3.

【0011】又本願の請求項7の発明は、図7の発明原
理ブロック図に示すように、クロック切換部3によって
選択されたクロック信号が基準信号として入力され、該
基準信号に基づいて位相ロックする位相制御発振器8を
有し、該位相制御発振器8よりデータ転送回路部1及び
CPU制御部2にクロック信号を供給するものである。
According to the invention of claim 7 of the present application, as shown in the block diagram of the principle of the invention of FIG. 7, the clock signal selected by the clock switching unit 3 is input as a reference signal, and the phase lock is performed based on the reference signal. And a clock signal is supplied from the phase control oscillator 8 to the data transfer circuit unit 1 and the CPU control unit 2.

【0012】[0012]

【作用】このような特徴を有する本願の請求項1の発明
によれば、CPU制御部2とデータ転送回路部1とが同
一のクロックを使用するため、CPUのシステムバスが
転送データに及ぼすクロストークが同期されて重畳され
る。このため、転送データのラッチタイミングでのクロ
ストークの影響が回避できることとなる。又請求項2の
発明では、転送データ用クロックを複数系統とし、この
クロックの中から選択したクロックをデータ転送回路部
1とCPU制御部2とに入力するようにしている。更
に、請求項3の発明では、クロック切換え時に一旦その
クロックに同期して転送用データクロックをマスクし、
切換えられるクロック信号に同期して切換信号を出力
し、切換えられるクロック信号のマスクを解除するよう
にしている。こうすれば、クロック波形の乱れやひげの
発生がなく、クロックが切換えられる。又請求項4の発
明では、クロック切換信号によってCPUを一旦停止状
態とし、停止が確認された後にクロックを切換えるよう
にしている。請求項5の発明では、選択されたクロック
が遮断されたかどうかを検知し、遮断されればそのクロ
ックと異なったクロック信号を選択するようにしてい
る。このため自立的に他系のクロックに選択して変更す
ることができ、最短時間でCPUの動作を再開できるこ
ととなる。又請求項6の発明では、各クロックを個別に
遮断したかどうかを検出し、遮断した場合には遮断され
ていないクロック又は内部クロックを自動的に選択する
ことにより、CPUの動作が停止しないようにしてい
る。請求項7の発明では、選択後のクロックを基準信号
とする位相制御発振器8を用い、この発振信号をクロッ
ク信号として用いたものである。
According to the invention of claim 1 of the present application having such a feature, since the CPU control unit 2 and the data transfer circuit unit 1 use the same clock, the cross effect of the system bus of the CPU on the transfer data. The talk is synchronized and superimposed. Therefore, the influence of crosstalk at the latch timing of transfer data can be avoided. In the invention of claim 2, the transfer data clock has a plurality of systems, and the clock selected from the clocks is input to the data transfer circuit unit 1 and the CPU control unit 2. Further, in the invention of claim 3, at the time of clock switching, the transfer data clock is masked once in synchronization with the clock,
The switching signal is output in synchronization with the switched clock signal so that the masking of the switched clock signal is released. In this way, the clocks can be switched without any disturbance of the clock waveform or whiskers. Further, in the invention of claim 4, the CPU is temporarily stopped by the clock switching signal, and the clock is switched after the stop is confirmed. According to the fifth aspect of the present invention, it is detected whether or not the selected clock is cut off, and if cut off, a clock signal different from that clock is selected. Therefore, it is possible to autonomously select and change the clock of another system, and the operation of the CPU can be restarted in the shortest time. According to the invention of claim 6, whether or not each clock is individually cut off is detected, and when the clock is cut off, the clock which is not cut off or the internal clock is automatically selected so that the operation of the CPU is not stopped. I have to. According to the invention of claim 7, the phase control oscillator 8 using the selected clock as the reference signal is used, and this oscillation signal is used as the clock signal.

【0013】[0013]

【実施例】次に、本発明によるデータ転送装置の具体的
実施例につき、図面を参照しつつ説明する。図8は、本
発明の請求項1,2,3の発明を具体化した第1実施例
の詳細な構成を示すブロック図である。本実施例は、2
4Mデータ転送装置、即ち24MHzのシリアルデータ
を受信及び送信するデータ転送装置である。本図におい
てデータ転送回路部1は、S/P変換部1a,P/S変
換部1bから成り立っている。このS/P変換部1a
は、受信された24MHzのシリアル受信転送データを
入力とし、パラレル信号に変換して8ビットの3MHz
の受信信号とするS/P変換部である。更に、S/P変
換部1aは、データに多重されているアラーム情報を抽
出してCPUのシステムバスに転送する機能を有してい
る。又データ転送装置より送信すべき送信データを3M
Hz,8ビットのパラレルデータとすると、このデータ
はP/S変換部1bに入力される。このP/S変換部1
bは、入力されるクロック信号に基づいて入力信号をシ
リアル信号に変換し、24MHzの送信転送データとし
て出力するものである。又CPUシステムバスから加え
られるアラームをその転送データに挿入する機能を有し
ている。さて、CPUシステムバスには、これらの制御
を行うCPU制御部2としてCPU2a,メモリ2b及
びハードレジスタ2cが接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a specific embodiment of the data transfer device according to the present invention will be described with reference to the drawings. FIG. 8 is a block diagram showing a detailed configuration of a first embodiment embodying the inventions of claims 1, 2, and 3 of the present invention. In this embodiment, 2
4M data transfer device, that is, a data transfer device for receiving and transmitting 24 MHz serial data. In the figure, the data transfer circuit unit 1 comprises an S / P conversion unit 1a and a P / S conversion unit 1b. This S / P converter 1a
Receives the received 24MHz serial reception transfer data as an input, converts it to a parallel signal, and outputs 8bit 3MHz
It is an S / P converter that receives the received signal. Further, the S / P converter 1a has a function of extracting alarm information multiplexed on the data and transferring it to the system bus of the CPU. In addition, the transmission data to be transmitted from the data transfer device is 3M.
If the parallel data of Hz and 8 bits is used, this data is input to the P / S conversion unit 1b. This P / S converter 1
In b, the input signal is converted into a serial signal based on the input clock signal, and is output as 24 MHz transmission transfer data. It also has a function of inserting an alarm applied from the CPU system bus into the transfer data. By the way, the CPU 2a, the memory 2b, and the hard register 2c are connected to the CPU system bus as the CPU control unit 2 for controlling them.

【0014】次に、クロックの切換えを行うクロック切
換部3及びクロック切換制御部4について説明する。こ
のデータ転送装置は、データ転送用のクロック0とクロ
ック1とを転送レートに応じて選択するものとする。こ
のクロック0,クロック1は、夫々クロック切換部3の
アンド回路3a,3bに入力される。このクロック切換
部3は切換信号に基づきいずれか一方のクロックを選択
するものであり、切換信号はアンド回路3a,3bに入
力される。そして、アンド回路3a,3bは一方のクロ
ックをマスクするマスク部を構成しており、その出力は
選択部であるオア回路3cを介してS/P変換部1a,
P/S変換部1b及びCPU2aにクロックとして入力
される。
Next, the clock switching unit 3 and the clock switching control unit 4 for switching the clock will be described. This data transfer device selects clock 0 and clock 1 for data transfer according to the transfer rate. The clock 0 and the clock 1 are input to the AND circuits 3a and 3b of the clock switching unit 3, respectively. The clock switching unit 3 selects either one of the clocks based on the switching signal, and the switching signal is input to the AND circuits 3a and 3b. The AND circuits 3a and 3b form a mask unit that masks one clock, and the output of the AND circuit 3a and 3b is transmitted through the OR circuit 3c, which is a selection unit, to the S / P converter 1a,
It is input as a clock to the P / S conversion unit 1b and the CPU 2a.

【0015】さて、クロック切換制御部4は切換スイッ
チSWの一端がプルアップ抵抗を介して電源端に接続さ
れ、その出力がフリップフロップ4aに入力され、更に
インバータ4bに接続される。このフリップフロップ4
aはD型フリップフロップが縦続接続されたものであ
り、そのQ出力はフリップフロップ4cとアンド回路4
dとに入力される。又フリップフロップ4cもD型フリ
ップフロップが縦続接続されたものであって、そのQ出
力はアンド回路4dの他方の入力端に接続されている。
これらのフリップフロップ4a,4cには、転送データ
用クロック0がインバータ4eを介してクロック信号と
して供給される。一方、インバータ4bにはD型フリッ
プフロップを縦続したフリップフロップ4f,4gが縦
続接続され、夫々のQ出力端がアンド回路4hに入力さ
れる。又フリップフロップ4f,4gのクロック入力端
子には、転送データ用クロック1がインバータ4iを介
して接続されている。
In the clock changeover control unit 4, one end of the changeover switch SW is connected to the power supply end via a pull-up resistor, the output of which is input to the flip-flop 4a and further connected to the inverter 4b. This flip-flop 4
Reference character a denotes a series connection of D-type flip-flops, and its Q output has a flip-flop 4c and an AND circuit 4a.
It is input to d and. The flip-flop 4c is also a cascade connection of D-type flip-flops, and its Q output is connected to the other input terminal of the AND circuit 4d.
The transfer data clock 0 is supplied to these flip-flops 4a and 4c as a clock signal via an inverter 4e. On the other hand, flip-flops 4f and 4g in which D-type flip-flops are cascaded are cascade-connected to the inverter 4b, and the respective Q output terminals are input to the AND circuit 4h. The transfer data clock 1 is connected to the clock input terminals of the flip-flops 4f and 4g through an inverter 4i.

【0016】次に、本実施例の動作について説明する。
転送データ用のクロック0に代えてクロック1を選択す
る際には、クロック切換スイッチSWをオフからオンと
する。そうすれば、Lレベルの信号がフリップフロップ
4aに入力され、2クロック後にフリップフロップ4c
にも入力される。このため、フリップフロップ4cの出
力がLレベルとなればアンド回路4dの出力,アンド回
路3aの出力もLレベルとなってクロック0がマスクさ
れる。一方、クロック切換スイッチSWのLレベル出力
はインバータ4bで反転してフリップフロップ4f,4
gに加えられるため、夫々2D遅延し、4D後にアンド
回路4hの出力はHレベルとなる。この出力がアンド回
路3bに入力され、データ転送用クロック1に同期した
信号が出力される。従って、オア回路3cの出力にクロ
ックに乱れやひげが発生することなく、クロック0系か
らクロック1系へ切換えることができる。
Next, the operation of this embodiment will be described.
When the clock 1 is selected instead of the clock 0 for transfer data, the clock switch SW is turned from OFF to ON. Then, the L level signal is input to the flip-flop 4a, and after two clocks, the flip-flop 4c
Is also entered. Therefore, when the output of the flip-flop 4c becomes L level, the output of the AND circuit 4d and the output of the AND circuit 3a also become L level and the clock 0 is masked. On the other hand, the L level output of the clock changeover switch SW is inverted by the inverter 4b to be flip-flops 4f, 4f.
Since they are added to g, they are delayed by 2D, and after 4D, the output of the AND circuit 4h becomes H level. This output is input to the AND circuit 3b, and a signal synchronized with the data transfer clock 1 is output. Therefore, it is possible to switch from the clock 0 system to the clock 1 system without causing disturbance or whiskers in the clock at the output of the OR circuit 3c.

【0017】図9は本願の請求項1,2,4の発明を具
体化した第2実施例を示すブロック図であり、前述した
第1実施例と同一部分は同一符号を付して詳細な説明を
省略する。図9においてスイッチSWの出力はホールト
制御部(HALT制御部)5に入力される。このHAL
T制御部5は、図示のようにクロック切換スイッチSW
に一端が接続されるクロック切換検出部5aとフリップ
フロップ5b、及びクロックを計数するカウンタ5cと
を有している。このクロック切換検出部5aは、切換時
にLレベルの信号をRSフリップフロップ5dにリセッ
ト信号として出力するものである。又フリップフロップ
5bはスイッチSWの一端が入力端に接続され、CPU
のHALT・ACK信号がクロック入力端子に接続され
る。そのQ出力は、クロック切換部3に切換信号として
入力される。一方、カウンタ5cはクロック切換部3で
選択されたクロック信号の所定数、例えば16パルスを
計数するものであり、そのオーバフロー出力はRSフリ
ップフロップ5dにセット信号として入力され、RSフ
リップフロップ5eにリセット信号として入力される。
又RSフリップフロップ5dはそのQ信号をCPU2a
のHALTバー信号として出力するものである。この出
力をカウンタ5cのイネーブル信号として出力するもの
である。
FIG. 9 is a block diagram showing a second embodiment embodying the invention of claims 1, 2 and 4 of the present application, and the same parts as those of the above-mentioned first embodiment are denoted by the same reference numerals and detailed. The description is omitted. In FIG. 9, the output of the switch SW is input to the halt control unit (HALT control unit) 5. This HAL
The T control unit 5 has a clock changeover switch SW as shown in the figure.
It has a clock switching detector 5a, one end of which is connected to the flip-flop 5b, and a counter 5c for counting clocks. The clock switching detector 5a outputs an L level signal to the RS flip-flop 5d as a reset signal at the time of switching. Further, the flip-flop 5b has one end of the switch SW connected to the input end,
HALT / ACK signal is connected to the clock input terminal. The Q output is input to the clock switching unit 3 as a switching signal. On the other hand, the counter 5c counts a predetermined number of clock signals selected by the clock switching unit 3, for example, 16 pulses, and its overflow output is input as a set signal to the RS flip-flop 5d and reset to the RS flip-flop 5e. It is input as a signal.
The RS flip-flop 5d sends the Q signal to the CPU 2a.
Is output as a HALT bar signal. This output is output as an enable signal for the counter 5c.

【0018】次に、本実施例の動作について説明する。
クロック切換スイッチSWがオフでその出力がHレベル
のときには、転送データ用クロック1が選択されている
ものとする。このクロック切換スイッチSWを例えばオ
フ状態からオン状態とすると、クロック切換スイッチS
Wの出力信号はLレベルとなり、切換え毎にクロック切
換検出部5aは短時間Lレベルの信号を出力し、RSフ
リップフロップ5dをリセットする。このため、RSフ
リップフロップ5dはQ出力がLレベルとなってCPU
2aにホールト(停止)命令がかかる。そして、CPU
内でホールトの切換えが完了すると、ホールトの完了信
号(HALT・ACK信号)がフリップフロップ5bに
入力される。従って、フリップフロップ5bはクロック
切換スイッチSWの出力状態であるLレベルを出力し、
クロック切換部3にLレベルを加える。従って、転送デ
ータ用クロック0が選択されることとなり、このクロッ
クがS/P変換部1a,P/S変換部1b及びCPU2
aに入力される。このとき、HALT・ACK信号がR
Sフリップフロップ5eに加えられ、セット状態となっ
てカウンタ5cがイネーブルとなっている。従って、選
択された転送データ用クロック0がカウンタ5cに加わ
り、カウンタ5cは計数を開始する。そして、例えば1
6カウントを計数すると、そのオーバフロー出力がRS
フリップフロップ5dをセット状態とし、CPU2aの
ホールトを停止する。同時に、RSフリップフロップ5
eをリセット状態としてカウンタ5cの動作を停止す
る。従って、CPU2aは停止解除後所定時間後に停止
命令が解除され、通常状態に復帰することとなる。
Next, the operation of this embodiment will be described.
When the clock switch SW is off and its output is at the H level, it is assumed that the transfer data clock 1 is selected. For example, when the clock changeover switch SW is changed from the off state to the on state, the clock changeover switch S
The output signal of W becomes L level, and the clock switching detector 5a outputs the signal of L level for a short time every time the switching is performed, and resets the RS flip-flop 5d. Therefore, the Q output of the RS flip-flop 5d becomes L level and the CPU
A halt command is issued to 2a. And CPU
When the switching of the halt is completed, the halt completion signal (HALT / ACK signal) is input to the flip-flop 5b. Therefore, the flip-flop 5b outputs the L level which is the output state of the clock switch SW,
The L level is added to the clock switching unit 3. Therefore, the transfer data clock 0 is selected, and this clock is used as the S / P converter 1a, the P / S converter 1b, and the CPU 2.
Input to a. At this time, the HALT / ACK signal is R
In addition to the S flip-flop 5e, the set state is established and the counter 5c is enabled. Therefore, the selected transfer data clock 0 is added to the counter 5c, and the counter 5c starts counting. And, for example, 1
When 6 counts are counted, the overflow output is RS
The flip-flop 5d is set and the halt of the CPU 2a is stopped. At the same time, RS flip-flop 5
e is reset and the operation of the counter 5c is stopped. Therefore, the CPU 2a returns to the normal state after the stop command is released a predetermined time after the stop is released.

【0019】次に、本願の請求項5,6の発明を具体化
した第3実施例について説明する。図10は本発明の第
3実施例の構成を示すブロック図であり、前述した第
1,第2実施例と同一部分は同一符号を付して詳細な説
明を省略する。転送データ用のクロック0及び1はクロ
ックを切換えるクロック切換回路3dに接続され、更に
クロック断検出部7a,7bに入力される。このクロッ
ク断検出部7aは単安定マルチバイブレータ(MM)か
ら成り、転送データ用クロック1が遮断したことを検出
し、遮断時には検出信号をクロック切換制御部7cに出
力するものである。又クロック断検出部7bも同様に単
安定マルチバイブレータから成り、転送データ用クロッ
ク0が遮断したことを検知するものであって、その検出
出力はクロック切換制御部7cに入力される。一方、ク
ロック切換制御部7cは現在選択しているクロックが遮
断したときには切換信号をクロック切換回路3dに出力
すると共に、双方のクロック断検出部7a,7bより検
出信号が入力されればクロック切換回路3eに出力する
ものである。このクロック切換回路3eはクロック切換
回路3dの切換信号が一方の入力端に入力され、他方の
入力端にはこれと異なる内部クロック信号が入力されて
いる。又CPUリセット信号生成部7dは、クロック切
換制御部7cによるクロック切換え毎に一定時間CPU
2aをリセットするためのリセット信号を生成するもの
である。
Next, a third embodiment embodying the inventions of claims 5 and 6 of the present application will be described. FIG. 10 is a block diagram showing the configuration of the third embodiment of the present invention. The same parts as those in the first and second embodiments described above are designated by the same reference numerals and detailed description thereof will be omitted. The clocks 0 and 1 for transfer data are connected to the clock switching circuit 3d that switches the clocks, and are further input to the clock break detection units 7a and 7b. The clock break detection unit 7a is composed of a monostable multivibrator (MM), detects that the transfer data clock 1 is cut off, and outputs a detection signal to the clock switching control unit 7c when cut off. Similarly, the clock loss detection unit 7b is also composed of a monostable multivibrator, detects the interruption of the transfer data clock 0, and its detection output is input to the clock switching control unit 7c. On the other hand, the clock switching control unit 7c outputs a switching signal to the clock switching circuit 3d when the currently selected clock is cut off, and when the detection signals are input from both clock loss detection units 7a and 7b, the clock switching circuit 7d. It is output to 3e. In this clock switching circuit 3e, the switching signal of the clock switching circuit 3d is input to one input end, and an internal clock signal different from this is input to the other input end. In addition, the CPU reset signal generation unit 7d is configured such that the CPU reset signal generation unit 7d keeps the CPU for a predetermined time every time the clock is switched by the clock switching control unit 7c.
A reset signal for resetting 2a is generated.

【0020】次に、本実施例の動作について説明する。
動作中には転送データ用クロック0又は1のいずれかが
クロック切換回路3d,3eにより選択されており、C
PU2aとS/P変換部1a,P/S変換部1bに入力
される。さて、選択されている転送データ用クロック1
が遮断した場合には、クロック断検出部7aはそのクロ
ックの遮断を検出し、クロック切換制御部7cに出力を
与える。従って、クロック切換制御部7cより切換信号
がクロック切換部3dに入力され、転送データ用クロッ
ク0に切換えられる。このとき、CPU2aはCPUリ
セット信号生成部7dにより一定時間リセットされ、そ
の後動作を開始する。このため、クロック異常によるC
PUの誤動作が防止できることとなる。又2つのクロッ
クが同時に遮断した場合には、内部クロック3fが選択
されることとなる。
Next, the operation of this embodiment will be described.
During operation, either the transfer data clock 0 or 1 is selected by the clock switching circuits 3d and 3e, and C
It is input to the PU 2a, the S / P converter 1a, and the P / S converter 1b. Now, the selected transfer data clock 1
When the clock is cut off, the clock break detection unit 7a detects the cut of the clock and gives an output to the clock switching control unit 7c. Therefore, the switching signal is input to the clock switching unit 3d from the clock switching control unit 7c and switched to the transfer data clock 0. At this time, the CPU 2a is reset by the CPU reset signal generator 7d for a certain period of time, and then starts operating. Therefore, C due to clock abnormality
The malfunction of the PU can be prevented. When the two clocks are cut off at the same time, the internal clock 3f is selected.

【0021】次に、本願の請求項7の発明を具体化した
第4実施例について説明する。図11は第4実施例の構
成を示すブロック図であり、前述した各実施例と同一部
分は同一符号を付して詳細な説明を省略する。本図にお
いて転送データ用のクロック0及びクロック1はクロッ
ク切換部3を介してPLO部8に入力される。このPL
O部8は位相制御発振器であって、入力されたクロック
と一定の関係にあるクロックを安定して発振し、S/P
変換部1a,P/S変換部1b及びCPU2aに出力す
るものである。このため、入力のクロックに異常が発生
しても正常なクロックを生成して各部に加えることがで
きる。又クロック切換え時に異常が生じる場合にもPL
O部8より各部にクロックが供給されるため、CPU2
aには誤動作を引き起こすことがなくなる。又入力クロ
ックが双方とも断状態となってもPLO部8より出力が
なされるため、CPU2aは誤動作を引き起こさずに動
作させることができる。
Next, a fourth embodiment embodying the invention of claim 7 of the present application will be described. FIG. 11 is a block diagram showing the configuration of the fourth embodiment. The same parts as those in the above-mentioned embodiments are designated by the same reference numerals and detailed description thereof will be omitted. In the figure, clock 0 and clock 1 for transfer data are input to the PLO unit 8 via the clock switching unit 3. This PL
The O unit 8 is a phase control oscillator, which stably oscillates a clock having a constant relationship with the input clock,
The data is output to the conversion unit 1a, the P / S conversion unit 1b and the CPU 2a. Therefore, even if an abnormality occurs in the input clock, a normal clock can be generated and added to each unit. Also, if an abnormality occurs during clock switching, PL
Since the clock is supplied from the O unit 8 to each unit, the CPU 2
A will not cause a malfunction. Further, even if both the input clocks are in the disconnected state, the PLO unit 8 outputs the data, so that the CPU 2a can be operated without causing a malfunction.

【0022】[0022]

【発明の効果】以上詳細に説明したように、本発明によ
れば、CPU制御部のクロックとデータ転送回路部との
クロックとを共通にしているため、CPUのシステムバ
スが転送データに及ぼすクロストークを同期化すること
ができ、転送データのラッチミスを最小に抑えることが
できるという効果が得られる。又請求項2及び3の発明
では、複数のクロックをクロック切換部を介して切換え
るようにしているため、任意のクロックでデータ転送装
置とCPU制御部とを動作させることができる。又請求
項3及び4の発明では、このようなクロックの切換え時
にもCPUの誤動作を防止することができ、確実にクロ
ックの切換えが可能となる。更に、本願の請求項5及び
6の発明では、クロックが遮断したときには他方のクロ
ックに自動的に切換えることができ、又請求項6では双
方のクロックが遮断したときに内部クロックに自動的に
切換えることができる。
As described above in detail, according to the present invention, since the clock of the CPU control unit and the clock of the data transfer circuit unit are common, the cross effect of the system bus of the CPU on the transfer data. It is possible to synchronize the talk, and it is possible to obtain the effect that the latch miss of the transfer data can be suppressed to the minimum. Further, in the inventions of claims 2 and 3, since a plurality of clocks are switched through the clock switching section, the data transfer device and the CPU control section can be operated with arbitrary clocks. Further, in the inventions of claims 3 and 4, the malfunction of the CPU can be prevented even when the clocks are switched, and the clocks can be surely switched. Further, in the inventions of claims 5 and 6 of the present application, when the clock is cut off, it is possible to automatically switch to the other clock, and in claim 6, when both clocks are cut off, it is automatically switched to the internal clock. be able to.

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

【図1】本願の請求項1の発明原理の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of an inventive principle of claim 1 of the present application.

【図2】本願の請求項2の発明原理の構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing the configuration of the invention principle of claim 2 of the present application.

【図3】本願の請求項3の発明原理の構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a configuration of an inventive principle of claim 3 of the present application.

【図4】本願の請求項4の発明原理の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of an inventive principle of claim 4 of the present application.

【図5】本願の請求項5の発明原理の構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a configuration of an inventive principle of claim 5 of the present application.

【図6】本願の請求項6の発明原理の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of an inventive principle of claim 6 of the present application.

【図7】本願の請求項7の発明原理の構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing a configuration of an inventive principle of claim 7 of the present application.

【図8】本発明によるデータ転送装置の第1実施例によ
るデータ転送装置の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a data transfer device according to a first embodiment of the data transfer device of the present invention.

【図9】本発明によるデータ転送装置の第2実施例によ
るデータ転送装置の構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of a data transfer device according to a second embodiment of the data transfer device of the present invention.

【図10】本発明によるデータ転送装置の第3実施例に
よるデータ転送装置の構成を示すブロック図である。
FIG. 10 is a block diagram showing the configuration of a data transfer device according to a third embodiment of the data transfer device of the present invention.

【図11】本発明によるデータ転送装置の第4実施例に
よるデータ転送装置の構成を示すブロック図である。
FIG. 11 is a block diagram showing the configuration of a data transfer device according to a fourth embodiment of the data transfer device of the present invention.

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

1 データ転送回路部 1a S/P変換部 1b P/S変換部 2 CPU制御部 2a CPU 2b メモリ 2c ハードレジスタ 3 クロック切換部 4 クロック切換制御部 5 HALT制御部 6 クロック断検出部 7 個別クロック断検出部 7a,7b クロック断検出部 7c クロック切換制御部 7d CPUリセット信号生成部 8 PLO部 1 data transfer circuit section 1a S / P conversion section 1b P / S conversion section 2 CPU control section 2a CPU 2b memory 2c hard register 3 clock switching section 4 clock switching control section 5 HALT control section 6 clock failure detection section 7 individual clock failure Detection unit 7a, 7b Clock loss detection unit 7c Clock switching control unit 7d CPU reset signal generation unit 8 PLO unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/16 330 G06F 1/04 340D (72)発明者 酒井 俊行 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 鈴木 綾 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Reference number within the agency FI Technical display location G06F 15/16 330 G06F 1/04 340D (72) Inventor Toshiyuki Sakai Nakada Ward, Kanagawa Prefecture Address 1015, inside Fujitsu Limited (72) Inventor, Aya Suzuki, Kamiodanaka, Nakahara-ku, Kawasaki, Kanagawa 1015 Address, inside Fujitsu Limited

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 (a)クロック信号が入力され、該クロ
ック信号に基づいてデータを転送するデータ転送回路部
と、(b)前記データ転送回路部のデータ転送を制御す
るCPU制御部と、を具備し、 前記データ転送回路部の動作クロックと前記CPU制御
部のシステムクロックとを同一のクロック信号を用いて
駆動することを特徴とするデータ転送装置。
1. A data transfer circuit unit that receives a clock signal and transfers data based on the clock signal, and a CPU control unit that controls data transfer of the data transfer circuit unit. A data transfer device, comprising: driving the operation clock of the data transfer circuit unit and the system clock of the CPU control unit using the same clock signal.
【請求項2】 複数のクロック信号及びクロック切換信
号が入力され、前記データ転送回路部及び前記CPU制
御部を駆動するクロック信号を、複数のクロック信号か
ら選択するクロック切換部を有することを特徴とする請
求項1記載のデータ転送装置。
2. A clock switching unit for inputting a plurality of clock signals and a clock switching signal and selecting a clock signal for driving the data transfer circuit unit and the CPU control unit from the plurality of clock signals. The data transfer device according to claim 1.
【請求項3】 前記クロック切換部は、入力されるクロ
ックを外部からの制御信号に基づいてマスクするマスク
部、及び前記マスク部の出力が夫々入力される選択部、
を有するものであり、 当該データ転送装置は、クロック切換信号に基づき、選
択されているクロック信号に同期して前記マスク部によ
りクロック信号をマスクすると共に、切換えられる信号
に同期して前記選択部によりクロック信号を切換えるク
ロック切換制御部を有することを特徴とする請求項2記
載のデータ転送装置。
3. The clock switching unit masks an input clock based on a control signal from the outside, and a selection unit to which an output of the mask unit is input.
The data transfer device, based on the clock switching signal, masks the clock signal by the masking unit in synchronization with the selected clock signal, and at the same time by the selecting unit in synchronization with the switched signal. 3. The data transfer device according to claim 2, further comprising a clock switching control unit that switches clock signals.
【請求項4】 クロック切換信号に基づいてCPUを一
時停止すると共に、一時停止の確認後に前記クロック切
換部にクロック切換信号を出力するホールト制御部を有
することを特徴とする請求項2記載のデータ転送装置。
4. The data according to claim 2, further comprising: a halt control unit that suspends the CPU based on the clock switching signal and outputs the clock switching signal to the clock switching unit after confirming the suspension. Transfer device.
【請求項5】 前記クロック切換部により切換えられた
クロック信号の遮断を検出するクロック断検出部を有
し、前記クロック断検出部によってクロックの遮断が検
出されたときに他方のクロック信号に切換えるようにし
たことを特徴とする請求項2記載のデータ転送装置。
5. A clock break detection unit that detects a break of the clock signal switched by the clock switch unit, and switches to the other clock signal when the clock break is detected by the clock break detection unit. The data transfer device according to claim 2, wherein
【請求項6】 入力されるクロック毎にその遮断を検出
する個別クロック断検出部を有し、遮断されないクロッ
ク信号及び装置内のクロック信号を前記クロック切換部
により選択するようにしたことを特徴とする請求項2記
載のデータ転送装置。
6. An individual clock disconnection detection unit for detecting the interruption for each input clock, and a clock signal which is not interrupted and a clock signal in the apparatus are selected by the clock switching unit. The data transfer device according to claim 2.
【請求項7】 前記クロック切換部によって選択された
クロック信号が基準信号として入力され、該基準信号に
基づいて位相ロックした位相制御発振器を有し、該位相
制御発振器より前記データ転送回路部及びCPU制御部
にクロック信号を供給することを特徴とする請求項2記
載のデータ転送装置。
7. A clock signal selected by the clock switching unit is input as a reference signal, and a phase control oscillator having a phase locked on the basis of the reference signal is provided. The phase control oscillator includes the data transfer circuit unit and the CPU. The data transfer device according to claim 2, wherein a clock signal is supplied to the control unit.
JP7061249A 1995-03-20 1995-03-20 Data transfer device Withdrawn JPH08263436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7061249A JPH08263436A (en) 1995-03-20 1995-03-20 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7061249A JPH08263436A (en) 1995-03-20 1995-03-20 Data transfer device

Publications (1)

Publication Number Publication Date
JPH08263436A true JPH08263436A (en) 1996-10-11

Family

ID=13165780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7061249A Withdrawn JPH08263436A (en) 1995-03-20 1995-03-20 Data transfer device

Country Status (1)

Country Link
JP (1) JPH08263436A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072454A (en) * 2004-08-31 2006-03-16 Sanyo Electric Co Ltd Data processor
JP2008227936A (en) * 2007-03-13 2008-09-25 Nec Electronics Corp Clock generating circuit, clock selecting circuit, and semiconductor integrated circuit
US7446588B2 (en) 2003-12-11 2008-11-04 International Business Machines Corporation Highly scalable methods and apparatus for multiplexing signals

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7446588B2 (en) 2003-12-11 2008-11-04 International Business Machines Corporation Highly scalable methods and apparatus for multiplexing signals
JP2006072454A (en) * 2004-08-31 2006-03-16 Sanyo Electric Co Ltd Data processor
JP4666980B2 (en) * 2004-08-31 2011-04-06 三洋電機株式会社 Data processing device
JP2008227936A (en) * 2007-03-13 2008-09-25 Nec Electronics Corp Clock generating circuit, clock selecting circuit, and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
EP0051332B1 (en) Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations
EP0262429B1 (en) Data processor having a high speed data transfer function
US4569017A (en) Duplex central processing unit synchronization circuit
US4432054A (en) Loop data transmission control method and system
JPH063933B2 (en) Ring network connection management method
JPH08263436A (en) Data transfer device
JPH04287458A (en) Transmission rate control system for serial interface
KR100439148B1 (en) Frame Synchronous Signal Output Apparatus And Method In Multi System
JPS62168441A (en) Autonomous type transmission controller
JP2538682B2 (en) Reference clock source automatic switching method
JPH0651863A (en) Serial data communication controller
JPS615363A (en) Controller of shared memory
JP2000049841A (en) Communication system
KR100825458B1 (en) Apparatus for Duplexing Board for Network Synchronization Board in Radio Network Controller
SU1401469A1 (en) Device for interfacing a computer with controlled objects
JP2601560B2 (en) System switching method of redundant communication control unit
CN116157786A (en) Synchronous data processing method and equipment
JPH09237239A (en) Multiplex transmission device
EP0142981B1 (en) Electronic communication clocking
JPH02122317A (en) Clock switch control system
JPH0744557B2 (en) Loop fault handling method
JPS6251013B2 (en)
JPH08191319A (en) Data communication system
JPS6143849A (en) Data check circuit
JPH01144150A (en) Microcomputer

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604