JP4559788B2 - Signal switching device, signal switching method, and data receiving device - Google Patents
Signal switching device, signal switching method, and data receiving device Download PDFInfo
- Publication number
- JP4559788B2 JP4559788B2 JP2004203253A JP2004203253A JP4559788B2 JP 4559788 B2 JP4559788 B2 JP 4559788B2 JP 2004203253 A JP2004203253 A JP 2004203253A JP 2004203253 A JP2004203253 A JP 2004203253A JP 4559788 B2 JP4559788 B2 JP 4559788B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- clock signal
- switching
- mask
- clock
- 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 - Fee Related
Links
Images
Landscapes
- Synchronizing For Television (AREA)
- Manipulation Of Pulses (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
本発明は、信号切り替え装置、信号切り替え方法及びデータ受信装置に関し、特にデータ受信装置において、複数系統のクロック信号のうちのいずれかを選択するクロック信号切り替え装置及びクロック信号切り替え方法、並びに複数系統のデータバスを通じて入力されるデータ信号のいずれかを選択するデータバス切り替え装置及びデータバス切り替え方法に関する。 The present invention, signal switching device, a signal switching direction Ho及 beauty data receiving apparatus, in particular data receiver, the clock signal switching device and the clock signal switching method for selecting any of a plurality of systems of clock signals, The present invention also relates to a data bus switching device and a data bus switching method for selecting one of data signals input through a plurality of data buses.
近年、ビデオ信号又はオーディオ信号等の伝送システムにおいて、複数の伝送経路からデータを受信すると共に、これらのうちのいずれかを出力する受信装置が普及している。このような受信装置には、伝送経路を選択する伝送経路切り替え器が必要になる。 In recent years, in a transmission system for video signals, audio signals, and the like, receiving apparatuses that receive data from a plurality of transmission paths and output any one of them have become widespread. Such a receiving apparatus requires a transmission path switch for selecting a transmission path.
例えば、アナログテレビモニタにおいては、ビデオプレイヤ又はDVDプレイヤ等の複数の送信装置から出力されたデータを受信すると共に、これらのデータを切り替えて表示できるものがある。 For example, some analog television monitors can receive data output from a plurality of transmission devices such as a video player or a DVD player, and can switch and display these data.
以下、複数の伝送経路を通じて受信されたデータを切り替えて出力することができる従来の受信装置を3つの例を用いて説明する。 Hereinafter, a conventional receiving apparatus capable of switching and outputting data received through a plurality of transmission paths will be described using three examples.
図46(a)は、入力された複数のアナログ信号のうちのいずれかをアナログ信号のまま出力できる第1の従来装置の例である。図46(b)は、入力された複数のデジタル信号をアナログ変換した後、それらのいずれか一つを出力できる第2の従来装置の例である。 FIG. 46A shows an example of a first conventional device that can output any one of a plurality of input analog signals as an analog signal. FIG. 46B shows an example of a second conventional apparatus that can output any one of the plurality of input digital signals after analog conversion.
図46(a)に示すように、第1の従来装置1は、入力された複数のアナログ信号(図46においては2種類のアナログ信号)のうちのいずれか1つを選択すると共に、その選択されたアナログ信号をアナログ信号のまま出力できるアナログ信号切り替え器2を備えている。
As shown in FIG. 46A, the first
また、図46(b)に示すように、近年のデジタル信号の利用の増大に伴い、入力された複数のデジタル信号をアナログ信号に変換すると共に、変換されたアナログ信号のうちのいずれかを出力できる第2の従来装置3も普及している。このような第2の従来装置3は、入力された複数のデジタル信号をそれぞれアナログ信号に変換する複数のDAC(Digital to Analog Converter)4と、DAC4により変換された複数のアナログ信号のうちのいずれかを出力できるアナログ信号切り替え器5を備えている。
In addition, as shown in FIG. 46B, with the recent increase in the use of digital signals, a plurality of input digital signals are converted into analog signals, and any one of the converted analog signals is output. The second
ところが、図46(a)に示すような複数のアナログ信号の入力を切り替える第1の従来装置1には、アナログ信号に特有のノイズを受けるという問題がある。また、図46(b)に示すような、デジタル信号をアナログ信号に切り替える必要のある第2の従来装置3には、DAC4によるアナログ信号への変換の精度に依存して、入力されたデータをそのまま正確に再現することが困難な場合がある。
However, the first
そこで、近年、デジタル技術の発達により、入力されたデジタル信号をデジタル信号のまま出力できる第3の従来装置が現れてきた。このような第3の従来装置を図46(c)に示す。 Thus, in recent years, with the development of digital technology, a third conventional apparatus that can output an input digital signal as it is has appeared. FIG. 46C shows such a third conventional device.
図46(c)は、入力された複数のデジタル信号のうちのいずれか1つをデジタル信号のまま出力できる第3の従来装置の例である。 FIG. 46C shows an example of a third conventional apparatus that can output any one of a plurality of inputted digital signals as a digital signal.
図46(c)に示すように、第3の従来装置6は、入力された複数のデジタル信号のうちのいずれかを選択すると共に、選択されたデジタル信号をデジタル信号のまま出力できるデジタル信号切り替え器7を備えている。このため、例えば、第3の従来装置6をデジタルフラットパネル等のテレビモニタに備え付けた場合、受信したデジタル信号をアナログ信号に変換することなく表示することができる。また、アナログ信号に変換する必要がないため、受信した元のデジタル映像等を高精度に再現することができる。更に、第2の従来装置3のようにデジタル信号をアナログ信号に変換するDAC4を備える必要がないため、受信装置自体のサイズを小さくすることができる。
As shown in FIG. 46 (c), the third
ただし、図46(c)に示す第3の従来装置6に、DVI(Digital Visual Interface)又はHDMI(High Definition Multimedea Interface)等のビデオ信号及びオーディオ信号を伝送する方式を採用する場合、ビデオ信号又はオーディオ信号のようなデータ信号とは別に、これらのデータ信号を送受信するタイミングを合わせるためのクロック信号を伝送する必要がある。この際、例えば第3の従来装置6のような受信装置は、入力されたクロック信号のタイミングに基づいて動作しているため、クロック信号が乱れた場合には、データ信号の処理が正常に動作しなくなる可能性がある。また、DVI又はHDMIのような伝送方式では、位相又は周期の互いに異なるクロック信号を送受信できる規格になっているため、入力されたクロック信号を受信装置の中で単に切り替えただけでは、幅の短い異常パルス(ハザード)又はデューティ比崩れ等の乱れがクロック信号に発生する可能性がある。よって、特に、DVI又はHDMIのようなクロック信号を切り替えることのできる規格では、クロック信号の乱れが大きな問題になる。したがって、データ信号とクロック信号とを別個に伝送するデジタル伝送システムには、クロック信号を切り替える際、クロック信号が乱れないような仕組みが必要とされる。
However, when the third
上記のような問題を解決する手段として、例えば特許文献1に記載の同期のクロック信号切り替え回路がある。具体的に、上記文献に記載のクロック信号切り替え回路には、切り替えられたクロック信号にハザード又はデューティ比崩れが発生しないように、以下のような工夫がなされている。
As means for solving the above problems, there is a synchronous clock signal switching circuit described in
まず、クロック信号にハザード(若しくはグリッチ)の発生を防ぐ手段としては、入力された第1のクロック信号及び第2のクロック信号が共にhighレベルになっているときに入力されたクロック信号選択信号(切り替え信号)を、第1のクロック信号と第2のクロック信号との論理積の立ち下がりに同期させる。この際、第1のクロック信号と第2のクロック信号との論理積の立ち下がりに同期したクロック信号選択信号に基づいて第1のクロック信号及び第2のクロック信号のうちのいずれかを選択して出力する。 First, as means for preventing the occurrence of a hazard (or glitch) in the clock signal, the clock signal selection signal (when the first clock signal and the second clock signal that are input are both at the high level) The switching signal) is synchronized with the falling edge of the logical product of the first clock signal and the second clock signal. At this time, one of the first clock signal and the second clock signal is selected based on the clock signal selection signal synchronized with the falling edge of the logical product of the first clock signal and the second clock signal. Output.
更に、クロック信号のデューティ比崩れ(位相跳躍)を防ぐ手段としては、入力された第1のクロック信号から第2のクロック信号に切り替える場合、第1のクロック信号と第2のクロック信号との位相差を検出する。そして、検出された位相差が±90°以上あるときは、反転させた第2のクロック信号に切り替え、反対に位相差が±90°未満のときは、入力されたままの第2のクロック信号に切り替える。
しかしながら、上記の従来のクロック信号切り替え装置には、デューティ比崩れを防ぐために、クロック信号及びクロック信号選択信号以外に、クロック信号の2倍の周波数で且つクロック信号と同位相の新たなクロック信号を入力する必要がある。またハザードを防ぐための回路においては、ハザードを防ぐことはできてもデューティ比崩れが発生する可能性がある。更に、互いに非同期の複数のクロック信号の間では切り替えることができないという問題がある。 However, in order to prevent the duty ratio from being lost, the conventional clock signal switching device described above receives a new clock signal having a frequency twice the clock signal and the same phase as the clock signal in addition to the clock signal and the clock signal selection signal. Must be entered. In a circuit for preventing a hazard, even if the hazard can be prevented, the duty ratio may be lost. Furthermore, there is a problem that switching cannot be performed between a plurality of asynchronous clock signals.
前記に鑑み、本発明は、互いに非同期で且つ位相の異なるクロック信号を、ハザード及びデューティ比崩れのいずれも発生させずに切り替えられるようにすることを目的とする。 In view of the foregoing, it is an object of the present invention to switch clock signals that are asynchronous with each other and have different phases without causing any hazard or duty ratio collapse.
本発明の第1のクロック信号切り替え装置は、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する第1の信号同期生成手段と、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する第2の信号同期生成手段と、第1のクロック信号を第1のマスク信号でマスクすることにより、第1のマスククロック信号を生成する第1のクロック信号マスク手段と、第2のクロック信号を第2のマスク信号でマスクすることにより、第2のマスククロック信号を生成する第2のクロック信号マスク手段と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択するマスククロック信号選択手段とを備えていることを特徴とするクロック信号切り替え装置である。 The first clock signal switching device according to the present invention includes a first clock signal based on a switching signal and a first clock signal for selecting either one of the first clock signal and the second clock signal. First signal synchronization generating means for generating a first mask signal and a first synchronization switching signal that are respectively synchronized with the clock signal, and a second clock signal based on the switching signal and the second clock signal, respectively. Generating a first mask clock signal by masking the first clock signal with the second signal synchronization generating means for generating the second mask signal and the second synchronization switching signal, and the first clock signal; A first clock signal masking means for generating a second mask clock signal by masking the second clock signal with the second mask signal. A lock signal masking means, a synchronization switching signal selection means for selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal, and a selection switching signal And a mask clock signal selecting means for selecting one of the first mask clock signal and the second mask clock signal as a selected clock signal based on the clock signal switching device. It is.
第1のクロック信号切り替え装置によると、第1の信号同期生成手段により、第1のクロック信号に同期した第1のマスク信号を生成できる。また、第1のクロック信号マスク手段によって、第1のクロック信号を第1のマスク信号でマスクした第1のマスククロック信号を生成できる。すなわち、マスククロック信号選択手段によってクロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号の該当部分を除去する(マスクする)ことができる。一方、同様に、マスククロック信号選択手段によってクロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第2のクロック信号の該当部分も除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the first clock signal switching device, the first mask signal synchronized with the first clock signal can be generated by the first signal synchronization generating means. In addition, the first clock signal masking means can generate a first mask clock signal obtained by masking the first clock signal with the first mask signal. That is, before the clock signal is selected by the mask clock signal selection means, it is possible to remove (mask) a corresponding portion of the first clock signal that may cause a hazard or a duty ratio collapse. On the other hand, similarly, in the stage before the clock signal is selected by the mask clock signal selection means, the corresponding portion of the second clock signal that may cause a hazard or a duty ratio collapse can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
第1のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the first clock signal switching device, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合(当然、第1のクロック信号と第2のクロック信号とが非同期の場合も含まれる)であっても、前述の効果が確実に得られる。 In this case, the frequency of the first clock signal and the frequency of the second clock signal are different (of course, the case where the first clock signal and the second clock signal are asynchronous is also included). However, the above-described effects can be obtained with certainty.
第1のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the first clock signal switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第1のデータ受信装置は、第1のクロック信号切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 The first data receiving apparatus of the present invention is a data receiving apparatus having at least one first clock signal switching device as a signal switching means, and outputs the first clock signal received from the outside to the signal switching means. First receiving means for outputting, second receiving means for outputting a second clock signal received from outside to the signal switching means, and transmitting means for transmitting the selected clock signal selected by the signal switching means to the outside. A data receiving device comprising at least the data receiving device.
第1のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第1のクロック信号切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the first data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. In addition, since the signal switching means includes the first clock signal switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第1のクロック信号切り替え方法は、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成すると共に、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する工程と、第1のクロック信号を第1のマスク信号でマスクすることにより第1のマスククロック信号を生成すると共に、第2のクロック信号を第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する工程と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する工程と、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択する工程とを備えていることを特徴とするクロック信号切り替え方法である。 According to the first clock signal switching method of the present invention, the first clock signal based on the first clock signal and the switching signal for selecting one of the first clock signal and the second clock signal Generating a first mask signal and a first synchronization switching signal respectively synchronized with the clock signal, and a second mask signal synchronized with the second clock signal based on the switching signal and the second clock signal, and Generating a second synchronization switching signal; generating a first mask clock signal by masking the first clock signal with the first mask signal; and generating the second clock signal as the second mask signal. And generating a second mask clock signal by masking with the first synchronization switching signal and the second synchronization switching based on the switching signal. Selecting any one of the first mask clock signal as the selection switching signal, and selecting one of the first mask clock signal and the second mask clock signal based on the selection switching signal. And a step of selecting as a clock signal switching method.
第1のクロック信号切り替え方法によると、第1のクロック信号に同期した第1のマスク信号及び第2のクロック信号に同期した第2のマスク信号を生成できる。また、生成された第1のマスク信号で第1のクロック信号をマスクした第1のマスククロック信号、及び生成された第2のマスク信号で第2のクロック信号をマスクした第2のマスククロック信号を生成できる。すなわち、クロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号のそれぞれの該当部分を除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the first clock signal switching method, the first mask signal synchronized with the first clock signal and the second mask signal synchronized with the second clock signal can be generated. Also, a first mask clock signal obtained by masking the first clock signal with the generated first mask signal, and a second mask clock signal obtained by masking the second clock signal with the generated second mask signal. Can be generated. That is, at the stage before selecting the clock signal, it is possible to remove the corresponding portions of the first clock signal and the second clock signal that may cause a hazard or a duty ratio collapse. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
第1のクロック信号切り替え方法において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the first clock signal switching method, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第1のクロック信号切り替え方法において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the first clock signal switching method, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる
場合であっても、前述の効果が確実に得られる。
In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第1のデータバス切り替え装置は、第1のデータバスを通じて入力された第1のクロック信号及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する第1の信号同期生成手段と、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する第2の信号同期生成手段と、第1のクロック信号を第1のマスク信号でマスクすることにより、第1のマスククロック信号を生成する第1のクロック信号マスク手段と、第2のクロック信号を第2のマスク信号でマスクすることにより、第2のマスククロック信号を生成する第2のクロック信号マスク手段と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択するマスククロック信号選択手段と、選択切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択するデータ信号選択手段とを備えていることを特徴とするデータバス切り替え装置である。 The first data bus switching device according to the present invention selects either one of the first clock signal input through the first data bus and the second clock signal input through the second data bus. A first signal synchronization generating means for generating a first mask signal and a first synchronization switching signal respectively synchronized with the first clock signal based on the switching signal and the first clock signal for switching, and a switching signal And a second signal synchronization generating means for generating a second mask signal and a second synchronization switching signal respectively synchronized with the second clock signal based on the second clock signal and the first clock signal A first clock signal masking means for generating a first mask clock signal by masking with a first mask signal, and a second clock signal as a second mask signal. By masking, the second clock signal masking means for generating the second mask clock signal and either one of the first synchronization switching signal and the second synchronization switching signal based on the switching signal. Synchronous switching signal selection means for selecting as a selection switching signal, and a mask clock signal for selecting one of the first mask clock signal and the second mask clock signal as the selection clock signal based on the selection switching signal Based on the selection means and the selection switching signal, the first data signal input through the first data bus and synchronized with the first clock signal, and the first data signal input through the second data bus and synchronized with the second clock signal. Data signal selecting means for selecting any one of the selected second data signals as a selected data signal; A data bus switching device, characterized in that it comprises.
第1のデータバス切り替え装置によると、第1の信号同期生成手段により、第1のクロック信号に同期した第1のマスク信号を生成できる。また、第1のクロック信号マスク手段により、第1のクロック信号を第1のマスク信号でマスクした第1のマスククロック信号を生成できる。すなわち、マスククロック信号選択手段によってクロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号の該当部分を除去することができる。一方、同様に、マスククロック信号選択手段によってクロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第2のクロック信号の該当部分を除去することができる。よって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号にデータ信号を同期させることにより、データ信号を誤動作なく出力することができる。 According to the first data bus switching device, the first mask signal synchronized with the first clock signal can be generated by the first signal synchronization generation means. In addition, the first clock signal masking means can generate a first mask clock signal obtained by masking the first clock signal with the first mask signal. That is, before the clock signal is selected by the mask clock signal selection means, the corresponding portion of the first clock signal that may cause a hazard or a duty ratio collapse can be removed. On the other hand, similarly, at the stage before the clock signal is selected by the mask clock signal selection means, the corresponding portion of the second clock signal that may cause a hazard or a duty ratio collapse can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal. Therefore, the data signal can be output without malfunction by synchronizing the data signal with the clock signal without any hazard or duty ratio collapse.
第1のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the first data bus switching device, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第1のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the first data bus switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第2のデータ受信装置は、第1のデータバス切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号及び第1のデータ信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号及び第2のデータ信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号及び選択データ信号を
外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。
A second data receiving apparatus according to the present invention is a data receiving apparatus including at least one first data bus switching device as a signal switching means, and includes a first clock signal and a first data signal received from the outside. Selected by the signal switching means, the second receiving means for outputting the second clock signal and the second data signal received from the outside to the signal switching means, and the signal switching means A data receiving apparatus comprising at least transmitting means for transmitting a selected clock signal and a selected data signal to the outside.
第2のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第1のデータバス切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。したがって、本発明の第2のデータ受信装置を、例えばDVI又はHDMIのようなクロック信号とデータ信号とを別個に伝送するデジタル伝送システムに採用した場合であっても、誤動作を生ずることなく複数のデジタル信号を確実に切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the second data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. In addition, since the signal switching means includes the first data bus switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. Therefore, even when the second data receiving apparatus of the present invention is employed in a digital transmission system that separately transmits a clock signal and a data signal, such as DVI or HDMI, a plurality of data reception apparatuses are not caused. The digital signal can be switched reliably. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第1のデータバス切り替え方法は、第1のデータバスを通じて入力された第1のクロック及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成すると共に、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する工程と、第1のクロック信号を第1のマスク信号でマスクすることにより第1のマスククロック信号を生成する工程と、第2のクロック信号を第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する工程と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する工程と、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択する工程と、選択切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択する工程とを備えていることを特徴とするデータバス切り替え方法である。 According to the first data bus switching method of the present invention, one of the first clock input through the first data bus and the second clock signal input through the second data bus is selected. Based on the switching signal and the first clock signal for generating the first mask signal and the first synchronous switching signal synchronized with the first clock signal, respectively, and based on the switching signal and the second clock signal Generating a second mask signal and a second synchronization switching signal that are respectively synchronized with the second clock signal, and masking the first clock signal with the first mask signal. A step of generating a signal, a step of generating a second mask clock signal by masking the second clock signal with a second mask signal, A step of selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the replacement signal; and a first mask clock signal based on the selection switching signal; A step of selecting any one of the second mask clock signals as a selection clock signal, and a first input that is input through the first data bus and synchronized with the first clock signal based on the selection switching signal; Selecting any one of the data signal and the second data signal input through the second data bus and synchronized with the second clock signal as a selection data signal. This is a data bus switching method.
第1のデータバス切り替え方法によると、第1のクロック信号に同期した第1のマスク信号、及び第2のクロック信号に同期した第2のマスク信号を生成できる。また、生成された第1のマスク信号で第1のクロック信号をマスクした第1のマスククロック信号、及び生成された第2のマスク信号で第2のクロック信号をマスクした第2のマスククロック信号を生成できる。すなわち、出力するクロック信号を選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号のそれぞれの該当部分を除去する(マスクする)ことができる。よって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号にデータ信号を同期させることにより、データ信号を誤動作なく出力することができる。 According to the first data bus switching method, the first mask signal synchronized with the first clock signal and the second mask signal synchronized with the second clock signal can be generated. Also, a first mask clock signal obtained by masking the first clock signal with the generated first mask signal, and a second mask clock signal obtained by masking the second clock signal with the generated second mask signal. Can be generated. That is, in a stage before selecting a clock signal to be output, the corresponding portions of the first clock signal and the second clock signal that may cause a hazard or a duty ratio collapse may be removed (masked). it can. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal. Therefore, the data signal can be output without malfunction by synchronizing the data signal with the clock signal without any hazard or duty ratio collapse.
第1のデータバス切り替え方法において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the first data bus switching method, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第1のデータバス切り替え方法において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the first data bus switching method, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第2のクロック信号切り替え装置は、第1のクロック信号を第1のマスク信号でマスクすることにより第1のマスククロック信号を生成する第1のクロック信号マスク手段と、第2のクロック信号を前第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する第2のクロック信号マスク手段と、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択するマスククロック信号選択手段とを備えていることを特徴とするクロック信号切り替え装置である。 The second clock signal switching device of the present invention includes a first clock signal masking means for generating a first mask clock signal by masking the first clock signal with the first mask signal, and a second clock A second clock signal masking means for generating a second mask clock signal by masking the signal with the previous second mask signal, and any one of the first clock signal and the second clock signal; And a mask clock signal selection unit that selects one of the first mask clock signal and the second mask clock signal as a selection clock signal based on a switching signal for selection. Is a clock signal switching device.
第2のクロック信号切り替え装置によると、マスククロック信号選択手段によってクロック信号を選択する前の段階で、第1のクロック信号マスク手段により第1のクロック信号を第1のマスク信号でマスクした第1のマスククロック信号を生成できる。また、マスククロック信号選択手段によってクロック信号を選択する前の段階で、第2のクロック信号マスク手段により第2のクロック信号を第2のマスク信号でマスクした第2のマスククロック信号を生成できる。このため、マスククロック信号選択手段によって切り替えられた選択クロック信号(第1のマスククロック信号又は第2のマスククロック信号)にハザード又はデューティー比崩れが発生することを未然に防ぐことができる。 According to the second clock signal switching device, the first clock signal is masked by the first mask signal by the first clock signal masking means before the clock signal is selected by the mask clock signal selecting means. The mask clock signal can be generated. In addition, a second mask clock signal obtained by masking the second clock signal with the second mask signal can be generated by the second clock signal masking means before the clock signal is selected by the mask clock signal selecting means. For this reason, it is possible to prevent occurrence of hazard or duty ratio collapse in the selected clock signal (first mask clock signal or second mask clock signal) switched by the mask clock signal selection unit.
第2のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the second clock signal switching device, the first clock signal and the second clock signal preferably have different frequencies.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第2のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the second clock signal switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
第2のクロック信号切り替え装置において、第1のマスク信号を第1のクロック信号に同期させる第1の信号同期生成手段と、第2のマスク信号を第2のクロック信号に同期させる第2の信号同期生成手段とを更に備え、第1のクロック信号マスク手段は、第1のクロック信号に同期した第1のマスク信号で第1のクロック信号をマスクし、第2のクロック信号マスク手段は、第2のクロック信号に同期した第2のマスク信号で第2のクロック信号をマスクすることが好ましい。 In the second clock signal switching device, first signal synchronization generating means for synchronizing the first mask signal with the first clock signal, and a second signal for synchronizing the second mask signal with the second clock signal Synchronization generating means, wherein the first clock signal masking means masks the first clock signal with a first mask signal synchronized with the first clock signal, and the second clock signal masking means comprises: The second clock signal is preferably masked with a second mask signal synchronized with the second clock signal.
このようにすると、入力された第1のマスク信号を第1の信号同期生成手段によって第1のクロック信号に同期させることができると共に、入力された第2のマスク信号を第2の信号同期生成手段によって第2のクロック信号に同期させることができる。その結果、第1のクロック信号マスク手段により、第1のクロック信号を第1のマスク信号で確実にマスクすることができる。すなわち、第1のクロック信号にハザード又はデューティー比崩れが生じることを抑制することができる。また、同様に、第2のクロック信号にハザード又はデューティー比崩れが生じることを抑制することができる。よって、前述の効果が
確実に得られる。
In this way, the input first mask signal can be synchronized with the first clock signal by the first signal synchronization generation means, and the input second mask signal can be synchronized with the second signal generation. Means can be synchronized to the second clock signal. As a result, the first clock signal masking means can reliably mask the first clock signal with the first mask signal. That is, it is possible to suppress the occurrence of hazard or duty ratio collapse in the first clock signal. Similarly, it is possible to suppress the occurrence of hazard or duty ratio breakdown in the second clock signal. Therefore, the above-described effect can be reliably obtained.
第2のクロック信号切り替え装置において、切り替え信号を第1のクロック信号に同期させる第1の信号同期生成手段と、切り替え信号を第2のクロック信号に同期させる第2の信号同期生成手段と、切り替え信号に基づいて、第1のクロック信号に同期した切り替え信号及び第2のクロック信号に同期した切り替え信号のうちのいずれか1つを選択切り替え信号として選択する切り替え信号選択手段とを更に備え、マスククロック信号選択手段は、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択することが好ましい。 In the second clock signal switching device, the first signal synchronization generating means for synchronizing the switching signal with the first clock signal, the second signal synchronization generating means for synchronizing the switching signal with the second clock signal, and switching And a switching signal selection means for selecting one of a switching signal synchronized with the first clock signal and a switching signal synchronized with the second clock signal as a selection switching signal based on the signal, and a mask It is preferable that the clock signal selection means selects one of the first mask clock signal and the second mask clock signal as the selection clock signal based on the selection switching signal.
このようにすると、第1の信号同期生成手段によって第1のクロック信号に同期した切り替え信号、及び第2の信号同期生成手段によって第2のクロック信号に同期した切り替え信号のうちのいずれかを切り替え信号選択手段により選択することができる。このため、マスククロック信号がマスククロック信号選択手段によって切り替えられた際、切り替えられたマスククロック信号にハザード又はデューティー比崩れが生じることを抑制することができる。よって、前述の効果が確実に得られる。 In this case, either the switching signal synchronized with the first clock signal by the first signal synchronization generating means or the switching signal synchronized with the second clock signal by the second signal synchronization generating means is switched. It can be selected by the signal selection means. For this reason, when the mask clock signal is switched by the mask clock signal selection means, it is possible to suppress the occurrence of hazard or duty ratio collapse in the switched mask clock signal. Therefore, the above-described effect can be reliably obtained.
本発明の第3のデータ受信装置は、第2のクロック信号切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 A third data receiving apparatus of the present invention is a data receiving apparatus provided with at least one second clock signal switching device as a signal switching means, and outputs the first clock signal received from the outside to the signal switching means. First receiving means for outputting, second receiving means for outputting a second clock signal received from outside to the signal switching means, and transmitting means for transmitting the selected clock signal selected by the signal switching means to the outside. A data receiving device comprising at least the data receiving device.
第3のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第2のクロック信号切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the third data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. Further, since the signal switching means is composed of the second clock signal switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第2のデータバス切り替え装置は、第1のデータバスを通じて入力された第1のクロック信号を第1のマスク信号でマスクすることにより第1のマスククロック信号を生成する第1のクロック信号マスク手段と、第2のデータバスを通じて入力された第2のクロック信号を前第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する第2のクロック信号マスク手段と、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択するマスククロック信号選択手段と、切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択するデータ信号選択手段とを備えていることを特徴とするデータバス切り替え装置である。 The second data bus switching device of the present invention generates a first mask clock signal by masking a first clock signal input through the first data bus with a first mask signal. Signal masking means; second clock signal masking means for generating a second mask clock signal by masking a second clock signal input through the second data bus with a previous second mask signal; One of the first mask clock signal and the second mask clock signal is selected based on a switching signal for selecting one of the first clock signal and the second clock signal A mask clock signal selecting means for selecting as a clock signal, and a first clock input through the first data bus based on the switching signal Signal selection means for selecting one of the first data signal synchronized with the signal and the second data signal inputted through the second data bus and synchronized with the second clock signal as the selection data signal And a data bus switching device.
第2のデータバス切り替え装置によると、マスククロック信号選択手段によってクロック信号を選択する前の段階で、第1のクロック信号マスク手段により第1のクロック信号を第1のマスク信号でマスクした第1のマスククロック信号を生成できる。また、第2の
クロック信号マスク手段により第2のクロック信号を第2のマスク信号でマスクした第2のマスククロック信号を生成できる。このため、マスククロック信号選択手段によって切り替えられた第1のマスククロック信号又は第2のマスククロック信号にハザード又はデューティー比崩れが発生することを未然に防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号に同期したデータ信号を出力することにより、誤動作等の発生を防止することができる。
According to the second data bus switching device, the first clock signal masked by the first mask signal is masked by the first clock signal masking means before the clock signal is selected by the mask clock signal selecting means. The mask clock signal can be generated. Further, a second mask clock signal obtained by masking the second clock signal with the second mask signal can be generated by the second clock signal masking means. For this reason, it is possible to prevent occurrence of hazard or duty ratio breakdown in the first mask clock signal or the second mask clock signal switched by the mask clock signal selection means. Therefore, by outputting a data signal synchronized with a clock signal that does not cause a hazard or duty ratio failure, it is possible to prevent malfunctions and the like.
第2のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the second data bus switching device, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第2のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the second data bus switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
第2のデータバス切り替え装置において、第1のマスク信号を第1のクロック信号に同期させる第1の信号同期生成手段と、第2のマスク信号を第2のクロック信号に同期させる第2の信号同期生成手段とを更に備え、第1のクロック信号マスク手段は、第1のクロック信号に同期した第1のマスク信号で第1のクロック信号をマスクし、第2のクロック信号マスク手段は、第2のクロック信号に同期した第2のマスク信号で第2のクロック信号をマスクすることが好ましい。 In the second data bus switching device, first signal synchronization generating means for synchronizing the first mask signal with the first clock signal, and a second signal for synchronizing the second mask signal with the second clock signal Synchronization generating means, wherein the first clock signal masking means masks the first clock signal with a first mask signal synchronized with the first clock signal, and the second clock signal masking means comprises: The second clock signal is preferably masked with a second mask signal synchronized with the second clock signal.
このようにすると、入力された第1のマスク信号を第1の信号同期生成手段により第1のクロック信号に同期させることができると共に、入力された第2のマスク信号を第2の信号同期生成手段により第2のクロック信号に同期させることができる。その結果、第1のクロック信号マスク手段により、第1のクロック信号を第1のマスク信号で確実にマスクすることができる。すなわち、第1のクロック信号にハザード又はデューティー比崩れが生じることを抑制することができる。また、同様に、第2のクロック信号にハザード又はデューティー比崩れが生じることを抑制することができる。よって、前述の効果が確実に得られる。 In this way, the input first mask signal can be synchronized with the first clock signal by the first signal synchronization generating means, and the input second mask signal can be synchronized with the second signal generation. Means can be synchronized to the second clock signal. As a result, the first clock signal masking means can reliably mask the first clock signal with the first mask signal. That is, it is possible to suppress the occurrence of hazard or duty ratio collapse in the first clock signal. Similarly, it is possible to suppress the occurrence of hazard or duty ratio breakdown in the second clock signal. Therefore, the above-described effect can be reliably obtained.
第2のデータバス切り替え装置において、切り替え信号を第1のクロック信号に同期させる第1の信号同期生成手段と、切り替え信号を第2のクロック信号に同期させる第2の信号同期生成手段と、切り替え信号に基づいて、第1のクロック信号に同期した切り替え信号及び第2のクロック信号に同期した切り替え信号のうちのいずれか1つを選択切り替え信号として選択する切り替え信号選択手段とを更に備え、マスククロック信号選択手段は、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれか1つを選択クロック信号として選択し、データ信号選択手段は、選択切り替え信号に基づいて、第1のデータ信号及び第2のデータ信号のうちのいずれか1つを選択データ信号として選択することが好ましい。 In the second data bus switching device, the first signal synchronization generating means for synchronizing the switching signal with the first clock signal, the second signal synchronization generating means for synchronizing the switching signal with the second clock signal, and switching And a switching signal selection means for selecting one of a switching signal synchronized with the first clock signal and a switching signal synchronized with the second clock signal as a selection switching signal based on the signal, and a mask The clock signal selection unit selects one of the first mask clock signal and the second mask clock signal as the selection clock signal based on the selection switching signal, and the data signal selection unit selects the selection switching signal. Based on, select one of the first data signal and the second data signal as the selection data signal Rukoto is preferable.
このようにすると、第1の信号同期生成手段によって第1のクロック信号に同期した切り替え信号、及び第2の信号同期生成手段によって第2のクロック信号に同期した切り替え信号のうちのいずれかを切り替え信号選択手段により選択することができる。このため、マスククロック信号選択手段によってマスククロック信号が切り替えられた際に、切り替えられたマスククロック信号にハザード又はデューティー比崩れが生じることを抑制す
ることができる。よって、前述の効果が確実に得られる。
In this case, either the switching signal synchronized with the first clock signal by the first signal synchronization generating means or the switching signal synchronized with the second clock signal by the second signal synchronization generating means is switched. It can be selected by the signal selection means. For this reason, when the mask clock signal is switched by the mask clock signal selection means, it is possible to prevent the hazard or duty ratio from being lost in the switched mask clock signal. Therefore, the above-described effect can be reliably obtained.
本発明の第4のデータ受信装置は、第2のデータバス切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号及び第1のデータ信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号及び第2のデータ信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号及び選択データ信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 A fourth data receiving apparatus of the present invention is a data receiving apparatus provided with at least one second data bus switching device as a signal switching means, wherein the first clock signal and the first data signal received from the outside. Selected by the signal switching means, the second receiving means for outputting the second clock signal and the second data signal received from the outside to the signal switching means, and the signal switching means A data receiving apparatus comprising at least transmitting means for transmitting a selected clock signal and a selected data signal to the outside.
第4のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第2のデータバス切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。したがって、本発明の第4のデータ受信装置を、例えばDVI又はHDMIのようなクロック信号とデータ信号とを別個に伝送するデジタル伝送システムに採用した場合であっても、誤動作を生ずることなく複数のデジタル信号を確実に切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the fourth data receiving apparatus, one of the first clock signal received from the outside by the first receiving means and the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. Further, since the signal switching means is composed of the second data bus switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. Accordingly, even when the fourth data receiving apparatus of the present invention is adopted in a digital transmission system that separately transmits a clock signal and a data signal such as DVI or HDMI, a plurality of data receiving apparatuses are not caused without malfunction. The digital signal can be switched reliably. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第3のクロック信号切り替え装置は、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する第1の信号同期生成手段と、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する第2の信号同期生成手段と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、選択切り換え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択するクロック信号選択手段と、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する合成マスク信号生成手段と、合成マスク信号で選択クロック信号をマスクするクロック信号マスク手段とを備えていることを特徴とするクロック信号切り替え装置である。 According to the third clock signal switching device of the present invention, the first clock signal is selected based on the switching signal and the first clock signal for selecting one of the first clock signal and the second clock signal. First signal synchronization generating means for generating a first mask signal and a first synchronization switching signal that are respectively synchronized with the clock signal, and a second clock signal based on the switching signal and the second clock signal, respectively. One of the first synchronization switching signal and the second synchronization switching signal based on the second signal synchronization generating means for generating the second mask signal and the second synchronization switching signal, and the switching signal. Synchronization switching signal selection means for selecting one as a selection switching signal, and based on the selection switching signal, one of the first clock signal and the second clock signal A clock signal selecting means for selecting one of them as a selected clock signal, and a synthesis for generating a synthesized mask signal having a mask portion as an overlapping portion of the mask portion of the first mask signal and the mask portion of the second mask signal A clock signal switching device comprising mask signal generation means and clock signal mask means for masking a selected clock signal with a combined mask signal.
第3のクロック信号切り替え装置によると、第1の信号同期生成手段により、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成することができると共に、第2の信号同期生成手段により、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成することができる。また、同期切り替え信号選択手段によって選択切り替え信号として選択された第1の同期切り替え信号又は第2の同期切り替え信号に基づいて、第1のクロック信号又は第2のクロック信号をクロック信号選択手段により選択クロック信号として選択できる。更に、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を合成マスク信号生成手段によって生成できると共に、クロック信号マスク手段により、選択クロック信号を生成された合成マスク信号でマスクすることができる。すなわち、クロック信号選択手段によって選択クロック信号を選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分を除去することができる。言い換えると、ハザード又はデューティー比崩れの生じる可能性がある選択クロック信号の該当部分をマスクする合成マスク信号によって、選択クロック信号をマスクすることができる。これによって、発生したハザード又はデューティー比崩れを出力クロック信号の出力される前の段階で除去することができる。この結果、ハザード又はデューティー比崩れの除去された選択クロック信号を出力クロック信号として出力できる。 According to the third clock signal switching device, the first signal synchronization generating means can generate the first mask signal and the first synchronization switching signal respectively synchronized with the first clock signal, and the second The second mask signal and the second synchronization switching signal that are respectively synchronized with the second clock signal can be generated by the signal synchronization generation means. Further, the first clock signal or the second clock signal is selected by the clock signal selection unit based on the first synchronization switching signal or the second synchronization switching signal selected as the selection switching signal by the synchronization switching signal selection unit. It can be selected as a clock signal. Further, a combined mask signal having a mask portion that is an overlapping portion of the mask portion of the first mask signal and the mask portion of the second mask signal can be generated by the combined mask signal generating means, and the selected clock can be selected by the clock signal mask means. The signal can be masked with the generated composite mask signal. In other words, at a stage after the selection clock signal is selected by the clock signal selection means, it is possible to remove a corresponding portion of the selection clock signal in which a hazard or duty ratio collapse may have occurred. In other words, the selected clock signal can be masked by the combined mask signal that masks the corresponding portion of the selected clock signal that may cause a hazard or duty ratio collapse. Thus, the generated hazard or duty ratio collapse can be removed at a stage before the output clock signal is output. As a result, the selected clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal.
第3のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the third clock signal switching device, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第3のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the third clock signal switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第5のデータ受信装置は、第3のクロック信号切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 A fifth data receiving apparatus of the present invention is a data receiving apparatus including at least one third clock signal switching device as a signal switching unit, and outputs the first clock signal received from the outside to the signal switching unit. First receiving means for outputting, second receiving means for outputting a second clock signal received from outside to the signal switching means, and transmitting means for transmitting the selected clock signal selected by the signal switching means to the outside. A data receiving device comprising at least the data receiving device.
第5のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第3のクロック信号切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the fifth data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. In addition, since the signal switching means includes the third clock signal switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第2のクロック信号切り替え方法は、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成すると共に、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する工程と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する工程と、選択切り換え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択する工程と、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する工程と、選択クロック信号を合成マスク信号でマスクする工程とを備えていることを特徴とするクロック信号切り替え方法である。 The second clock signal switching method of the present invention is based on the first clock signal and the switching signal for selecting one of the first clock signal and the second clock signal. Generating a first mask signal and a first synchronization switching signal respectively synchronized with the clock signal, and a second mask signal synchronized with the second clock signal based on the switching signal and the second clock signal, and A step of generating a second synchronization switching signal, a step of selecting any one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal, and a selection switching Selecting one of the first clock signal and the second clock signal as a selected clock signal based on the signal; A step of generating a combined mask signal having a mask portion as an overlapping portion of the mask portion of the mask signal and the mask portion of the second mask signal, and a step of masking the selected clock signal with the combined mask signal. This is a characteristic clock signal switching method.
第2のクロック信号切り替え方法によると、入力された第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号、並びに入力された第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成できる。また、生成された第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択できると共に、選択された選択切り替え信号に基づいて、
第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択できる。更に、生成された第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成できると共に、生成された合成マスク信号で選択クロック信号をマスクすることができる。すなわち、第1のクロック信号又は第2のクロック信号を選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分を合成マスク信号で除去することができる。言い換えると、ハザード又はデューティー比崩れの生じる可能性がある選択クロック信号の該当部分をマスクする合成マスク信号によって、選択クロック信号をマスクすることができる。これによって、発生したハザード又はデューティー比崩れを出力クロック信号が出力される前の段階で除去することができる。この結果、ハザード又はデューティー比崩れの除去された選択クロック信号を出力クロック信号として出力できる。
According to the second clock signal switching method, the first mask signal and the first synchronization switching signal respectively synchronized with the input first clock signal and the second clock signal synchronized with the input second clock signal. The mask signal and the second synchronization switching signal can be generated. Further, either the generated first synchronization switching signal or the second synchronization switching signal can be selected as a selection switching signal, and based on the selected selection switching signal,
Either the first clock signal or the second clock signal can be selected as the selected clock signal. Furthermore, it is possible to generate a combined mask signal in which a mask portion is an overlapping portion of the mask portion of the generated first mask signal and the mask portion of the second mask signal, and a selection clock signal is generated using the generated combined mask signal. Can be masked. That is, at a stage after the first clock signal or the second clock signal is selected as the selected clock signal, the corresponding portion of the selected clock signal that may have a hazard or duty ratio collapse is removed by the composite mask signal. be able to. In other words, the selected clock signal can be masked by the combined mask signal that masks the corresponding portion of the selected clock signal that may cause a hazard or duty ratio collapse. As a result, the generated hazard or duty ratio collapse can be removed at a stage before the output clock signal is output. As a result, the selected clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal.
第2のクロック信号切り替え方法において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the second clock signal switching method, the first clock signal and the second clock signal preferably have different frequencies.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第2のクロック信号切り替え方法において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the second clock signal switching method, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第3のデータバス切り替え装置は、第1のデータバスを通じて入力された第1のクロック信号及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する第1の信号同期生成手段と、切り替え信号に基及び第2のクロック信号づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する第2の信号同期生成手段と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、選択切り換え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択するクロック信号選択手段と、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する合成マスク信号生成手段と、選択クロック信号を合成マスク信号でマスクするクロック信号マスク手段と、選択切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択するデータ信号選択手段とを備えていることを特徴とするデータバス切り替え装置である。 The third data bus switching device according to the present invention selects either one of the first clock signal input through the first data bus and the second clock signal input through the second data bus. A first signal synchronization generating means for generating a first mask signal and a first synchronization switching signal respectively synchronized with the first clock signal based on the switching signal and the first clock signal for switching, and a switching signal And a second signal synchronization generating means for generating a second mask signal and a second synchronization switching signal respectively synchronized with the second clock signal based on the second clock signal, and based on the switching signal, Synchronization switching signal selection means for selecting any one of the first synchronization switching signal and the second synchronization switching signal as the selection switching signal, and the selection switching. A clock signal selection unit that selects one of the first clock signal and the second clock signal as a selection clock signal based on the signal; a mask portion of the first mask signal; and a second mask signal Based on the selection switching signal, a synthesis mask signal generation unit that generates a synthesis mask signal that uses a portion overlapping with the mask portion as a mask portion, a clock signal mask unit that masks the selected clock signal with the synthesis mask signal, Any one of the first data signal input through the data bus and synchronized with the first clock signal and the second data signal input through the second data bus and synchronized with the second clock signal A data bus switching device comprising: a data signal selection means for selecting a signal as a selection data signal.
第3のデータバス切り替え装置によると、第1のデータバスを通じて入力された第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を第1の信号同期生成手段により生成することができると共に、第2のデータバスを通じて入力された第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を第2の信号同期生成手段により生成できる。また、同期切り替え信号選択手段によって選択切り替え信号として選択された第1の同期切り替え信号又は第2の同期切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかをクロック信号選択手段により選択クロック信号として選択できる。更に、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号
を合成マスク信号生成手段によって生成できると共に、クロック信号マスク手段により、選択クロック信号を生成された合成マスク信号でマスクすることができる。すなわち、クロック信号選択手段によって選択クロック信号を選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当する部分を除去することができる。言い換えると、ハザード又はデューティー比崩れの生じる可能性がある選択クロック信号の該当部分をマスクする合成マスク信号によって、選択クロック信号をマスクすることができる。これによって、ハザード又はデューティ比崩れの発生を防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号に同期したデータ信号を出力することにより、誤動作等の発生を防止することができる。
According to the third data bus switching device, the first signal synchronization generating means generates the first mask signal and the first synchronization switching signal that are respectively synchronized with the first clock signal input through the first data bus. In addition, the second mask signal and the second synchronization switching signal synchronized with the second clock signal input through the second data bus can be generated by the second signal synchronization generation means. Further, based on the first synchronization switching signal or the second synchronization switching signal selected as the selection switching signal by the synchronization switching signal selection unit, either the first clock signal or the second clock signal is clocked. The selection clock signal can be selected by the signal selection means. Further, a combined mask signal having a mask portion that is an overlapping portion of the mask portion of the first mask signal and the mask portion of the second mask signal can be generated by the combined mask signal generating means, and the selected clock can be selected by the clock signal mask means. The signal can be masked with the generated composite mask signal. In other words, at a stage after the selection clock signal is selected by the clock signal selection means, it is possible to remove a corresponding portion of the selection clock signal that may have caused a hazard or a duty ratio collapse. In other words, the selected clock signal can be masked by the combined mask signal that masks the corresponding portion of the selected clock signal that may cause a hazard or duty ratio collapse. As a result, it is possible to prevent the occurrence of hazard or duty ratio breakdown. Therefore, by outputting a data signal synchronized with a clock signal that does not cause a hazard or duty ratio failure, it is possible to prevent malfunctions and the like.
第3のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the third data bus switching device, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第3のデータバス切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the third data bus switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第6のデータ受信装置は、第3のデータバス切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号及び第1のデータ信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号及び第2のデータ信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号及び選択データ信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 A sixth data receiving device of the present invention is a data receiving device including at least one third data bus switching device as a signal switching means, and includes a first clock signal and a first data signal received from the outside. Selected by the signal switching means, the second receiving means for outputting the second clock signal and the second data signal received from the outside to the signal switching means, and the signal switching means A data receiving apparatus comprising at least transmitting means for transmitting a selected clock signal and a selected data signal to the outside.
第6のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第3のデータバス切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。したがって、本発明の第6のデータ受信装置を、例えばDVI又はHDMIのようなクロック信号とデータ信号とを別個に伝送するデジタル伝送システムに採用した場合であっても、誤動作を生ずることなく複数のデジタル信号を確実に切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the sixth data receiving apparatus, one of the first clock signal received from the outside by the first receiving means and the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. Further, since the signal switching means is composed of the third data bus switching device, the clock signal can be switched without causing any hazard or duty ratio collapse. Therefore, even when the sixth data receiving apparatus of the present invention is employed in a digital transmission system that separately transmits a clock signal and a data signal such as DVI or HDMI, a plurality of data receiving apparatuses are not caused without malfunction. The digital signal can be switched reliably. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第2のデータバス切り替え方法は、第1のデータバスを通じて入力された第1のクロック信号及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号及び第1のクロック信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成すると共に、切り替え信号及び第2のクロック信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する工程と、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれか1
つを選択切り替え信号として選択する工程と、選択切り換え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択する工程と、第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する工程と、選択クロック信号を合成マスク信号でマスクする工程と、選択切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択する工程とを備えていることを特徴とするデータバス切り替え方法である。
According to the second data bus switching method of the present invention, one of the first clock signal input through the first data bus and the second clock signal input through the second data bus is selected. Based on the switching signal and the first clock signal for generating the first mask signal and the first synchronization switching signal respectively synchronized with the first clock signal, the switching signal and the second clock signal are generated. And a step of generating a second mask signal and a second synchronization switching signal respectively synchronized with the second clock signal, and the first synchronization switching signal and the second synchronization switching signal based on the switching signal. Any one of them
Selecting one as the selection switching signal, selecting one of the first clock signal and the second clock signal as the selection clock signal based on the selection switching signal, and a first mask Based on the selection switching signal, a step of generating a combined mask signal having an overlapping portion of the mask portion of the signal and the mask portion of the second mask signal as a mask portion, a step of masking the selected clock signal with the combined mask signal, and Any of the first data signal input through the first data bus and synchronized with the first clock signal and the second data signal input through the second data bus and synchronized with the second clock signal And a method of selecting one of them as a selection data signal.
第2のデータバス切り替え方法によると、第1のデータバスを通じて入力された第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号、及び第2のデータバスを通じて入力された第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成できる。また、生成された第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択できると共に、選択された選択切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択できる。更に、生成された第1のマスク信号のマスク部分と第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成できると共に、生成された合成マスク信号で選択クロック信号をマスクすることができる。すなわち、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分を合成マスク信号で除去することができる。言い換えると、ハザード又はデューティー比崩れの生じる可能性がある選択クロック信号の該当部分をマスクする合成マスク信号で選択クロック信号をマスクすることにより、発生したハザード又はデューティー比崩れを除去することができる。したがって、ハザード又はデューティー比崩れのないクロック信号に同期したデータ信号を出力することにより、誤動作等の発生を防止することができる。 According to the second data bus switching method, the first mask signal and the first synchronization switching signal respectively synchronized with the first clock signal input through the first data bus and the second data bus are input. The second mask signal and the second synchronization switching signal synchronized with the second clock signal can be generated. In addition, any one of the generated first synchronization switching signal and second synchronization switching signal can be selected as the selection switching signal, and the first clock signal and the second clock are selected based on the selected selection switching signal. Can be selected as the selected clock signal. Furthermore, it is possible to generate a combined mask signal in which a mask portion is an overlapping portion of the mask portion of the generated first mask signal and the mask portion of the second mask signal, and a selection clock signal is generated using the generated combined mask signal. Can be masked. That is, at a stage after selecting either the first clock signal or the second clock signal as the selected clock signal, the corresponding portion of the selected clock signal in which the hazard or the duty ratio may be broken is synthesized. It can be removed with a mask signal. In other words, the generated hazard or duty ratio collapse can be removed by masking the selected clock signal with the combined mask signal that masks the corresponding portion of the selected clock signal that may cause a hazard or duty ratio collapse. Therefore, by outputting a data signal synchronized with a clock signal that does not cause a hazard or duty ratio failure, it is possible to prevent malfunctions and the like.
第2のデータバス切り替え方法において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the second data bus switching method, it is preferable that the frequencies of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第2のデータバス切り替え方法において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the second data bus switching method, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第4のクロック信号切り替え装置は、第1のデータバスを通じて入力された第1のクロック信号及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択するクロック信号選択手段と、入力されたマスク信号で選択クロック信号をマスクするクロック信号マスク手段とを備えていることを特徴とするクロック信号切り替え装置である。 The fourth clock signal switching device according to the present invention selects either one of the first clock signal input through the first data bus and the second clock signal input through the second data bus. A clock signal selecting means for selecting one of the first clock signal and the second clock signal as a selected clock signal based on the switching signal for performing the selection, and the selected clock signal by the inputted mask signal A clock signal switching device comprising: a clock signal masking means for masking.
第4のクロック信号切り替え装置によると、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかをクロック信号選択手段により選択クロック信号として選択できる。また、クロック信号マスク手段によって、入力され
たマスク信号で選択クロック信号をマスクできる。すなわち、クロック信号選択手段によって選択クロック信号を選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分をマスク信号により除去することができる。
According to the fourth clock signal switching device, either the first clock signal or the second clock signal can be selected as the selected clock signal by the clock signal selection unit based on the input switching signal. The clock signal masking means can mask the selected clock signal with the input mask signal. In other words, at a stage after the selection clock signal is selected by the clock signal selection means, the corresponding portion of the selection clock signal that may have a hazard or a duty ratio collapse can be removed by the mask signal.
第4のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the fourth clock signal switching device, the first clock signal and the second clock signal preferably have different frequencies.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第4のクロック信号切り替え装置において、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the fourth clock signal switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第7のデータ受信装置は、第4のクロック信号切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 A seventh data receiving apparatus of the present invention is a data receiving apparatus including at least one fourth clock signal switching device as a signal switching unit, and outputs the first clock signal received from the outside to the signal switching unit. First receiving means for outputting, second receiving means for outputting a second clock signal received from outside to the signal switching means, and transmitting means for transmitting the selected clock signal selected by the signal switching means to the outside. A data receiving device comprising at least the data receiving device.
第7のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第4のクロック信号切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the seventh data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. Further, since the signal switching means is composed of the fourth clock signal switching device, the clock signal can be switched without causing a hazard or a duty ratio collapse. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第4のデータバス切り替え装置は、第1のデータバスを通じて入力された第1のクロック信号及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれか1つを選択するための切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択するクロック信号選択手段と、入力されたマスク信号で選択クロック信号をマスクするクロック信号マスク手段と、切り替え信号に基づいて、第1のデータバスを通じて入力され且つ第1のクロック信号に同期した第1のデータ信号及び第2のデータバスを通じて入力され且つ第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択するデータ信号選択手段とを備えていることを特徴とするデータバス切り替え装置である。 The fourth data bus switching device according to the present invention selects either one of the first clock signal input through the first data bus and the second clock signal input through the second data bus. A clock signal selecting means for selecting one of the first clock signal and the second clock signal as a selected clock signal based on the switching signal for performing the selection, and the selected clock signal by the inputted mask signal Clock signal masking means for masking, and a second data clock and a first data signal input through the first data bus and synchronized with the first clock signal and input through the second data bus based on the switching signal Data signal selecting means for selecting any one of the second data signals synchronized with the signal as the selected data signal. A data bus switching device according to claim Rukoto.
第4のデータバス切り替え装置によると、第1のデータバスを通じて入力された第1のクロック信号、及び第2のデータバスを通じて入力された第2のクロック信号のうちのいずれかをクロック信号選択手段により選択クロック信号として選択できる。また、クロック信号マスク手段によって、選択クロック信号をマスク信号でマスクできる。すなわち、クロック信号選択手段によって選択クロック信号を選択した後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分をマスク信号により除去することができる。したがって、ハザード又はデューティー比崩れのないクロック信
号に同期したデータ信号を出力することにより、誤動作等の発生を防止することができる。
According to the fourth data bus switching device, one of the first clock signal input through the first data bus and the second clock signal input through the second data bus is used as the clock signal selection means. Can be selected as the selected clock signal. Further, the clock signal masking means can mask the selected clock signal with the mask signal. In other words, at a stage after the selection clock signal is selected by the clock signal selection means, the corresponding portion of the selection clock signal that may have a hazard or a duty ratio collapse can be removed by the mask signal. Therefore, by outputting a data signal synchronized with a clock signal that does not cause a hazard or duty ratio failure, it is possible to prevent malfunctions and the like.
第4のデータバス切り替え装置は、第1のクロック信号及び第2のクロック信号の周波数が互いに異なることが好ましい。 In the fourth data bus switching device, the first clock signal and the second clock signal preferably have different frequencies.
このようにすると、第1のクロック信号の周波数と第2のクロック信号の周波数とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the frequency of the first clock signal is different from the frequency of the second clock signal, the above-described effects can be reliably obtained.
第4のデータバス切り替え装置は、第1のクロック信号及び第2のクロック信号の位相が互いに異なることが好ましい。 In the fourth data bus switching device, it is preferable that the phases of the first clock signal and the second clock signal are different from each other.
このようにすると、第1のクロック信号の位相と第2のクロック信号の位相とが異なる場合であっても、前述の効果が確実に得られる。 In this case, even if the phase of the first clock signal is different from the phase of the second clock signal, the above-described effect can be reliably obtained.
本発明の第8のデータ受信装置は、第4のデータバス切り替え装置を信号切り替え手段として少なくとも1つ備えたデータ受信装置であって、外部から受信した第1のクロック信号及び第1のデータ信号を信号切り替え手段に出力する第1の受信手段と、外部から受信した第2のクロック信号及び第2のデータ信号を信号切り替え手段に出力する第2の受信手段と、信号切り替え手段によって選択された選択クロック信号及び選択データ信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置である。 An eighth data receiving apparatus of the present invention is a data receiving apparatus including at least one fourth data bus switching device as a signal switching means, and includes a first clock signal and a first data signal received from the outside. Selected by the signal switching means, the second receiving means for outputting the second clock signal and the second data signal received from the outside to the signal switching means, and the signal switching means A data receiving apparatus comprising at least transmitting means for transmitting a selected clock signal and a selected data signal to the outside.
第8のデータ受信装置によると、第1の受信手段によって外部から受信した第1のクロック信号、及び第2の受信手段によって外部から受信した第2のクロック信号のうちのいずれかを信号切り替え手段によって選択できると共に、選択されたクロック信号を送信手段によって外部に送信できる。また、信号切り替え手段は第4のデータバス切り替え装置からなるため、クロック信号にハザード又はデューティー比崩れを生じさせることなく切り替えることができる。したがって、本発明の第8のデータ受信装置を、例えばDVI又はHDMIのようなクロック信号とデータ信号とを別個に伝送するデジタル伝送システムに採用した場合であっても、誤動作を生ずることなく複数のデジタル信号を確実に切り替えることができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to the eighth data receiving apparatus, either the first clock signal received from the outside by the first receiving means or the second clock signal received from the outside by the second receiving means is signal switching means. The selected clock signal can be transmitted to the outside by the transmission means. Further, since the signal switching means is composed of the fourth data bus switching device, the clock signal can be switched without causing any hazard or duty ratio collapse. Accordingly, even when the eighth data receiving apparatus of the present invention is adopted in a digital transmission system that separately transmits a clock signal and a data signal such as DVI or HDMI, a plurality of data receiving apparatuses are not caused without malfunction. The digital signal can be switched reliably. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
本発明の第1のクロック信号切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the first clock signal switching device of the present invention, hazard or duty ratio collapse may occur at a stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第2のクロック信号切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the second clock signal switching device of the present invention, a hazard or duty ratio collapse may occur at a stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第3のクロック信号切り替え装置によると、入力された第1のクロック信号及
び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。
According to the third clock signal switching device of the present invention, at the stage after selecting one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output.
本発明の第4のクロック信号切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。 According to the fourth clock signal switching device of the present invention, at the stage after selecting any one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output.
本発明の第1のクロック信号切り替え方法によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the first clock signal switching method of the present invention, a hazard or duty ratio collapse may occur at a stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第2のクロック信号切り替え方法によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。 According to the second clock signal switching method of the present invention, at the stage after selecting one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output.
本発明の第1のデータバス切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号にデータ信号を同期させることができる。 According to the first data bus switching device of the present invention, hazard or duty ratio collapse may occur at a stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal. Therefore, the data signal can be synchronized with the clock signal without any hazard or duty ratio collapse.
本発明の第2のデータバス切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the second data bus switching device of the present invention, the hazard or duty ratio collapse may occur at the stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第3のデータバス切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。したがって、クロック信号の切り替
えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。
According to the third data bus switching device of the present invention, at the stage after selecting any one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第4のデータバス切り替え装置によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the fourth data bus switching device of the present invention, at the stage after selecting any one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第1のデータバス切り替え方法によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択する前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号の該当部分をそれぞれ除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。したがって、ハザード又はデューティー比崩れのないクロック信号にデータ信号を同期させることができる。 According to the first data bus switching method of the present invention, a hazard or duty ratio collapse may occur at a stage before selecting any one of the input first clock signal and second clock signal. The corresponding portions of the first clock signal and the second clock signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal. Therefore, the data signal can be synchronized with the clock signal without any hazard or duty ratio collapse.
本発明の第2のデータバス切り替え方法によると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを選択クロック信号として選択した後の段階で、ハザード又はデューティー比崩れの生じている可能性がある選択クロック信号の該当部分を除去することができる。よって、その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。すなわち、クロック信号の切り替えによってハザード又はデューティー比崩れが発生した選択クロック信号の該当部分を、出力する前の段階で未然に除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 According to the second data bus switching method of the present invention, at the stage after selecting one of the input first clock signal and second clock signal as the selected clock signal, the hazard or duty ratio It is possible to remove a corresponding portion of the selected clock signal that may have collapsed. Therefore, after that, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal. That is, the corresponding portion of the selected clock signal in which the hazard or duty ratio collapse has occurred due to the switching of the clock signal can be removed in advance before the output. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
本発明の第1〜第8のデータ受信装置のそれぞれによると、入力された第1のクロック信号及び第2のクロック信号のうちのいずれか1つを、ハザード又はデューティー比崩れを生じさせることなく選択することができる。また、第1の受信手段、第2の受信手段、及び信号切り替え手段からなる1つのセットを例えばN個備えることにより、(N−1)個のクロック信号を受信することができると共に、受信された(N−1)個のクロック信号のうちのいずれか1つをN個の信号切り替え手段により選択することができる。 According to each of the first to eighth data receiving apparatuses of the present invention, any one of the input first clock signal and second clock signal is not caused to cause a hazard or a duty ratio collapse. You can choose. In addition, by providing, for example, N sets of first receiving means, second receiving means, and signal switching means, (N-1) clock signals can be received and received. Any one of the (N-1) clock signals can be selected by N signal switching means.
(第1の実施形態)
以下、本発明の第1の実施形態に係るクロック信号切り替え装置について図面を参照しながら説明する。
(First embodiment)
Hereinafter, a clock signal switching device according to a first embodiment of the present invention will be described with reference to the drawings.
図1は、第1の実施形態に係るクロック信号切り替え装置の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the clock signal switching device according to the first embodiment.
図1に示すように、第1の実施形態に係るクロック信号切り替え装置100は、第1の信号同期生成手段110a及び第2の信号同期生成手段110bと、第1のクロック信号マスク手段120a及び第2のクロック信号マスク手段120bと、同期切り替え信号選択手段130と、マスククロック信号選択手段140とから構成される。
As shown in FIG. 1, the clock
上記の構成により、クロック信号切り替え装置100は、第1のクロック信号、第2のクロック信号、及び切り替え信号を入力として、第1のクロック信号及び第2のクロック信号のうちのいずれか1つを出力する。
With the above configuration, the clock
具体的に、第1の信号同期生成手段110aは、入力された第1のクロック信号及び切り替え信号に基づいて、第1のマスク信号及び第1の同期切り替え信号を生成する。一方、第2の信号同期生成手段110bは、入力された第2のクロック信号及び切り替え信号に基づいて、第2のマスク信号及び第2の同期切り替え信号を生成する。また、第1のクロック信号マスク手段120aは、第1の信号同期生成手段110aによって生成された第1のマスク信号で第1のクロック信号をマスクすることにより、第1のマスククロック信号を生成する。一方、第2のクロック信号マスク手段120bは、第2の信号同期生成手段110bによって生成された第2のマスク信号で第2のクロック信号をマスクすることにより、第2のマスククロック信号を生成する。また、同期切り替え信号選択手段130は、入力された切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。また、マスククロック信号選択手段140は、同期切り替え信号選択手段130によって選択された選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択クロック信号として選択すると共に出力する。
Specifically, the first signal
以下、上記の機能を実現する具体的な回路構成、及び各構成要素の動作を説明する。 Hereinafter, a specific circuit configuration for realizing the above functions and operations of each component will be described.
図2は、第1の信号同期生成手段110aの機能を実現する第1の信号同期生成回路111aを示す図である。尚、第2の信号同期生成手段110bの機能を実現する回路構成については第1の信号同期生成手段110aと同様であるため説明を省略する。
FIG. 2 is a diagram showing a first signal
図2に示すように、第1の信号同期生成回路111aは、第1のフリップフロップ112aと、第2のフリップフロップ113aと、排他的論理和回路114aとから構成される。
As shown in FIG. 2, the first signal
第1のフリップフロップ112aは、切り替え信号及び第1のクロック信号を入力として、切り替え信号を第1のクロック信号のネガティブエッジ(信号の立ち下がり)に同期させた第1の遅延切り替え信号を出力する。第2のフリップフロップ113aは、第1の遅延切り替え信号及び第1のクロック信号を入力とし、第1の遅延切り替え信号を第1のクロック信号の1周期分遅延させた第1の同期切り替え信号を出力する。排他的論理和回路114aは、第1の遅延切り替え信号及び第1の同期切り替え信号を入力とし、第1の遅延切り替え信号と第1の同期切り替え信号との排他的論理和である第1のマスク信号を出力する。
The first flip-flop 112a receives the switching signal and the first clock signal, and outputs a first delay switching signal in which the switching signal is synchronized with the negative edge (the falling edge of the signal) of the first clock signal. . The second flip-
次に、上記の第1の信号同期生成回路111aを伝達する信号の波形を、図3に示すタイミングチャートを用いて説明する。
Next, the waveform of the signal transmitted through the first signal
図3は、図2に示すA1 、B、C1 、D1 及びE1 を伝達する信号のタイミングチャートである。 FIG. 3 is a timing chart of signals transmitting A 1 , B, C 1 , D 1 and E 1 shown in FIG.
図3に示すように、まず時刻T1 において、切り替え信号(B)がhighレベルからlowレベルに変化すると、第1のフリップフロップ112aから出力される第1の遅延切り替え信号(C1 )が、第1のクロック信号(A1 )の最初のネガティブエッジに(時刻T2 )において、highレベルからlowレベルに変化する。時刻T2 において第1の遅延切り替え信号(C1 )がhighレベルからlowレベルに変化すると、第2のフリップフロップ113aから出力される第1の同期切り替え信号(D1 )が、時刻T2 よりも第1のクロック信号(A1 )の1周期分遅延した時刻T3 においてhighレベルからlowレベルに変化する。すなわち、第1の同期切り替え信号(D1 )には、第1の遅延切り替え信号(C1 )よりも第1のクロック信号(A1 )の1周期分の遅延がある。第
1のマスク信号(E1 )は、第1の遅延切り替え信号(C1 )と第1の同期切り替え信号(D1 )との排他的論理和であるため、第1の遅延切り替え信号(C1 )と第1の同期切り替え信号(D1 )とが異なるレベルにある時刻T2 から時刻T3 までの間lowレベルになる。すなわち、第1のマスク信号(E1 )は、切り替え信号(B)がhighレベルからlowレベルに変化した後における第1のクロック信号(A1 )の最初のネガティブエッジ(時刻T2 )から2つ目のネガティブエッジ(時刻T3 )までの間lowレベルになる。
As shown in FIG. 3, first , when the switching signal (B) changes from a high level to a low level at time T 1 , the first delay switching signal (C 1 ) output from the first flip-flop 112a is: At the first negative edge of the first clock signal (A 1 ) (at time T 2 ), the high level changes to the low level. When the first delay switching signal (C 1 ) changes from the high level to the low level at time T 2 , the first synchronization switching signal (D 1 ) output from the second flip-
一方、時刻T4 において、切り替え信号(B)がlowレベルからhighレベルに変化した場合においても同様である。すなわち、時刻T4 において、切り替え信号(B)がlowレベルからhighレベルに変化すると、切り替え信号(B)がlowレベルからhighレベルに変化した後における第1のクロック信号(A1 )の最初のネガティブエッジ(時刻T5 )に、第1の遅延切り替え信号(C1 )がlowレベルからhighレベルに変化すると共に、マスク信号(E1 )がhighレベルからlowレベルに変化する。また、切り替え信号(B)がlowレベルからhighレベルに変化した後における第1のクロック信号(A1 )の2つ目のネガティブエッジ(時刻T6 )において、第1の同期切り替え信号(D1 )がlowレベルからhighレベルに変化すると共に、第1のマスク信号(E1 )もまたlowレベルからhighレベルに変化する。よって、第1のマスク信号(E1 )は、切り替え信号(B)がlowレベルからhighレベルに変化した後における第1のクロック信号(A1 )の最初のネガティブエッジ(時刻T5 )から2つ目のネガティブエッジ(時刻T6 )までの間lowレベルになる。尚、第2の信号同期生成手段110bの機能を実現する第2の信号同期生成回路を伝達する信号は、第1の信号同期生成回路111aと同様である。
At time T 4, is the same in the case where the switching signal (B) is changed from a low level to a high level. That is, when the switching signal (B) changes from the low level to the high level at time T 4 , the first clock signal (A 1 ) after the switching signal (B) changes from the low level to the high level. At the negative edge (time T 5 ), the first delay switching signal (C 1 ) changes from the low level to the high level, and the mask signal (E 1 ) changes from the high level to the low level. Further, at the second negative edge (time T 6 ) of the first clock signal (A 1 ) after the switching signal (B) has changed from the low level to the high level, the first synchronization switching signal (D 1 ) Changes from the low level to the high level, and the first mask signal (E 1 ) also changes from the low level to the high level. Therefore, the first mask signal (E 1 ) is 2 from the first negative edge (time T 5 ) of the first clock signal (A 1 ) after the switching signal (B) changes from the low level to the high level. It goes low until the first negative edge (time T 6 ). The signal transmitted through the second signal synchronization generation circuit that realizes the function of the second signal synchronization generation means 110b is the same as that of the first signal
図4は、図1に示すクロック信号切り替え装置100の機能を実現するクロック信号切り替え回路101の構成を示す図である。
FIG. 4 is a diagram showing a configuration of the clock
図4に示すように、クロック信号切り替え回路101は、図2に示す第1の信号同期生成回路111a及び図2と同様の回路構成からなる第2の信号同期生成回路111bと、第1の論理積回路121a及び第2の論理積回路121bと、第1のマルチプレクサ131と、第2のマルチプレクサ141とから構成される。
As shown in FIG. 4, the clock
第1の論理積回路121aは、第1のクロック信号及び第1の信号同期生成回路111aにおいて生成された第1のマスク信号を入力とし、第1のマスク信号と第1のクロック信号との論理積である第1のマスククロック信号を生成する。一方、第2の論理積回路121bは、第2のクロック信号及び第2の信号同期生成回路111bにおいて生成された第2のマスク信号を入力とし、第2のマスク信号と第2のクロック信号との論理積である第2のマスククロック信号を生成する。また、第1のマルチプレクサ131は、切り替え信号、第1の同期切り替え信号、及び第2の同期切り替え信号を入力とし、入力された切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。具体的に、第1のマルチプレクサ131は、切り替え信号がhighレベルのときは第1の同期切り替え信号を選択切り替え信号として選択し、反対に切り替え信号がlowレベルのときは第2の同期切り替え信号を選択切り替え信号として選択する。また、第2のマルチプレクサ141は、選択切り替え信号、第1のマスククロック信号、及び第2のマスククロック信号を入力とし、選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを出力クロック信号として選択すると共に出力する。具体的に、第2のマルチプレクサ141は、選択切り替え信号がhighレベルのときは第1のマスククロック信号を選択し、反対に選択切り替え信号がlowレベルのときは第2のマスククロック信号を選択する。
The first AND
次に、上記のクロック信号切り替え回路101を伝達する信号の波形を、図5に示すタイミングチャートを用いて説明する。
Next, the waveform of the signal transmitted through the clock
図5は、クロック信号切り替え回路101から出力される出力クロック信号を、第1のクロック信号から第2のクロック信号に切り替える場合の各信号のタイミングチャートである。尚、図5におけるA1 、A2 、B、D1 、D2 、E1 、E2 、F1 、F2 、G、及びHは、それぞれ図4に示すアルファベットに対応している。
FIG. 5 is a timing chart of each signal when the output clock signal output from the clock
図5に示すように、切り替え信号(B)がhighレベルからlowレベルに変化する時刻T10に至る前は、切り替え信号(B)はhighレベルであるため、第1のマルチプレクサ131において、第1の同期切り替え信号(D1 )が選択切り替え信号(G)として選択されている。一方、切り替え信号(B)がhighレベルからlowレベルに変化する時刻T10に至った後は、切り替え信号(B)はlowレベルであるため、第1のマルチプレクサ131において、第2の同期切り替え信号(D2 )が選択切り替え信号(G)として選択される。このため、第2の同期切り替え信号(D2 )がhighレベルからlowレベルに変化する時刻T13において、選択切り替え信号(G)も同様にhighレベルからlowレベルに変化する。言い換えると、選択切り替え信号(G)の波形は、第2の同期切り替え信号(D2 )の波形と同一になる。これにより、図4に示す第1のマルチプレクサ131において第2の同期切り替え信号(D2 )が選択切り替え信号として選択されたことになる。
As shown in FIG. 5, before reaching the time T 10 the switching signal (B) is changed from a high level to a low level, since the switching signal (B) is a high level, the
また、図5を用いて説明したように、切り替え信号(B)が時刻T10においてhighレベルからlowレベルに変化すると、第1のマスク信号(E1 )は、切り替え信号(B)が変化した後における第1のクロック信号(A1 )の最初のネガティブエッジ(時刻T12)において、highレベルからlowレベルに変化すると共に、2つ目のネガティブエッジ(時刻T14)において、lowレベルからhighレベルに変化する。同様に、第2のマスク信号(E2 )は、切り替え信号(B)がhighレベルからlowレベルに変化した後における第2のクロック信号(A2 )の最初のネガティブエッジ(時刻T11)において、highレベルからlowレベルに変化すると共に、2つ目のネガティブエッジ(時刻T13)において、lowレベルからhighレベルに変化する。 Further, as described with reference to FIG. 5, when the changes from a high level to a low level in the switching signal (B) the time T 10, the first mask signal (E 1), the switching signal (B) is changed Later, at the first negative edge (time T 12 ) of the first clock signal (A 1 ), it changes from the high level to the low level, and at the second negative edge (time T 14 ), from the low level to the high level. Change to level. Similarly, the second mask signal (E 2 ) is detected at the first negative edge (time T 11 ) of the second clock signal (A 2 ) after the switching signal (B) has changed from the high level to the low level. The high level changes from the low level to the low level, and at the second negative edge (time T 13 ), the low level changes to the high level.
また、第1のマスククロック信号(F1 )は、第1のクロック信号(A1 )と第1のマスク信号(E1 )との論理積であるため、第1のマスク信号(E1 )がlowレベルである間(時刻T12〜T14)における第1のマスククロック信号(F1 )はlowレベルになる。よって、第1のマスク信号(E1 )がlowレベルである間(時刻T12〜T14)を除けば、第1のマスククロック信号(F1 )の波形と第1のクロック信号(A1 )の波形とは同一になる。言い換えると、第1のマスククロック信号(F1 )は、第1のクロック信号(A1 )の波形から波形10aを除去した波形になる。同様に、第2のマスククロック信号(F2 )は、第2のクロック信号(A2 )と第2のマスク信号(E2 )との論理積であるため、第2のマスク信号(E2 )がlowレベルである間(時刻T11〜T13)における第2のマスククロック信号(F2 )はlowレベルになる。よって、第2のマスク信号(E2 )がlowレベルである間(時刻T11〜T13)を除けば、第2のマスククロック信号(F2 )の波形と第2のクロック信号(A2 )の波形とは同一になる。言い換えると、第2のマスククロック信号(F2 )は、第2のクロック信号(A2 )の波形から波形10bを除去した波形になる。
The first mask clock signal (F 1 ) is a logical product of the first clock signal (A 1 ) and the first mask signal (E 1 ), and therefore the first mask signal (E 1 ). The first mask clock signal (F 1 ) is at the low level while the signal is at the low level (time T 12 to T 14 ). Therefore, the waveform of the first mask clock signal (F 1 ) and the first clock signal (A 1 ) are excluded except when the first mask signal (E 1 ) is at the low level (time T 12 to T 14 ). ) Waveform is the same. In other words, the first mask clock signal (F 1 ) has a waveform obtained by removing the
また、図4に示す第2のマルチプレクサ141において、選択切り替え信号(G)がhighレベルからlowレベルに変化する時刻T13に至る前は、第1のマスククロック信号(F1 )が出力クロック信号として選択されると共に、時刻T13に至った後は、第2の
マスククロック信号(F2 )が出力クロック信号として選択される。この際、切り替え元の第1のクロック信号(A1 )をマスクする第1のマスク信号(E1 )のネガティブエッジ(時刻T12)から、切り替え先の第2のクロック信号(A2 )をマスクする第2のマスク信号(E2 )のポジティブエッジ(時刻T13)までの間、第2のマルチプレクサ141から出力される出力クロック信号(H)はlowレベルになる。
In the
図6は、クロック信号切り替え回路101から出力される出力クロック信号を、第2のクロック信号から第1のクロック信号に切り替える場合の各信号のタイミングチャートである。尚、図6におけるA1 、A2 、B、D1 、D2 、E1 、E2 、F1 、F2 、G、及びHは、それぞれ図4に示す点に対応している。
FIG. 6 is a timing chart of each signal when the output clock signal output from the clock
図6に示すように、切り替え信号(B)がlowレベルからhighレベルに変化する時刻T15に至る前は、切り替え信号(B)はlowレベルであるため、第1のマルチプレクサ131において、第2の同期切り替え信号(D2 )が選択切り替え信号(G)として選択されている。一方、切り替え信号(B)がlowレベルからhighレベルに変化する時刻T15に至った後は、切り替え信号(B)はhighレベルであるため、第1のマルチプレクサ131において、第1の同期切り替え信号(D1 )が選択切り替え信号(G)として選択される。このため、第1の同期切り替え信号(D1 )がlowレベルからhighレベルに変化する時刻T18において、選択切り替え信号(G)も同様にlowレベルからhighレベルに変化する。言い換えると、選択切り替え信号(G)の波形と第1の同期切り替え信号(D1 )の波形とは同一になる。これにより、図4に示す第1のマルチプレクサ131において第1の同期切り替え信号(D1 )が選択されたことになる。
As shown in FIG. 6, the switching signal (B) is at the low level before the time T 15 when the switching signal (B) changes from the low level to the high level. The synchronization switching signal (D 2 ) is selected as the selection switching signal (G). On the other hand, after time T 15 when the switching signal (B) changes from the low level to the high level, the switching signal (B) is at the high level. Therefore, the
また、図5を用いて説明したように、切り替え信号(B)が時刻T15においてlowレベルからhighレベルに変化すると、第1のマスク信号(E1 )は、切り替え信号(B)が変化した後における第1のクロック信号(A1 )の最初のネガティブエッジ(時刻T16)において、highレベルからlowレベルに変化すると共に、2つ目のネガティブエッジ(時刻T18)において、lowレベルからhighレベルに変化する。同様に、第2のマスク信号(E2 )も、切り替え信号(B)がlowレベルからhighレベルに変化した後における第2のクロック信号(A2 )の最初のネガティブエッジ(時刻T17)において、highレベルからlowレベルに変化すると共に、2つ目のネガティブエッジ(時刻T19)において、lowレベルからhighレベルに変化する。 Further, as described with reference to FIG. 5, when the changes from a low level to a high level in the switching signal (B) the time T 15, the first mask signal (E 1), the switching signal (B) is changed Later, at the first negative edge (time T 16 ) of the first clock signal (A 1 ), it changes from the high level to the low level, and at the second negative edge (time T 18 ), from the low level to the high level. Change to level. Similarly, the second mask signal (E 2 ) is also detected at the first negative edge (time T 17 ) of the second clock signal (A 2 ) after the switching signal (B) has changed from the low level to the high level. The high level changes from the low level to the low level, and at the second negative edge (time T 19 ), the low level changes to the high level.
また、第1のマスククロック信号(F1 )は、第1のクロック信号(A1 )と第1のマスク信号(E1 )との論理積であるため、第1のマスク信号(E1 )がlowレベルである間(時刻T16〜T18)における第1のマスククロック信号(F1 )はlowレベルになる。よって、第1のマスク信号(E1 )がlowレベルである間(時刻T16〜T18)を除けば、第1のマスククロック信号(F1 )の波形と第1のクロック信号(A1 )の波形とは同一になる。言い換えると、第1のマスククロック信号(F1 )は、第1のクロック信号(A1 )の波形から波形11aを除去した波形になる。同様に、第2のマスククロック信号(F2 )は、第2のクロック信号(A2 )と第2のマスク信号(E2 )との論理積であるため、第2のマスク信号(E2 )がlowレベルである間(時刻T17〜T19)における第2のマスククロック信号(F2 )はlowレベルになる。よって、第2のマスク信号(E2 )がlowレベルである間(時刻T17〜T19)を除けば、第2のマスククロック信号(F2 )の波形と第2のクロック信号(A2 )の波形とは同一になる。言い換えると、第2のマスククロック信号(F2 )は、第2のクロック信号(A2 )の波形から波形11bを除去した波形になる。
The first mask clock signal (F 1 ) is a logical product of the first clock signal (A 1 ) and the first mask signal (E 1 ), and therefore the first mask signal (E 1 ). There first mask clock signal between a low level (time T 16 ~T 18) (F 1 ) becomes low level. Therefore, the waveform of the first mask clock signal (F 1 ) and the first clock signal (A 1 ) are excluded except when the first mask signal (E 1 ) is at the low level (time T 16 to T 18 ). ) Waveform is the same. In other words, the first mask clock signal (F 1 ) has a waveform obtained by removing the
また、図4に示す第2のマルチプレクサ141において、選択切り替え信号(G)がlowレベルからhighレベルに変化する時刻T18に至る前は、第2のマスククロック信
号(F2 )が出力クロック信号(H)として選択されると共に、時刻T18に至った後は、第1のマスククロック信号(F1 )が出力クロック信号(H)として選択される。この際、切り替え元の第2のクロック信号(A2 )をマスクする第2のマスク信号(E2 )のネガティブエッジ(時刻T17)から、切り替え先の第1のクロック信号(A1 )をマスクする第1のマスク信号(E1 )のポジティブエッジ(時刻T18)までの間、第2のマルチプレクサ141から出力される出力クロック信号(H)はlowレベルになる。
Further, in the
以上、図1に示すクロック信号切り替え装置100の機能を、具体的に図4に示すハードウェア(クロック信号切り替え回路101)のみで実現する場合について説明したが、例えばソフトウェアにより図4に示す機能を実現することも可能である。
In the above, the case where the function of the clock
以下、ソフトウェアによりクロック信号を切り替える方法について説明する。 A method for switching the clock signal by software will be described below.
図7は、第1の実施形態に係るクロック信号切り替え方法をソフトウェアにより実現するための概念的なクロック信号切り替えプログラムを示す図である。 FIG. 7 is a diagram showing a conceptual clock signal switching program for realizing the clock signal switching method according to the first embodiment by software.
図7に示すように、クロック信号切り替えプログラム102は、切り替え信号、第1のクロック信号、及び第2のクロック信号を入力とし、入力された切り替え信号に基づいて、第1のクロック信号又は第2のクロック信号を出力クロック信号として出力する。クロック信号切り替えプログラム102の具体的な構成は、例えば図1に示すクロック信号切り替え装置と同様である。
As illustrated in FIG. 7, the clock
すなわち、クロック信号切り替えプログラム102は、図1に示す第1の信号同期生成手段110a、第2の信号同期生成手段110b、第1のクロック信号マスク手段120a、第2のクロック信号マスク手段120b、同期切り替え信号選択手段130、及びマスククロック信号選択手段140のそれぞれに対応するサブプログラムを有している。
That is, the clock
図8は、図7に示すクロック信号切り替えプログラム102によるクロック信号の切り替え手順を示している。
FIG. 8 shows a clock signal switching procedure by the clock
図8に示すように、まず、第1の信号同期生成手段110aに対応するプログラムによる第1の信号同期生成ステップS10aでは、入力された第1のクロック信号及び切り替え信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する。具体的には、切り替え信号がlowレベルからhighレベルに、又はその反対にhighレベルからlowレベルに変化した後における第1のクロック信号の最初のネガティブエッジから2つ目のネガティブエッジまでの間に限りlowレベルになっている第1のマスク信号を生成させる。また、切り替え信号がlowレベルからhighレベルに、又はその反対にhighレベルからlowレベルに変化した後における第1のクロック信号の2つ目のネガティブエッジに同期させた第1の同期切り替え信号を生成する。一方、第2の信号同期生成手段110bに対応するプログラムによる第2の信号同期生成ステップS10bにおいても同様に、入力された第2のクロック信号及び切り替え信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する。
As shown in FIG. 8, first, in the first signal synchronization generation step S10a by the program corresponding to the first signal synchronization generation means 110a, the first signal synchronization is generated based on the input first clock signal and switching signal. A first mask signal and a first synchronization switching signal that are respectively synchronized with the clock signal are generated. Specifically, during the period from the first negative edge to the second negative edge of the first clock signal after the switching signal changes from low level to high level or vice versa. A first mask signal that is as low as possible is generated. Also, a first synchronization switching signal is generated that is synchronized with the second negative edge of the first clock signal after the switching signal changes from low level to high level or vice versa. To do. On the other hand, in the second signal synchronization generation step S10b by the program corresponding to the second signal
次に、第1のクロック信号マスク手段120aに対応するプログラムによる第1のクロック信号マスクステップS11aでは、第1の信号同期生成ステップS10aにおいて生成された第1のマスク信号で第1のクロック信号をマスクした第1のマスククロック信号を生成する。具体的には、第1のマスク信号がlowレベルになっている間における第1のクロック信号をlowレベルにした第1のマスククロック信号を生成する。これにより、第1のクロック信号を第1のマスク信号でマスクした第1のマスククロック信号が生成
される。また、第2のクロック信号マスク手段120bに対応するプログラムによる第2のクロック信号マスクステップS11bにおいても同様である。
Next, in the first clock signal masking step S11a by the program corresponding to the first clock signal masking means 120a, the first clock signal is generated with the first mask signal generated in the first signal synchronization generating step S10a. A masked first mask clock signal is generated. Specifically, a first mask clock signal is generated by setting the first clock signal to the low level while the first mask signal is at the low level. As a result, a first mask clock signal is generated by masking the first clock signal with the first mask signal. The same applies to the second clock signal masking step S11b by the program corresponding to the second clock signal masking means 120b.
次に、切り替え信号選択手段130に対応するプログラムによる切り替え信号選択ステップS12では、入力された切り替え信号に基づいて、第1の信号同期生成ステップS10aにおいて生成された第1の同期切り替え信号、及び第2の信号同期生成ステップS10bにおいて生成された第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。 Next, in the switching signal selection step S12 by the program corresponding to the switching signal selection means 130, the first synchronization switching signal generated in the first signal synchronization generation step S10a based on the input switching signal, and the first One of the second synchronization switching signals generated in the second signal synchronization generation step S10b is selected as a selection switching signal.
次に、マスククロック信号選択手段140に対応するプログラムによるマスククロック信号選択ステップS13では、切り替え信号選択ステップS12において選択された選択切り替え信号に基づいて、第1のクロック信号マスクステップS11aにおいて生成された第1のマスククロック信号、及び第2のクロック信号マスクステップS11bにおいて生成された第2のマスククロック信号のうちのいずれかを出力クロック信号として選択すると共に出力する。 Next, in the mask clock signal selection step S13 by the program corresponding to the mask clock signal selection means 140, it is generated in the first clock signal mask step S11a based on the selection switching signal selected in the switching signal selection step S12. One of the first mask clock signal and the second mask clock signal generated in the second clock signal mask step S11b is selected and output as an output clock signal.
以上に説明したように、第1の実施形態に係るクロック信号切り替え装置によると、第1の信号同期生成手段110aによって、第1のクロック信号に同期した第1のマスク信号を生成できる。このため、第1のクロック信号マスク手段120aによって、第1のクロック信号を第1のマスク信号でマスクすることにより、例えば切り替え信号が変化した後における第1のクロック信号の最初のネガティブエッジから2つ目のネガティブエッジまでの間、第1のクロック信号をlowレベルにした第1のマスククロック信号を生成することができる。一方、第2の信号同期生成手段110bによっても、第2のクロック信号に同期した第2のマスク信号を生成できる。このため、切り替え信号が変化した後における第2のクロック信号の最初のネガティブエッジから2つ目のネガティブエッジまでの間、第2のクロック信号をlowレベルにした第2のマスククロック信号を生成することができる。すなわち、マスククロック信号選択手段140によってクロック信号を選択する前の段階で、ハザード又はデューティ比崩れの生じる可能性があるクロック信号の該当部分を除去する(マスクする)ことができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。
As described above, according to the clock signal switching device according to the first embodiment, the first mask signal synchronized with the first clock signal can be generated by the first signal
また、第1の実施形態によると、第1のマスク信号のポジティブエッジに同期した第1の同期切り替え信号、及び第2のマスク信号のポジティブエッジに同期した第2の同期切り替え信号のうち、切り替え先のクロック信号に対応する方を同期切り替え信号選択手段により選択できる。よって、例えば切り替え元のクロック信号をマスクするマスク信号のネガティブエッジから、切り替え先のクロック信号をマスクするマスク信号のポジティブエッジまでの間に限りマスクされた出力クロック信号を生成することができる。すなわち、切り替え元及び切り替え先のクロック信号を的確にマスクすることができるため、クロック信号を切り替える前の段階で、ハザード又はデューティー比崩れの生じる可能性がある第1のクロック信号及び第2のクロック信号のそれぞれの該当部分を除去することができる。したがって、クロック信号の切り替えによるハザード又はデューティー比崩れの発生を未然に防ぐことができる。 In addition, according to the first embodiment, switching is performed among the first synchronization switching signal synchronized with the positive edge of the first mask signal and the second synchronization switching signal synchronized with the positive edge of the second mask signal. The one corresponding to the previous clock signal can be selected by the synchronous switching signal selection means. Therefore, for example, it is possible to generate an output clock signal that is masked only between the negative edge of the mask signal that masks the switching source clock signal and the positive edge of the mask signal that masks the switching destination clock signal. That is, since the switching source and switching destination clock signals can be accurately masked, the first clock signal and the second clock that may cause a hazard or a duty ratio breakdown at the stage before switching the clock signals. Each relevant part of the signal can be removed. Therefore, it is possible to prevent the occurrence of hazard or duty ratio collapse due to switching of the clock signal.
また、第1の実施形態によると、第1のクロック信号と第2のクロック信号とが同期していること、及び第1のクロック信号と第2のクロック信号とが同位相になっていることは、いずれもハザード又はデューティー比崩れの防止に影響を及ぼさない。このため、互いに非同期で且つ位相の異なるクロック信号の間でも、ハザード又はデューティー比崩れを発生させることなく、出力クロック信号を切り替えることができる。 In addition, according to the first embodiment, the first clock signal and the second clock signal are synchronized, and the first clock signal and the second clock signal are in phase. Neither affects the prevention of hazard or duty ratio collapse. For this reason, it is possible to switch the output clock signal without causing a hazard or a duty ratio collapse even between clock signals that are asynchronous with different phases.
また、第1の実施形態によると、クロック信号を切り替える際に、切り替え先のクロック信号が入力されていれば、切り替え元のクロック信号の状態に関わらずクロック信号の切り替えを行うことができる。このため、一部の従来装置においては発生していた、切り替え元のクロック信号の状態によってクロック信号の切り替えが失敗する場合があると言う問題を回避することができる。 Further, according to the first embodiment, when a clock signal as a switching destination is input when switching a clock signal, the clock signal can be switched regardless of the state of the switching source clock signal. Therefore, it is possible to avoid the problem that switching of the clock signal may fail depending on the state of the switching source clock signal, which has occurred in some conventional devices.
また、第1の実施形態に係るクロック信号切り替え方法によると、クロック信号切り替え回路101により生成される信号と同一の波形を、ソフトウェアによっても生成できる。このため、クロック信号を切り替えるための回路を特別に搭載する必要がない。その結果、回路規模を削減することができる。特に、クロック信号の切り替えを行なう回路以外の機能を実現するために外部タイミング制御回路のようなマイクロコンピュータ等を既に搭載している機器に有効である。この場合、新たなマイクロコンピュータを搭載しなくても、既存のマイクロコンピュータによってクロック信号を切り替えさせることができるため、更に回路規模を削減することができる。
Further, according to the clock signal switching method according to the first embodiment, the same waveform as the signal generated by the clock
尚、第1の実施形態に係るクロック信号切り替え装置において、クロック信号切り替え装置100の機能を実現する回路構成としてクロック信号切り替え回路101を例にして説明したが、他の回路構成により実現してもよい。
In the clock signal switching device according to the first embodiment, the clock
(第1の実施形態の変形例)
以下、本発明の第1の実施形態の変形例に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Modification of the first embodiment)
Hereinafter, a clock signal switching device according to a modification of the first embodiment of the present invention will be described with reference to the drawings.
図9は、第1の実施形態の変形例に係るクロック信号切り替え装置の構成を示す図である。 FIG. 9 is a diagram illustrating a configuration of a clock signal switching device according to a modification of the first embodiment.
図9に示すように、本変形例に係るクロック信号切り替え装置103の特徴は、入力されたN個(Nは2以上の整数)のクロック信号のうちのいずれかを出力クロック信号として選択できる点にある。
As shown in FIG. 9, the clock
具体的に、クロック信号切り替え装置103は、切り替え信号デコード手段150と、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) とから構成される。切り替え信号デコード手段150は、入力された切り替え信号をデコードすることにより、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) のいずれかにそれぞれ対応する切り替え信号(第1〜第(N−1)の切り替え信号)を出力する。各クロック信号選択手段、例えば第1のクロック信号選択手段100n1 は、入力された第1の切り替え信号(デコード信号)に基づいて、同じく入力された第1のクロック信号及び第2のクロック信号のうちのいずれかを選択すると共に、選択されたクロック信号を第1の出力クロック信号として出力する。第2のクロック信号選択手段100n2 (図示省略)は、入力された第2の切り替え信号に基づいて、第1のクロック信号選択手段100n1 から出力された第1の出力クロック信号、及び第3のクロック信号のうちのいずれかを第2の出力クロック信号として選択する。
Specifically, the clock
次に、各クロック信号選択手段の具体的な構成について図10を用いて説明する。 Next, a specific configuration of each clock signal selection unit will be described with reference to FIG.
図10は、図9に示す(N−1)個からなる第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) のうちの第(N−1)のクロック信号選択手段100n(N-1) の構成を示す図である。尚、図10において、図1に示すクロック信号切り替え装置100と同一の構成要素には同一の符号を付す。
Figure 10 is a clock of the (N-1) of FIG. 9 (N-1) consisting of pieces first to (N-1) of the clock signal selection means 100n 1 to 100n (N-1) It is a figure which shows the structure of signal selection means 100n (N-1) . In FIG. 10, the same components as those of the clock
図10に示すように、第(N−1)のクロック信号選択手段100n(N-1) の構成は、図1に示すクロック信号切り替え装置100と例えば同一である。すなわち、第(N−1
)のクロック信号選択手段100n(N-1) は、第1の信号同期生成手段110a及び第2の信号同期生成手段110bと、第1のクロック信号マスク手段120a及び第2のクロック信号マスク手段120bと、同期切り替え信号選択手段130と、マスククロック信号選択手段140とから構成される。ただし、第(N−1)のクロック信号選択手段100n(N-1) には、第(N−2)のクロック信号選択手段100n(N-2) から出力された第(N−2)の出力クロック信号と、切り替え信号デコード手段150によってデコードされた第(N−1)の切り替え信号と、第Nのクロック信号とが入力される。また、図1を用いて説明した第1の実施形態に係るクロック信号切り替え装置100と同様に、第(N−1)のクロック信号選択手段100n(N-1) は、入力された第(N−1)の切り替え信号に基づいて、第(N−2)の出力クロック信号及び第Nのクロック信号のうちのいずれかを選択すると共に、第(N−1)の出力クロック信号として出力する。
As shown in FIG. 10, the configuration of the (N-1) th clock signal selection means 100n (N-1) is the same as that of the clock
) Clock signal selection means 100n (N-1) includes first signal synchronization generation means 110a and second signal synchronization generation means 110b, first clock signal masking means 120a and second clock signal masking means 120b. And a synchronous switching signal selection means 130 and a mask clock signal selection means 140. However, the (N-1) -th clock signal selection means 100n (N-1) has the (N-2) -th output signal from the (N-2) -th clock signal selection means 100n (N-2). The output clock signal, the (N−1) th switching signal decoded by the switching signal decoding means 150, and the Nth clock signal are input. Similarly to the clock
次に、図10に示す第(N−1)のクロック信号選択手段100n(N-1) と同一の構成からなる各クロック信号選択手段の動作について説明する。 Next, the operation of each clock signal selection means having the same configuration as the (N-1) th clock signal selection means 100n (N-1) shown in FIG. 10 will be described.
《第1のクロック信号から第2のクロック信号に切り替える場合(例1)》
まず、第1のクロック信号から第2のクロック信号に切り替える際の動作について説明する前に、第1のクロック信号が出力クロック信号として出力されている状態について説明する。出力クロック信号として第1のクロック信号が選択されているということは、第(N−1)のクロック信号選択手段100n(N-1) から最終的に出力される第(N−1)の出力クロック信号が第1のクロック信号であることを意味する。言い換えると、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) のいずれにおいても、第1のクロック信号が常に選択されていることを意味する。よって、第1のクロック信号選択手段100n1 においては第1のクロック信号が選択されると共に、その他のクロック信号選択手段においては、1つ前のクロック信号選択手段の出力クロック信号が選択されることが条件になる。
<< When switching from the first clock signal to the second clock signal (Example 1) >>
First, before describing the operation when switching from the first clock signal to the second clock signal, the state in which the first clock signal is output as the output clock signal will be described. The fact that the first clock signal is selected as the output clock signal means that the (N-1) th output that is finally output from the (N-1) th clock signal selection means 100n (N-1). It means that the clock signal is the first clock signal. In other words, it means that the first clock signal is always selected in any of the first to (N−1) th clock signal selection means
このような条件は、各クロック信号選択手段に入力される切り替え信号を全てhighレベルにすれば満たすことができる。例えば、第1のクロック信号選択手段100n1 に常にhighレベルの第1の切り替え信号を入力すれば、第1の信号同期生成手段110aからそれぞれ出力される第1のマスク信号及び第1の同期切り替え信号は共に、第1の切り替え信号と同様に常にhighレベルの波形になる。このため、第1のクロック信号マスク手段120aによって第1のクロック信号を第1のマスク信号でマスクすることにより生成される第1のマスククロック信号は、第1のクロック信号の波形と変わるところがない。また、第1の切り替え信号が常にhighレベルであるため、同期切り替え信号選択手段130によって第1の同期切り替え信号が選択される。その結果、第1の同期切り替え信号は常にhighレベルになる。よって、マスククロック信号選択手段140により選択されるのは常に第1のマスククロック信号(第1のクロック信号)になる。したがって、入力される第1の切り替え信号が常にhighレベルであると、第1のクロック信号が第1の出力クロック信号としてそのまま出力されることになる。全体的には、第1〜第(N−1)の切り替え信号が全て常にhighレベルであれば、最終的に出力される第(N−1)の出力クロック信号は、第1の出力クロック信号と同一になる。
Such a condition can be satisfied if all the switching signals input to the clock signal selection means are set to the high level. For example, if always enter the first switching signal high level to the first clock signal selection means 100n 1, a first mask signals output from the first signal synchronization generation means 110a and a first synchronization switch Both signals always have a high level waveform in the same manner as the first switching signal. Therefore, the first mask clock signal generated by masking the first clock signal with the first mask signal by the first clock signal masking means 120a is not different from the waveform of the first clock signal. . In addition, since the first switching signal is always at the high level, the first synchronization switching signal is selected by the synchronization switching
次に、第1のクロック信号から第2のクロック信号に切り替える際の動作について説明する。このように切り替えるためには、第1のクロック信号選択手段100n1 に入力されている第1の切り替え信号をhighレベルからlowレベルに変化させる。このようにすれば、第1のクロック信号選択手段100n1 から出力される第1の出力クロック信号が、第1のクロック信号から第2のクロック信号に切り替わる。また、第2〜第(N−1)のクロック信号選択手段100n2 〜100n(N-1) のそれぞれに入力されている第2〜第(N−1)の切り替え信号のいずれをもhighレベルのまま一定にすれば、第1
のクロック信号選択手段100n1 から出力された第2の出力クロック信号が、最終的に第(N−1)のクロック信号選択手段100n(N-1) から第(N−1)の出力クロック信号として出力される。これにより、クロック信号切り替え装置103から出力されるクロック信号を、第1のクロック信号から第2のクロック信号に切り替えることができる。
Next, an operation when switching from the first clock signal to the second clock signal will be described. In order to switch in this way, the first switching signal input to the first clock
The second output clock signal output from the first clock signal selection means 100n 1 is finally converted into the (N−1) th output clock signal from the (N−1) th clock signal selection means 100n (N−1) . Is output as Thereby, the clock signal output from the clock
《第1のクロック信号から第Nのクロック信号に切り替える場合(例2)》
既に説明したように、切り替える前は第1のクロック信号が選択されているため、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) のいずれかにそれぞれ入力される第1〜第(N−1)の切り替え信号は常にhighレベルになっている。
<< When Switching from the First Clock Signal to the Nth Clock Signal (Example 2) >>
As already described, since the first clock signal is selected before switching, it is input to any one of the first to (N-1) th clock signal selection means
次に、第1のクロック信号から第Nのクロック信号に切り替える際になったら、第(N−1)のクロック信号選択手段100n(N-1) に入力される第(N−1)の切り替え信号をhighレベルからlowレベルに変化させる。 Next, when it is time to switch from the first clock signal to the Nth clock signal, the (N−1) th switching input to the (N−1) th clock signal selection means 100n (N−1). The signal is changed from a high level to a low level.
《第Nのクロック信号から第1のクロック信号に切り替える場合(例3)》
この場合、切り替える前は第Nのクロック信号が選択されているため、第(N−1)の切り替え信号はlowレベルになっている。ただし、第1〜第(N−2)のクロック信号選択手段100n1 〜100n(N-2) のいずれかにそれぞれ入力される第1〜第(N−2)の切り替え信号は、それぞれhighレベルであってもいいしlowレベルであってもよい。つまり、第(N−1)のクロック信号選択手段100n(N-1) によって第Nのクロック信号が選択されればいいのであるから、第(N−1)のクロック信号選択手段100n(N-1) に入力される第(N−2)の出力クロック信号はいずれもhighレベルであってもよいしlowレベルであってもよい。
<< When switching from the Nth clock signal to the first clock signal (Example 3) >>
In this case, since the Nth clock signal is selected before switching, the (N−1) th switching signal is at the low level. However, the first to (N-2) switching signals respectively input to any of the first to (N-2) clock signal selecting means
次に、第Nのクロック信号から第1のクロック信号に切り替える際には、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) のいずれかにそれぞれ入力される第1〜第(N−1)の切り替え信号を全てhighレベルにする。すなわち、第1〜第(N−1)の切り替え信号のうち、既にhighレベルであった切り替え信号はそのまま維持しつつ、lowレベルであった切り替え信号はhighレベルに変化させる。
Next, when switching from the Nth clock signal to the first clock signal, it is input to any one of the first to (N−1) th clock signal selection means
以上に説明したように、第pのクロック信号から第qのクロック信号(1<p<q≦N)に切り替える場合は、第p〜第(q−2)及び第q〜第(N−1)の切り替え信号をそのままhighレベルに維持ししつつ、第(q−1)の切り替え信号をhighレベルからlowレベルに変化させる。ただし、第1〜第(p−2)の切り替え信号、及び切り替えた後の第(p−1)〜第(q−2)の切り替え信号は、highレベルであってもlowレベルであってもよい。反対に、第qのクロック信号から第pのクロック信号に切り替える場合は、第(p−1)の切り替え信号をlowレベルにすると共に(切り替える前からlowレベルであるときもある)、第q〜第(N−1)の切り替え信号をhighレベルに維持しながら第p〜第(q−1)の切り替え信号をhighレベルにする(切り替える前からhighレベルである切り替え信号もある)。ただし、第1〜第(p−2)の切り替え信号、及び切り替え前の第(p−1)〜第(q−2)の切り替え信号は、highレベルであってもlowレベルであってもよい。尚、p=1の場合については、既に説明した通りである。 As described above, when switching from the p-th clock signal to the q-th clock signal (1 <p <q ≦ N), the p-th to (q-2) th and the q-th to (N-1) th. The (q-1) th switching signal is changed from the high level to the low level while maintaining the switching signal at) at the high level. However, the first to (p-2) switching signals and the (p-1) to (q-2) switching signals after switching may be high level or low level. Good. Conversely, when switching from the q-th clock signal to the p-th clock signal, the (p−1) -th switching signal is set to the low level (it may be at the low level before switching), and the qth to (th) times. While maintaining the (N-1) th switching signal at the high level, the pth to (q-1) th switching signals are set to the high level (some switching signals are at the high level before switching). However, the first to (p-2) switching signals and the (p-1) to (q-2) switching signals before switching may be high level or low level. . Note that the case of p = 1 is as already described.
このように、第1の実施形態の変形例によると、図10に示す第(N−1)のクロック信号選択手段100n(N-1) と同一の構成、すなわち図1に示す第1の実施形態に係るクロック信号切り替え装置100が、2段階以上設けられているため、3以上のクロック信号が入力されていたとしても、これらのクロック信号の間で相互に切り替えることができる。また、クロック信号切り替え装置103を構成する各クロック信号選択手段(100n1 〜100n(N-1) )は、第1の実施形態に係るクロック信号切り替え装置100と同
一であるため、3以上のクロック信号を切り替える場合であっても、各クロック信号選択手段において、第1の実施形態により得られた効果が確実に得られる。
Thus, according to the modification of the first embodiment, the same configuration as the (N-1) th clock signal selection means 100n (N-1) shown in FIG. 10, that is, the first implementation shown in FIG. Since the clock
尚、第1の実施形態の変形例において、クロック信号切り替え装置103を構成する各クロック信号選択手段の機能を実現する回路構成は、例えば図4に示すクロック信号切り替え回路101のようになる。
In the modification of the first embodiment, a circuit configuration for realizing the function of each clock signal selection unit constituting the clock
(第2の実施形態)
以下、本発明の第2の実施形態に係るデータバス切り替え装置について図面を参照しながら説明する。
(Second Embodiment)
Hereinafter, a data bus switching device according to a second embodiment of the present invention will be described with reference to the drawings.
図11は、第2の実施形態に係るデータバス切り替え装置の構成を示す図である。尚、図11において、図1に示すクロック信号切り替え装置100と同一の構成要素には同一の符号を付す。
FIG. 11 is a diagram illustrating a configuration of a data bus switching device according to the second embodiment. In FIG. 11, the same components as those of the clock
図11に示すように、第2の実施形態に係るデータバス切り替え装置200は、図1に示す第1の実施形態に係るクロック信号切り替え装置100と、データ信号選択手段210とから構成される。
As shown in FIG. 11, the data
クロック信号切り替え装置100は、第1のクロック信号、第2のクロック信号、及び切り替え信号を入力とし、その入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択すると共に、出力クロック信号として出力する。データ信号選択手段210は、マスククロック信号選択手段140から出力された出力クロック信号(第1のマスククロック信号又は第2のマスククロック信号)、第1のクロック信号に同期した第1のデータ信号、第2のクロック信号に同期した第2のデータ信号、及び同期切り替え信号選択手段130から出力された選択切り替え信号を入力とし、その入力された選択切り替え信号に基づいて、第1のデータ信号及び第2のデータ信号のうちのいずれかを選択データ信号として選択すると共に、選択されたデータ信号を出力クロック信号に同期させて出力する。尚、この際、同期切り替え信号選択手段130によって第1の同期切り替え信号が選択切り替え信号として選択されていれば、データ信号選択手段210により第1のデータ信号が選択され、反対に選択クロック信号として第2の同期切り替え信号が選択されていれば、データ信号選択手段210により第2のデータ信号が選択される。
The clock
図12は、図11に示すデータ信号選択手段210の機能を実現するデータ信号選択回路211の構成を示す図である。
FIG. 12 is a diagram showing the configuration of the data signal
図12に示すように、データ信号選択回路211は、第3のマルチプレクサ212と、第3のフリップフロップ213とから構成される。第3のマルチプレクサ212は、第1のデータ信号、第2のデータ信号、及び選択切り替え信号を入力とし、入力された選択切り替え信号がhighレベルの場合は第1のデータ信号を選択し、反対に選択切り替え信号がlowレベルの場合は第2のデータ信号を選択する。第3のフリップフロップ213は、第3のマルチプレクサ212から出力されたデータ信号(選択データ信号)、及び出力クロック信号を入力とし、その入力された出力クロック信号に同期した選択データ信号を出力データ信号として出力する。
As shown in FIG. 12, the data
図13は、図11に示すデータバス切り替え装置200の機能を実現するデータバス切り替え回路201の構成を示す図である。尚、図13において、図4に示すクロック信号切り替え回路101と同一の構成要素には同一の符号を付す。
FIG. 13 is a diagram showing a configuration of a data
図13に示すように、データバス切り替え回路201は、図4に示すクロック信号切り替え回路101と、図12に示すデータ信号選択回路211とから構成される。尚、クロック信号切り替え回路101は、図4に示すクロック信号切り替え回路101と同様の構成である。
As shown in FIG. 13, the data
次に、データバス切り替え回路201を伝達する信号について説明する。
Next, signals transmitted through the data
図14は、図13に示す点A1 、A2 、B、G、H、I1 、I2 、及びJをそれぞれ伝達する信号のタイミングチャートである。尚、図14には、第1のクロック信号から第2のクロック信号に切り替える場合のタイミングチャートを示す。また、図14の点A1 、A2 、B、G、及びHは、それぞれ図5及び図6に示す各点に対応している。 FIG. 14 is a timing chart of signals transmitting points A 1 , A 2 , B, G, H, I 1 , I 2 , and J shown in FIG. FIG. 14 shows a timing chart when switching from the first clock signal to the second clock signal. Further, points A 1 , A 2 , B, G, and H in FIG. 14 correspond to the points shown in FIGS. 5 and 6, respectively.
図14に示すように、データバス切り替え回路201に入力された切り替え信号(B)が時刻T20においてhighレベルからlowレベルに変化すると、時刻T20を経過した後における第2のクロック信号(A2 )の2つ目のネガティブエッジ(時刻T21)において、選択切り替え信号(G)がhighレベルからlowレベルに変化する。また、選択切り替え信号(G)に基づいて、時刻T21に切り替えられた出力クロック信号(H)は、切り替え元の第1のクロック信号(A1 )の時刻T20を経過した後における最初のネガティブエッジから、切り替え先の第2のクロック信号(A2 )の時刻T20を経過した後における2つ目のネガティブエッジまでマスクされた(lowレベルにされた)波形になる。 As shown in FIG. 14, when the switching signal input to the data bus switching circuit 201 (B) is changed at time T 20 from a high level to a low level, the second clock signal in after time T 20 (A 2 ) At the second negative edge (time T 21 ), the selection switching signal (G) changes from high level to low level. The output clock signal (H) switched at time T 21 based on the selection switching signal (G) is the first after the time T 20 of the first clock signal (A 1 ) as the switching source has passed. The waveform is masked (set to low level) from the negative edge to the second negative edge after the time T 20 of the second clock signal (A 2 ) to be switched has elapsed.
一方、選択切り替え信号(G)がhighレベルである間、すなわち時刻T21に至る前は、データ信号選択回路211を構成する第3のマルチプレクサ212において第1のデータ信号(I1 )が選択データ信号として選択され、選択切り替え信号(G)がlowレベルである間、すなわち時刻T21を経過した後は第3のマルチプレクサ212において第2のデータ信号(I2 )が選択データ信号として選択される。言い換えると、選択切り替え信号(G)がhighレベルからlowレベルに変化する時刻T21において、第3のマルチプレクサ212において選択されるデータ信号が、第1のデータ信号(I1 )から第2のデータ信号(I2 )に切り替わる。時刻T21において第1のデータ信号(I1 )から第2のデータ信号(I2 )に切り替わると、時刻T21を経過した後における第2のクロック信号(A2 )の最初のポジティブエッジ(時刻T22)において、第2のデータ信号(I2 )が第3のフリップフロップ213によりラッチされた選択データ信号(J)が出力データ信号(J)として出力される。
On the other hand, while the selection switching signal (G) is at the high level, that is, before reaching the time T 21 , the first data signal (I 1 ) is selected by the
以上、図11に示すデータバス切り替え装置200を、具体的に図13に示すハードウェア(データバス切り替え回路201)のみで実現する場合について説明したが、例えばソフトウェアにより図11に示す機能を実現することも可能である。
The case where the data
以下、ソフトウェアによりデータ信号を切り替える方法について説明する。 Hereinafter, a method for switching data signals by software will be described.
図15は、第2の実施形態に係るデータバス切り替え方法をソフトウェアにより実現するための概念的なデータバス切り替えプログラムを示す図である。 FIG. 15 is a diagram showing a conceptual data bus switching program for realizing the data bus switching method according to the second embodiment by software.
図15に示すように、データバス切り替えプログラム202は、第1のクロック信号、第2のクロック信号、第1のデータ信号、第2のデータ信号、及び切り替え信号を入力とし、入力された切り替え信号に基づいて、第1のデータ信号及び第2のデータ信号のうちのいずれかを選択データ信号として選択すると共に、その選択されたデータ信号を対応するクロック信号に同期させて出力データ信号として出力する。データバス切り替えプログラム202の具体的な構成は例えば図11に示すデータバス切り替え装置と同様である。
As shown in FIG. 15, the data
すなわち、データバス切り替えプログラム202は、クロック信号切り替え装置100及びデータ信号選択手段210のそれぞれに対応するサブプログラムを有している。
That is, the data
図16は、図11に示すデータバス切り替えプログラム202によるデータバスの切り替え手順を示している。尚、図16において、図8に示すクロック信号の切り替え手順と同一のステップには同一の符号を付す。
FIG. 16 shows a data bus switching procedure by the data
図16に示すように、まず、マスククロック信号選択手段140に対応するプログラムによるマスククロック信号選択ステップS13及びマスククロック信号選択ステップS13より前の全ステップにより、入力された第1のクロック信号及び第2のクロック信号のうちのいずれかを出力クロック信号として選択する。
As shown in FIG. 16, first, the first clock signal and the first clock signal input by the steps corresponding to the mask clock signal selection step S13 and the mask clock signal selection step S13 by the program corresponding to the mask clock
次に、データ信号選択手段210に対応するプログラムによるデータ信号選択ステップS14では、切り替え信号選択ステップS12において選択された選択切り替え信号に基づいて、出力クロック信号に同期した第1のデータ信号及び第2のデータ信号のうちのいずれかを選択データ信号として選択すると共に、クロック信号選択ステップS13において選択された出力クロック信号に同期させた選択データ信号を出力データ信号として出力する。
Next, in the data signal selection step S14 by the program corresponding to the data signal
以上に説明した第2の実施形態に係るデータバス切り替え装置によると、第1の実施形態により得られた効果に加えて次のような効果が得られる。 According to the data bus switching apparatus according to the second embodiment described above, the following effects are obtained in addition to the effects obtained by the first embodiment.
本実施形態では、データ信号選択手段210によって選択されたデータ信号に、第1の実施形態と同様にして得られた出力クロック信号を同期させることができる。このため、データ信号を切り替えることによって、ハザード等が原因になって生じる誤動作等を防止することができる。
In the present embodiment, the output clock signal obtained in the same manner as in the first embodiment can be synchronized with the data signal selected by the data signal
また、第2の実施形態に係るデータバス切り替え方法によると、データバス切り替え回路200において生成される信号と同一の波形を、ソフトウェアによっても生成できる。このため、データバスを切り替えるための回路を特別に搭載する必要がない。その結果、回路規模を削減することができる。特に、データバスの切り替えを行なう回路以外の機能を実現するために外部タイミング制御回路のようなマイクロコンピュータ等を既に搭載している機器に有効である。この場合、新たなマイクロコンピュータを搭載しなくても、既存のマイクロコンピュータによってデータバスを切り替えさせることができるため、更に回路規模を削減することができる。
Further, according to the data bus switching method according to the second embodiment, the same waveform as the signal generated in the data
尚、第2の実施形態において、第1のクロック信号と第1のデータ信号とは既に異なるデータバスに分けられてデータバス切り替え装置200に入力されていた。しかし、データバス切り替え装置200に入力された後に、第1のクロック信号と第1のデータ信号とを異なるバスに分けるようにしてもよい。また、第2のクロック信号及び第2のデータ信号のデータバスにおいても同様である。
In the second embodiment, the first clock signal and the first data signal are already divided into different data buses and input to the data
(第2の実施形態の変形例)
以下、本発明の第2の実施形態の変形例に係るデータバス切り替え装置について図面を参照しながら説明する。
(Modification of the second embodiment)
Hereinafter, a data bus switching device according to a modification of the second embodiment of the present invention will be described with reference to the drawings.
図17は、第2の実施形態の変形例に係るデータバス切り替え装置の構成を示す図である。 FIG. 17 is a diagram illustrating a configuration of a data bus switching device according to a modification of the second embodiment.
図17に示すように、本変形例に係るデータバス切り替え装置203の特徴は、N個(Nは2以上の整数)のデータバスを通じて入力されるN個のデータ信号のうちのいずれか
を選択することができる点にある。尚、図17において、図9に示す第1の実施形態の変形例に係るクロック信号切り替え装置103と同一の構成要素には同一の符号を付す。
As shown in FIG. 17, the data
具体的に、データバス切り替え装置203は、切り替え信号デコード手段150と、第1〜第(N−1)のデータバス選択手段200n1 〜200n(N-1) とから構成される。また、各データバス選択手段、例えば第iのデータバス選択手段200ni は、第iのクロック信号選択手段100ni と、第iのデータ信号選択手段210ni とから構成される。尚、切り替え信号デコード手段150、及び第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) については、第1の実施形態の変形例において説明した通りである。
Specifically, the data
次に、例えば第(N−1)のクロック信号選択手段100n(N-1) と第(N−1)のデータ信号選択手段210n(N-1) とから構成される第(N−1)のデータバス選択手段200n(N-1) の構成について説明する。
Next, for example, (N-1) th (N-1) clock signal selecting means 100n (N-1) and (N-1) th data signal selecting
図18は、図17に示す第(N−1)のデータバス選択手段200n(N-1) の構成を示す図である。尚、図18において、図11に示す第2の実施形態に係るデータバス切り替え装置200と同一の構成要素には同一の符号を付す。
FIG. 18 is a diagram showing a configuration of the (N-1) th data bus selection means 200n (N-1) shown in FIG. In FIG. 18, the same components as those in the data
図18に示すように、第(N−1)のデータバス選択手段200n(N-1) の構成は、図11に示すデータバス切り替え装置200と同様である。すなわち、第(N−1)のデータバス選択手段200n(N-1) は、第1の信号同期生成手段110a及び第2の信号同期生成手段110bと、第1のクロック信号マスク手段120a及び第2のクロック信号マスク手段120bと、同期切り替え信号選択手段130と、マスククロック信号選択手段140と、データ信号選択手段210n(N-1) とから構成される。ただし、第(N−1)のクロック信号切り替え手段200n(N-1) には、第(N−2)のデータバス選択手段200n(N-2) からそれぞれ出力された第(N−2)の出力クロック信号及び第(N−2)の出力データ信号と、切り替え信号デコード手段150によってデコードされた第(N−1)の切り替え信号(デコード信号)と、第Nのクロック信号、及び第Nのデータ信号とが入力される。
As shown in FIG. 18, the configuration of the (N-1) th data bus selection means 200n (N-1) is the same as that of the data
次に、上記の構成により、入力されたN個のデータ信号を相互に切り替える際の動作について説明する。尚、第1〜第(N−1)のクロック信号選択手段100n1 〜100n(N-1) の動作は第1の実施形態の変形例において説明した通りであるので、特に第1〜第(N−1)のデータバス選択手段200n1 〜200n(N-1) の動作について説明する。
Next, the operation when the input N data signals are switched to each other with the above configuration will be described. The operations of the first to (N-1) th clock signal selection means
第pのデータ信号から第qのデータ信号(1<p<q≦N)に切り替える場合は、第p〜第(q−2)及び第q〜第(N−1)の切り替え信号をそのままhighレベルに維持しつつ、第(q−1)の切り替え信号をhighレベルからlowレベルに変化させる。ただし、第1〜第(p−2)の切り替え信号、及び切り替えた後の第(p−1)〜第(q−2)の切り替え信号は、highレベルであってもlowレベルであってもよい。また、p=1の場合は、第2〜第(q−2)及び第q〜第(N−1)の切り替え信号をそのままhighレベルに維持しつつ、第(q−1)の切り替え信号をhighレベルからlowレベルに変化させる。 When switching from the pth data signal to the qth data signal (1 <p <q ≦ N), the pth to (q-2) th and qth to (N-1) th switching signals are kept high. While maintaining the level, the (q−1) th switching signal is changed from the high level to the low level. However, the first to (p-2) switching signals and the (p-1) to (q-2) switching signals after switching may be high level or low level. Good. When p = 1, the (q-1) th switching signal is maintained while maintaining the second to (q-2) th and qth to (N-1) th switching signals as they are at the high level. Change from a high level to a low level.
反対に、第qのデータ信号から第pのデータ信号に切り替える場合は、第(p−1)の切り替え信号をlowレベルにすると共に(切り替える前からlowレベルであるときもある)、第q〜第(N−1)の切り替え信号をhighレベルに維持しながら第p〜第(q−1)の切り替え信号をhighレベルにする(切り替える前からlowレベルである切り替え信号もある)。ただし、第1〜第(p−2)の切り替え信号、及び切り替え前の
第(p−1)〜第(q−2)の切り替え信号は、highレベルであってもlowレベルであってもよい。また、p=1の場合は、第1の切り替え信号をhighレベルにすると共に(切り替える前からhighレベルであるときもある)、第q〜第(N−1)の切り替え信号をhighレベルに維持しながら第2〜第(q−1)の切り替え信号をhighレベルにする。
Conversely, when switching from the q-th data signal to the p-th data signal, the (p−1) -th switching signal is set to the low level (there may be the low level before switching), and the q-th to n-th switching signals. While maintaining the (N-1) th switching signal at the high level, the pth to (q-1) th switching signals are set to the high level (some switching signals are at the low level before switching). However, the first to (p-2) switching signals and the (p-1) to (q-2) switching signals before switching may be high level or low level. . Further, when p = 1, the first switching signal is set to the high level (there may be the high level before switching), and the q-th to (N−1) th switching signals are maintained at the high level. Meanwhile, the second to (q-1) switching signals are set to the high level.
このように、第2の実施形態の変形例によると、図18に示す第(N−1)のデータバス選択手段200n(N-1) と同一の構成、すなわち、図11に示す第2の実施形態に係るデータバス切り替え装置200が、2段階以上設けられているため、3以上のデータバスを通じてそれぞれ互いに異なるデータ信号が入力されていたとしても、これらのデータ信号を相互に切り替えることができる。また、データバス切り替え装置203を構成する各データバス選択手段(200n1 〜200n(N-1) )は、第2の実施形態に係るデータバス切り替え装置200と同一であるため、3以上のデータ信号を切り替える場合であっても、各データバス選択手段において、第2の実施形態により得られた効果が確実に得られる。
Thus, according to the modification of the second embodiment, the same configuration as the (N-1) th data bus selection means 200n (N-1) shown in FIG. 18, that is, the second configuration shown in FIG. Since the data
尚、第2の実施形態の変形例において、例えば第i(1≦i≦N)のクロック信号と第iのデータ信号とは既に異なるデータバスに分けられてデータバス切り替え装置203に入力されていた。しかし、データバス切り替え装置203に入力された後に、第iのクロック信号と第iのデータ信号とを異なるデータバスに分けるようにしてもよい。
In the modification of the second embodiment, for example, the i-th (1 ≦ i ≦ N) clock signal and the i-th data signal are already divided into different data buses and input to the data
また、第2の実施形態の変形例において、データバス切り替え装置203を構成する各データバス選択手段の機能を実現する回路構成は、例えば図13に示すデータバス切り替え回路201のようになる。
Further, in the modification of the second embodiment, the circuit configuration for realizing the function of each data bus selection means constituting the data
(第3の実施形態)
以下、本発明の第3の実施形態に係るデータ受信装置について図面を参照しながら説明する。
(Third embodiment)
A data receiving apparatus according to the third embodiment of the present invention will be described below with reference to the drawings.
図19は、第3の実施形態に係るデータ受信装置の構成を示す図である。 FIG. 19 is a diagram illustrating a configuration of a data receiving apparatus according to the third embodiment.
図20は、図19に示すデータ受信装置に周辺機器を接続した場合の一例を示す図である。 20 is a diagram illustrating an example when a peripheral device is connected to the data receiving apparatus illustrated in FIG.
図19に示すように、第3の実施形態に係るデータ受信装置300は、第1の受信手段310a及び第2の受信手段310bと、信号切り替え手段320と、送信手段330とから構成される。
As shown in FIG. 19, the
第1の受信手段310aは、外部装置から伝送されてきた第1のクロック信号、及び第1のクロック信号に同期した例えばオーディオデータ信号とビデオデータ信号とからなる第1のデータ信号を受信した後、送信手段330に接続された例えば表示システムにおいて処理可能な形式に第1のデータ信号を変換し、その後、変換された第1のデータ信号及びクロック信号を信号切り替え手段320に出力する。また、第1の受信手段310aは、第1のクロック信号の再生等も行なう。同様に、第2の受信手段310bも、外部装置から伝送されてきた第2のクロック信号、及び第2のクロック信号に同期した例えばオーディオデータ信号とビデオデータ信号とからなる第2のデータ信号を受信した後、送信手段330に接続された表示システムにおいて処理可能な形式に第2のデータ信号を変換し、その後、変換された第2のデータ信号を信号切り替え手段320に出力する。また、第2の受信手段310bは、第2のクロック信号の再生等も行なう。信号切り替え手段320は、入力された切り替え信号に基づいて、第1のデータ信号及び第2のデータ信号のう
ちのいずれかを選択データ信号として選択すると共に、選択データ信号を出力データ信号として送信手段330に出力する。送信手段330は、信号切り替え手段320によって切り替えられたデータ信号に施された暗号を解除すると共に、オーディオデータ信号とビデオデータ信号との分離等を行なった後、分離等されたオーディオデータ信号及びビデオデータ信号を表示システムに出力する。
After receiving the first clock signal transmitted from the external device and the first data signal composed of, for example, an audio data signal and a video data signal synchronized with the first clock signal, the
上記の構成における本実施形態の特徴は、信号切り替え手段320が図11に示す第2の実施形態に係るデータバス切り替え装置200からなる点にある。
The characteristic of the present embodiment in the above configuration is that the signal switching means 320 includes the data
したがって、第3の実施形態によると、第1の受信手段310aによって受信された第1のクロック信号及び第2の受信手段310bによって受信された第2のクロック信号のうちのいずれかを、送信手段330から出力される出力クロック信号として選択できると共に、第1のデータ信号及び第2のデータ信号のうち、出力クロック信号として選択されたクロック信号に対応するデータ信号を選択できる。この際、信号切り替え手段320が図11に示すデータバス切り替え装置200からなるため、データ信号とクロック信号とが別々に伝送されるようなデジタル伝送システムにおいても、第2の実施形態により得られた効果が確実に得られる。
Therefore, according to the third embodiment, any one of the first clock signal received by the
例えば図20に示すように、第1の記録媒体30aに記録された第1のデータ信号及び第1のクロック信号をそれぞれ別々に受信すると共に、第2の記録媒体30bに記録された第2のデータ信号及び第2のクロック信号をそれぞれ別々に受信する場合であっても、データ受信装置300によって切り替えられたデータ信号を誤動作なく表示システム32において表示することができる。したがって、DVI又はHDMIのようなクロック信号とデータ信号とを別個に伝送するデジタル伝送システムに、本実施形態に係るデータ受信装置300を採用した場合であっても、誤動作を生ずることなく複数のデジタル信号を切り替えることができる。
For example, as shown in FIG. 20, the first data signal and the first clock signal recorded on the
また、第3の実施形態によると、第1のクロック信号と第2のクロック信号とが同期していること、及び第1のクロック信号と第2のクロック信号とが同位相になっていることは、いずれもハザード又はデューティー比崩れの防止に影響を及ぼさない。このため、DVI又はHDMIのようなデジタル伝送システムにおいても、互いに非同期で且つ位相の異なるクロック信号の間で、ハザード又はデューティー比崩れを発生させることなく、出力クロック信号を切り替えることができる。 In addition, according to the third embodiment, the first clock signal and the second clock signal are synchronized, and the first clock signal and the second clock signal are in phase. Neither affects the prevention of hazard or duty ratio collapse. Therefore, even in a digital transmission system such as DVI or HDMI, the output clock signal can be switched between clock signals that are asynchronous with each other and have different phases, without causing a hazard or a duty ratio collapse.
尚、第3の実施形態において、受信するデータ信号及びクロック信号はそれぞれ2種類であったが、3種類以上であってもよい。この場合、受信手段を3つ以上設けると共に、信号切り替え手段320として第2の実施形態の変形例に係るデータバス切り替え装置203を用いればよい。
In the third embodiment, two types of data signals and clock signals are received, but may be three or more types. In this case, three or more receiving units are provided, and the data
また、第3の実施形態において、信号切り替え手段320として第2の実施形態に係るデータバス切り替え装置を備えていたが、第4の実施形態、第5の実施形態、第6の実施形態、及びこれらの変形例のそれぞれにおいて後述するデータバスを切り替える装置を備えていてもよい。
In the third embodiment, the data bus switching device according to the second embodiment is provided as the
(第4の実施形態)
以下、本発明の第4の実施形態に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Fourth embodiment)
Hereinafter, a clock signal switching device according to a fourth embodiment of the present invention will be described with reference to the drawings.
図21は、第4の実施形態に係るクロック信号切り替え装置の構成を示す図である。 FIG. 21 is a diagram illustrating a configuration of a clock signal switching device according to the fourth embodiment.
図21に示すように、第4の実施形態に係るクロック信号切り替え装置400は、第1のクロック信号マスク手段410a及び第2のクロック信号マスク手段410bと、マスククロック信号選択手段420とから構成される。
As shown in FIG. 21, the clock
第1のクロック信号マスク手段410aは、入力された第1のクロック信号を、同じく入力された第1のマスク信号でマスクすることにより、第1のマスククロック信号を生成する。一方、第2のクロック信号マスク手段410bは、入力された第2のクロック信号を、同じく入力された第2のマスク信号でマスクすることにより、第2のマスククロック信号を生成する。マスククロック信号選択手段420は、入力された切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択クロック信号として選択すると共に、選択されたマスククロック信号を出力クロック信号として出力する。
The first clock
次に、上記のクロック信号切り替え装置400の機能を実現する回路構成について説明する。
Next, a circuit configuration for realizing the function of the clock
図22は、図21に示すクロック信号切り替え装置400の機能を実現するクロック信号切り替え回路401の構成を示す図である。
FIG. 22 is a diagram showing a configuration of a clock
図22に示すように、クロック信号切り替え回路401は、第3の論理積回路411a及び第4の論理積回路411bと、第4のマルチプレクサ421とから構成される。
As shown in FIG. 22, the clock
第3の論理積回路411aは、第1のクロック信号及び第1のマスク信号を入力とし、第1のクロック信号と第1のマスク信号との論理積である第1のマスククロック信号を生成する。一方、第4の論理積回路411bは、第2のクロック信号及び第2のマスク信号を入力とし、第2のクロック信号と第2のマスク信号との論理積である第2のマスククロック信号を生成する。また、第4のマルチプレクサ421は、第3の論理積回路411aから出力された第1のマスククロック信号、第4の論理積回路411bから出力された第2のマスククロック信号、及び切り替え信号を入力とし、入力された切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択クロック信号として選択すると共に、出力クロック信号として出力する。具体的に、第4のマルチプレクサ421は、切り替え信号がhighレベルの場合は第1のマスククロック信号を選択クロック信号として選択し、反対に切り替え信号がlowレベルである場合は第2のマスククロック信号を選択クロック信号として選択する。
The third AND
尚、第1のマスク信号、第2のマスク信号、及び切り替え信号の動作のタイミングはそれぞれ他の外部装置により制御される。 The operation timings of the first mask signal, the second mask signal, and the switching signal are controlled by other external devices.
以下、クロック信号切り替え回路401に入力されるマスク信号及び切り替え信号が外部のマイクロコンピュータにより制御される場合について説明する。
Hereinafter, a case where the mask signal and the switching signal input to the clock
図23は、図22に示すクロック信号切り替え回路401に入力される信号をマイクロコンピュータにより制御する場合のマイクロコンピュータを含む全体構成を示す図である。
FIG. 23 is a diagram showing an overall configuration including a microcomputer when a signal input to the clock
図23に示すように、マスク信号及び切り替え信号をマイクロコンピュータにより制御する場合の全体構成は、シンクデバイス402と、第1のソースデバイス430a及び第2のソースデバイス430bと、マイクロコンピュータ440とから構成される。
As shown in FIG. 23, the overall configuration when the mask signal and the switching signal are controlled by a microcomputer is configured by a
第1のソースデバイス430aは、第1のデータ信号及び第1のクロック信号を出力する。一方、第2のソースデバイス430bは、第2のデータ信号及び第2のクロック信号を出力する。また、マイクロコンピュータ440は、データ信号及びクロック信号の切り替えを制御する。具体的には、データ信号及びクロック信号をそれぞれ切り替えるための切り替え信号を生成すると共に、生成された切り替え信号に基づいて、第1のマスク信号及び第2のマスク信号を生成することにより、データ信号及びクロック信号の切り替えを行なうタイミングを制御する。これらの信号の切り替えを行なうタイミングは、例えば図3のようになる。また、シンクデバイス402は、クロック信号切り替え回路401を含む回路である。すなわち、入力されたクロック信号を上記のマスク信号でマスクすると共に、上記の切り替え信号に基づいて、第1のマスク信号でマスクされた第1のクロック信号及び第2のマスク信号でマスクされた第2のクロック信号のうちのいずれかを選択する。
The
以上に説明したように、第4の実施形態によると、第1のクロック信号及び第2のクロック信号を相互に切り替える前の段階で、第1のクロック信号マスク手段410aによって第1のクロック信号を第1のマスク信号でマスクすることができると共に、第2のクロック信号マスク手段410bにより、第2のクロック信号を第2のマスク信号でマスクすることができる。このため、第1のクロック信号及び第2のクロック信号を相互に切り替える際に発生するハザード等を未然に除去することができる。特に、図23に示すように、クロック信号切り替え装置400に入力される第1のマスク信号、第2のマスク信号、及び切り替え信号をマイクロコンピュータにより制御すればより大きな効果が得られる。
As described above, according to the fourth embodiment, the first clock signal is generated by the first clock signal masking means 410a before the first clock signal and the second clock signal are switched to each other. The first mask signal can be masked, and the second clock signal can be masked by the second mask signal by the second clock signal masking means 410b. For this reason, the hazard etc. which generate | occur | produce when switching a 1st clock signal and a 2nd clock signal mutually can be removed beforehand. In particular, as shown in FIG. 23, if the first mask signal, the second mask signal, and the switching signal input to the clock
また、第4の実施形態によると、第1のクロック信号と第2のクロック信号とが同期していること、及び第1のクロック信号と第2のクロック信号とが同位相になっていることは、いずれもハザード又はデューティー比崩れの抑制に影響を及ぼさない。このため、互いに非同期で且つ位相の異なるクロック信号の間でも、ハザード又はデューティー比崩れ抑制しながら、出力クロック信号を切り替えることができる。 Further, according to the fourth embodiment, the first clock signal and the second clock signal are synchronized, and the first clock signal and the second clock signal are in phase. Neither affects the suppression of hazard or duty ratio collapse. For this reason, it is possible to switch the output clock signal while suppressing the hazard or duty ratio collapse even between clock signals that are asynchronous with different phases.
また、第4の実施形態によると、クロック信号を切り替える際に、切り替え先のクロック信号が入力されていれば、切り替え元のクロック信号の状態に関わらずクロック信号の切り替えを行うことができる。このため、一部の従来装置においては発生していた、切り替え元のクロック信号の状態によってクロック信号の切り替えが失敗する場合があると言う問題を回避することができる。 According to the fourth embodiment, when a clock signal to be switched is input when the clock signal is switched, the clock signal can be switched regardless of the state of the switching source clock signal. Therefore, it is possible to avoid the problem that switching of the clock signal may fail depending on the state of the switching source clock signal, which has occurred in some conventional devices.
尚、第4の実施形態において、クロック信号切り替え装置400の機能をソフトウェアにより実現する場合のクロック信号切り替え方法は、第1のクロック信号マスク手段410aに対応する第1のクロック信号マスクステップと、第2のクロック信号マスク手段410bに対応する第2のクロック信号マスクステップと、マスククロック信号選択手段420に対応するクロック信号マスクステップとから構成される。第1のクロック信号マスクステップでは、入力された第1のクロック信号を第1のマスク信号でマスクすることにより第1のマスククロック信号を生成する。第2のクロック信号マスクステップでは、入力された第2のクロック信号を第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する。また、マスククロック信号選択ステップでは、入力された切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択クロック信号として選択すると共に、出力クロック信号として出力する。
In the fourth embodiment, the clock signal switching method when the function of the clock
また、第4の実施形態において、図21に示すクロック信号切り替え装置400を例えば(N−1)個設ければ、図9に示すクロック信号切り替え装置103のように、N個のクロック信号のうちのいずれかを選択クロック信号として選択できると共に、出力クロック信号として出力できる。
Further, in the fourth embodiment, when (N−1) clock
また、第4の実施形態に係るクロック信号切り替え装置に加えて、更にデータ信号選択手段を設ければ、第2の実施形態において説明したように、データ信号も同時に切り替えることができる。その構成を、図24に示す。尚、図24において、図21に示す第4の実施形態に係るクロック信号切り替え装置400と同一の構成要素には同一の符号を付す。また、符号450で示すデータ信号選択手段は、図11に示すデータ信号選択手段210と同一のものである。
In addition to the clock signal switching device according to the fourth embodiment, if a data signal selection unit is further provided, the data signals can be switched simultaneously as described in the second embodiment. The configuration is shown in FIG. In FIG. 24, the same components as those of the clock
(第4の実施形態の第1変形例)
以下、本発明の第4の実施形態の第1変形例に係るクロック信号切り替え装置について図面を参照しながら説明する。
(First Modification of Fourth Embodiment)
A clock signal switching device according to a first modification of the fourth embodiment of the present invention will be described below with reference to the drawings.
図25は、第4の実施形態の第1変形例に係るクロック信号切り替え装置403の構成を示す図である。尚、図25において、図21に示す第4の実施形態に係るクロック信号切り替え装置400と同一の構成要素には同一の符号を付す。
FIG. 25 is a diagram illustrating a configuration of a clock
図25に示すように、第4の実施形態の第1変形例に係るクロック信号切り替え装置403の特徴は、図21に示すクロック信号切り替え装置400の構成に加えて、第1のマスク信号を第1のクロック信号に同期させる第1のマスク信号同期生成手段460aと、第2のマスク信号を第2のクロック信号に同期させる第2のマスク信号同期生成手段460bとが更に設けられている点にある。
As shown in FIG. 25, the feature of the clock
したがって、第1のクロック信号は、第1のクロック信号マスク手段410aにより、第1のクロック信号に同期した第1のマスク信号でマスクされる。一方、第2のクロック信号は、第2のクロック信号マスク手段410bにより、第2のクロック信号に同期した第2のマスク信号でマスクされる。 Therefore, the first clock signal is masked by the first mask signal synchronized with the first clock signal by the first clock signal masking means 410a. On the other hand, the second clock signal is masked by the second clock signal mask means 410b with the second mask signal synchronized with the second clock signal.
次に、上記の機能を実現する回路構成について図26を用いて説明する。 Next, a circuit configuration for realizing the above function will be described with reference to FIG.
図26は、図25に示すクロック信号切り替え装置403の機能を実現するクロック信号切り替え回路404の構成を示す図である。尚、図26において、図22に示すクロック信号切り替え回路401と同一の構成要素には同一の符号を付す。
FIG. 26 is a diagram showing a configuration of a clock
図26に示すように、クロック信号切り替え回路404は、図22に示すクロック信号切り替え回路401の構成に加えて、第5のフリップフロップ461aと第6のフリップフロップ461bとが更に設けられている。
As shown in FIG. 26, the clock
第5のフリップフロップ461aは、第1のクロック信号及び第1のマスク信号を入力とし、入力された第1のマスク信号を第1のクロック信号のネガティブエッジに同期させる。よって、第3の論理積回路411aは、第1のクロック信号に同期した第1のマスク信号と第1のクロック信号との論理積である第1のマスククロック信号を生成することになる。一方、第6のフリップフロップ461bも同様に、第2のクロック信号及び第2のマスク信号を入力とし、入力された第2のマスク信号を第2のクロック信号のネガティブエッジに同期させる。よって、第4の論理積回路411bは、第2のクロック信号に同期した第2のマスク信号と第2のクロック信号との論理積である第2のマスククロック信号を生成することになる。
The fifth flip-
したがって、第4の実施形態の第1変形例によると、入力された第1のマスク信号を第1のクロック信号に同期させる第1のマスク信号同期生成手段460aと、入力された第2のマスク信号を第2のクロック信号に同期させる第2のマスク信号同期生成手段460bとを備えているため、第1のクロック信号及び第2のクロック信号を的確にマスクする
ことができる。よって、第4の実施形態により得られた効果が確実に得られる。
Therefore, according to the first modification of the fourth embodiment, the first mask signal synchronization generating means 460a for synchronizing the inputted first mask signal with the first clock signal, and the inputted second mask. Since the second mask signal synchronization generating means 460b for synchronizing the signal with the second clock signal is provided, the first clock signal and the second clock signal can be masked accurately. Therefore, the effect obtained by the fourth embodiment can be surely obtained.
尚、第4の実施形態の第1変形例に係るクロック信号切り替え装置に入力される切り替え信号は、切り替え先のクロック信号をマスクするマスク信号のポジティブエッジに同期していることが好ましい。 It should be noted that the switching signal input to the clock signal switching device according to the first modification of the fourth embodiment is preferably synchronized with the positive edge of the mask signal that masks the switching destination clock signal.
また、第4の実施形態の第1変形例において、マスク信号として第1のマスク信号及び第2のマスク信号が入力されたが、1つのマスク信号が入力されるようにしてもよい。この場合、入力された1つのマスク信号を第1のマスク信号同期生成手段460aによって第1のクロック信号に同期させることにより第1のマスククロック信号を生成すると共に、入力された1つのマスク信号を第2のマスク信号同期生成手段460bによって第2のクロック信号に同期させることにより第2のマスククロック信号を生成すればよい。 In the first modification of the fourth embodiment, the first mask signal and the second mask signal are input as mask signals, but one mask signal may be input. In this case, the first mask signal is generated by synchronizing the inputted one mask signal with the first clock signal by the first mask signal synchronization generating means 460a, and the inputted one mask signal is What is necessary is just to produce | generate a 2nd mask clock signal by synchronizing with a 2nd clock signal by the 2nd mask signal synchronous production | generation means 460b.
また、第4の実施形態の第1変形例において、図25に示すクロック信号切り替え装置403を例えば(N−1)個設ければ、図9に示すクロック信号切り替え装置103のように、N個のクロック信号のうちのいずれかを選択クロック信号として選択できると共に、出力クロック信号として出力することができる。
Further, in the first modification of the fourth embodiment, if, for example, (N−1) clock
また、第4の実施形態の第1変形例に係るクロック信号切り替え装置に加えて、更にデータ信号選択手段を設ければ、第2の実施形態において説明したように、データ信号も同時に切り替えることができる。その構成を、図27に示す。尚、図27において、図25に示す第4の実施形態の第1変形例に係るクロック信号切り替え装置403と同一の構成要素には同一の符号を付す。
In addition to the clock signal switching device according to the first modification of the fourth embodiment, if a data signal selection unit is further provided, the data signals can be switched simultaneously as described in the second embodiment. it can. The configuration is shown in FIG. In FIG. 27, the same components as those of the clock
(第4の実施形態の第2変形例)
以下、本発明の第4の実施形態の第2変形例に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Second modification of the fourth embodiment)
Hereinafter, a clock signal switching device according to a second modification of the fourth embodiment of the present invention will be described with reference to the drawings.
図28は、第4の実施形態に係る第2変形例に係るクロック信号切り替え装置405の構成を示す図である。尚、図28において、図21に示す第4の実施形態に係るクロック信号切り替え装置400と同一の構成要素には同一の符号を付す。
FIG. 28 is a diagram illustrating a configuration of a clock
図28に示すように、第4の実施形態の第2変形例に係るクロック信号切り替え装置405の特徴は、図21に示すクロック信号切り替え装置400の構成に加えて、第1の切り替え信号同期生成手段470a及び第2の切り替え信号同期生成手段470bと、同期切り替え信号選択手段480とが更に設けられている点にある。
As shown in FIG. 28, the clock
第1の切り替え信号同期生成手段470aは、入力された第1のクロック信号及び切り替え信号に基づいて、第1のクロック信号に同期した第1の同期切り替え信号を生成する。一方、第2の切り替え信号同期生成手段470bも同様に、入力された第2のクロック信号及び切り替え信号に基づいて、第2のクロック信号に同期した第2の同期切り替え信号を生成する。また、同期切り替え信号選択手段480は、入力された切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。よって、マスククロック信号選択手段420は、同期切り替え信号選択手段480によって選択された第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかの選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択切り替え信号として選択する。
The first switching signal synchronization generation means 470a generates a first synchronization switching signal synchronized with the first clock signal based on the input first clock signal and switching signal. On the other hand, the second switching signal synchronization generation means 470b similarly generates a second synchronization switching signal synchronized with the second clock signal based on the input second clock signal and switching signal. Further, the synchronization switching signal selection means 480 selects either the first synchronization switching signal or the second synchronization switching signal as the selection switching signal based on the input switching signal. Accordingly, the mask clock
次に、上記の機能を実現する回路構成について図29を用いて説明する。 Next, a circuit configuration for realizing the above functions will be described with reference to FIG.
図29は、図28に示すクロック信号切り替え装置405の機能を実現するクロック信号切り替え回路406の構成を示す図である。尚、図29において、図22に示すクロック信号切り替え回路401と同一の構成要素には同一の符号を付す。
FIG. 29 is a diagram showing a configuration of a clock
図29に示すように、クロック信号切り替え回路406は、図22に示すクロック信号切り替え回路401の構成に加えて、第7のフリップフロップ471a及び第8のフリップフロップ471bと、第5のマルチプレクサ481とが更に設けられている。
As shown in FIG. 29, the clock
第7のフリップフロップ471aは、第1のクロック信号及び切り替え信号を入力とし、第1のクロック信号に同期した第1の同期切り替え信号を生成する。一方、第8のフリップフロップ471bは、第2のクロック信号及び切り替え信号を入力とし、第2のクロック信号に同期した第2の同期切り替え信号を生成する。また、第5のマルチプレクサ481は、第1の同期切り替え信号、第2の同期切り替え信号、及び切り替え信号を入力とし、切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。具体的には、切り替え信号がhighレベルの場合は第1の同期切り替え信号を選択切り替え信号として選択し、反対に切り替え信号がlowレベルの場合は第2の同期切り替え信号を選択切り替え信号として選択する。よって、第4のマルチプレクサ421は、第5のマルチプレクサ481において選択された選択切り替え信号に基づいて、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを選択クロック信号として選択することになる。
The seventh flip-
したがって、第4の実施形態の第2変形例によると、切り替え信号を第1の切り替え信号同期生成手段470aによって第1のクロック信号に同期させることができると共に、切り替え信号を第2の切り替え信号同期生成手段470bによって第2のクロック信号に同期させることができる。このため、マスククロック信号選択手段420によって、第1のマスククロック信号及び第2のマスククロック信号のうちのいずれかを、第1のクロック信号又は第2のクロック信号に同期した切り替え信号に基づいて選択することができる。このため、第1のクロック信号又は第2のクロック信号のタイミングに合わせた切り替えを行なうことができる。よって、第4の実施形態により得られた効果が確実に得られる。
Therefore, according to the second modification of the fourth embodiment, the switching signal can be synchronized with the first clock signal by the first switching signal synchronization generation means 470a, and the switching signal can be synchronized with the second switching signal. The
尚、第4の実施形態の第2変形例に係るクロック信号切り替え装置に入力される第1のマスク信号は第1のクロック信号に同期していると共に、第2のマスク信号は第2のクロック信号に同期していることが好ましい。 The first mask signal input to the clock signal switching device according to the second modification of the fourth embodiment is synchronized with the first clock signal, and the second mask signal is the second clock signal. It is preferable to be synchronized with the signal.
また、第4の実施形態の第2変形例において、図28に示すクロック信号切り替え装置405を例えば(N−1)個設けるれば、図9に示すクロック信号切り替え装置103のように、N個のクロック信号のうちのいずれかを出力クロック信号として選択することができる。
Further, in the second modification of the fourth embodiment, if, for example, (N−1) clock
また、第4の実施形態の第2変形例に係るクロック信号切り替え装置に加えて、更にデータ信号選択手段を設ければ、第2の実施形態において説明したように、データ信号も同時に切り替えることができる。その構成を、図30に示す。尚、図30において、図28に示す第4の実施形態の第2変形例に係るクロック信号切り替え装置405と同一の構成要素には同一の符号を付す。
In addition to the clock signal switching device according to the second modification of the fourth embodiment, if a data signal selection unit is further provided, the data signals can be switched simultaneously as described in the second embodiment. it can. The configuration is shown in FIG. In FIG. 30, the same components as those of the clock
(第5の実施形態)
以下、本発明の第5の実施形態に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Fifth embodiment)
Hereinafter, a clock signal switching device according to a fifth embodiment of the present invention will be described with reference to the drawings.
図31は、第5の実施形態に係るクロック信号切り替え装置の構成を示す図である。 FIG. 31 is a diagram illustrating a configuration of a clock signal switching device according to the fifth embodiment.
図31に示すように、本実施形態に係るクロック信号切り替え装置500は、第1の信号同期生成手段510a及び第2の信号同期生成手段510bと、同期切り替え信号選択手段520と、マスク信号合成手段530と、クロック信号選択手段540と、クロック信号マスク手段550とから構成される。
As shown in FIG. 31, the clock
クロック信号切り替え装置500は、第1のクロック信号、第2のクロック信号、及び切り替え信号を入力とし、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを出力クロック信号として出力する。
The clock
具体的に、第1の信号同期生成手段510aは、入力された第1のクロック信号及び切り替え信号に基づいて、第1のクロック信号にそれぞれ同期した第1のマスク信号及び第1の同期切り替え信号を生成する。一方、第2の信号同期生成手段510bは、入力された第2のクロック信号及び切り替え信号に基づいて、第2のクロック信号にそれぞれ同期した第2のマスク信号及び第2の同期切り替え信号を生成する。同期切り替え信号選択手段520は、入力された切り替え信号に基づいて、第1の信号同期生成手段510aによって生成された第1の同期切り替え信号及び第2の信号同期生成手段510bによって生成された第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。マスク信号合成手段530は、第1の信号同期生成手段510aによって生成された第1のマスク信号のマスク部分と、第2の信号同期生成手段510bによって生成された第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する。クロック信号選択手段540は、選択切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択する。クロック信号マスク手段550は、マスク信号合成手段530によって生成された合成マスク信号で選択クロック信号をマスクすると共に、合成マスク信号でマスクされた選択クロック信号を出力クロック信号として最終的に出力する。
Specifically, the first signal
次に、上記の機能を実現する回路構成を図32を用いて説明する。 Next, a circuit configuration for realizing the above function will be described with reference to FIG.
図32は、図31に示すクロック信号切り替え装置500の機能を実現するクロック信号切り替え回路501の構成を示す図である。
FIG. 32 is a diagram showing a configuration of a clock
図32に示すように、クロック信号切り替え回路501は、第1の信号同期生成回路511a及び第2の信号同期生成回路511bと、第6のマルチプレクサ521と、論理和回路531と、第7のマルチプレクサ541と、第5の論理積回路551とから構成される。
As shown in FIG. 32, the clock
第1の信号同期生成回路511a及び第2の信号同期生成回路511bは、図2に示す第1の信号同期生成回路111aと同様である。第6のマルチプレクサ521は、切り替え信号、第1の信号同期生成回路511aにおいて生成された第1の同期切り替え信号、及び第2の信号同期生成回路511bにおいて生成された第2の同期切り替え信号を入力とし、入力された切り替え信号に基づいて、第1の同期切り替え信号及び第2の同期切り替え信号のうちのいずれかを選択切り替え信号として選択する。論理和回路531は、第1の信号同期生成回路511aにおいて生成された第1のマスク信号、及び第2の信号同期生成回路511bにおいて生成された第2のマスク信号を入力とし、第1のマスク信号と第2のマスク信号との論理和である合成マスク信号を生成する。第7のマルチプレクサ541は、第6のマルチプレクサ521において選択された選択切り替え信号、第1のクロック信号、及び第2のクロック信号を入力とし、選択切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択す
る。第5の論理積回路551は、論理和回路531において生成された合成マスク信号、及び選択クロック信号を入力とし、選択クロック信号と合成マスク信号との論理積である出力クロック信号を生成すると共に出力する。
The first signal
次に、上記のクロック信号切り替え回路501を伝達する信号の波形を、図33に示すタイミングチャートを用いて説明する。
Next, waveforms of signals transmitted through the clock
図33は、第1のクロック信号から第2のクロック信号に切り替える場合の各信号のタイミングチャートである。尚、図33に示す点A1 、A2 、B、C1 、C2 、D1 、D2 、E、F、G、及びHは、それぞれ図32に示す点に対応する。 FIG. 33 is a timing chart of each signal when switching from the first clock signal to the second clock signal. Note that the points A 1 , A 2 , B, C 1 , C 2 , D 1 , D 2 , E, F, G, and H shown in FIG. 33 correspond to the points shown in FIG. 32, respectively.
図33に示すように、時刻T50において、切り替え信号(B)がhighレベルからlowレベルに変化すると、第1の同期切り替え信号(D1 )、第2の同期切り替え信号(D2 )、及び選択切り替え信号(E)が、図5を用いて説明したように変化する。 As shown in FIG. 33, when the switching signal (B) changes from a high level to a low level at time T 50 , the first synchronization switching signal (D 1 ), the second synchronization switching signal (D 2 ), and The selection switching signal (E) changes as described with reference to FIG.
また、図33に示すタイミングチャートにおいて、時刻T52から時刻T55までの間lowレベルになっている第1のマスク信号(C1 )と、時刻T51から時刻T54までの間lowレベルになっている第2のマスク信号(C2 )との論理和である合成マスク信号(G)が生成されるため、合成マスク信号(G)は、T52からT54までの間lowレベルになる。すなわち、合成マスク信号(G)は、切り替え信号(B)がhighレベルからlowレベルに変化した後における切り替え元のクロック信号である第1のクロック信号(A1 )の最初のネガティブエッジ(T52)から、切り替え先のクロック信号である第2のクロック信号(A2 )の2つ目のネガティブエッジ(T54)までの間lowレベルになる。 In the timing chart shown in FIG. 33, the first mask signal (C 1 ) that is at the low level from time T 52 to time T 55 and the low level from time T 51 to time T 54 are displayed. Since the composite mask signal (G) that is the logical sum of the second mask signal (C 2 ) is generated, the composite mask signal (G) is at the low level from T 52 to T 54. . That is, the composite mask signal (G) is the first negative edge (T 52 ) of the first clock signal (A 1 ) that is the switching source clock signal after the switching signal (B) changes from the high level to the low level. ) Until the second negative edge (T 54 ) of the second clock signal (A 2 ) that is the switching destination clock signal.
また、選択切り替え信号(E)が時刻T54においてhighレベルからlowレベルに変化すると、第7のマルチプレクサ541から出力される選択クロック信号(F)は、第1のクロック信号(A1 )から第2のクロック信号(A2 )に切り替わる。 Further, when the changes from a high level to a low level in the selection switching signal (E) the time T 54, the selected clock signal output from the seventh multiplexer 541 (F), the first from the first clock signal (A 1) 2 clock signal (A 2 ).
また、図33に示すタイミングチャートにおいて、選択クロック信号(F)と合成マスク信号(G)との論理積である出力クロック信号(H)が生成されるため、生成される出力クロック信号(H)は、合成マスク信号(G)がlowレベルである時刻T52から時刻T54までの間lowレベルになった選択クロック信号(F)になる。よって、合成マスク信号(G)がlowレベルである間を除けば、選択クロック信号(F)の波形と出力クロック信号(H)との波形は同一になる。言い換えると、最終的にクロック信号切り替え回路501から出力される出力クロック信号(H)は、選択クロック信号(F)から波形50(ハザード)を消した波形になる。
Further, in the timing chart shown in FIG. 33, an output clock signal (H) that is a logical product of the selected clock signal (F) and the combined mask signal (G) is generated. will combined mask signal selecting a clock signal (G) becomes a low level during a period from time T 52 is a low level to the time T 54 (F). Therefore, the waveform of the selected clock signal (F) and the waveform of the output clock signal (H) are the same except when the composite mask signal (G) is at the low level. In other words, the output clock signal (H) finally output from the clock
以上、図31に示すクロック信号切り替え装置500の機能を、具体的に図32に示すハードウェア(クロック信号切り替え回路501)のみで実現する場合について説明したが、例えばソフトウェアにより実現することも可能である。
In the above, the case where the function of the clock
以下、ソフトウェアによりクロック信号を切り替える方法について説明する。 A method for switching the clock signal by software will be described below.
図7は、第5の実施形態に係るクロック信号切り替え方法をソフトウェアにより実現するための概念的なクロック信号切り替えプログラム102を示す図でもある。
FIG. 7 is also a diagram showing a conceptual clock
図7に示すように、クロック信号切り替えプログラム102は、第1のクロック信号、第2のクロック信号、及び切り替え信号を入力とし、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれか選択クロック信号として選択すると共に、出力クロック信号として出力する。クロック信号切り替えプログラム1
02の具体的な構成は、例えば図31に示すクロック信号切り替え装置500と同様である。
As illustrated in FIG. 7, the clock
The specific configuration of 02 is the same as that of the clock
すなわち、クロック信号切り替えプログラム102は、第1の信号同期生成手段510a、第2の信号同期生成手段510b、同期切り替え信号選択手段520、マスク信号合成手段530、クロック信号選択手段540、クロック信号マスク手段550のそれぞれに対応するサブプログラムを有している。
That is, the clock
図34は、図7に示すクロック信号切り替えプログラム102によるクロック信号の切り替え手順を示している。尚、第1の信号同期生成ステップS50a、第2の信号同期生成ステップS50b、及び切り替え信号選択ステップS51については、それぞれ第1の実施形態において説明した通りである。
FIG. 34 shows a clock signal switching procedure by the clock
図34に示すように、マスク信号合成手段530に対応するプログラムによる合成マスク信号生成ステップS52では、第1の信号同期生成ステップS50aにおいて生成された第1のマスク信号のマスク部分と、第2の信号同期生成ステップS50bにおいて生成された第2のマスク信号のマスク部分との重複部分をマスク部分とする合成マスク信号を生成する。 As shown in FIG. 34, in the combined mask signal generation step S52 by the program corresponding to the mask signal combining means 530, the mask portion of the first mask signal generated in the first signal synchronization generation step S50a, A composite mask signal is generated with the mask portion as an overlapping portion with the mask portion of the second mask signal generated in the signal synchronization generation step S50b.
次に、クロック信号選択手段540に対応するプログラムによるクロック信号選択ステップS53では、切り替え信号選択ステップS51において選択切り替え信号として選択された第1の同期切り替え信号又は第2の同期切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択する。 Next, in the clock signal selection step S53 by the program corresponding to the clock signal selection means 540, based on the first synchronization switching signal or the second synchronization switching signal selected as the selection switching signal in the switching signal selection step S51, One of the first clock signal and the second clock signal is selected as the selected clock signal.
次に、クロック信号マスク手段550に対応するプログラムによるクロック信号マスクステップS54では、クロック信号選択ステップS53において選択された選択クロック信号を、合成マスク信号生成ステップS52において生成された合成マスク信号でマスクすることにより出力クロック信号を生成する。 Next, in the clock signal mask step S54 by the program corresponding to the clock signal masking means 550, the selected clock signal selected in the clock signal selection step S53 is masked with the combined mask signal generated in the combined mask signal generating step S52. As a result, an output clock signal is generated.
以上に説明したように、第5の実施形態によると、第1のクロック信号及び第2のクロック信号のうちのいずれかをクロック信号選択手段540によって選択クロック信号として選択した後、クロック信号マスク手段550により、この選択クロック信号を合成マスク信号でマスクできる。このため、クロック信号を切り替えた後の段階で、ハザード又はデューティー比崩れの生じた可能性がある選択クロック信号の該当部分を除去することができる。言い換えると、ハザード又はデューティー比崩れの生じる可能性がある選択クロック信号の該当部分をマスクする合成マスク信号によって、選択クロック信号をマスクすることにより、ハザード又はデューティー比崩れの発生を防止することができる。したがって、ハザード又はデューティー比崩れのないクロック信号に同期したデータ信号を出力することにより、誤動作等の発生を防止することができる。その後、ハザード又はデューティー比崩れの除去されたクロック信号を出力クロック信号として出力できる。 As described above, according to the fifth embodiment, after selecting either the first clock signal or the second clock signal as the selected clock signal by the clock signal selecting means 540, the clock signal masking means. By 550, this selected clock signal can be masked with the combined mask signal. For this reason, at the stage after switching the clock signal, it is possible to remove a corresponding portion of the selected clock signal that may have a hazard or a duty ratio collapse. In other words, it is possible to prevent the occurrence of hazard or duty ratio breakdown by masking the selected clock signal with the combined mask signal that masks the corresponding portion of the selected clock signal that may cause hazard or duty ratio breakdown. . Therefore, by outputting a data signal synchronized with a clock signal that does not cause a hazard or duty ratio failure, it is possible to prevent malfunctions and the like. Thereafter, the clock signal from which the hazard or duty ratio collapse has been removed can be output as the output clock signal.
また、第5の実施形態によると、第1のクロック信号と第2のクロック信号とが同期していること、及び第1のクロック信号と第2のクロック信号とが同位相になっていることは、いずれもハザード又はデューティー比崩れの防止に影響を及ぼさない。このため、互いに非同期で且つ位相の異なるクロック信号の間でも、ハザード又はデューティー比崩れを発生させることなく、出力クロック信号を切り替えることができる。 Further, according to the fifth embodiment, the first clock signal and the second clock signal are synchronized, and the first clock signal and the second clock signal are in phase. Neither affects the prevention of hazard or duty ratio collapse. For this reason, it is possible to switch the output clock signal without causing a hazard or a duty ratio collapse even between clock signals that are asynchronous with different phases.
また、第5の実施形態によると、切り替え信号が例えばhighレベルからlowレベルに、又はlowレベルからhighレベルに変化した後における切り替え元のクロック信号の最初のネガティブエッジから、切り替え先のクロック信号の2つ目のネガティブエッジまでの間lowレベルになっている合成マスク信号をマスク信号合成手段530により生成できる。すなわち、クロック信号選択手段540によって選択された選択クロック信号を出力する前の段階で、ハザード又はデューティー比崩れの可能性がある選択クロッ
ク信号の該当部分を選択的に除去することができる。よって、クロック信号を切り替えた際に生じたハザード又はデューティー比崩れによる弊害を確実に排除することができる。
Further, according to the fifth embodiment, for example, from the first negative edge of the switching source clock signal after the switching signal changes from high level to low level or from low level to high level, A combined mask signal that is at a low level until the second negative edge can be generated by the mask signal combining means 530. That is, in the stage before outputting the selected clock signal selected by the clock signal selecting means 540, the corresponding portion of the selected clock signal that may have a hazard or duty ratio breakdown can be selectively removed. Therefore, it is possible to reliably eliminate the adverse effects caused by the hazard or duty ratio collapse that occurs when the clock signal is switched.
また、第5の実施形態に係るクロック信号切り替え方法によると、クロック信号切り替え回路501において生成される信号と同一の波形を、ソフトウェアによっても生成できる。このため、クロック信号を切り替えるための回路を特別に搭載する必要がない。その結果、回路規模を削減することができる。特に、クロック信号の切り替えを行なう回路以外の機能を実現するために外部タイミング制御回路のようなマイクロコンピュータ等を既に搭載している機器に有効である。この場合、新たなマイクロコンピュータを搭載しなくても、既存のマイクロコンピュータによってクロック信号を切り替えさせることができるため、更に回路規模を削減することができる。
Further, according to the clock signal switching method according to the fifth embodiment, the same waveform as the signal generated in the clock
また、第5の実施形態によると、クロック信号を切り替える際に、切り替え先のクロック信号が入力されていれば、切り替え元のクロック信号の状態に関わらずクロック信号の切り替えを行うことができる。このため、一部の従来装置においては発生していた、切り替え元のクロック信号の状態によってクロック信号の切り替えが失敗する場合があると言う問題を回避することができる。 According to the fifth embodiment, when the clock signal is switched, if the switching destination clock signal is input, the clock signal can be switched regardless of the state of the switching source clock signal. Therefore, it is possible to avoid the problem that switching of the clock signal may fail depending on the state of the switching source clock signal, which has occurred in some conventional devices.
尚、第5の実施形態に係るクロック信号切り替え装置において、クロック信号切り替え装置500の機能を実現する回路構成としてクロック信号切り替え回路501を例にして説明したが、他の回路構成により実現してもよい。
In the clock signal switching device according to the fifth embodiment, the clock
また、第5の実施形態に係るクロック信号切り替え装置の構成に加えて、更にデータ信号選択手段を設ければ、クロック信号と共にデータ信号も同時に切り替えることができる。その構成を、図35に示す。尚、図35において、図31に示す第5の実施形態に係るクロック信号切り替え装置500と同一の構成要素には同一の符号を付す。また、図35に示すデータ信号選択手段560は、図11に示すデータ信号選択手段210と同じ機能を有する。
In addition to the configuration of the clock signal switching device according to the fifth embodiment, if a data signal selection unit is further provided, the data signal can be switched simultaneously with the clock signal. The configuration is shown in FIG. In FIG. 35, the same components as those of the clock
この場合、クロック信号と共にデータ信号をソフトウェアにより切り替える方法には、図36に示すように、図34に示すステップに加えて、データ信号選択手段560に対応するプログラムによるデータ信号選択ステップS55が設けられる。データ信号選択ステップS55では、切り替え信号選択ステップS51において選択された切り替え信号に基づいて、第1のクロック信号に同期した第1のデータ信号及び第2のクロック信号に同期した第2のデータ信号のうちのいずれかを選択データ信号として選択すると共に、出力クロック信号に同期させた後、出力データ信号として出力する。 In this case, in the method of switching the data signal together with the clock signal by software, as shown in FIG. 36, in addition to the steps shown in FIG. 34, a data signal selection step S55 by a program corresponding to the data signal selection means 560 is provided. . In the data signal selection step S55, the first data signal synchronized with the first clock signal and the second data signal synchronized with the second clock signal based on the switching signal selected in the switching signal selection step S51. One of them is selected as a selection data signal, and after being synchronized with an output clock signal, it is output as an output data signal.
(第5の実施形態の変形例)
以下、本発明の第5の実施形態の変形例に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Modification of the fifth embodiment)
Hereinafter, a clock signal switching device according to a modification of the fifth embodiment of the present invention will be described with reference to the drawings.
図37は、第5の実施形態の変形例に係るクロック信号切り替え装置の構成を示す図である。 FIG. 37 is a diagram illustrating a configuration of a clock signal switching device according to a modification of the fifth embodiment.
図37に示すように、本変形例に係るクロック信号切り替え装置502の特徴は、入力されたN個(Nは2以上の整数)のクロック信号のうちのいずれかを出力クロック信号として選択することができる点にある。
As shown in FIG. 37, the clock
具体的に、クロック信号切り替え装置502は、切り替え信号デコード手段570と、第1〜第(N−1)のクロック信号選択手段500n1 〜500n(N-1) とから構成され
る。切り替え信号デコード手段570は、入力された切り替え信号をデコードすることにより、第1〜第(N−1)のクロック信号選択手段500n1 〜500n(N-1) のいずれかにそれぞれ対応する切り替え信号(第1〜第(N−1)の切り替え信号)を出力する。各クロック信号選択手段、例えば第1のクロック信号選択手段500n1 は、入力された第1の切り替え信号(デコード信号)に基づいて、同じく入力された第1のクロック信号及び第2のクロック信号のうちのいずれかを選択すると共に、選択されたクロック信号を第1の出力クロック信号として出力する。第2のクロック信号選択手段500n2 (図示省略)は、入力された第2の切り替え信号(デコード信号)に基づいて、第1のクロック信号選択手段500n1 から出力された第1の出力クロック信号、及び第3のクロック信号のうちのいずれかを第2の出力クロック信号として選択する。
Specifically, the clock
次に、各クロック信号選択手段の具体的な構成を、図38を用いて説明する。 Next, a specific configuration of each clock signal selection unit will be described with reference to FIG.
図38は、図37に示す(N−1)個からなる第1〜第(N−1)のクロック信号選択手段500n1 〜500n(N-1) のうちの例えば第(N−1)のクロック信号選択手段500n(N-1) の構成を示す図である。尚、図38において、図31に示すクロック信号切り替え装置500と同一の構成要素には同一の符号を付す。
FIG. 38 shows, for example, the (N−1) th of the (N−1) first to (N−1) th clock signal selection means
図38に示すように、第(N−1)のクロック信号選択手段500n(N-1) の構成は、図31に示すクロック信号切り替え装置500と同様である。すなわち、第(N−1)のクロック信号選択手段500n(N-1) は、第1の信号同期生成手段510a及び第2の信号同期生成手段510bと、同期切り替え信号選択手段520と、マスク信号合成手段530と、クロック信号選択手段540と、クロック信号マスク手段550とから構成される。ただし、第(N−1)のクロック信号選択手段500n(N-1) には、第(N−2)のクロック信号選択手段500n(N-2) から出力された第(N−2)の出力クロック信号と、切り替え信号デコード手段570によってデコードされた第(N−1)の切り替え信号(デコード信号)と、第Nのクロック信号とが入力される。また、図31を用いて説明した第5の実施形態と同様に、第(N−1)のクロック信号選択手段500n(N-1) では、第(N−1)の切り替え信号に基づいて、第(N−2)の出力クロック信号及び第Nのクロック信号のうちのいずれかを第(N−1)の選択クロック信号として選択すると共に、第(N−1)の合成マスク信号でマスクした第(N−1)の選択クロック信号を第(N−1)の出力クロック信号として出力する。
As shown in FIG. 38, the configuration of the (N-1) th clock signal selection means 500n (N-1) is the same as that of the clock
尚、図37に示す各クロック信号選択手段における動作は、図31に示すクロック信号切り替え装置500の説明における動作と同様に考えればよい。
37 may be considered in the same manner as the operation in the description of the clock
このように、第5の実施形態の変形例によると、図38に示す第(N−1)のクロック信号選択手段500n(N-1) 、すなわち図31に示す第5の実施形態に係るクロック信号切り替え装置500が、2段階以上設けられているため、3以上のクロック信号の間で相互に切り替えることができる。また、クロック信号切り替え装置502を構成する各クロック信号選択手段(500n1 〜500n(N-1) )は、図31に示すクロック信号切り替え装置500と同一であるため、3以上のクロック信号を切り替える場合であっても、第5の実施形態により得られた効果が確実に得られる。
Thus, according to the modification of the fifth embodiment, the (N-1) th clock signal selection means 500n (N-1) shown in FIG. 38, that is, the clock according to the fifth embodiment shown in FIG. Since the
尚、第5の実施形態の変形例において、クロック信号切り替え装置502を構成する各クロック信号選択手段の機能を実現する回路構成は、例えば図32に示すクロック信号切り替え回路501のようになる。
In the modification of the fifth embodiment, the circuit configuration for realizing the function of each clock signal selection means constituting the clock
また、第5の実施形態の変形例に係るデータ切り替え装置の構成に加えて、図17に示すデータバス切り替え装置203のように、更にデータ信号選択手段(210n1 〜21
0n(N-1) )を設ければ、クロック信号と共にデータ信号も同時に切り替えることができる。
Further, in addition to the configuration of the data switching device according to the modified example of the fifth embodiment, data signal selection means (210n 1 to 21n 21) are further provided as in the data
0n (N-1) ), the data signal can be switched simultaneously with the clock signal.
(第6の実施形態)
以下、本発明の第6の実施形態に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Sixth embodiment)
Hereinafter, a clock signal switching device according to a sixth embodiment of the present invention will be described with reference to the drawings.
図39は、第6の実施形態に係るクロック信号切り替え装置の構成を示す図である。 FIG. 39 is a diagram illustrating a configuration of a clock signal switching device according to the sixth embodiment.
図39に示すように、第6の実施形態に係るクロック信号切り替え装置600は、信号選択手段610と、クロック信号マスク手段620とから構成される。
As shown in FIG. 39, the clock
信号選択手段610は、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択する。クロック信号マスク手段620は、入力されたマスク信号で選択クロック信号をマスクすることにより出力クロック信号を生成すると共に出力する。尚、クロック信号切り替え装置600に入力されるマスク信号及び切り替え信号は、例えば外部タイミング制御回路によって制御されているものとする。
The
次に、上記の機能を実現する回路構成を図40を用いて説明する。 Next, a circuit configuration for realizing the above function will be described with reference to FIG.
図40は、図39に示すクロック信号切り替え装置600の機能を実現するクロック信号切り替え回路601の構成を示す図である。
40 is a diagram showing a configuration of a clock
図40に示すように、クロック信号切り替え回路601は、第8のマルチプレクサ611と、第6の論理積回路621とから構成される。
As shown in FIG. 40, the clock
第8のマルチプレクサ611は、第1のクロック信号、第2のクロック信号、及び切り替え信号を入力とし、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として選択する。第6の論理積回路621は、選択クロック信号及びマスク信号を入力とし、入力されたマスク信号と選択クロック信号との論理積である出力クロック信号を生成すると共に出力する。
The
次に、上記のクロック信号切り替え回路601を伝達する信号の波形を、図41に示すタイミングチャートを用いて説明する。
Next, the waveform of the signal transmitted through the clock
図41は、図40に示すクロック信号切り替え回路601において、第1のクロック信号を第2のクロック信号に切り替えた後、再び第2のクロック信号から第1のクロック信号に切り替えた場合の各信号のタイミングチャートである。尚、図41における点A1 、A2 、B、C、D、及びEは、それぞれ図40に示す点に対応している。
FIG. 41 shows each signal when the first clock signal is switched to the second clock signal in the clock
図41に示すように、まず、第1のクロック信号から第2のクロック信号に切り替える場合、時刻T61において、切り替え信号(B)がhighレベルからlowレベルに変化すると、第8のマルチプレクサ611から出力される選択クロック信号(C)は、時刻T61を境に第1のクロック信号(A1 )から第2のクロック信号(A2 )に切り替わる。
As shown in FIG. 41, first, when switching from a first clock signal to the second clock signal, at time T 61, the switching signal (B) is changed from a high level to a low level, the
また、マスク信号(D)を、切り替え信号(B)の変化する時刻T61に至る前における切り替え元のクロック信号である第1のクロック信号の最後のネガティブエッジ(T60)から、時刻T61に至った後における切り替え先のクロック信号である第2のクロック信号(A2 )の最初のネガティブエッジ(T62)までの間lowレベルになるようにする。こ
のようにすると、クロック信号マスク手段620によって行なわれる選択クロック信号(C)とマスク信号(D)との論理積により、選択クロック信号(C)から波形60(ハザード)を排除した出力クロック信号(E)を生成できる。
In addition, the mask signal (D) is changed from the last negative edge (T 60 ) of the first clock signal which is the switching source clock signal before the time T 61 when the switching signal (B) changes to the time T 61. The low level is maintained until the first negative edge (T 62 ) of the second clock signal (A 2 ), which is the clock signal to be switched after reaching the first. In this way, an output clock signal (with the waveform 60 (hazard) removed from the selected clock signal (C) by the logical product of the selected clock signal (C) and the mask signal (D) performed by the clock signal masking means 620. E) can be generated.
反対に、第2のクロック信号(A2 )から第1のクロック信号(A1 )に切り替える場合、時刻T64において、切り替え信号(B)がlowレベルからhighレベルに変化すると、第8のマルチプレクサ611から出力される選択クロック信号(C)は、時刻T64を境に第2のクロック信号(A2 )から第1のクロック信号(A1 )に切り替わる。 On the contrary, when switching from the second clock signal (A 2 ) to the first clock signal (A 1 ), when the switching signal (B) changes from low level to high level at time T 64 , the eighth multiplexer The selected clock signal (C) output from 611 is switched from the second clock signal (A 2 ) to the first clock signal (A 1 ) at time T 64 .
また、マスク信号(D)を、切り替え信号(B)の変化する時刻T64に至る前における切り替え元のクロック信号である第2のクロック信号(A2 )の最後のネガティブエッジ(T63)から、時刻T64に至った後における切り替え先のクロック信号である第1のクロック信号(A1 )の最初のネガティブエッジ(T65)までの間lowレベルになるようにする。このようにすると、クロック信号マスク手段620によって行なわれる選択クロック信号(C)とマスク信号(D)との論理積により、選択クロック信号(C)から波形61(ハザード)を排除した出力クロック信号(E)を生成できる。 Further, the mask signal (D) is changed from the last negative edge (T 63 ) of the second clock signal (A 2 ) which is the switching source clock signal before reaching the time T 64 when the switching signal (B) changes. The low level is set until the first negative edge (T 65 ) of the first clock signal (A 1 ) that is the switching destination clock signal after reaching time T 64 . In this way, an output clock signal (in which the waveform 61 (hazard) is eliminated from the selected clock signal (C) by the logical product of the selected clock signal (C) and the mask signal (D) performed by the clock signal masking means 620. E) can be generated.
図42は、切り替え信号(B)及びマスク信号(D)をそれぞれ変化させるタイミングを示す図である。 FIG. 42 is a diagram illustrating timings at which the switching signal (B) and the mask signal (D) are changed.
図42に示すように、まず、第1のマスク信号変化ステップS60では、切り替え元のクロック信号である第1のクロック信号のネガティブエッジ(時刻T60)において、マスク信号をhighレベルからlowレベルに変化させる。 As shown in FIG. 42, first, in the first mask signal changing step S60, the mask signal is changed from the high level to the low level at the negative edge (time T 60 ) of the first clock signal that is the switching source clock signal. Change.
次に、切り替え信号変化ステップS61では、切り替え元の第1のクロック信号の一周期分の時間が時刻T60から経過する前に切り替え信号を変化させる。 Then, the switching signal changes step S61, changes the switching signal before the one period of time of the first clock signal of the switching source elapses from time T 60.
次に、第2のマスク信号変化ステップS62では、切り替え信号が変化した時刻T61に至った後における切り替え先のクロック信号である第2のクロック信号の最初のネガティブエッジ(時刻T64)において、マスク信号をlowレベルからhighレベルに変化させる。 Next, in the second mask signal changing step S62, at the first negative edge (time T 64 ) of the second clock signal which is the clock signal to be switched after reaching the time T 61 when the switching signal has changed. The mask signal is changed from the low level to the high level.
以上に説明したように、第6の実施形態によると、信号選択手段610によって選択された選択切り替え信号を、入力されたマスク信号でクロック信号マスク手段620によりマスクできる。このため、切り替え信号及びマスク信号を変化させるタイミングを制御することにより、ハザード又はデューティー比崩れ等の発生した選択クロック信号からハザード等を排除することができる。よって、誤動作等の発生を起こすことなくクロック信号を切り替えることができる。
As described above, according to the sixth embodiment, the selection switching signal selected by the
また、第6の実施形態によると、第1のクロック信号と第2のクロック信号とが同期していること、及び第1のクロック信号と第2のクロック信号とが同位相になっていることは、いずれもハザード又はデューティー比崩れの防止に影響を及ぼさない。このため、互いに非同期で且つ位相の異なるクロック信号の間でも、ハザード又はデューティー比崩れを発生させることなく、出力クロック信号を切り替えることができる。 Further, according to the sixth embodiment, the first clock signal and the second clock signal are synchronized, and the first clock signal and the second clock signal are in phase. Neither affects the prevention of hazard or duty ratio collapse. For this reason, it is possible to switch the output clock signal without causing a hazard or a duty ratio collapse even between clock signals that are asynchronous with different phases.
また、第6の実施形態によると、クロック信号を切り替える際に、切り替え先のクロック信号が入力されていれば、切り替え元のクロック信号の状態に関わらずクロック信号の切り替えを行うことができる。このため、一部の従来装置においては発生していた、切り替え元のクロック信号の状態によってクロック信号の切り替えが失敗する場合があると言う問題を回避することができる。 According to the sixth embodiment, when a clock signal to be switched is input when switching the clock signal, the clock signal can be switched regardless of the state of the clock signal to be switched. Therefore, it is possible to avoid the problem that switching of the clock signal may fail depending on the state of the switching source clock signal, which has occurred in some conventional devices.
尚、第6の実施形態において、クロック信号切り替え装置600の機能を実現する回路構成としてクロック信号切り替え回路601を例にして説明したが、他の回路構成により実現してもよい。
In the sixth embodiment, the clock
また、第6の実施形態に係るクロック信号切り替え装置600の構成に加えて、更にデータ信号選択手段を設ければ、クロック信号と共にデータ信号も同時に切り替えることができる。その構成を、図43に示す。尚、図43に示すように、信号選択手段630は、入力された切り替え信号に基づいて、第1のクロック信号及び第2のクロック信号のうちのいずれかを選択クロック信号として、また第1のデータ信号及び第2のデータ信号のうちのいずれかを選択データ信号として選択する。信号マスク手段640では、信号選択手段630によって選択された選択クロック信号及び選択データ信号をそれぞれマスク信号でマスクすると共に、マスクされた選択クロック信号に同期した選択データ信号を出力データ信号として出力する。
In addition to the configuration of the clock
また、第6の実施形態において、マスク信号の波形として、切り替え信号の変化する前における切り替え元のクロック信号の最後のネガティブエッジから、切り替え信号の変化した後における切り替え先のクロック信号の最初のネガティブエッジまでの間lowになるようにした。しかし、例えば切り替え信号の変化する前における切り替え元のクロック信号の最後のネガティブエッジから、切り替え信号の変化した後における切り替え先のクロック信号の最初のポジティブエッジまでの間lowになるようにしてもよい。 In the sixth embodiment, as the waveform of the mask signal, from the last negative edge of the switching source clock signal before the switching signal changes, the first negative of the switching destination clock signal after the switching signal changes. Low until the edge. However, for example, it may be low from the last negative edge of the switching source clock signal before the switching signal changes to the first positive edge of the switching destination clock signal after the switching signal changes. .
(第6の実施形態の変形例)
以下、本発明の第6の実施形態の変形例に係るクロック信号切り替え装置について図面を参照しながら説明する。
(Modification of the sixth embodiment)
Hereinafter, a clock signal switching device according to a modification of the sixth embodiment of the present invention will be described with reference to the drawings.
図44は、第6の実施形態の変形例に係るクロック信号切り替え装置の構成を示す図である。 FIG. 44 is a diagram illustrating a configuration of a clock signal switching device according to a modification of the sixth embodiment.
図44に示すように、本変形例に係るクロック信号切り替え装置602の特徴は、入力されたN個(Nは2以上の整数)のクロック信号のうちのいずれかを出力クロック信号として選択できる点にある。
As shown in FIG. 44, the feature of the clock
具体的に、クロック信号切り替え装置602は、切り替え信号デコード手段650と、第1〜第(N−1)のクロック信号選択手段600n1 〜600n(N-1) とから構成される。切り替え信号デコード手段650は、入力された切り替え信号をデコードすることにより、第1〜第(N−1)のクロック信号選択手段600n1 〜600n(N-1) のいずれかにそれぞれ対応する切り替え信号(第1〜第(N−1)の切り替え信号)を出力する。各クロック信号選択手段、例えば第1のクロック信号選択手段600n1 は、入力された第1の切り替え信号に基づいて、同じく入力された第1のクロック信号及び第2のクロック信号のうちのいずれかを選択すると共に、選択されたクロック信号を第1の出力クロック信号として出力する。第2のクロック信号選択手段600n2 (図示省略)は、入力された第2の切り替え信号(デコード信号)に基づいて、第1のクロック信号選択手段600n1 から出力された第1の出力クロック信号及び第3のクロック信号のうちのいずれかを第2の出力クロック信号として選択する。
Specifically, the clock
次に、各クロック信号選択手段の具体的な構成を、図45を用いて説明する。 Next, a specific configuration of each clock signal selection unit will be described with reference to FIG.
図45は、図44に示す(N−1)個からなる第1〜第(N−1)のクロック信号選択手段600n1 〜600n(N-1) のうちの例えば第(N−1)のクロック信号選択手段6
00n(N-1) の構成を示す図である。尚、図45において、図39に示すクロック信号切り替え装置600と同一の構成要素には同一の符号を付す。
Figure 45 is illustrated in FIG. 44 (N-1) for example of the first to consist number (N-1) of the clock signal selection means 600n 1 ~600n (N-1) (N-1) th Clock signal selection means 6
It is a figure which shows the structure of 00n (N-1) . 45, the same components as those of the clock
図45に示すように、第(N−1)のクロック信号選択手段600n(N-1) の構成は、図39に示すクロック信号切り替え装置600と同様である。すなわち、第(N−1)のクロック信号選択手段600n(N-1) は、信号選択手段630と、信号マスク手段640とから構成される。ただし、第(N−1)のクロック信号選択手段600n(N-1) には、第(N−2)のクロック信号選択手段600n(N-2) から出力された第(N−2)の出力クロック信号と、切り替え信号デコード手段650によってデコードされた第(N−1)の切り替え信号と、第Nのクロック信号と、第(N−1)のマスク信号とが入力される。また、図39を用いて説明した第6の実施形態と同様に、第(N−1)のクロック信号選択手段600n(N-1) では、第(N−1)の切り替え信号に基づいて、第(N−2)の出力クロック信号及び第Nのクロック信号のうちのいずれかを第(N−1)の選択クロック信号として選択すると共に、入力された第(N−1)のマスク信号で第(N−1)の選択クロック信号をマスクすることにより第(N−1)の出力クロック信号を生成すると共に出力する。
As shown in FIG. 45, the configuration of the (N−1) th clock signal selection means 600n (N−1) is the same as that of the clock
尚、図44に示す各クロック信号選択手段における動作は、図39に示すクロック信号切り替え装置600の説明における動作と同様である。
44 is the same as the operation in the description of the clock
このように、第6の実施形態の変形例によると、図44に示す第(N−1)のクロック信号選択手段600n(N-1) 、すなわち図38に示す第6の実施形態に係るクロック信号切り替え装置600が、2段階以上設けられているため、3以上のクロック信号の間で相互に切り替えることができる。また、クロック信号切り替え装置602を構成する各クロック信号選択手段(600n1 〜600n(N-1) )は、図39に示すクロック信号切り替え装置600と同一であるため、3以上のクロック信号を切り替える場合であっても、第6の実施形態により得られた効果が確実に得られる。
Thus, according to the modification of the sixth embodiment, the (N-1) th clock signal selection means 600n (N-1) shown in FIG. 44, that is, the clock according to the sixth embodiment shown in FIG. Since the
尚、第6の実施形態の変形例において、クロック信号切り替え装置602を構成する各クロック信号選択手段の機能を実現する回路構成は、例えば図40に示すクロック信号切り替え回路601のようになる。
In the modified example of the sixth embodiment, the circuit configuration for realizing the function of each clock signal selection unit constituting the clock
また、第6の実施形態の変形例に係るデータ切り替え装置の構成に加えて、図17に示すデータバス切り替え装置203のように、更にデータ信号選択手段(210n1 〜210n(N-1) )を設ければ、クロック信号と共にデータ信号も同時に切り替えることができる。
Further, in addition to the configuration of the data switching device according to the modification of the sixth embodiment, data signal selection means (210n 1 to 210n (N-1) ) is further provided as in the data
本発明に係るクロック信号切り替え装置、クロック信号切り替え方法、データバス切り替え装置、データバス切り替え方法、及びデータ受信装置は、入力された複数のクロック信号のうちのいずれかを出力クロック信号として選択できると共に、この出力クロック信号にハザード又はデューティー比崩れが生じる事態を回避することができるため、複数系統のクロック信号を切り替える装置等、特にHDMI又はDVIのようなデジタル転送方式を採用する装置等において有用である。 A clock signal switching device, a clock signal switching method, a data bus switching device, a data bus switching method, and a data receiving device according to the present invention can select any one of a plurality of input clock signals as an output clock signal. Since it is possible to avoid a situation in which a hazard or duty ratio collapse occurs in the output clock signal, it is useful in a device that switches a plurality of clock signals, especially a device that employs a digital transfer method such as HDMI or DVI. is there.
100 クロック信号切り替え装置
100ni 第iのクロック信号選択手段
101 クロック信号切り替え回路
101ni 第iのクロック信号選択回路
102 クロック信号切り替えプログラム
103 クロック信号切り替え装置
110a 第1の信号同期生成手段
110b 第2の信号同期生成手段
111a 第1の信号同期生成回路
111b 第2の信号同期生成回路
112a 第1のフリップフロップ
113a 第2のフリップフロップ
114a 排他的論理和回路
120a 第1のクロック信号マスク手段
120b 第2のクロック信号マスク手段
121a 第1の論理積回路
121b 第2の論理積回路
130 同期切り替え信号選択手段
131 第1のマルチプレクサ
140 マスククロック信号選択手段
141 第2のマルチプレクサ
150 切り替え信号デコード手段
200 データバス切り替え装置
200ni 第iのデータバス選択手段
201 データバス切り替え回路
201ni 第iのデータバス選択回路
202 データバス切り替えプログラム
203 データバス切り替え装置
210 データ信号選択手段
210ni 第iのデータ信号選択手段
211 データ信号選択回路
212 第3のマルチプレクサ
213 第3のフリップフロップ
300 データ受信装置
310a 第1の受信手段
310b 第2の受信手段
320 信号切り替え手段
330 送信手段
400 クロック信号切り替え装置
401 クロック信号切り替え回路
402 シンクデバイス
403 クロック信号切り替え装置
404 クロック信号切り替え回路
405 クロック信号切り替え装置
406 クロック信号切り替え回路
410a 第1のクロック信号マスク手段
410b 第2のクロック信号マスク手段
411a 第3の論理積回路
411b 第4の論理積回路
420 マスククロック信号選択手段
421 第4のマルチプレクサ
430a 第1のソースデバイス
430b 第2のソースデバイス
440 マイクロコンピュータ
450 データ信号選択手段
460a 第1のマスク信号同期生成手段
460b 第2のマスク信号同期生成手段
461a 第5のフリップフロップ
461b 第6のフリップフロップ
470a 第1の切り替え信号同期生成手段
470b 第2の切り替え信号同期生成手段
471a 第7のフリップフロップ
471b 第8のフリップフロップ
480 同期切り替え信号選択手段
481 第5のマルチプレクサ
500 クロック信号切り替え装置
500ni 第iのクロック信号選択手段
501 クロック信号切り替え回路
501ni 第iのクロック信号選択回路
502 クロック信号切り替え装置
510a 第1の信号同期生成手段
510b 第2の信号同期生成手段
511a 第1の信号同期生成回路
511b 第2の信号同期生成回路
520 同期切り替え信号選択手段
521 第6のマルチプレクサ
530 マスク信号合成手段
531 論理和回路
540 クロック信号選択手段
541 第7のマルチプレクサ
550 クロック信号マスク手段
551 第5の論理積回路
560 データ信号選択手段
570 切り替え信号デコード手段
600 クロック信号切り替え装置
600ni 第iのクロック信号選択手段
601 クロック信号切り替え回路
602 クロック信号切り替え装置
610 信号選択手段
611 第8のマルチプレクサ
620 クロック信号マスク手段
621 第6の論理積回路
630 信号選択手段
640 信号マスク手段
650 切り替え信号デコード手段
DESCRIPTION OF SYMBOLS 100 Clock signal switching apparatus 100ni i- th i-th clock signal selection means 101 Clock signal switching circuit 101ni i- th i-th clock signal selection circuit 102 Clock signal switching program 103 Clock signal switching apparatus 110a 1st signal synchronization production | generation means 110b 2nd Signal synchronization generation means 111a First signal synchronization generation circuit 111b Second signal synchronization generation circuit 112a First flip-flop 113a Second flip-flop 114a Exclusive OR circuit 120a First clock signal masking means 120b Second Clock signal masking means 121a First AND circuit 121b Second AND circuit 130 Synchronization switching signal selecting means 131 First multiplexer 140 Mask clock signal selecting means 141 Second multiplexer 15 Switching signal decoding unit 200 data bus switching device 200n i i-th data bus selection unit 201 data bus switching circuit 201n i i-th data bus selection circuit 202 data bus switching program 203 data bus switching device 210 the data signal selection means 210n i first i data signal selection means 211 data signal selection circuit 212 third multiplexer 213 third flip-flop 300 data reception device 310a first reception means 310b second reception means 320 signal switching means 330 transmission means 400 clock signal switching device 401 Clock signal switching circuit 402 Sink device 403 Clock signal switching device 404 Clock signal switching circuit 405 Clock signal switching device 406 Clock signal switching Circuit 410a first clock signal mask means 410b second clock signal mask means 411a third AND circuit 411b fourth AND circuit 420 mask clock signal selection means 421 fourth multiplexer 430a first source device 430b Second source device 440 Microcomputer 450 Data signal selection means 460a First mask signal synchronization generation means 460b Second mask signal synchronization generation means 461a 5th flip-flop 461b 6th flip-flop 470a 1st switching signal synchronization Generation means 470b Second switching signal synchronization generation means 471a Seventh flip-flop 471b Eighth flip-flop 480 Synchronization switching signal selection means 481 Fifth multiplexer 500 Clock signal switching E apparatus 500n i of the i clock signal selection means 501 clock signal switching circuit 501n i i-th clock signal selection circuit 502 clock signal switching device 510a first signal synchronization generation unit 510b first second signal synchronization generation means 511a Signal synchronization generation circuit 511b Second signal synchronization generation circuit 520 Synchronization switching signal selection means 521 Sixth multiplexer 530 Mask signal synthesis means 531 OR circuit 540 Clock signal selection means 541 Seventh multiplexer 550 Clock signal masking means 551 5th AND circuit 560 Data signal selection means 570 Switching signal decoding means 600 Clock signal switching device 600ni i- th clock signal selection means 601 Clock signal switching circuit 602 Clock signal switching device 61 0 signal selection means 611 eighth multiplexer 620 clock signal mask means 621 sixth AND circuit 630 signal selection means 640 signal mask means 650 switching signal decoding means
Claims (9)
前記切り替え信号を第3の同期化手段のデータ入力部に直接入力するとともに前記第2のクロック信号を前記第3の同期化手段のクロック入力端子に入力し、且つ、前記第3の同期化手段の出力を第4の同期化手段のデータ入力部に入力するとともに前記第2のクロック信号を前記第4の同期化手段のクロック入力端子に入力し、前記第3及び第4の同期化手段の各出力を論理演算して第2のマスク信号を生成するとともに、第2の同期切り替え信号を前記第4の同期化手段の出力から生成する第2の信号同期生成手段と、
前記第1のクロック信号を前記第1のマスク信号でマスクすることにより、第1のマスククロック信号を生成する第1のクロック信号マスク手段と、
前記第2のクロック信号を前記第2のマスク信号でマスクすることにより、第2のマスククロック信号を生成する第2のクロック信号マスク手段と、
前記切り替え信号に基づいて、前記第1の同期切り替え信号及び前記第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、
前記選択切り替え信号に基づいて、前記第1のマスククロック信号及び前記第2のマスククロック信号のうちのいずれか1つを選択クロック信号として直接選択するマスククロック信号選択手段とを備えていることを特徴とする信号切り替え装置。 A switching signal for selecting one of the first clock signal and the second clock signal is directly input to the data input unit of the first synchronization means, and the first clock signal is input to the first clock signal. The first synchronization means is input to the clock input terminal, the output of the first synchronization means is input to the data input section of the second synchronization means, and the first clock signal is input to the second synchronization means. The first mask signal is generated by performing a logical operation on the outputs of the first and second synchronization means and inputting the first synchronization switching signal to the second input to the clock input terminal of the synchronization means. First signal synchronization generation means for generating from the output of the synchronization means;
The switching signal is directly input to the data input unit of the third synchronization means, the second clock signal is input to the clock input terminal of the third synchronization means, and the third synchronization means Is input to the data input unit of the fourth synchronizing means and the second clock signal is input to the clock input terminal of the fourth synchronizing means, and the third and fourth synchronizing means Second signal synchronization generation means for generating a second mask signal by performing a logical operation on each output, and generating a second synchronization switching signal from the output of the fourth synchronization means;
First clock signal masking means for generating a first mask clock signal by masking the first clock signal with the first mask signal;
Second clock signal masking means for generating a second mask clock signal by masking the second clock signal with the second mask signal;
Synchronization switching signal selection means for selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal;
Mask clock signal selection means for directly selecting one of the first mask clock signal and the second mask clock signal as a selection clock signal based on the selection switching signal. A characteristic signal switching device.
前記切り替え信号を第3の同期化手段のデータ入力部に直接入力するとともに前記第2のクロック信号を前記第3の同期化手段のクロック入力端子に入力し、且つ、前記第3の同期化手段の出力を第4の同期化手段のデータ入力部に入力するとともに前記第2のクロック信号を前記第4の同期化手段のクロック入力端子に入力し、前記第3及び第4の同期化手段の各出力を論理演算して第2のマスク信号を生成するとともに、第2の同期切り替え信号を前記第4の同期化手段の出力から生成する第2の信号同期生成工程と、
前記第1のクロック信号を前記第1のマスク信号でマスクすることにより第1のマスククロック信号を生成すると共に、前記第2のクロック信号を前記第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する工程と、
前記切り替え信号に基づいて、前記第1の同期切り替え信号及び前記第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する工程と、
前記選択切り替え信号に基づいて、前記第1のマスククロック信号及び前記第2のマスククロック信号のうちのいずれか1つを選択クロック信号として直接選択する工程とを備えていることを特徴とする信号切り替え方法。 A switching signal for selecting one of the first clock signal and the second clock signal is directly input to the data input unit of the first synchronization means, and the first clock signal is input to the first clock signal. The first synchronization means is input to the clock input terminal, the output of the first synchronization means is input to the data input section of the second synchronization means, and the first clock signal is input to the second synchronization means. The first mask signal is generated by performing a logical operation on the outputs of the first and second synchronization means and inputting the first synchronization switching signal to the second input to the clock input terminal of the synchronization means. A first signal synchronization generation step generated from the output of the synchronization means;
The switching signal is directly input to the data input unit of the third synchronizing means, the second clock signal is input to the clock input terminal of the third synchronizing means, and the third synchronizing means Is input to the data input unit of the fourth synchronizing means and the second clock signal is input to the clock input terminal of the fourth synchronizing means, and the third and fourth synchronizing means A second signal synchronization generation step of generating a second mask signal by performing a logical operation on each output, and generating a second synchronization switching signal from the output of the fourth synchronization means;
A first mask clock signal is generated by masking the first clock signal with the first mask signal, and a second mask signal is generated by masking the second clock signal with the second mask signal. Generating a mask clock signal; and
Selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal;
And a step of directly selecting one of the first mask clock signal and the second mask clock signal as a selection clock signal based on the selection switching signal. Switching method.
前記切り替え信号を第3の同期化手段のデータ入力部に直接入力するとともに前記第2のクロック信号を前記第3の同期化手段のクロック入力端子に入力し、且つ、前記第3の同期化手段の出力を第4の同期化手段のデータ入力部に入力するとともに前記第2のクロック信号を前記第4の同期化手段のクロック入力端子に入力し、前記第3及び第4の同期化手段の各出力を論理演算して第2のマスク信号を生成するとともに、第2の同期切り替え信号を前記第4の同期化手段の出力から生成する第2の信号同期生成手段と、
前記第1のクロック信号を前記第1のマスク信号でマスクすることにより、第1のマスククロック信号を生成する第1のクロック信号マスク手段と、
前記第2のクロック信号を前記第2のマスク信号でマスクすることにより、第2のマスククロック信号を生成する第2のクロック信号マスク手段と、
前記切り替え信号に基づいて、前記第1の同期切り替え信号及び前記第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する同期切り替え信号選択手段と、
前記選択切り替え信号に基づいて、前記第1のマスククロック信号及び前記第2のマスククロック信号のうちのいずれか1つを選択クロック信号として直接選択するマスククロック信号選択手段と、
前記選択切り替え信号に基づいて、前記第1のデータバスを通じて入力され且つ前記第1のクロック信号に同期した第1のデータ信号及び前記第2のデータバスを通じて入力され且つ前記第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択するデータ信号選択手段とを備えていることを特徴とする信号切り替え装置。 A switching signal for selecting any one of the first clock signal input through the first data bus and the second clock signal input through the second data bus is the first synchronization means. together with directly input to the data input unit inputs the first clock signal to the clock input terminal of the first synchronizing means, and the output of the first synchronizing means of the second synchronizing means The first clock signal is input to the clock input terminal of the second synchronization means and the first and second synchronization means are logically operated to input the first clock signal to the data input section First signal synchronization generation means for generating a mask signal and generating a first synchronization switching signal from the output of the second synchronization means;
The switching signal is directly input to the data input unit of the third synchronization means, the second clock signal is input to the clock input terminal of the third synchronization means, and the third synchronization means Is input to the data input unit of the fourth synchronizing means and the second clock signal is input to the clock input terminal of the fourth synchronizing means, and the third and fourth synchronizing means Second signal synchronization generation means for generating a second mask signal by performing a logical operation on each output, and generating a second synchronization switching signal from the output of the fourth synchronization means;
First clock signal masking means for generating a first mask clock signal by masking the first clock signal with the first mask signal;
Second clock signal masking means for generating a second mask clock signal by masking the second clock signal with the second mask signal;
Synchronization switching signal selection means for selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal;
Mask clock signal selection means for directly selecting one of the first mask clock signal and the second mask clock signal as a selection clock signal based on the selection switching signal;
Based on the selection switching signal, the first data signal input through the first data bus and synchronized with the first clock signal, and input through the second data bus and the second clock signal. A signal switching device comprising: data signal selection means for selecting any one of the synchronized second data signals as a selection data signal.
外部から受信した前記第1のクロック信号及び前記第1のデータ信号を前記信号切り替え手段に出力する第1の受信手段と、
外部から受信した前記第2のクロック信号及び前記第2のデータ信号を前記信号切り替え手段に出力する第2の受信手段と、
前記信号切り替え手段によって選択された前記選択クロック信号及び前記選択データ信号を外部に送信する送信手段とを少なくとも備えていることを特徴とするデータ受信装置。 A data receiving device comprising at least one signal switching device according to claim 1 as signal switching means,
First receiving means for outputting the first clock signal and the first data signal received from the outside to the signal switching means;
Second receiving means for outputting the second clock signal and the second data signal received from the outside to the signal switching means;
A data receiving apparatus comprising: at least transmission means for transmitting the selected clock signal and the selected data signal selected by the signal switching means to the outside.
前記切り替え信号を第3の同期化手段のデータ入力部に直接入力するとともに前記第2のクロック信号を前記第3の同期化手段のクロック入力端子に入力し、且つ、前記第3の同期化手段の出力を第4の同期化手段のデータ入力部に入力するとともに前記第2のクロック信号を前記第4の同期化手段のクロック入力端子に入力し、前記第3及び第4の同期化手段の各出力を論理演算して第2のマスク信号を生成すると共に、第2の同期切り替え信号を前記第4の同期化手段の出力から生成する第2の信号同期生成工程と、
前記第1のクロック信号を前記第1のマスク信号でマスクすることにより第1のマスククロック信号を生成する工程と、
前記第2のクロック信号を前記第2のマスク信号でマスクすることにより第2のマスククロック信号を生成する工程と、
前記切り替え信号に基づいて、前記第1の同期切り替え信号及び前記第2の同期切り替え信号のうちのいずれか1つを選択切り替え信号として選択する工程と、
前記選択切り替え信号に基づいて、前記第1のマスククロック信号及び前記第2のマスククロック信号のうちのいずれか1つを選択クロック信号として直接選択する工程と、
前記選択切り替え信号に基づいて、前記第1のデータバスを通じて入力され且つ前記第1のクロック信号に同期した第1のデータ信号及び前記第2のデータバスを通じて入力され且つ前記第2のクロック信号に同期した第2のデータ信号のうちのいずれか1つを選択データ信号として選択する工程とを備えていることを特徴とする信号切り替え方法。 A switching signal for selecting any one of the first clock signal input through the first data bus and the second clock signal input through the second data bus is the first synchronization means. together with directly input to the data input unit inputs the first clock signal to the clock input terminal of the first synchronizing means, and the output of the first synchronizing means of the second synchronizing means The first clock signal is input to the clock input terminal of the second synchronization means and the first and second synchronization means are logically operated to input the first clock signal to the data input section A first signal synchronization generation step of generating a mask signal and generating a first synchronization switching signal from the output of the second synchronization means;
The switching signal is directly input to the data input unit of the third synchronization means, the second clock signal is input to the clock input terminal of the third synchronization means, and the third synchronization means Is input to the data input unit of the fourth synchronizing means and the second clock signal is input to the clock input terminal of the fourth synchronizing means, and the third and fourth synchronizing means A second signal synchronization generation step of generating a second mask signal by performing a logical operation on each output, and generating a second synchronization switching signal from the output of the fourth synchronization means;
Generating a first mask clock signal by masking the first clock signal with the first mask signal;
Generating a second mask clock signal by masking the second clock signal with the second mask signal;
Selecting one of the first synchronization switching signal and the second synchronization switching signal as a selection switching signal based on the switching signal;
Directly selecting one of the first mask clock signal and the second mask clock signal as a selection clock signal based on the selection switching signal;
Based on the selection switching signal, the first data signal input through the first data bus and synchronized with the first clock signal and the second data bus input through the first data signal and the second clock signal. And a step of selecting any one of the synchronized second data signals as a selection data signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004203253A JP4559788B2 (en) | 2003-07-14 | 2004-07-09 | Signal switching device, signal switching method, and data receiving device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003274346 | 2003-07-14 | ||
JP2004203253A JP4559788B2 (en) | 2003-07-14 | 2004-07-09 | Signal switching device, signal switching method, and data receiving device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010074788A Division JP4972181B2 (en) | 2003-07-14 | 2010-03-29 | Signal switching device, signal switching method, and data receiving device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005050327A JP2005050327A (en) | 2005-02-24 |
JP4559788B2 true JP4559788B2 (en) | 2010-10-13 |
Family
ID=34277514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004203253A Expired - Fee Related JP4559788B2 (en) | 2003-07-14 | 2004-07-09 | Signal switching device, signal switching method, and data receiving device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4559788B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10727839B2 (en) | 2018-07-03 | 2020-07-28 | Silicon Works Co., Ltd. | Clock recovery device and source driver for recovering embedded clock from interface signal |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007086960A (en) | 2005-09-21 | 2007-04-05 | Sanyo Electric Co Ltd | Clock switching circuit |
JP5900053B2 (en) * | 2012-03-15 | 2016-04-06 | 株式会社ソシオネクスト | Clock switching circuit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11506885A (en) * | 1995-06-07 | 1999-06-15 | サムソン・エレクトロニクス・カンパニー・リミテッド | Glitch-free clock enable circuit |
JP2002117683A (en) * | 2000-10-04 | 2002-04-19 | Sony Corp | Clock-switching circuit and memory device having the circuit |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0282812A (en) * | 1988-09-20 | 1990-03-23 | Fujitsu Ltd | Clock switching system |
JPH04305719A (en) * | 1991-01-10 | 1992-10-28 | Nec Corp | Clock signal switching circuit |
JP3142084B2 (en) * | 1992-05-26 | 2001-03-07 | キヤノン株式会社 | Information processing device |
JPH08328687A (en) * | 1995-05-30 | 1996-12-13 | Nkk Corp | Clock changeover circuit |
JPH1168726A (en) * | 1997-08-22 | 1999-03-09 | Oki Electric Ind Co Ltd | Clock changeover circuit |
-
2004
- 2004-07-09 JP JP2004203253A patent/JP4559788B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11506885A (en) * | 1995-06-07 | 1999-06-15 | サムソン・エレクトロニクス・カンパニー・リミテッド | Glitch-free clock enable circuit |
JP2002117683A (en) * | 2000-10-04 | 2002-04-19 | Sony Corp | Clock-switching circuit and memory device having the circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10727839B2 (en) | 2018-07-03 | 2020-07-28 | Silicon Works Co., Ltd. | Clock recovery device and source driver for recovering embedded clock from interface signal |
Also Published As
Publication number | Publication date |
---|---|
JP2005050327A (en) | 2005-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4972181B2 (en) | Signal switching device, signal switching method, and data receiving device | |
KR100875340B1 (en) | Method and system for transmitting subchannel data in data inactivity period | |
JP4625863B2 (en) | Transmitting apparatus and transmitting / receiving apparatus | |
US7180336B2 (en) | Glitch-free clock switching apparatus | |
JP4559788B2 (en) | Signal switching device, signal switching method, and data receiving device | |
US7826578B1 (en) | Circuits and methods for noise management in systems including an asynchronously-operable data port | |
JP2014062972A (en) | Data reception circuit, data reception method and driver circuit | |
JPS63139415A (en) | Clock signal multiplexer | |
US20060098823A1 (en) | Method and system for time interleaved digital to analog conversion for a cable modem | |
JP2001230750A (en) | Stream transmitter, receiver therefor and fundamental frequency synchronization method | |
US20020044000A1 (en) | Digital circuit, LSI including the same and method for removing noise | |
JP4321442B2 (en) | Microphone system and signal transmission method thereof | |
WO2022259381A1 (en) | Time synchronization device, time synchronization method, and program | |
JP2011211676A (en) | Single clock sharing type computer system | |
JP5126497B2 (en) | Audio signal relay circuit and audio signal relay method | |
US20030118135A1 (en) | Clock distribution device for multiband modem | |
JP2000307430A (en) | Sigma delta type d/a converter | |
KR0172459B1 (en) | Method and device for reproducing clock signal | |
KR101018110B1 (en) | Appartus and method for synchronize of audio signal format | |
JP2003299179A (en) | Digital audio apparatus | |
JP2018207197A (en) | Clock redundant system | |
JPH0653943A (en) | Card switching circuit | |
KR960028195A (en) | Switching Noise Reduction Device for Digital Video Signal Processing System | |
JP2013229726A (en) | Signal processing device and signal processing method | |
JPH0734554B2 (en) | PCM channel unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100126 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100329 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100413 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100614 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100713 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100723 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4559788 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |