JP2007193393A - Data processor - Google Patents
Data processor Download PDFInfo
- Publication number
- JP2007193393A JP2007193393A JP2006008181A JP2006008181A JP2007193393A JP 2007193393 A JP2007193393 A JP 2007193393A JP 2006008181 A JP2006008181 A JP 2006008181A JP 2006008181 A JP2006008181 A JP 2006008181A JP 2007193393 A JP2007193393 A JP 2007193393A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- clock frequency
- data processing
- output
- operation 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.)
- Pending
Links
Images
Abstract
Description
本発明はデータ処理装置に関し、特にその動作クロック切り換え制御に適用して有効な技術に関するものである。 The present invention relates to a data processing apparatus, and more particularly to a technique effective when applied to the operation clock switching control.
従来、同期回路で構成されたデータ処理装置においては、クロック信号に同期して自己に供給されるデータ入力信号の取り込み動作を行う種々の機能回路ブロックが含まれており、通常これらの機能回路ブロックには常時一定のクロック信号が供給されるように構成されている。 2. Description of the Related Art Conventionally, a data processing apparatus configured with a synchronization circuit includes various functional circuit blocks that perform an operation of taking in a data input signal supplied to itself in synchronization with a clock signal. Is configured to be supplied with a constant clock signal at all times.
しかし、回路規模が大きくなり動作速度が上昇してくると、クロック信号が常時一定に入力されていることだけで大きな電力が消費されるようになる。 However, when the circuit scale is increased and the operation speed is increased, a large amount of power is consumed only by the constant input of the clock signal.
そこで、特開平7−99434号公報(特許文献1)では所定の機能ブロックが動作中であるか否かを判断する手段と所定の機能ブロックが動作中である時だけクロックを供給する手段とを設け、非動作の間はクロックの供給を停止させている。 Japanese Patent Application Laid-Open No. 7-99434 (Patent Document 1) includes means for determining whether or not a predetermined functional block is in operation and means for supplying a clock only when the predetermined functional block is in operation. Provided, the clock supply is stopped during non-operation.
また、特開平9−16424号公報(特許文献2)では異なるクロック周波数を発生する発振部とクロック周波数を選択するクロック周期選択部と温度センサと制御部を備え、クロック周期選択部は温度が高い場合には低いクロック周波数を選択し温度が低い場合には高いクロック周波数を選択するようにしている。
ところで、一般にデータ処理装置は一定のクロック周波数で動作させるが、必要に応じてクロック周波数を上下させることが可能な場合もある。例えば、光ディスク記録再生装置ではデータ処理にメモリを使用することが一般的であるが、ディスク記録再生の倍速によってメモリに必要なバンド幅が大きく異なり、高倍速記録再生では必要なバンド幅が低倍速記録再生では過剰なバンド幅となる場合があるため、低倍速記録再生時にクロック周波数を下げてバンド幅を抑えれば、さらに消費電力の低下が期待できる。 By the way, in general, a data processing apparatus is operated at a constant clock frequency, but there are cases where the clock frequency can be increased or decreased as necessary. For example, an optical disc recording / reproducing apparatus generally uses a memory for data processing. However, the bandwidth required for the memory varies greatly depending on the double speed of the disk recording / reproducing, and the necessary bandwidth for the high double speed recording / reproducing is low. Since there is a case where the recording / reproducing has an excessive bandwidth, if the clock frequency is lowered and the bandwidth is suppressed at the time of low-speed recording / reproducing, the power consumption can be further reduced.
しかし、従来では、クロック周波数の制御は、データ処理装置に接続されたマイコンなどにより、データ処理装置の状態を監視し、クロック周波数の制御信号などをデータ処理装置へ送ることにより制御しており、高速なクロック周波数の変更を行うことはできなかった。 However, conventionally, the control of the clock frequency is controlled by monitoring the state of the data processing device using a microcomputer connected to the data processing device and sending a control signal of the clock frequency to the data processing device, It was not possible to change the clock frequency at high speed.
そこで、本発明の目的は、データ処理装置内でクロック周波数の変更を高速に行うことができ、データ処理能力アップが必要な時だけクロック周波数を上昇させ、データ処理能力アップが必要ない場合はクロック周波数を下降させることのできるデータ処理装置を提供することである。 Therefore, an object of the present invention is to change the clock frequency at high speed in the data processing apparatus, increase the clock frequency only when the data processing capability needs to be increased, and if the data processing capability does not need to be increased, the clock frequency is increased. It is an object of the present invention to provide a data processing apparatus capable of decreasing the frequency.
本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。 Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.
本発明によるデータ処理装置は、入力されたデータを処理するデータ処理装置であって、データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、一定期間のデータ転送承認信号のカウント値の基準値を格納するレジスタと、カウンタのカウント値とレジスタの値を比較する比較回路と、比較回路の出力が入力され、データ処理装置内の動作クロック周波数を、一定期間のデータ転送承認信号のパルス数が基準値以上の場合は第1の動作クロック周波数に切り換え、一定期間のデータ転送承認信号のパルス数が基準値未満の場合は第1の動作クロック周波数より低い第2の動作クロック周波数に切り換えるクロック供給回路とを備えたものである。 A data processing apparatus according to the present invention is a data processing apparatus for processing input data, and includes a counter for counting the number of pulses of a data transfer approval signal for a certain period generated in the data processing apparatus, and a data transfer approval for a certain period. A register that stores the reference value of the signal count value, a comparison circuit that compares the count value of the counter and the register value, and an output of the comparison circuit are input, and the operation clock frequency in the data processing device is set to When the number of pulses of the transfer approval signal is greater than or equal to the reference value, the frequency is switched to the first operation clock frequency. When the number of pulses of the data transfer approval signal for a certain period is less than the reference value, the second lower than the first operation clock frequency. And a clock supply circuit for switching to the operating clock frequency.
また、本発明によるデータ処理装置は、入力されたデータを処理するデータ処理装置であって、データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、一定期間のデータ転送承認信号のカウント値の異なる基準値を格納する複数のレジスタと、複数のレジスタを切り換えるマルチプレクサと、マルチプレクサの出力値とカウンタの値を比較する比較回路と、比較回路の出力信号の立ち上がりエッジを検出する立ち上がり検出回路と、比較回路の出力信号の立ち下がりエッジを検出する立ち下がり検出回路と、立ち上がり検出回路および立ち下がり検出回路からの出力信号によりセットおよびリセットを行い、マルチプレクサの切り換え制御を行うRSフリップフロップと、RSフリップフロップにより切り換えられたレジスタの値が入力された比較回路の出力が入力され、データ処理装置内の動作クロック周波数を、第1の動作クロック周波数から第1の動作クロック周波数より低い第2の動作クロック周波数に切り換える場合は第1の基準値を用い、第2の動作クロック周波数から第1の動作クロック周波数に切り換える場合は第2の基準値を用いて、動作クロック周波数を切り換えるクロック供給回路とを備えたものである。 The data processing apparatus according to the present invention is a data processing apparatus for processing input data, the counter for counting the number of pulses of a data transfer approval signal for a certain period generated in the data processing apparatus, and the data for a certain period A plurality of registers for storing reference values having different count values of the transfer approval signal, a multiplexer for switching the plurality of registers, a comparison circuit for comparing the output value of the multiplexer with the value of the counter, and a rising edge of the output signal of the comparison circuit The rise detection circuit to detect, the fall detection circuit to detect the falling edge of the output signal of the comparison circuit, and set and reset by the output signal from the rise detection circuit and the fall detection circuit to control the switching of the multiplexer Cut off by RS flip-flop and RS flip-flop The output of the comparison circuit to which the changed register value is input is input, and the operation clock frequency in the data processing device is changed from the first operation clock frequency to the second operation clock frequency lower than the first operation clock frequency. A clock supply circuit that uses the first reference value when switching and uses the second reference value when switching from the second operation clock frequency to the first operation clock frequency, and a clock supply circuit that switches the operation clock frequency It is.
また、本発明によるデータ処理装置は、入力されたデータを処理するデータ処理装置であって、データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、一定期間のデータ転送承認信号のカウント値の異なる基準値を格納する複数のレジスタと、複数のレジスタを切り換えるマルチプレクサと、マルチプレクサの出力値とカウンタの値を比較する比較回路と、比較回路の出力を一定期間毎に格納するDフリップフロップと、Dフリップフロップの値と比較回路の出力の論理積を行うAND回路と、Dフリップフロップの値と比較回路の出力の論理和を行うOR回路と、AND回路の出力信号の立ち上がりエッジを検出する立ち上がり検出回路と、OR回路の出力信号の立ち下がりエッジを検出する立ち下がり検出回路と、立ち上がり検出回路および立ち下がり検出回路からの出力信号によりセットおよびリセットを行い、マルチプレクサの切り換え制御を行うRSフリップフロップと、RSフリップフロップの出力が入力され、データ処理装置内の動作クロック周波数を、第1の動作クロック周波数から第1の動作クロック周波数より低い第2の動作クロック周波数に切り換える場合は第1の基準値を用い、第2の動作クロック周波数から第1の動作クロック周波数に切り換える場合は第2の基準値を用い、さらに、一定期間のデータ転送承認信号のパルス数が第2の基準値以上となることが複数回発生した場合は第1の動作クロック周波数に切り換え、一定期間のデータ転送承認信号のパルス数が第1の基準値未満となることが複数回発生した場合は第2の動作クロック周波数に切り換えるクロック供給回路とを備えたものである。 The data processing apparatus according to the present invention is a data processing apparatus for processing input data, the counter for counting the number of pulses of a data transfer approval signal for a certain period generated in the data processing apparatus, and the data for a certain period A plurality of registers for storing different reference values for the count value of the transfer approval signal, a multiplexer for switching between the plurality of registers, a comparison circuit for comparing the output value of the multiplexer with the value of the counter, and the output of the comparison circuit at regular intervals A D flip-flop to store, an AND circuit that performs a logical product of the value of the D flip-flop and the output of the comparison circuit, an OR circuit that performs a logical sum of the value of the D flip-flop and the output of the comparison circuit, and an output signal of the AND circuit A rising edge detection circuit that detects the rising edge of the OR circuit and a falling edge that detects the falling edge of the output signal of the OR circuit The detection circuit, the RS flip-flop for setting and resetting by the output signals from the rise detection circuit and the fall detection circuit, and controlling the switching of the multiplexer, and the output of the RS flip-flop are input, and the operation clock in the data processing device When switching the frequency from the first operation clock frequency to the second operation clock frequency lower than the first operation clock frequency, the first reference value is used, and the second operation clock frequency is changed to the first operation clock frequency. When switching, the second reference value is used. Further, when the number of pulses of the data transfer approval signal in a certain period is more than the second reference value, it is switched to the first operation clock frequency and the constant The number of pulses of the data transfer approval signal during the period may be less than the first reference value multiple times If it is obtained by a clock supply circuit for switching the second operating clock frequency.
本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。 Among the inventions disclosed in the present application, effects obtained by typical ones will be briefly described as follows.
本発明によれば、データ処理装置内のデータ転送承認信号のパルス数に基づいて、データ処理装置内でクロック周波数の変更を行うことができるので、高速にクロック周波数の変更を行うことができ、データ処理能力アップが必要な時だけクロック周波数を上昇させ、データ処理能力アップが必要なくなるとクロック周波数を下降させるため、消費電力を低減することができる。 According to the present invention, since the clock frequency can be changed in the data processing device based on the number of pulses of the data transfer approval signal in the data processing device, the clock frequency can be changed at high speed, Since the clock frequency is increased only when the data processing capability needs to be increased, and the clock frequency is decreased when the data processing capability is not increased, the power consumption can be reduced.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.
(実施の形態1)
<データ処理装置の構成>
図1により、本発明の実施の形態1に係るデータ処理装置の構成について説明する。図1は本発明の実施の形態1に係るデータ処理装置の構成を示すブロック図であり、データ処理装置をDVD(Digital Versatile Disc)再生ドライブに適用した場合を示している。
(Embodiment 1)
<Configuration of data processing apparatus>
The configuration of the data processing apparatus according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a data processing apparatus according to
図1において、データ処理装置は、復調回路1、誤り訂正回路2、デスクランブル回路3、メモリ制御回路4、メモリ5、クロック発振回路6、分周回路7、マルチプレクサ8、クロック制御回路9から構成されている。
In FIG. 1, the data processing apparatus includes a
復調回路1は、ディスクから入力されたデータ(in_data)を8/16復調し、メモリ制御回路4を介してメモリ5に書き込む。
The demodulating
誤り訂正回路2は、メモリ5に書き込まれたデータをメモリ制御回路4を介して読み出し、誤り訂正を施したデータをメモリ5に書き込む。
The
デスクランブル回路3は、誤り訂正が施されたデータをメモリ制御回路4を介してメモリ5から読み出し、スクランブルを解いてホストコンピュータに出力する(out_data)。
The descrambling
メモリ制御回路4は、復調回路1、誤り訂正回路2、デスクランブル回路3からのデータ転送リクエスト(dem_dreq、ecc_dreq、dsc_dreq)に応じて、データ転送承認信号であるデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を出力し、メモリ5に対してデータ入出力を行う。
In response to data transfer requests (dem_dreq, ecc_dreq, dsc_dreq) from the
クロック発振回路6は、データ処理装置を動作させるクロックを出力する。 The clock oscillation circuit 6 outputs a clock for operating the data processing device.
分周回路7は、クロック発振回路6から出力されたクロックを1/2に分周する。
The frequency dividing
マルチプレクサ8は、クロック発振回路6からのクロック出力、および分周回路7からのクロック出力を選択して出力する。
The
クロック制御回路9は、データ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサ8を制御し、最適な動作クロックを選択する。
The
また、クロック発振回路6、分周回路7、マルチプレクサ8でクロック供給回路を構成している。
The clock oscillation circuit 6, the
復調回路1、誤り訂正回路2、デスクランブル回路3から、データ転送リクエスト(dem_dreq、ecc_dreq、dsc_dreq)が出力されると、メモリ制御回路4はデータ転送承認信号となるデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を出力し、メモリ5に対してデータ入出力を行う。このデータ転送アクノリッジをクロック制御回路9が監視して、その時々のデータ処理装置に最適な動作クロックを選択することができる。
When the data transfer request (dem_dreq, ecc_dreq, dsc_dreq) is output from the
<クロック制御回路の構成および動作>
次に、図2により、本発明の実施の形態1に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図2は本発明の実施の形態1に係るデータ処理装置のクロック制御回路の構成を示すブロック図である。
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing apparatus according to the first embodiment of the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to
図2において、クロック制御回路9は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、レジスタ24、比較回路であるコンパレータ25、遅延回路26から構成されている。
In FIG. 2, the
OR回路20は、メモリ制御回路4から出力される復調回路1、誤り訂正回路2、デスクランブル回路3へのデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)の論理和を行い、dackカウンタ21に出力する。
The
dackカウンタ21は、一定期間のデータ転送アクノリッジをカウントして出力する。例えば、一定期間内にカウントしたカウント値を一定時間経過後に出力する。
The
クロックカウンタ22は、動作クロックをカウントしてdackカウンタ21に対して一定期間(一定クロック数)毎にキャリー信号を出力する。
The
反転回路23は、クロックカウンタ22の出力のキャリー信号を反転してdackカウンタ21のリセットに入力する。
The inverting
レジスタ24は、コンパレータ25によりdackカウンタ21との比較を行う値を設定する。
The
コンパレータ25は、dackカウンタ21とレジスタ24の出力値を比較し、dackカウンタ21の値がレジスタ24の値未満の時“0”を出力し、dackカウンタ21の値がレジスタ24の値以上となったら“1”を出力する。
The
遅延回路26は、コンパレータ25の出力をマルチプレクサ8に出力してクロック切り換えをする際に、クロック切り換えに最適なタイミングに遅延調整する。
The
最適なタイミングとは、例えばデータ転送終了タイミングであるが、一般にデータ転送長は各々のブロック毎に異なるため、遅延回路26にはデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を入力しておき、これにより遅延量を切り換える。
The optimum timing is, for example, the data transfer end timing. Generally, since the data transfer length is different for each block, a data transfer acknowledge (dem_dack, ecc_dack, dsc_dack) is input to the
遅延回路26はシフトレジスタで構成することができ、シフトレジスタの段数を変えることにより遅延量を切り換えることができる。
The
クロック制御回路9の動作は、まず、クロック制御回路9にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、レジスタ24の値以上となったらクロック制御信号(clk_sel)が“1”となる。
As for the operation of the
クロックカウンタ22はクロックを数えており、dackカウンタ21はクロックカウンタ22のキャリー信号によりリセットされて常に一定期間のカウントを行うことになるため、クロック制御回路9は一定期間のデータ転送アクノリッジを監視してクロック制御信号(clk_sel)を切り換えることができる。
Since the clock counter 22 counts the clock and the
<データ処理装置の動作>
次に、図3により、本発明の実施の形態1に係るデータ処理装置の動作について説明する。図3は本発明の実施の形態1に係るデータ処理装置のクロック制御回路動作を説明するためのタイミングチャート図であり、図2に示すクロック制御回路9の入出力信号および内部信号を示している。
<Operation of data processing apparatus>
Next, the operation of the data processing apparatus according to the first embodiment of the present invention will be described with reference to FIG. FIG. 3 is a timing chart for explaining the operation of the clock control circuit of the data processing apparatus according to the first embodiment of the present invention, and shows input / output signals and internal signals of the
dem_dreq、ecc_dreq、dsc_dreqは、復調回路1、誤り訂正回路2、デスクランブル回路3からのデータ転送リクエストである。
Dem_dreq, ecc_dreq, and dsc_dreq are data transfer requests from the
dem_dack、ecc_dack、dsc_dackは、復調回路1、誤り訂正回路2、デスクランブル回路3へのデータ転送アクノリッジである。
Dem_dack, ecc_dack, and dsc_dack are data transfer acknowledges to the
なお、復調回路1は入力されたデータを8/16復調して出力するため、ディスクの回転速度に応じた一定周期でデータ転送要求が発生する。
Since the
また、DVDの誤り訂正は1ブロック分(32kバイト)のデータがメモリに格納されてから行われるため、誤り訂正回路2はメモリに1ブロック分格納毎に集中的にデータ転送要求が発生する。デスクランブルはホストコンピュータにデータを送る際に行う。なお、各データ転送リクエストが同時に発生した場合の各データ転送アクノリッジの出力選択にはいくつか方法があるが、ここでは優先順位がdem_dreq>ecc_dreq>dsc_dreqのように決められているものとする。
Further, since error correction of a DVD is performed after data for one block (32 kbytes) is stored in the memory, the
dem∪ecc∪dsc_dackは、上記各データ転送アクノリッジの論理和信号であり、各データ転送アクノリッジが1つでも“1”の時に“1”となる。 dem∪ecc∪dsc_dack is a logical sum signal of each data transfer acknowledge, and becomes “1” when even one data transfer acknowledge is “1”.
sourceはクロック発振回路6から出力される発振クロックであり、source/2は分周回路7から出力される1/2分周クロックである。
“source” is an oscillation clock output from the clock oscillation circuit 6, and “source / 2” is a 1/2 frequency-divided clock output from the frequency-dividing
clockはマルチプレクサ8により選択されたクロックである。
clock is a clock selected by the
count1はクロックカウンタ22のカウント値であり、“0”から“7”までカウントして“7”でキャリーを出力する。
count1 is the count value of the
count2はdackカウンタ21のカウント値であり、クロックカウンタ22の出力のキャリーが反転されてリセットに入力されているため、キャリーが“1”になるとカウント値が“0”にリセットされる。
count2 is the count value of the
count3はdackカウンタ21から出力されるカウント値であり、キャリーが“1”になり、カウント値が“0”にリセットされてから、次にリセットされるまでの一定期間のカウント値を出力している。
count3 is a count value output from the
図3に示す例では、一定期間の終了時、すなわち、キャリーが“1”になり、カウント値が“0”にリセットされる時点での一定期間のカウント値を出力しているが、一定期間内でカウント値が増加した場合は、その時点でカウント値の出力を増加させるようにしてもよい。 In the example shown in FIG. 3, the count value is output for a certain period at the end of the certain period, that is, when the carry becomes “1” and the count value is reset to “0”. If the count value increases, the output of the count value may be increased at that time.
一定期間内のカウント値が0であれば、キャリーが“1”になり、カウント値が“0”にリセットされた時点で、dackカウンタ21から出力されるカウント値count3は“0”になる。
If the count value within a certain period is 0, the carry becomes “1”, and the count value count3 output from the
compはコンパレータ25の出力であり、count2とレジスタ値を比較し、count2がレジスタ値未満の時“0”を出力し、count2がレジスタ値以上となったら“1”を出力する。
Comp is an output of the
レジスタ値が“2”の場合、count2=“2”以上で“1”を出力することになる。 When the register value is “2”, “1” is output when count2 = “2” or more.
clk_selはcompを遅延調整したクロック切り換え信号であり、マルチプレクサ8に出力されてsourceとsource/2を切り換える。
clk_sel is a clock switching signal obtained by delaying comp and is output to the
clk_sel=“0”の時、clock=source/2となり、clk_sel=“1”の時、clock=sourceとなる。 When clk_sel = “0”, clock = source / 2, and when clk_sel = “1”, clock = source.
まず、タイミング1では、データ転送リクエスト(dem_dreq)が“1”となり、復調回路1からデータ転送が要求されている。
First, at
タイミング2では、データ転送アクノリッジ(dem_dack)が“1”となり、復調回路1に対してデータ転送が承認されているため、復調回路1はメモリ制御回路4にデータ転送を行う。
At
データ転送が終了したことによりデータ転送リクエスト(dem_dreq)は“0”となる。 When the data transfer is completed, the data transfer request (dem_dreq) becomes “0”.
このデータ転送によりdackカウンタは“1”となるが、レジスタ設定が“2”のためコンパレータ出力は“0”のままで動作クロックはsource/2のまま切り換わらない。 This data transfer sets the duck counter to “1”, but the register setting is “2”, so the comparator output remains “0” and the operation clock remains at source / 2.
タイミング3では、データ転送リクエスト(ecc_dreq)が“1”となり、誤り訂正回路2からデータ転送が要求されている。
At
タイミング4では、データ転送アクノリッジ(ecc_dack)が“1”となり、誤り訂正回路2に対してデータ転送が承認されているため、誤り訂正回路2はメモリ制御回路4にデータ転送を行う。データ転送が終了するまではデータ転送リクエスト(ecc_dreq)は“1”のままとなる。
At
タイミング5でも、データ転送アクノリッジ(ecc_dack)が “1”となり、誤り訂正回路2はメモリ制御回路4にデータ転送を行う。
Even at
これらのデータ転送により、dackカウンタ21のカウントは“2”となり、クロックカウンタ22からのキャリーの入力により、dackカウンタ21の出力は“2”となり、レジスタ設定値と一致するためコンパレータ25の出力が“1”となり、続いてclk_selが“1”になることにより動作クロックがsourceに切り換わり、データ処理装置内の各データ処理回路のデータ処理能力およびメモリのバンド幅が2倍になる。
Due to these data transfers, the count of the
また、タイミング5ではデータ転送リクエスト(dem_dreq)が再び“1”となり、復調回路1からデータ転送が要求されている。
At
前述のとおりecc_dreqよりdem_dreqの方が優先順位が高いため、タイミング6ではデータ転送アクノリッジ(dem_dack)が“1”となり、復調回路1に対してデータ転送が承認されて復調回路1はメモリ制御回路4にデータ転送を行う。データ転送が終了したことによりデータ転送リクエスト(dem_dreq)は“0”となる。
As described above, since dem_dreq has a higher priority than ecc_dreq, the data transfer acknowledge (dem_dack) becomes “1” at timing 6, the data transfer is approved to the
dackカウンタ21の出力が“2”以上であり続ける限り、コンパレータ25の出力は“1”のままとなり、動作クロックがsourceのまま、データ処理装置内の各データ処理回路のデータ処理能力およびメモリのバンド幅2倍を維持し続ける。
As long as the output of the
そして、dackカウンタ21の出力が“2”未満となった時、コンパレータ25の出力が“0”に戻ることにより動作クロックがsource/2に戻り、データ処理装置内の各データ処理回路のデータ処理能力およびメモリのバンド幅が1/2倍となる。
When the output of the
以上により、本実施の形態では、一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけ動作クロック周波数を上昇させ、データ処理能力アップが必要なくなると動作クロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, the number of docks for each fixed period is counted, and the operation clock frequency is increased only when the data processing capacity needs to be increased by switching the frequency of the operation clock according to the number of decks. When the increase is not necessary, the operation clock frequency is lowered, so that power consumption can be reduced.
(実施の形態2)
<データ処理装置の構成>
図4により、本発明の実施の形態2に係るデータ処理装置の構成について説明する。図4は本発明の実施の形態2に係るデータ処理装置の構成を示すブロック図であり、実施の形態1と同一な箇所は説明を省略する。
(Embodiment 2)
<Configuration of data processing apparatus>
The configuration of the data processing apparatus according to the second embodiment of the present invention will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the data processing apparatus according to the second embodiment of the present invention, and the description of the same parts as those in the first embodiment is omitted.
図4において、データ処理装置は、復調回路1、誤り訂正回路2、デスクランブル回路3、メモリ制御回路4、メモリ5、クロック発振回路6、分周回路40、マルチプレクサ41、クロック制御回路42から構成されている。
In FIG. 4, the data processing apparatus includes a
分周回路40は、クロック発振回路6から出力されたクロックを1/2、1/4に分周する。
The
マルチプレクサ41は、クロック発振回路6からのクロック出力、および分周回路40からのクロック出力を選択して出力する。
The
クロック制御回路42は、データ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサ41を制御し、最適な動作クロックを選択する。
The
復調回路1、誤り訂正回路2、デスクランブル回路3からデータ転送リクエスト(dem_dreq、ecc_dreq、dsc_dreq)が出力されると、メモリ制御回路4は、データ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を出力し、メモリ5に対してデータ入出力を行う。このデータ転送アクノリッジをクロック制御回路42が監視して、その時々のデータ処理装置に最適な動作クロックを選択することができる。
When a data transfer request (dem_dreq, ecc_dreq, dsc_dreq) is output from the
<クロック制御回路の構成および動作>
次に、図5により、本発明の実施の形態2に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図5は本発明の実施の形態2に係るデータ処理装置のクロック制御回路の構成を示すブロック図であり、実施の形態1と同一な箇所は説明を省略する。
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing apparatus according to the second embodiment of the present invention will be described with reference to FIG. FIG. 5 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to the second embodiment of the present invention, and the description of the same parts as those in the first embodiment is omitted.
図5において、クロック制御回路42は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、レジスタ24、コンパレータ25、遅延回路26、レジスタ51、コンパレータ52、遅延回路53から構成されている。
In FIG. 5, the
レジスタ51は、コンパレータ52によりdackカウンタ21との比較を行う値を設定する。
The
コンパレータ52は、dackカウンタ21とレジスタ51の出力値を比較し、dackカウンタ21の値がレジスタ51の値未満の時“0”を出力し、dackカウンタ21の値がレジスタ51の値以上となったら“1”を出力する。
The
遅延回路53は、コンパレータ52の出力をマルチプレクサ41に出力してクロック切り換えをする際に、クロック切り換えに最適なタイミングに遅延調整する。
When the
最適なタイミングとは、例えばデータ転送終了タイミングであるが、一般にデータ転送長は各々のブロック毎に異なるため、遅延回路53にはデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を入力しておき、これにより遅延量を切り換える。
The optimal timing is, for example, the data transfer end timing. However, since the data transfer length is generally different for each block, a data transfer acknowledge (dem_dack, ecc_dack, dsc_dack) is input to the
遅延回路53はシフトレジスタで構成することができ、シフトレジスタの段数を変えることにより遅延量を切り換えることができる。
The
なお、ここでは例としてレジスタ24には“2”、レジスタ51には“3”を設定する。
Here, as an example, “2” is set in the
クロック制御回路42の動作は、まず、クロック制御回路42にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、dackカウンタ21の出力がレジスタ24の値以上となったらクロック制御信号(clk_sel)が“1”となり、レジスタ51の値以上となったらクロック制御信号(clk_se2)が“1”となる。
As for the operation of the
具体的には、dackカウンタ21の出力が、レジスタ24の値“2”以上となったらクロック制御信号(clk_sel)が“1”となる。
Specifically, the clock control signal (clk_sel) becomes “1” when the output of the
そして、dackカウンタ21の出力が、レジスタ51の値“3”以上となったらクロック制御信号(clk_sel2)も“1”となる。
When the output of the
clk_sel2はコンパレータ52の出力comp2を遅延調整したクロック切り換え信号であり、clk_selと共にマルチプレクサに出力されてsource、source/2、source/4を切り換える。
clk_sel2 is a clock switching signal obtained by delay-adjusting the output comp2 of the
clk_sel=clk_sel2=“0”の時は、clock=source/4となり、clk_sel=“1”、clk_sel2=“0”の時はclock=source/2となる。そして、clk_sel=clk_sel2=“1”の時はclock=sourceとなる。 When clk_sel = clk_sel2 = “0”, clock = source / 4, and when clk_sel = “1” and clk_sel2 = “0”, clock = source / 2. When clk_sel = clk_sel2 = “1”, clock = source.
以上により、本実施の形態では、実施の形態1と同様に一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけ動作クロック周波数を上昇させ、データ処理能力アップが必要なくなると動作クロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, as in the first embodiment, the number of docks per predetermined period is counted, and the operation clock frequency is switched only when the data processing capability needs to be increased by switching the frequency of the operation clock according to the number of docks. When the data processing capability is not required to be increased, the operation clock frequency is decreased, so that power consumption can be reduced.
さらに、本実施の形態では、複数の比較回路およびレジスタを備えることにより、実施の形態1に対してクロック周波数を2段階ではなく3段階以上に切り換えることができる。 Furthermore, in this embodiment, by providing a plurality of comparison circuits and registers, the clock frequency can be switched to three or more stages instead of two stages with respect to the first embodiment.
(実施の形態3)
<クロック制御回路の構成および動作>
次に、図6により、本発明の実施の形態3に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図6は本発明の実施の形態3に係るデータ処理装置のクロック制御回路の構成を示すブロック図であり、実施の形態1と同一な箇所は説明を省略する。また、クロック制御回路以外のデータ処理装置の構成および動作は、実施の形態1と同様である。
(Embodiment 3)
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing apparatus according to the third embodiment of the present invention will be described with reference to FIG. FIG. 6 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to the third embodiment of the present invention, and the description of the same parts as those in the first embodiment is omitted. The configuration and operation of the data processing device other than the clock control circuit are the same as those in the first embodiment.
図6において、クロック制御回路60は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、レジスタ24、コンパレータ25、遅延回路26、Dフリップフロップ61、AND回路62から構成されている。
In FIG. 6, the
クロック制御回路60は、データ処理装置内のデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサ8を制御し、最適な動作クロックを選択する。
The
Dフリップフロップ61は、クロックカウンタ22のキャリー信号のタイミングでコンパレータ25の出力compを取り込む。
The D flip-
AND回路62は、コンパレータ25の出力compとDフリップフロップ61の出力の論理積を出力する。
The AND
クロック制御回路60の動作は、まず、クロック制御回路60にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、dackカウンタ21の出力がレジスタ24の値以上となったらコンパレータ25の出力compが “1”となる。コンパレータ25の出力compはDフリップフロップ61とAND回路62に接続されているため、コンパレータ25の出力compがキャリー信号のタイミングで2回続けて“1”になった時に初めてクロック制御信号(clk_sel)が“1”となる。
As for the operation of the
具体的には、dackカウンタ21の出力が、レジスタ24の値“2”以上となったらコンパレータ25の出力compが“1”となるが、Dフリップフロップ61の出力は“0”のため、クロック制御信号(clk_sel)は“0”のままとなる。
Specifically, when the output of the
そして、Dフリップフロップ61にクロックカウンタ22のキャリー信号が入力されると、Dフリップフロップ61には、コンパレータ25の出力compの“1”が入力されているため、Dフリップフロップ61の出力は“1”となり、そのときにコンパレータ25の出力compが“1”であれば、クロック制御信号(clk_sel)は“1”となる。
Then, when the carry signal of the
以上により、本実施の形態では、実施の形態1と同様に一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけ動作クロック周波数を上昇させ、データ処理能力アップが必要なくなるとクロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, as in the first embodiment, the number of docks per predetermined period is counted, and the operation clock frequency is switched only when the data processing capability needs to be increased by switching the frequency of the operation clock according to the number of docks. When the data processing capability is not increased, the clock frequency is decreased, so that power consumption can be reduced.
さらに、本実施の形態では2回続けてレジスタ値に達した時に始めてクロック周波数を上昇するため、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Furthermore, in this embodiment, the clock frequency is increased only when the register value is reached twice in succession, so that it is possible to prevent the clock frequency from repeatedly increasing and decreasing.
なお、本実施の形態では比較回路が1つの場合を例として説明したが、複数の比較回路およびレジスタを備えることにより、クロック周波数を2段階ではなく3段階以上に切り換えることが可能である。 In this embodiment, the case where there is one comparison circuit has been described as an example. However, by providing a plurality of comparison circuits and registers, the clock frequency can be switched to three or more stages instead of two stages.
(実施の形態4)
<クロック制御回路の構成および動作>
次に、図7により、本発明の実施の形態4に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図7は本発明の実施の形態4に係るデータ処理装置のクロック制御回路の構成を示すブロック図であり、実施の形態1および3と同一な箇所は説明を省略する。また、クロック制御回路以外のデータ処理装置の構成および動作は、実施の形態1と同様である。
(Embodiment 4)
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing apparatus according to the fourth embodiment of the present invention will be described with reference to FIG. FIG. 7 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to the fourth embodiment of the present invention, and the description of the same parts as those in the first and third embodiments is omitted. The configuration and operation of the data processing device other than the clock control circuit are the same as those in the first embodiment.
図7において、クロック制御回路70は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、レジスタ24、コンパレータ25、遅延回路26、Dフリップフロップ61、OR回路71から構成されている。
In FIG. 7, the
クロック制御回路70は、データ処理装置内のデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサを制御し、最適な動作クロックを選択する。
The
OR回路71は、コンパレータ25の出力compとDフリップフロップ61の出力の論理和を出力する。
The OR
クロック制御回路70の動作は、まず、クロック制御回路70にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、dackカウンタ21の出力がレジスタ24の値以上となり、コンパレータ25の出力compが“1”となった後、dackカウンタ21の出力がレジスタ24の値未満となったらコンパレータ25の出力compが “0”となる。
As for the operation of the
コンパレータ25の出力compはDフリップフロップ61とOR回路71に接続されているため、コンパレータ25の出力compがキャリー信号のタイミングで2回続けて“0”になった時に初めてクロック制御信号(clk_sel)が“0”となる。
Since the output comp of the
具体的には、クロック制御信号(clk_sel)が“1”の状態で、dackカウンタ21の出力が、レジスタ24の値“2”未満となったらコンパレータ25の出力compが“0”となるが、Dフリップフロップ61の出力は“1”のため、クロック制御信号(clk_sel)は“1”のままとなる。
Specifically, when the clock control signal (clk_sel) is “1” and the output of the
そして、Dフリップフロップ61にクロックカウンタ22のキャリー信号が入力されると、Dフリップフロップ61には、コンパレータ25の出力compの“0”が入力されているため、Dフリップフロップ61の出力は“0”となり、クロック制御信号(clk_sel)が“0”となる。
Then, when the carry signal of the
以上により、本実施の形態では、実施の形態1と同様に一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけクロック周波数を上昇させ、データ処理能力アップが必要なくなるとクロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, the number of docks for a certain period is counted in the same manner as in the first embodiment, and the clock frequency is changed only when the data processing capability needs to be increased by switching the frequency of the operation clock according to the number of docks. When the data processing capability is not increased, the clock frequency is decreased, so that the power consumption can be reduced.
さらに、本実施の形態では2回続けてレジスタ値未満になった時に始めてクロック周波数を下降するため、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Furthermore, in this embodiment, the clock frequency is lowered only when it becomes less than the register value twice in succession, so that it is possible to prevent the clock frequency from being repeatedly raised and lowered.
なお、本実施の形態では比較回路が1つの場合を例として説明したが、複数の比較回路およびレジスタを備えることにより、クロック周波数を2段階ではなく3段階以上に切り換えることが可能である。 In this embodiment, the case where there is one comparison circuit has been described as an example. However, by providing a plurality of comparison circuits and registers, the clock frequency can be switched to three or more stages instead of two stages.
(実施の形態5)
<クロック制御回路の構成および動作>
次に、図8により、本発明の実施の形態5に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図8は本発明の実施の形態5に係るデータ処理装置のクロック制御回路の構成を示すブロック図であり、実施の形態1と同一な箇所は説明を省略する。また、クロック制御回路以外のデータ処理装置の構成および動作は、実施の形態1と同様である。
(Embodiment 5)
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing device according to the fifth embodiment of the present invention will be described with reference to FIG. FIG. 8 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to the fifth embodiment of the present invention, and the description of the same parts as those in the first embodiment is omitted. The configuration and operation of the data processing device other than the clock control circuit are the same as those in the first embodiment.
図8において、クロック制御回路80は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、コンパレータ25、遅延回路26、立ち上がり検出回路81、立ち下がり検出回路82、RSフリップフロップ83、マルチプレクサ84、レジスタ85,86から構成されている。
In FIG. 8, a
クロック制御回路80は、データ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサ8を制御し、最適な動作クロックを選択する。
The
立ち上がり検出回路81は、コンパレータ25の出力compの立ち上がりエッジを検出すると“1”パルスを出力する。
The rising
立ち下がり検出回路82は、コンパレータ25の出力compの立ち下がりエッジを検出すると“1”パルスを出力する。
The falling
RSフリップフロップ83は、立ち上がり検出回路81からの“1”パルスによりセット(出力“1”)され、立ち下がり検出回路82からの“1”パルスによりリセット(出力“0”)される。
The RS flip-
マルチプレクサ84は、RSフリップフロップ83の出力によりレジスタ85、86を選択して出力する。
The
レジスタ85,86は、コンパレータ25によりdackカウンタ21との比較を行う値を設定する。
The
実施の形態1では、レジスタ24に“2”を設定する例を示したが、本実施の形態では、レジスタ85には“2”、レジスタ86には“1”を設定する。
In the first embodiment, an example in which “2” is set in the
クロック制御回路80の動作は、まず、マルチプレクサ84はレジスタ85を選択している状態で、クロック制御回路70にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、dackカウンタ21の出力がレジスタ85の値以上となり、コンパレータ25の出力compが“1”となった後、マルチプレクサ84がレジスタ86を選択し、dackカウンタ21の出力がレジスタ86の値未満となったらコンパレータ25の出力compが“0”となる。
The operation of the
具体的には、動作クロックがsource/2の時は、マルチプレクサ84はレジスタ85を選択しており、データ転送の発生によりdackカウンタ21の出力が“2”となったとすると、レジスタ85の設定値“2”と一致するためコンパレータ25の出力compが“1”となる。
Specifically, when the operation clock is source / 2, the
続いてクロック制御信号clk_selが“1”になることにより動作クロックがsourceに切り換わり、データ処理装置内の各データ処理回路のデータ処理能力およびメモリのバンド幅が2倍になる。 Subsequently, when the clock control signal clk_sel becomes “1”, the operation clock is switched to the source, and the data processing capability and the memory bandwidth of each data processing circuit in the data processing device are doubled.
また、コンパレータ25の出力compが“1”となる際に、立ち上がり検出回路81が“1”を出力し、RSフリップフロップ83は“1”を出力する。これによりマルチプレクサ84はレジスタ86を選択し、コンパレータ25が比較する値はレジスタ85の設定値“2”ではなくレジスタ86の設定値“1”となる。
Further, when the output comp of the
そして、dackカウンタ21の出力が“1”以上であり続ける限り、コンパレータ25の出力compは“1”のままとなり、動作クロックがsourceのまま、データ処理装置の各データ処理回路のデータ処理能力およびメモリのバンド幅2倍を維持し続ける。
As long as the output of the
そして、dackカウンタ21の出力が“1”未満となった時、コンパレータ25の出力compが“0”に戻り、続いてクロック制御信号clk_selが“0”になることにより動作クロックがsource/2に戻り、各データ処理回路のデータ処理能力およびメモリのバンド幅が1/2倍となる。
When the output of the
また、コンパレータ25の出力compが“0”となる際に、立ち下がり検出回路82が“1”を出力し、RSフリップフロップ83は“0”を出力する。これによりマルチプレクサ84はレジスタ85を選択し、コンパレータ25が比較する値はレジスタ86の設定値“1”ではなくレジスタ85の設定値“2”となる。
Further, when the output comp of the
以上により、本実施の形態では実施の形態1と同様に一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけクロック周波数を上昇させ、データ処理能力アップが必要なくなるとクロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, as in the first embodiment, the number of docks is counted per fixed period, and the clock frequency is increased only when the data processing capability needs to be increased by switching the frequency of the operation clock according to the number of docks. When the data processing capability does not need to be increased, the clock frequency is lowered, so that power consumption can be reduced.
さらに、本実施の形態では2つのレジスタに異なる値を設定することにより、クロック周波数を上昇させる基準値と下降させる基準値を変えることができ、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Furthermore, in the present embodiment, by setting different values in the two registers, the reference value for increasing the clock frequency and the reference value for decreasing the clock frequency can be changed, thereby preventing the clock frequency from repeatedly increasing and decreasing unnecessarily. be able to.
なお、本実施の形態では、比較回路が1つの場合を例として説明したが、複数の比較回路およびレジスタを備えることにより、クロック周波数を2段階ではなく3段階以上に切り換えることが可能である。 In this embodiment, the case where there is one comparison circuit has been described as an example. However, by providing a plurality of comparison circuits and registers, the clock frequency can be switched to three or more stages instead of two stages.
(実施の形態6)
<クロック制御回路の構成および動作>
次に、図9により、本発明の実施の形態6に係るデータ処理装置のクロック制御回路の構成および動作について説明する。図9は本発明の実施の形態6に係るデータ処理装置のクロック制御回路の構成を示すブロック図であり、実施の形態1,3,4,5と同一な箇所は説明を省略する。また、クロック制御回路以外のデータ処理装置の構成および動作は、実施の形態1と同様である。
(Embodiment 6)
<Configuration and operation of clock control circuit>
Next, the configuration and operation of the clock control circuit of the data processing device according to the sixth embodiment of the present invention will be described with reference to FIG. FIG. 9 is a block diagram showing the configuration of the clock control circuit of the data processing apparatus according to the sixth embodiment of the present invention, and the description of the same parts as those of the first, third, fourth, and fifth embodiments is omitted. The configuration and operation of the data processing device other than the clock control circuit are the same as those in the first embodiment.
図9において、クロック制御回路90は、OR回路20、dackカウンタ21、クロックカウンタ22、反転回路23、コンパレータ25、遅延回路26、Dフリップフロップ61、AND回路62、OR回路71、立ち上がり検出回路81、立ち下がり検出回路82、RSフリップフロップ83、マルチプレクサ84、レジスタ85,86から構成されている。
In FIG. 9, the
クロック制御回路90は、データ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)を監視してマルチプレクサを制御し、最適な動作クロックを選択する。
The
実施の形態1では、レジスタ24に“2”を設定する例を示したが、実施の形態6では、実施の形態5と同様にレジスタ85には“2”、レジスタ86には“1”を設定する。
In the first embodiment, an example in which “2” is set in the
クロック制御回路90の動作は、まず、マルチプレクサ84はレジスタ85を選択している状態で、クロック制御回路70にデータ転送アクノリッジ(dem_dack、ecc_dack、dsc_dack)のいずれかが入力されると、dackカウンタ21が進み、レジスタ85の値以上となり、コンパレータ25の出力compがキャリー信号のタイミングで2回続けて“1”になった時に、マルチプレクサ84がレジスタ86を選択する。
The operation of the
その後、dackカウンタ21がレジスタ86の値未満となり、コンパレータ25の出力compがキャリー信号のタイミングで2回続けて“0”になった時に、マルチプレクサ84がレジスタ85を選択する。
After that, when the
具体的には、データ処理クロックがsource/2の時、マルチプレクサ84はレジスタ85を選択しており、データ転送の発生によりdackカウンタ21の出力が“2”となったとすると、レジスタ85の設定値“2”と一致するためコンパレータ25の出力compが“1”となる。
Specifically, when the data processing clock is source / 2, the
また、コンパレータ25の出力compが2回続いて“1”となる際に、立ち上がり検出回路81が“1”を出力し、RSフリップフロップ83は“1”を出力する。
Further, when the output comp of the
これによりマルチプレクサ84はレジスタ86を選択し、コンパレータ25が比較する値はレジスタ85の設定値“2”ではなくレジスタ86の設定値“1”となる。
As a result, the
また、RSフリップフロップ83が“1”になり、クロック制御信号clk_selが“1”になることにより動作クロックがsourceに切り換わり、データ処理装置の各データ処理回路のデータ処理能力およびメモリのバンド幅が2倍になる。
Further, when the RS flip-
そして、dackカウンタ21が“1”以上であり続ける限り、コンパレータ25の出力compは“1”のままとなり、動作クロックがsourceのまま、データ処理装置の各データ処理回路のデータ処理能力およびメモリのバンド幅2倍を維持し続ける。
As long as the
そして、dackカウンタ21の出力が“1”未満となった時、コンパレータ25の出力compが“0”に戻る。
When the output of the
また、コンパレータ25の出力compが2回続いて“0”となる際に、立ち下がり検出回路82が“1”を出力し、RSフリップフロップ83は“0”を出力する。これによりマルチプレクサ84はレジスタ85を選択し、コンパレータ25が比較する値はレジスタ86の設定値“1”ではなくレジスタ85の設定値“2”となる。
In addition, when the output comp of the
また、RSフリップフロップ83が“0”になり、clk_selが“0”になることにより動作クロックがsource/2に戻り、データ処理装置の各データ処理回路のデータ処理能力およびメモリのバンド幅が1/2倍となる。
Further, when the RS flip-
以上により、本実施の形態では、実施の形態1と同様に一定期間毎のdack数をカウントし、dack数により動作クロックの周波数を切り換えることにより、データ処理能力アップが必要な時だけクロック周波数を上昇させ、データ処理能力アップが必要なくなるとクロック周波数を下降させるため、消費電力を低減することができる。 As described above, in the present embodiment, the number of docks for a certain period is counted in the same manner as in the first embodiment, and the clock frequency is changed only when the data processing capability needs to be increased by switching the frequency of the operation clock according to the number of docks. When the data processing capability is not increased, the clock frequency is decreased, so that the power consumption can be reduced.
さらに、本実施の形態では、実施の形態3と同様に2回続けてレジスタ値に達した時に始めてクロック周波数を上昇するため、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Further, in this embodiment, since the clock frequency is increased only when the register value is reached twice in succession as in the third embodiment, it is possible to prevent the clock frequency from being repeatedly increased and decreased.
さらに、本実施の形態では、実施の形態4と同様に2回続けてレジスタ値未満になった時に始めてクロック周波数を下降するため、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Furthermore, in the present embodiment, the clock frequency is decreased only when it becomes less than the register value twice in succession as in the fourth embodiment, so that it is possible to prevent the clock frequency from being repeatedly increased and decreased. .
さらに、本実施の形態では、実施の形態5と同様に2つのレジスタに異なる値を設定することにより、クロック周波数を上昇させる基準値と下降させる基準値を変えることができ、クロック周波数がむやみに上昇下降を繰り返すことを防止することができる。 Further, in the present embodiment, by setting different values in the two registers as in the fifth embodiment, the reference value for increasing the clock frequency and the reference value for decreasing the clock frequency can be changed. It is possible to prevent repeated ascent and descent.
なお、本実施の形態では、比較回路が1つの場合を例として説明したが、複数の比較回路およびレジスタを備えることにより、クロック周波数を2段階ではなく3段階以上に切り換えることが可能である。 In this embodiment, the case where there is one comparison circuit has been described as an example. However, by providing a plurality of comparison circuits and registers, the clock frequency can be switched to three or more stages instead of two stages.
なお、実施の形態1〜6では、本発明をDVD再生ドライブのデータ処理装置に適用した場合を例として説明したが、本発明は上記各実施の形態に限定されるものではなく、その主旨を逸脱しない範囲で種々に変形して実施することができるものである。 In the first to sixth embodiments, the case where the present invention is applied to a data processing device of a DVD playback drive has been described as an example. However, the present invention is not limited to each of the above embodiments, and the gist of the present invention is as follows. Various modifications can be made without departing from the scope of the invention.
本発明はデータ処理装置に関し、DVD再生ドライブなどの、動作クロック切り換え制御を行うことが可能な処理装置に適用可能である。 The present invention relates to a data processing apparatus, and can be applied to a processing apparatus capable of performing operation clock switching control, such as a DVD playback drive.
1…復調回路、2…誤り訂正回路、3…デスクランブル回路、4…メモリ制御回路、5…メモリ、6…クロック発振回路、7,40…分周回路、8,41,84…マルチプレクサ、9,42,60,70,80,90…クロック制御回路、21…dackカウンタ、22…クロックカウンタ、23…反転回路、24,51,85,86…レジスタ、25,52…コンパレータ、26,53…遅延回路、61…Dフリップフロップ、62…AND回路、71…OR回路、81…立ち上がり検出回路、82…立ち下がり検出回路、83…RSフリップフロップ。
DESCRIPTION OF
Claims (6)
前記データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、
前記一定期間のデータ転送承認信号のカウント値の基準値を格納するレジスタと、
前記カウンタのカウント値と前記レジスタの値を比較する比較回路と、
前記比較回路の出力が入力され、前記データ処理装置内の動作クロック周波数を、前記一定期間のデータ転送承認信号のパルス数が前記基準値以上の場合は第1の動作クロック周波数に切り換え、前記一定期間のデータ転送承認信号のパルス数が前記基準値未満の場合は前記第1の動作クロック周波数より低い第2の動作クロック周波数に切り換えるクロック供給回路とを備えたことを特徴とするデータ処理装置。 A data processing device for processing input data,
A counter for counting the number of pulses of the data transfer approval signal for a certain period generated in the data processing device;
A register for storing a reference value of the count value of the data transfer approval signal for the predetermined period;
A comparison circuit for comparing the count value of the counter with the value of the register;
When the output of the comparison circuit is input, the operation clock frequency in the data processing device is switched to the first operation clock frequency when the number of pulses of the data transfer approval signal in the certain period is equal to or greater than the reference value, and the constant A data processing apparatus comprising: a clock supply circuit for switching to a second operation clock frequency lower than the first operation clock frequency when the number of pulses of the data transfer approval signal in the period is less than the reference value.
前記データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、
前記一定期間のデータ転送承認信号のカウント値の異なる基準値を格納する複数のレジスタと、
前記カウンタと前記複数のレジスタの値を比較する複数の比較回路と、
前記複数の比較回路の出力が入力され、前記データ処理装置内の動作クロック周波数を、前記一定期間のデータ転送承認信号のパルス数と前記複数のレジスタに格納された複数の基準値との上下関係に応じて、複数の動作クロック周波数に切り換えるクロック供給回路とを備えたことを特徴とするデータ処理装置。 A data processing device for processing input data,
A counter for counting the number of pulses of the data transfer approval signal for a certain period generated in the data processing device;
A plurality of registers for storing different reference values of the count value of the data transfer approval signal for the predetermined period;
A plurality of comparison circuits for comparing values of the counter and the plurality of registers;
The outputs of the plurality of comparison circuits are input, and the operation clock frequency in the data processing device is related to the vertical relationship between the number of pulses of the data transfer approval signal in the predetermined period and the plurality of reference values stored in the plurality of registers. And a clock supply circuit for switching to a plurality of operating clock frequencies according to the data processing apparatus.
前記比較回路の出力を一定期間毎に格納するDフリップフロップと、
前記Dフリップフロップの値と前記比較回路の出力の論理積を行うAND回路とを備え、
前記クロック供給回路は、前記AND回路の出力が入力され、前記データ処理装置内の動作クロック周波数を、前記一定期間のデータ転送承認信号のパルス数が前記基準値以上となることが複数回発生した場合は前記第1の動作クロック周波数に切り換え、前記一定期間のデータ転送承認信号のパルス数が前記基準値未満の場合は前記第1の動作クロック周波数より低い前記第2の動作クロック周波数に切り換えることを特徴とするデータ処理装置。 The data processing device according to claim 1 or 2,
A D flip-flop for storing the output of the comparison circuit at regular intervals;
An AND circuit that performs a logical product of the value of the D flip-flop and the output of the comparison circuit;
The clock supply circuit receives the output of the AND circuit, and the operation clock frequency in the data processing device is generated a plurality of times when the number of pulses of the data transfer approval signal in the certain period exceeds the reference value. Switch to the first operation clock frequency, and switch to the second operation clock frequency lower than the first operation clock frequency when the number of pulses of the data transfer approval signal in the predetermined period is less than the reference value. A data processing apparatus.
前記比較回路の出力を一定期間毎に格納するDフリップフロップと、
前記Dフリップフロップの値と前記比較回路の出力の論理和を行うOR回路とを備え、
前記クロック供給回路は、前記OR回路の出力が入力され、前記データ処理装置内の動作クロック周波数を、前記一定期間のデータ転送承認信号のパルス数が前記基準値以上の場合は前記第1の動作クロック周波数に切り換え、前記一定期間のデータ転送承認信号のパルス数が前記基準値未満となることが複数回発生した場合は前記第1の動作クロック周波数より低い前記第2の動作クロック周波数に切り換えることを特徴とするデータ処理装置。 The data processing device according to claim 1 or 2,
A D flip-flop for storing the output of the comparison circuit at regular intervals;
An OR circuit that performs a logical sum of the value of the D flip-flop and the output of the comparison circuit;
The clock supply circuit receives the output of the OR circuit, the operation clock frequency in the data processing device, and the first operation when the number of pulses of the data transfer approval signal in the predetermined period is greater than or equal to the reference value. Switch to the clock frequency, and if the number of pulses of the data transfer approval signal for the certain period falls below the reference value a plurality of times, switch to the second operation clock frequency lower than the first operation clock frequency. A data processing apparatus.
前記データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、
前記一定期間のデータ転送承認信号のカウント値の異なる基準値を格納する複数のレジスタと、
前記複数のレジスタを切り換えるマルチプレクサと、
前記マルチプレクサの出力値と前記カウンタの値を比較する比較回路と、
前記比較回路の出力信号の立ち上がりエッジを検出する立ち上がり検出回路と、
前記比較回路の出力信号の立ち下がりエッジを検出する立ち下がり検出回路と、
前記立ち上がり検出回路および前記立ち下がり検出回路からの出力信号によりセットおよびリセットを行い、前記マルチプレクサの切り換え制御を行うRSフリップフロップと、
前記RSフリップフロップにより切り換えられた前記レジスタの値が入力された前記比較回路の出力が入力され、データ処理装置内の動作クロック周波数を、第1の動作クロック周波数から前記第1の動作クロック周波数より低い第2の動作クロック周波数に切り換える場合は第1の基準値を用い、前記第2の動作クロック周波数から前記第1の動作クロック周波数に切り換える場合は第2の基準値を用いて、前記動作クロック周波数を切り換えるクロック供給回路とを備えたことを特徴とするデータ処理装置。 A data processing device for processing input data,
A counter for counting the number of pulses of the data transfer approval signal for a certain period generated in the data processing device;
A plurality of registers for storing different reference values of the count value of the data transfer approval signal for the predetermined period;
A multiplexer for switching the plurality of registers;
A comparison circuit for comparing the output value of the multiplexer and the value of the counter;
A rising edge detection circuit for detecting a rising edge of the output signal of the comparison circuit;
A falling detection circuit for detecting a falling edge of the output signal of the comparison circuit;
An RS flip-flop that performs setting and resetting by output signals from the rise detection circuit and the fall detection circuit, and performs switching control of the multiplexer;
The output of the comparison circuit to which the value of the register switched by the RS flip-flop is input is input, and the operation clock frequency in the data processing device is changed from the first operation clock frequency to the first operation clock frequency. The first reference value is used when switching to a lower second operation clock frequency, and the second reference value is used when switching from the second operation clock frequency to the first operation clock frequency. A data processing apparatus comprising a clock supply circuit for switching frequencies.
前記データ処理装置内で発生する一定期間のデータ転送承認信号のパルス数を数えるカウンタと、
前記一定期間のデータ転送承認信号のカウント値の異なる基準値を格納する複数のレジスタと、
前記複数のレジスタを切り換えるマルチプレクサと、
前記マルチプレクサの出力値と前記カウンタの値を比較する比較回路と、
前記比較回路の出力を一定期間毎に格納するDフリップフロップと、
前記Dフリップフロップの値と前記比較回路の出力の論理積を行うAND回路と、
前記Dフリップフロップの値と前記比較回路の出力の論理和を行うOR回路と、
前記AND回路の出力信号の立ち上がりエッジを検出する立ち上がり検出回路と、
前記OR回路の出力信号の立ち下がりエッジを検出する立ち下がり検出回路と、
前記立ち上がり検出回路および前記立ち下がり検出回路からの出力信号によりセットおよびリセットを行い、前記マルチプレクサの切り換え制御を行うRSフリップフロップと、
前記RSフリップフロップの出力が入力され、前記データ処理装置内の動作クロック周波数を、第1の動作クロック周波数から前記第1の動作クロック周波数より低い第2の動作クロック周波数に切り換える場合は第1の基準値を用い、前記第2の動作クロック周波数から前記第1の動作クロック周波数に切り換える場合は第2の基準値を用い、さらに、前記一定期間のデータ転送承認信号のパルス数が前記第2の基準値以上となることが複数回発生した場合は前記第1の動作クロック周波数に切り換え、前記一定期間のデータ転送承認信号のパルス数が前記第1の基準値未満となることが複数回発生した場合は前記第2の動作クロック周波数に切り換えるクロック供給回路とを備えたことを特徴とするデータ処理装置。 A data processing device for processing input data,
A counter for counting the number of pulses of the data transfer approval signal for a certain period generated in the data processing device;
A plurality of registers for storing different reference values of the count value of the data transfer approval signal for the predetermined period;
A multiplexer for switching the plurality of registers;
A comparison circuit for comparing the output value of the multiplexer and the value of the counter;
A D flip-flop for storing the output of the comparison circuit at regular intervals;
An AND circuit that performs a logical product of the value of the D flip-flop and the output of the comparison circuit;
An OR circuit that performs a logical sum of the value of the D flip-flop and the output of the comparison circuit;
A rising edge detection circuit for detecting a rising edge of an output signal of the AND circuit;
A falling detection circuit for detecting a falling edge of the output signal of the OR circuit;
An RS flip-flop that performs setting and resetting by output signals from the rise detection circuit and the fall detection circuit, and performs switching control of the multiplexer;
When the output of the RS flip-flop is input and the operation clock frequency in the data processing device is switched from the first operation clock frequency to the second operation clock frequency lower than the first operation clock frequency, the first operation clock frequency When a reference value is used to switch from the second operation clock frequency to the first operation clock frequency, a second reference value is used, and the number of pulses of the data transfer approval signal in the predetermined period is the second value. When the occurrence of the reference value or more occurs multiple times, the frequency is switched to the first operation clock frequency, and the number of pulses of the data transfer approval signal during the certain period is less than the first reference value. And a clock supply circuit for switching to the second operating clock frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008181A JP2007193393A (en) | 2006-01-17 | 2006-01-17 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008181A JP2007193393A (en) | 2006-01-17 | 2006-01-17 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007193393A true JP2007193393A (en) | 2007-08-02 |
Family
ID=38449076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006008181A Pending JP2007193393A (en) | 2006-01-17 | 2006-01-17 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007193393A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05235755A (en) * | 1992-02-25 | 1993-09-10 | Nec Yamagata Ltd | Digital pll circuit |
JPH07336202A (en) * | 1994-06-03 | 1995-12-22 | Mitsubishi Denki Semiconductor Software Kk | Clock switching circuit |
JPH1131023A (en) * | 1997-07-10 | 1999-02-02 | Advantest Corp | Timing generator having malfunction and wrong setting detection function |
JPH11110063A (en) * | 1997-09-30 | 1999-04-23 | Toshiba Corp | Computer system |
JPH11184554A (en) * | 1997-12-24 | 1999-07-09 | Mitsubishi Electric Corp | Clock control type information processor |
JPH11296989A (en) * | 1998-04-08 | 1999-10-29 | Toshiba Corp | Read-channel circuit and optical disk device |
JP2000276436A (en) * | 1999-03-29 | 2000-10-06 | Minolta Co Ltd | Dma control device |
JP2003195972A (en) * | 2001-10-09 | 2003-07-11 | Koninkl Philips Electronics Nv | Clock signal generating device |
JP2003256065A (en) * | 2002-02-26 | 2003-09-10 | Nec Corp | Clock control method, clock control circuit and data processing device |
-
2006
- 2006-01-17 JP JP2006008181A patent/JP2007193393A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05235755A (en) * | 1992-02-25 | 1993-09-10 | Nec Yamagata Ltd | Digital pll circuit |
JPH07336202A (en) * | 1994-06-03 | 1995-12-22 | Mitsubishi Denki Semiconductor Software Kk | Clock switching circuit |
JPH1131023A (en) * | 1997-07-10 | 1999-02-02 | Advantest Corp | Timing generator having malfunction and wrong setting detection function |
JPH11110063A (en) * | 1997-09-30 | 1999-04-23 | Toshiba Corp | Computer system |
JPH11184554A (en) * | 1997-12-24 | 1999-07-09 | Mitsubishi Electric Corp | Clock control type information processor |
JPH11296989A (en) * | 1998-04-08 | 1999-10-29 | Toshiba Corp | Read-channel circuit and optical disk device |
JP2000276436A (en) * | 1999-03-29 | 2000-10-06 | Minolta Co Ltd | Dma control device |
JP2003195972A (en) * | 2001-10-09 | 2003-07-11 | Koninkl Philips Electronics Nv | Clock signal generating device |
JP2003256065A (en) * | 2002-02-26 | 2003-09-10 | Nec Corp | Clock control method, clock control circuit and data processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8046609B2 (en) | Semiconductor device | |
US7978572B2 (en) | Device and method for reproducing digital signal and device and method for recording digital signal | |
US20130044844A1 (en) | Electronics device capable of efficient communication between components with asyncronous clocks | |
CN101872288A (en) | Solid-state hard drive and operation frequency control method | |
JP7193718B2 (en) | Control program, information processing device and control method | |
KR100675009B1 (en) | Data delay control circuit and the method including the same | |
US6430723B2 (en) | Error correcting device and data reproducing apparatus provided therewith | |
US20070061600A1 (en) | Data processing apparatus, program, recording medium, and content playback apparatus | |
US20180210539A1 (en) | Storage system, method of controlling same, information processing apparatus, and storage medium | |
US8665664B2 (en) | Semiconductor memory device, memory system including the same, and method for adjusting timing between internal clock and command | |
US20100237913A1 (en) | Electronic device | |
US20110055443A1 (en) | Memory control apparatus and information processing apparatus including the same | |
JP2007193393A (en) | Data processor | |
US10771681B2 (en) | Imaging pickup apparatus of which display start timing and display quality are selectable, method of controlling the same | |
JP2003122709A (en) | Data transfer device, data transfer system and data transfer method | |
US20150312435A1 (en) | Image forming apparatus, method for controlling image forming apparatus, and storage medium | |
JP2007241785A (en) | Data processor | |
US9042505B2 (en) | Data transmission apparatus having frequency synthesizer with integer division factor, corresponding method, and data transmission system | |
JP5464942B2 (en) | Electronic device and control method thereof | |
US20070176647A1 (en) | Clock rate adjustment apparatus and method for adjusting clock rate | |
US20200201409A1 (en) | Information processing apparatus and method of controlling information processing apparatus | |
JP4507672B2 (en) | Audio playback apparatus and clock frequency control method | |
JP4612436B2 (en) | Audio decoding device | |
US7089401B2 (en) | Data relay controller | |
JP2016058122A (en) | Information processing device and control method of information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081105 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20100528 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100819 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100824 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101022 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110712 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111213 |