JP5768703B2 - Electronic device and synchronous reset control program - Google Patents

Electronic device and synchronous reset control program Download PDF

Info

Publication number
JP5768703B2
JP5768703B2 JP2011283921A JP2011283921A JP5768703B2 JP 5768703 B2 JP5768703 B2 JP 5768703B2 JP 2011283921 A JP2011283921 A JP 2011283921A JP 2011283921 A JP2011283921 A JP 2011283921A JP 5768703 B2 JP5768703 B2 JP 5768703B2
Authority
JP
Japan
Prior art keywords
signal
clock
circuit
synchronous reset
reset control
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
Application number
JP2011283921A
Other languages
Japanese (ja)
Other versions
JP2013135312A (en
Inventor
裕輝 佐藤
裕輝 佐藤
賢 我妻
賢 我妻
勝利 宇佐美
勝利 宇佐美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011283921A priority Critical patent/JP5768703B2/en
Publication of JP2013135312A publication Critical patent/JP2013135312A/en
Application granted granted Critical
Publication of JP5768703B2 publication Critical patent/JP5768703B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Logic Circuits (AREA)

Description

本発明は、電子機器及び同期リセット制御プログラムに関する。   The present invention relates to an electronic device and a synchronous reset control program.

近年、携帯電話機などの電子機器は、高機能化が進んでいるが、その一方で消費電力を抑制することが求められている。そこで、電子機器に登載されるLSI(Large Scale Integration)の開発においては、LSI内の複数の回路に対して、常にクロック信号を供給するのではなく、使用する回路に選択的にクロック信号を供給する省電力設計が行われている。   In recent years, electronic devices such as mobile phones have been improved in functionality, but on the other hand, it is required to suppress power consumption. Therefore, in the development of LSI (Large Scale Integration) installed in electronic devices, clock signals are selectively supplied to the circuits to be used instead of always supplying clock signals to a plurality of circuits in the LSI. Power-saving design is being done.

このような省電力設計は、クロック信号に同期して信号の出力を停止させる同期リセット回路にも適用される。同期リセット回路は、例えば、クロックバッファとフリップフロップ回路を有する。同期リセット回路は、例えばCPU(Central Processing Unit)で生成されたクロック制御信号(CLKEN)を受信したら、受信したクロック制御信号(CLKEN)をクロックバッファに供給する。クロックバッファは、クロック制御信号(CLKEN)を受信したら、クロック信号を発生させ、発生させたクロック信号をフリップフロップ回路に供給する。また、同期リセット回路は、CPUで生成された同期リセット制御信号(XSYNCRST)を受信する。同期リセット回路は、フリップフロップ回路にクロック信号が供給されている状態で同期リセット信号を受信したら、クロック信号に同期して、フリップフロップ回路からの信号の出力を停止させる。   Such a power saving design is also applied to a synchronous reset circuit that stops output of a signal in synchronization with a clock signal. The synchronous reset circuit has, for example, a clock buffer and a flip-flop circuit. For example, when the synchronous reset circuit receives a clock control signal (CLKEN) generated by a CPU (Central Processing Unit), the synchronous reset circuit supplies the received clock control signal (CLKEN) to the clock buffer. When receiving the clock control signal (CLKEN), the clock buffer generates a clock signal and supplies the generated clock signal to the flip-flop circuit. The synchronous reset circuit receives a synchronous reset control signal (XSYNCRST) generated by the CPU. When the synchronous reset circuit receives the synchronous reset signal while the clock signal is supplied to the flip-flop circuit, the synchronous reset circuit stops outputting the signal from the flip-flop circuit in synchronization with the clock signal.

このように、フリップフロップ回路に常にクロック信号を供給するのではなく、クロック制御信号(CLKEN)を用いることによって選択的にクロック信号を供給することにより、同期リセット回路の省電力設計を行うことができる。   As described above, the clock reset signal is selectively supplied by using the clock control signal (CLKEN) instead of always supplying the clock signal to the flip-flop circuit, so that the power saving design of the synchronous reset circuit can be performed. it can.

特開平10−242808号公報JP-A-10-242808

しかしながら、従来技術は、同期リセット回路の省電力を実現し、かつ、同期リセットを確実に行うことは考慮されていない。   However, the prior art does not take into account the power saving of the synchronous reset circuit and the reliable reset.

すなわち、同期リセット回路は、クロック信号に同期してリセットをかけるので、リセットをかけるタイミングではフリップフロップ回路にクロック信号が供給されていることが求められる。一方、クロック制御信号(CLKEN)の供給に関するソフトウェア制御と、同期リセット制御信号(XSYNCRST)の供給に関するソフトウェア制御とは別々に行われる。このため、クロック制御信号(CLKEN)と同期リセット制御信号(XSYNCRST)の供給の順序に不具合があると、同期リセットが行われないおそれがある。   That is, since the synchronous reset circuit resets in synchronization with the clock signal, it is required that the clock signal is supplied to the flip-flop circuit at the timing of resetting. On the other hand, software control related to the supply of the clock control signal (CLKEN) and software control related to the supply of the synchronous reset control signal (XSYNCRST) are performed separately. For this reason, if there is a defect in the supply order of the clock control signal (CLKEN) and the synchronous reset control signal (XSYNCRST), there is a possibility that the synchronous reset will not be performed.

例えば、同期リセット回路に、クロック制御信号(CLKEN)が先に供給され、その後、同期リセット制御信号(XSYNCRST)が供給された場合、同期リセット制御信号(XSYNCRST)が供給された時点でフリップフロップ回路にクロック信号が供給されることになる。このため、同期リセット回路は、同期リセット制御信号(XSYNCRST)が供給されたら、クロック信号に同期して、フリップフロップ回路からの信号の出力を停止する(同期リセットを行う)ことができる。   For example, when the clock control signal (CLKEN) is supplied to the synchronous reset circuit first, and then the synchronous reset control signal (XSYNCRST) is supplied, the flip-flop circuit is supplied when the synchronous reset control signal (XSYNCRST) is supplied. Is supplied with a clock signal. Therefore, when the synchronous reset control signal (XSYNCRST) is supplied, the synchronous reset circuit can stop outputting the signal from the flip-flop circuit (perform a synchronous reset) in synchronization with the clock signal.

一方、同期リセット回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合、同期リセット制御信号(XSYNCRST)が供給された時点でフリップフロップ回路にクロック信号が供給されないことになる。このため、同期リセット回路は、同期リセット制御信号(XSYNCRST)が供給されても、フリップフロップ回路からの信号の出力を停止する(同期リセットを行う)ことができないおそれがある。   On the other hand, when the synchronous reset control signal (XSYNCRST) is supplied to the synchronous reset circuit first, and then the clock control signal (CLKEN) is supplied, the flip-flop circuit is supplied when the synchronous reset control signal (XSYNCRST) is supplied. Thus, no clock signal is supplied. For this reason, the synchronous reset circuit may not be able to stop outputting the signal from the flip-flop circuit (perform a synchronous reset) even if the synchronous reset control signal (XSYNCRST) is supplied.

開示の技術は、上記に鑑みてなされたものであって、同期リセット回路の省電力を実現し、かつ、同期リセットを確実に行うことができる電子機器及び同期リセット制御プログラムを実現することを目的とする。   The disclosed technology has been made in view of the above, and it is an object of the present invention to realize an electronic device and a synchronous reset control program that can realize power saving of the synchronous reset circuit and can reliably perform the synchronous reset. And

本願の開示する電子機器は、一つの態様において、信号の出力を停止させるリセット制御信号を生成するリセット生成回路と、クロック信号の出力を開始させるクロック制御信号を生成するクロック生成回路とを備える。また、電子機器は、前記クロック生成回路によって生成されたクロック制御信号を受信するか、又は前記リセット生成回路によって生成されたリセット制御信号を受信したら、クロック信号の出力を開始するクロックバッファを備える。また、電子機器は、前記クロックバッファから出力されたクロック信号を受信している状態で、前記リセット生成回路によって生成されたリセット制御信号を受信したら、信号の出力を停止するリセット回路を備える。   In one aspect, an electronic device disclosed in the present application includes a reset generation circuit that generates a reset control signal that stops output of a signal, and a clock generation circuit that generates a clock control signal that starts output of a clock signal. The electronic device also includes a clock buffer that starts outputting the clock signal when the clock control signal generated by the clock generation circuit is received or when the reset control signal generated by the reset generation circuit is received. In addition, the electronic device includes a reset circuit that stops output of the signal when receiving the reset control signal generated by the reset generation circuit while receiving the clock signal output from the clock buffer.

本願の開示する電子機器の一つの態様によれば、同期リセット回路の省電力を実現し、かつ、同期リセットを確実に行うことができる。   According to one aspect of the electronic device disclosed in the present application, it is possible to realize the power saving of the synchronous reset circuit and reliably perform the synchronous reset.

図1は、携帯電話機のハードウェア構成を示す図である。FIG. 1 is a diagram illustrating a hardware configuration of a mobile phone. 図2は、デジタルベースバンド部とリセット・クロック制御部の構成を示す図である。FIG. 2 is a diagram illustrating the configuration of the digital baseband unit and the reset / clock control unit. 図3は、実施例1の同期リセット制御回路の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of the synchronous reset control circuit according to the first embodiment. 図4は、実施例1の同期リセット制御回路のタイムチャートを示す図である。FIG. 4 is a diagram illustrating a time chart of the synchronous reset control circuit according to the first embodiment. 図5は、実施例1の同期リセット制御回路のタイムチャートを示す図である。FIG. 5 is a diagram illustrating a time chart of the synchronous reset control circuit according to the first embodiment. 図6は、比較例の同期リセット制御回路の構成を示す図である。FIG. 6 is a diagram illustrating a configuration of a synchronous reset control circuit of a comparative example. 図7は、比較例の同期リセット制御回路のタイムチャートを示す図である。FIG. 7 is a diagram illustrating a time chart of the synchronous reset control circuit of the comparative example. 図8は、実施例1の同期リセット制御回路のRTL記述例を示す図である。FIG. 8 is a diagram illustrating an RTL description example of the synchronous reset control circuit according to the first embodiment. 図9は、実施例2の同期リセット制御回路の構成を示す図である。FIG. 9 is a diagram illustrating the configuration of the synchronous reset control circuit according to the second embodiment. 図10は、実施例2の同期リセット制御回路のタイムチャートを示す図である。FIG. 10 is a diagram illustrating a time chart of the synchronous reset control circuit according to the second embodiment. 図11は、実施例2の同期リセット制御回路のタイムチャートを示す図である。FIG. 11 is a diagram illustrating a time chart of the synchronous reset control circuit according to the second embodiment. 図12は、実施例2の同期リセット制御回路のRTL記述例を示す図である。FIG. 12 is a diagram illustrating an RTL description example of the synchronous reset control circuit according to the second embodiment.

以下に、本願の開示する電子機器及び同期リセット制御プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施例により開示技術が限定されるものではない。例えば、以下の実施例では、電子機器の一例として携帯電話機を挙げて説明するが、これに限らず、スマートフォン、PDA(Personal Digital Assistant)、PC(Personal Computer)など同期リセット回路を有する電子機器に対して以下の実施例を適用することができる。   Embodiments of an electronic device and a synchronous reset control program disclosed in the present application will be described below in detail with reference to the drawings. The disclosed technology is not limited by this embodiment. For example, in the following embodiments, a mobile phone will be described as an example of an electronic device. However, the present invention is not limited to this, and the present invention is not limited to this. In contrast, the following embodiments can be applied.

図1は、携帯電話機のハードウェア構成を示す図である。図1に示すように、本実施形態の携帯電話機100は、アンテナ102、無線部110、デジタルベースバンド部120、リセット・クロック制御部130、オーディオ入出力部140、スピーカ142、及びマイク144を備える。また、携帯電話機100は、記憶部150、表示部160、及びプロセッサ170を備える。   FIG. 1 is a diagram illustrating a hardware configuration of a mobile phone. As shown in FIG. 1, the mobile phone 100 of this embodiment includes an antenna 102, a radio unit 110, a digital baseband unit 120, a reset / clock control unit 130, an audio input / output unit 140, a speaker 142, and a microphone 144. . In addition, the mobile phone 100 includes a storage unit 150, a display unit 160, and a processor 170.

無線部110は、アンテナ102を介して音声や文字などの各種データの無線通信を行う。デジタルベースバンド部120は、無線部110で受信された信号をベースバンド信号に変換するとともに、変換された信号をA(Analog)/D(Digital)変換器によりデジタル信号へ変換する。また、デジタルベースバンド部120は、変換されたデジタル信号に対して、復調処理及び誤り訂正処理などの各種処理を行う。デジタルベースバンド部120は、例えばCPU(Central Processing Unit)またはDSP(Digital Signal Processor)などで実現される。デジタルベースバンド部120の詳細は後述する。   The wireless unit 110 performs wireless communication of various data such as voice and characters via the antenna 102. The digital baseband unit 120 converts the signal received by the radio unit 110 into a baseband signal, and converts the converted signal into a digital signal by an A (Analog) / D (Digital) converter. The digital baseband unit 120 performs various processes such as a demodulation process and an error correction process on the converted digital signal. The digital baseband unit 120 is realized by, for example, a CPU (Central Processing Unit) or a DSP (Digital Signal Processor). Details of the digital baseband unit 120 will be described later.

リセット・クロック制御部130は、例えば、プロセッサ170から出力されたクロック制御信号(CLKEN)を受信するとともに、プロセッサ170から出力された同期リセット制御信号(XSYNCRST)を受信する。そして、リセット・クロック制御部130は、受信したクロック制御信号(CLKEN)及び同期リセット制御信号(XSYNCRST)をデジタルベースバンド部120へ出力する。リセット・クロック制御部130の詳細は後述する。   For example, the reset clock control unit 130 receives a clock control signal (CLKEN) output from the processor 170 and also receives a synchronous reset control signal (XSYNCRST) output from the processor 170. Then, the reset clock control unit 130 outputs the received clock control signal (CLKEN) and synchronous reset control signal (XSYNCRST) to the digital baseband unit 120. Details of the reset clock controller 130 will be described later.

また、オーディオ入出力部140は、マイク144を介して音声を入力するとともにスピーカ142を介して音声を出力する入出力インターフェースである。記憶部150は、携帯電話機100の各種機能を実行するためのデータ、及び携帯電話機100の各種機能を実行するための各種プログラムを格納するROM(Read Only Memory)を有する。また、記憶部150は、ROMに格納された各種プログラムのうち実行されるプログラムを格納するRAM(Random Access Memory)を有する。表示部160は、文字や画像などの各種情報を表示する出力インターフェースである。   The audio input / output unit 140 is an input / output interface that inputs voice via the microphone 144 and outputs voice via the speaker 142. The storage unit 150 includes a ROM (Read Only Memory) that stores data for executing various functions of the mobile phone 100 and various programs for executing various functions of the mobile phone 100. The storage unit 150 includes a RAM (Random Access Memory) that stores programs to be executed among various programs stored in the ROM. The display unit 160 is an output interface that displays various types of information such as characters and images.

プロセッサ170は、記憶部150に格納された各種プログラムを実行するCPU(Central Processing Unit)等の演算処理部である。プロセッサ170は、記憶部150に格納された各種プログラムを実行することにより、上述した無線部110、デジタルベースバンド部120、リセット・クロック制御部130、オーディオ入出力部140、表示部160等を制御する。また、プロセッサ170は、デジタルベースバンド部120の各部の同期リセットを制御するために、クロック制御信号(CLKEN)及び同期リセット制御信号(XSYNCRST)を生成してリセット・クロック制御部130へ出力する。なお、プロセッサ170で実行されるプログラムは、記憶部150に格納されるだけではなく、CD(Compact Disc)−ROMやメモリ媒体等の頒布できる記憶媒体に記録しておき、記憶媒体から読み出して実行することができる。また、ネットワークを介して接続されたサーバにプログラムを格納し、サーバ上でプログラムが動作するようにしておいて、ネットワークを介して接続される携帯電話機100からの要求に応じてサービスを要求元の携帯電話機100に提供することもできる。   The processor 170 is an arithmetic processing unit such as a CPU (Central Processing Unit) that executes various programs stored in the storage unit 150. The processor 170 executes various programs stored in the storage unit 150 to control the wireless unit 110, the digital baseband unit 120, the reset / clock control unit 130, the audio input / output unit 140, the display unit 160, and the like. To do. Further, the processor 170 generates a clock control signal (CLKEN) and a synchronous reset control signal (XSYNCRST) and outputs them to the reset clock control unit 130 in order to control the synchronous reset of each unit of the digital baseband unit 120. The program executed by the processor 170 is not only stored in the storage unit 150 but also recorded in a storage medium that can be distributed such as a CD (Compact Disc) -ROM or a memory medium, and read from the storage medium for execution. can do. In addition, the program is stored in a server connected via a network so that the program operates on the server, and a service is requested in response to a request from the mobile phone 100 connected via the network. It can also be provided to the mobile phone 100.

次に、デジタルベースバンド部120とリセット・クロック制御部130の詳細について説明する。図2は、デジタルベースバンド部とリセット・クロック制御部の構成を示す図である。図2に示すように、デジタルベースバンド部120は、セルサーチ部121、復調部122、復号部123、コード生成部124、及びモジュレーション部125を有する。   Next, details of the digital baseband unit 120 and the reset / clock control unit 130 will be described. FIG. 2 is a diagram illustrating the configuration of the digital baseband unit and the reset / clock control unit. As shown in FIG. 2, the digital baseband unit 120 includes a cell search unit 121, a demodulation unit 122, a decoding unit 123, a code generation unit 124, and a modulation unit 125.

セルサーチ部121は、無線部110を介して受信された信号に対して、基地局(セル)と同期を確立するための処理を実行する。例えば、下りフレームタイミングの検出と基地局(セル)に割り当てられたスクランブリングコードの同定を行う。セルサーチ部121は、同期リセット制御回路121aを有する。   The cell search unit 121 executes processing for establishing synchronization with the base station (cell) on the signal received via the radio unit 110. For example, the detection of the downlink frame timing and the identification of the scrambling code assigned to the base station (cell) are performed. The cell search unit 121 includes a synchronous reset control circuit 121a.

復調部122は、セルサーチ部121によって処理された信号の復調処理を行う。復調部122は、同期リセット制御回路122aを有する。復号部123は、復調部122によって復調処理が行われた信号に対して復号処理を行う。復号部123は、同期リセット制御回路123aを有する。   The demodulator 122 demodulates the signal processed by the cell search unit 121. The demodulator 122 has a synchronous reset control circuit 122a. The decoding unit 123 performs a decoding process on the signal demodulated by the demodulation unit 122. The decoding unit 123 includes a synchronous reset control circuit 123a.

コード生成部124は、無線部110を介して外部へ送信する信号のコードを生成する。コード生成部124は、同期リセット制御回路124aを有する。また、モジュレーション部125は、コード生成部124によって生成された信号に対して変調処理を行う。モジュレーション部125は、同期リセット制御回路125aを有する。   The code generation unit 124 generates a code of a signal to be transmitted to the outside via the wireless unit 110. The code generation unit 124 includes a synchronous reset control circuit 124a. Further, the modulation unit 125 performs modulation processing on the signal generated by the code generation unit 124. The modulation unit 125 includes a synchronous reset control circuit 125a.

一方、リセット・クロック制御部130は、リセット生成レジスタ132と、クロックEN(enable)生成レジスタ134とを有する。リセット生成レジスタ132は、セルサーチ部121、復調部122、復号部123、コード生成部124、及びモジュレーション部125のそれぞれに対する同期リセット制御信号(XSYNCRST)を生成する。具体的には、リセット生成レジスタ132は、セルサーチ部121に対する同期リセット制御信号(XSYNCRESET_A)、復調部122に対する同期リセット制御信号(XSYNCRESET_B)、及び復号部123に対する同期リセット制御信号(XSYNCRESET_C)を生成する。また、リセット生成レジスタ132は、コード生成部124に対する同期リセット制御信号(XSYNCRESET_D)、及びモジュレーション部125に対する同期リセット制御信号(XSYNCRESET_E)を生成する。リセット生成レジスタ132は、例えば、フリップフロップ回路又は論理回路で形成することができる。   On the other hand, the reset / clock control unit 130 includes a reset generation register 132 and a clock EN (enable) generation register 134. The reset generation register 132 generates a synchronous reset control signal (XSYNCRST) for each of the cell search unit 121, the demodulation unit 122, the decoding unit 123, the code generation unit 124, and the modulation unit 125. Specifically, the reset generation register 132 generates a synchronous reset control signal (XSYNCRESET_A) for the cell search unit 121, a synchronous reset control signal (XSYNCRESET_B) for the demodulation unit 122, and a synchronous reset control signal (XSYNCRESET_C) for the decoding unit 123. To do. The reset generation register 132 generates a synchronous reset control signal (XSYNCRESET_D) for the code generation unit 124 and a synchronous reset control signal (XSYNCRESET_E) for the modulation unit 125. The reset generation register 132 can be formed by, for example, a flip-flop circuit or a logic circuit.

クロックEN生成レジスタ134は、セルサーチ部121、復調部122、復号部123、コード生成部124、及びモジュレーション部125のそれぞれに対するクロック制御信号(CLKEN)を生成する。具体的には、クロックEN生成レジスタ134は、セルサーチ部121に対するクロック制御信号(CLKEN_A)、復調部122に対するクロック制御信号(CLKEN_B)、及び復号部123に対するクロック制御信号(CLKEN_C)を生成する。また、クロックEN生成レジスタ134は、コード生成部124に対するクロック制御信号(CLKEN_D)、及びモジュレーション部125に対するクロック制御信号(CLKEN_E)を生成する。クロックEN生成レジスタ134は、例えば、フリップフロップ回路又は論理回路で形成することができる。   The clock EN generation register 134 generates a clock control signal (CLKEN) for each of the cell search unit 121, the demodulation unit 122, the decoding unit 123, the code generation unit 124, and the modulation unit 125. Specifically, the clock EN generation register 134 generates a clock control signal (CLKEN_A) for the cell search unit 121, a clock control signal (CLKEN_B) for the demodulation unit 122, and a clock control signal (CLKEN_C) for the decoding unit 123. The clock EN generation register 134 generates a clock control signal (CLKEN_D) for the code generation unit 124 and a clock control signal (CLKEN_E) for the modulation unit 125. The clock EN generation register 134 can be formed by, for example, a flip-flop circuit or a logic circuit.

このように、デジタルベースバンド部120は、各機能ブロック(セルサーチ部121、復調部122、復号部123、コード生成部124、及びモジュレーション部125)にそれぞれ、同期リセット制御回路を備えている。このため、リセット・クロック制御部130は、セルサーチ部121、復調部122、復号部123、コード生成部124、及びモジュレーション部125のそれぞれに対して、クロック信号の供給タイミングと同期リセットのタイミングを制御することができる。   As described above, the digital baseband unit 120 includes a synchronous reset control circuit in each functional block (the cell search unit 121, the demodulation unit 122, the decoding unit 123, the code generation unit 124, and the modulation unit 125). Therefore, the reset / clock control unit 130 determines the clock signal supply timing and synchronous reset timing for each of the cell search unit 121, the demodulation unit 122, the decoding unit 123, the code generation unit 124, and the modulation unit 125. Can be controlled.

次に、実施例1の同期リセット制御回路について説明する。図3は、実施例1の同期リセット制御回路の構成を示す図である。図3は、一例として、セルサーチ部121に設けられた同期リセット制御回路121aを代表に挙げて説明するが、デジタルベースバンド部120の他のブロック(復調部122等)の同期リセット制御回路も同様である。なお、説明の便宜上、同期リセット制御回路121aに入力されるクロック制御信号をクロック制御信号(CLKEN)とし、同期リセット制御回路121aに入力される同期リセット制御信号を同期リセット制御信号(XSYNCRST)として説明する。   Next, a synchronous reset control circuit according to the first embodiment will be described. FIG. 3 is a diagram illustrating a configuration of the synchronous reset control circuit according to the first embodiment. FIG. 3 shows, as an example, a synchronous reset control circuit 121a provided in the cell search unit 121 as a representative, but a synchronous reset control circuit of another block (such as the demodulation unit 122) of the digital baseband unit 120 is also illustrated. It is the same. For convenience of explanation, the clock control signal input to the synchronous reset control circuit 121a is described as a clock control signal (CLKEN), and the synchronous reset control signal input to the synchronous reset control circuit 121a is described as a synchronous reset control signal (XSYNCRST). To do.

同期リセット制御回路121aは、AND回路202,206と、OR回路204,208と、クロックバッファ210と、Dフリップフロップ回路212とを有する。AND回路202には、EN(enable)信号、及びDIN(datain)信号が入力される。AND回路202は、EN信号及びDIN信号の論理に応じた信号を出力する。OR回路204には、AND回路202の出力信号、及びDフリップフロップ回路212の出力信号が入力される。OR回路204は、AND回路202の出力信号及びDフリップフロップ回路212の出力信号の論理に応じた信号を出力する。   The synchronous reset control circuit 121a includes AND circuits 202 and 206, OR circuits 204 and 208, a clock buffer 210, and a D flip-flop circuit 212. The AND circuit 202 receives an EN (enable) signal and a DIN (datain) signal. The AND circuit 202 outputs a signal corresponding to the logic of the EN signal and the DIN signal. The output signal of the AND circuit 202 and the output signal of the D flip-flop circuit 212 are input to the OR circuit 204. The OR circuit 204 outputs a signal corresponding to the logic of the output signal of the AND circuit 202 and the output signal of the D flip-flop circuit 212.

AND回路206には、OR回路204の出力信号、及びリセット生成レジスタ132から出力された同期リセット制御信号(XSYNCRST)が入力される。AND回路206は、OR回路204の出力信号及び同期リセット制御信号(XSYNCRST)の論理に応じた信号を出力する。   The AND circuit 206 receives the output signal of the OR circuit 204 and the synchronous reset control signal (XSYNCRST) output from the reset generation register 132. The AND circuit 206 outputs a signal corresponding to the logic of the output signal of the OR circuit 204 and the synchronous reset control signal (XSYNCRST).

OR回路208には、クロックEN生成レジスタ134から出力されたクロック制御信号(CLKEN)、及びリセット生成レジスタ132から出力された同期リセット制御信号(XSYNCRST)の論理を反転した信号が入力される。OR回路208は、クロック制御信号(CLKEN)、及び同期リセット制御信号(XSYNCRST)の論理を反転した信号の論理に応じた信号を出力する。   A signal obtained by inverting the logic of the clock control signal (CLKEN) output from the clock EN generation register 134 and the synchronous reset control signal (XSYNCRST) output from the reset generation register 132 is input to the OR circuit 208. The OR circuit 208 outputs a signal corresponding to the logic of a signal obtained by inverting the logic of the clock control signal (CLKEN) and the synchronous reset control signal (XSYNCRST).

クロックバッファ210のクロックポート(CLK)には、クロック信号(CLOCK)が入力される。また、クロックバッファ210のクロックイネーブルポート(CEN)には、OR回路208の出力信号が入力される。クロックバッファ210は、クロックイネーブルポートがアクティブになったら(例えばH(HIGH)信号が入力されたら)、出力ポート(GCLK)からクロック信号の出力を開始する。   A clock signal (CLOCK) is input to the clock port (CLK) of the clock buffer 210. The output signal of the OR circuit 208 is input to the clock enable port (CEN) of the clock buffer 210. When the clock enable port becomes active (for example, when an H (HIGH) signal is input), the clock buffer 210 starts outputting the clock signal from the output port (GCLK).

Dフリップフロップ回路212は、D入力ポート(D)にAND回路206の出力信号が入力される。また、Dフリップフロップ回路212は、クロックポート(ENCK)にクロックバッファ210の出力ポート(GCLK)から出力されたクロック信号が入力される。Dフリップフロップ回路212は、クロックポート(ENCK)にクロック信号が入力されている場合は、Dフリップフロップ回路として動作するので、D入力ポート(D)への入力信号に応じてQ出力ポート(Q)から信号を出力する。一方、Dフリップフロップ回路212は、クロックポート(ENCK)にクロック信号が入力されていない場合は、Dフリップフロップ回路として動作しない。このように、クロック制御信号(CLKEN)によって、Dフリップフロップ回路212へ選択的にクロック信号を供給することで、省電力を図ることができる。   In the D flip-flop circuit 212, the output signal of the AND circuit 206 is input to the D input port (D). In the D flip-flop circuit 212, the clock signal output from the output port (GCLK) of the clock buffer 210 is input to the clock port (ENCK). When the clock signal is input to the clock port (ENCK), the D flip-flop circuit 212 operates as a D flip-flop circuit. Therefore, the D flip-flop circuit 212 responds to the input signal to the D input port (D) according to the Q output port (Q ) To output a signal. On the other hand, the D flip-flop circuit 212 does not operate as a D flip-flop circuit when no clock signal is input to the clock port (ENCK). In this manner, power can be saved by selectively supplying the clock signal to the D flip-flop circuit 212 by the clock control signal (CLKEN).

次に、実施例1の同期リセット制御回路のタイムチャートについて説明する。図4,5は、実施例1の同期リセット制御回路のタイムチャートを示す図である。図4のタイムチャートは、同期リセット制御回路に、クロック制御信号(CLKEN)が先に供給され、その後、同期リセット制御信号(XSYNCRST)が供給された場合のタイムチャートを示すものである。一方、図5のタイムチャートは、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合のタイムチャートを示すものである。   Next, a time chart of the synchronous reset control circuit according to the first embodiment will be described. 4 and 5 are time charts of the synchronous reset control circuit according to the first embodiment. The time chart of FIG. 4 shows a time chart when the clock reset signal (CLKEN) is first supplied to the synchronous reset control circuit and then the synchronous reset control signal (XSYNCRST) is supplied. On the other hand, the time chart of FIG. 5 shows a time chart when the synchronous reset control signal (XSYNCRST) is first supplied to the synchronous reset control circuit and then the clock control signal (CLKEN) is supplied.

まず、図4のタイムチャートを説明する。図4に示すように、まず、クロック制御信号(CLKEN)がL(LOW)信号からH(HIGH)信号に立ち上がってアクティブになる(ステップS101)。これにより、OR回路208には、クロック制御信号(CLKEN)が入力され、クロックイネーブルポート(CEN)にH(HIGH)信号が入力される。これにより、クロック制御信号(CLKEN)がアクティブになった次のクロック立ち上がりタイミングでクロックバッファ210の出力ポート(GCLK)からクロック信号が出力される(ステップS102)。その後、同期リセット制御信号(XSYNCRST)がH(HIGH)信号からL(LOW)信号に立ち下がってアクティブになる(ステップS103)。その結果、クロックポート(ENCK)にクロック信号が入力された状態で、同期リセット制御信号(XSYNCRST)がアクティブになるので、同期リセット制御信号(XSYNCRST)がアクティブになった次のクロック立ち上がりタイミングでQ出力ポート(Q)からの信号の出力が停止される(同期リセットが行われる)(ステップS104)。   First, the time chart of FIG. 4 will be described. As shown in FIG. 4, first, the clock control signal (CLKEN) rises from the L (LOW) signal to the H (HIGH) signal and becomes active (step S101). Thus, the clock control signal (CLKEN) is input to the OR circuit 208, and the H (HIGH) signal is input to the clock enable port (CEN). As a result, the clock signal is output from the output port (GCLK) of the clock buffer 210 at the next clock rising timing when the clock control signal (CLKEN) becomes active (step S102). Thereafter, the synchronous reset control signal (XSYNCRST) falls from the H (HIGH) signal to the L (LOW) signal and becomes active (step S103). As a result, the synchronous reset control signal (XSYNCRST) becomes active while the clock signal is input to the clock port (ENCK). The output of the signal from the output port (Q) is stopped (synchronous reset is performed) (step S104).

次に、図5のタイムチャートを説明する。図5に示すように、まず、クロック制御信号(CLKEN)がL(LOW)信号のままでアクティブになっていない状態で、同期リセット制御信号(XSYNCRST)がH(HIGH)信号からL(LOW)信号に立ち下がってアクティブになる(ステップS201)。これにより、OR回路208には、同期リセット制御信号(XSYNCRST)の論理反転したH(HIGH)信号が入力され、クロックイネーブルポート(CEN)にH(HIGH)信号が入力される。これにより、同期リセット制御信号(XSYNCRST)がアクティブになった次のクロック立ち上がりタイミングで、出力ポート(GCLK)からクロック信号が出力される(ステップS202)。その結果、クロックポート(ENCK)にクロック信号が入力された状態で、同期リセット制御信号(XSYNCRST)がアクティブになるので、Q出力ポート(Q)からの信号の出力が停止される(同期リセットが行われる)(ステップS203)。   Next, the time chart of FIG. 5 will be described. As shown in FIG. 5, first, the synchronous reset control signal (XSYNCRST) is changed from the H (HIGH) signal to the L (LOW) while the clock control signal (CLKEN) remains in the L (LOW) signal and is not active. The signal falls and becomes active (step S201). Thus, the H (HIGH) signal obtained by inverting the logic of the synchronous reset control signal (XSYNCRST) is input to the OR circuit 208, and the H (HIGH) signal is input to the clock enable port (CEN). Thus, the clock signal is output from the output port (GCLK) at the next clock rising timing when the synchronous reset control signal (XSYNCRST) becomes active (step S202). As a result, the synchronous reset control signal (XSYNCRST) becomes active while the clock signal is input to the clock port (ENCK), so that the output of the signal from the Q output port (Q) is stopped (synchronous reset is not performed). (Step S203).

これに対して、比較例の同期リセット制御回路と、比較例の同期リセット制御回路のタイムチャートについて説明する。図6は、比較例の同期リセット制御回路の構成を示す図である。図7は、比較例の同期リセット制御回路のタイムチャートを示す図である。   On the other hand, a time chart of the synchronous reset control circuit of the comparative example and the synchronous reset control circuit of the comparative example will be described. FIG. 6 is a diagram illustrating a configuration of a synchronous reset control circuit of a comparative example. FIG. 7 is a diagram illustrating a time chart of the synchronous reset control circuit of the comparative example.

図6に示すように、比較例の同期リセット制御回路は、図3の同期リセット制御回路と比較して、OR回路208を設けず、クロック制御信号(CLKEN)を直接クロックバッファ210のクロックイネーブルポート(CEN)に入力する点が異なる。また、図6に示すように、比較例の同期リセット制御回路は、図3の同期リセット制御回路と比較して、同期リセット制御信号(XSYNCRST)の論理反転した信号をクロックバッファ210へ入力しない点が異なる。なお、その他の構成については、図3の同期リセット制御回路と同様であるので、図3の同期リセット制御回路と同様の構成については説明を省略する。   As shown in FIG. 6, the synchronous reset control circuit of the comparative example does not include the OR circuit 208 and directly supplies the clock control signal (CLKEN) to the clock enable port of the clock buffer 210 as compared with the synchronous reset control circuit of FIG. 3. (CEN) is different. Further, as shown in FIG. 6, the synchronous reset control circuit of the comparative example does not input a signal obtained by logically inverting the synchronous reset control signal (XSYNCRST) to the clock buffer 210 as compared with the synchronous reset control circuit of FIG. Is different. Since the other configuration is the same as that of the synchronous reset control circuit of FIG. 3, the description of the same configuration as that of the synchronous reset control circuit of FIG. 3 is omitted.

また、図7のタイムチャートは、図5と同様に、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合のタイムチャートを示すものである。   7 is a time chart when the synchronous reset control signal (XSYNCRST) is first supplied to the synchronous reset control circuit, and then the clock control signal (CLKEN) is supplied, as in FIG. Is shown.

図7に示すように、まず、クロック制御信号(CLKEN)がL(LOW)信号のままでアクティブになっていない状態で、同期リセット制御信号(XSYNCRST)がH(HIGH)信号からL(LOW)信号に立ち下がってアクティブになる(ステップS301)。しかしながら、この状態では、クロック制御信号(CLKEN)がアクティブになっていないから、同期リセット制御信号(XSYNCRST)がアクティブになった次のクロック立ち上がりタイミングで、出力ポート(GCLK)からクロック信号が出力されない(ステップS302)。その結果、クロックポート(ENCK)にクロック信号が入力されていない状態で、同期リセット制御信号(XSYNCRST)がアクティブになるので、Q出力ポート(Q)からの信号の出力は停止されない(同期リセットが行われない)(ステップS303)。   As shown in FIG. 7, first, the synchronous reset control signal (XSYNCRST) is changed from the H (HIGH) signal to L (LOW) while the clock control signal (CLKEN) remains L (LOW) signal and not active. The signal falls and becomes active (step S301). However, in this state, since the clock control signal (CLKEN) is not active, the clock signal is not output from the output port (GCLK) at the next clock rising timing after the synchronous reset control signal (XSYNCRST) becomes active. (Step S302). As a result, since the synchronous reset control signal (XSYNCRST) becomes active when no clock signal is input to the clock port (ENCK), the output of the signal from the Q output port (Q) is not stopped (synchronous reset is not performed). Not performed) (step S303).

このように、実施例1の同期リセット制御回路は、クロック制御信号(CLKEN)だけではなく、同期リセット制御信号(XSYNCRST)もクロックバッファ210に入力する。そして、クロックバッファ210は、クロック制御信号(CLKEN)と同期リセット制御信号(XSYNCRST)のいずれかがアクティブになったらクロック信号の出力を開始する。したがって、実施例1の同期リセット制御回路によれば、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合であっても、確実に同期リセットを行うことができる。また、クロック制御とリセット制御に関する制御プログラムを設計する際、クロック制御とリセット制御のタイミングを意識することなく制御プログラムを設計することができるため、制御ソフトの設計ミスよるリセット漏れを防止することができる。また、同期リセット制御信号(XSYNCRST)がクロック信号を発生させるクロック制御信号(CLKEN)の役割も果たすため、クロック制御信号(CLKEN)を供給しない設計を行うことも可能である。   As described above, the synchronous reset control circuit according to the first embodiment inputs not only the clock control signal (CLKEN) but also the synchronous reset control signal (XSYNCRST) to the clock buffer 210. Then, the clock buffer 210 starts outputting a clock signal when either the clock control signal (CLKEN) or the synchronous reset control signal (XSYNCRST) becomes active. Therefore, according to the synchronous reset control circuit of the first embodiment, even when the synchronous reset control signal (XSYNCRST) is supplied to the synchronous reset control circuit first and then the clock control signal (CLKEN) is supplied. Thus, the synchronous reset can be surely performed. Also, when designing a control program related to clock control and reset control, the control program can be designed without being aware of the timing of clock control and reset control, thus preventing reset leakage due to control software design errors. it can. Further, since the synchronous reset control signal (XSYNCRST) also serves as a clock control signal (CLKEN) for generating a clock signal, it is possible to design without supplying the clock control signal (CLKEN).

次に、実施例1の同期リセット制御回路のRTL記述例について説明する。図8は、実施例1の同期リセット制御回路のRTL記述例を示す図である。図8のRTL記述例には、図3のOR回路208から出力される信号(1)を示す記述が含まれる。すなわち、図8の(1)で示したように、クロック制御信号(CLKEN)が「1」(アクティブ)になるか、又は同期リセット制御信号(XSYNCRST)が「0」(アクティブ)になったら、出力ポート(GCLK)からクロック信号が出力される。   Next, an RTL description example of the synchronous reset control circuit according to the first embodiment will be described. FIG. 8 is a diagram illustrating an RTL description example of the synchronous reset control circuit according to the first embodiment. The RTL description example in FIG. 8 includes a description indicating the signal (1) output from the OR circuit 208 in FIG. That is, as shown in (1) of FIG. 8, when the clock control signal (CLKEN) becomes “1” (active) or the synchronous reset control signal (XSYNCRST) becomes “0” (active), A clock signal is output from the output port (GCLK).

次に、実施例2の携帯電話機について説明する。実施例2の携帯電話機は、デジタルベースバンド部の各部の同期リセット制御回路が異なるだけであり、その他の構成は実施例1と同様である。したがって、実施例1と異なる部分のみ説明をして、その他の構成については説明を省略する。   Next, a mobile phone according to the second embodiment will be described. The mobile phone of the second embodiment is different from the first embodiment only in the synchronous reset control circuit of each part of the digital baseband unit, and the other configurations are the same as those of the first embodiment. Therefore, only a different part from Example 1 is demonstrated and description is abbreviate | omitted about another structure.

なお、実施例1では、同期リセット制御信号(XSYNCRST)がアクティブの期間は、クロックバッファ210がイネーブルになるため、クロック信号がDフリップフロップ回路212に供給され続ける。例えば、図5のように同期リセット制御信号(XSYNCRST)がパルス信号の場合は、実施例1の同期リセット制御回路でも消費電力の増加を抑制できる。一方、同期リセット制御信号(XSYNCRST)が複数クロックにまたがってアクティブであり続けるレベル信号の場合は、同期リセット制御信号(XSYNCRST)がアクティブの期間クロック信号がDフリップフロップ回路212に供給され続ける。このため、同期リセット制御信号(XSYNCRST)がレベル信号の場合、クロックバッファを設けているにも関わらず、クロック信号が供給され続けて消費電力が増加するおそれがある。実施例2の同期リセット制御回路は、この点に鑑みてなされた実施例である。   In the first embodiment, since the clock buffer 210 is enabled while the synchronous reset control signal (XSYNCRST) is active, the clock signal continues to be supplied to the D flip-flop circuit 212. For example, when the synchronous reset control signal (XSYNCRST) is a pulse signal as shown in FIG. 5, an increase in power consumption can be suppressed even in the synchronous reset control circuit of the first embodiment. On the other hand, when the synchronous reset control signal (XSYNCRST) is a level signal that remains active across a plurality of clocks, the clock signal is continuously supplied to the D flip-flop circuit 212 while the synchronous reset control signal (XSYNCRST) is active. For this reason, when the synchronous reset control signal (XSYNCRST) is a level signal, the clock signal may continue to be supplied and the power consumption may increase despite the provision of the clock buffer. The synchronous reset control circuit of the second embodiment is an embodiment made in view of this point.

図9は、実施例2の同期リセット制御回路の構成を示す図である。図9に示すように、同期リセット制御回路121aは、クロックバッファ部121a−1と、フリップフロップ部121a−2,121a−2,・・・121a−n(nは3以上の整数)とを有する。   FIG. 9 is a diagram illustrating the configuration of the synchronous reset control circuit according to the second embodiment. As shown in FIG. 9, the synchronous reset control circuit 121a includes a clock buffer unit 121a-1 and flip-flop units 121a-2, 121a-2,... 121a-n (n is an integer of 3 or more). .

クロックバッファ部121a−1は、同期リセット制御信号(XSYNCRST)を、クロック信号の1周期に相当する長さのパルス信号に変換する変換回路301と、AND回路312と、OR回路314と、クロックバッファ316とを有する。変換回路301は、Dフリップフロップ回路302,310と、AND回路304,306,308とを有する。   The clock buffer unit 121a-1 includes a conversion circuit 301 that converts a synchronous reset control signal (XSYNCRST) into a pulse signal having a length corresponding to one cycle of the clock signal, an AND circuit 312, an OR circuit 314, and a clock buffer. 316. The conversion circuit 301 includes D flip-flop circuits 302 and 310 and AND circuits 304, 306, and 308.

Dフリップフロップ回路302には、クロックバッファ部121a−1に入力されたクロック信号(CLOCK)、及び同期リセット制御信号(XSYNCRST)が入力される。Dフリップフロップ回路302は、同期リセット制御信号(XSYNCRST)の入力に応じて信号を出力する。   The D flip-flop circuit 302 receives the clock signal (CLOCK) input to the clock buffer unit 121a-1 and the synchronous reset control signal (XSYNCRST). The D flip-flop circuit 302 outputs a signal in response to the input of the synchronous reset control signal (XSYNCRST).

AND回路304には、Dフリップフロップ回路302の出力信号の論理を反転した信号、及び同期リセット制御信号(XSYNCRST)が入力される。AND回路304は、Dフリップフロップ回路302の出力信号の論理を反転した信号、及び同期リセット制御信号(XSYNCRST)の論理に応じた信号を出力する。   A signal obtained by inverting the logic of the output signal of the D flip-flop circuit 302 and a synchronous reset control signal (XSYNCRST) are input to the AND circuit 304. The AND circuit 304 outputs a signal obtained by inverting the logic of the output signal of the D flip-flop circuit 302 and a signal corresponding to the logic of the synchronous reset control signal (XSYNCRST).

AND回路306には、Dフリップフロップ回路302の出力信号、及び同期リセット制御信号(XSYNCRST)の論理を反転した信号が入力される。AND回路306は、Dフリップフロップ回路302の出力信号、及び同期リセット制御信号(XSYNCRST)の論理を反転した信号の論理に応じた信号を出力する。   The AND circuit 306 receives a signal obtained by inverting the logic of the output signal of the D flip-flop circuit 302 and the synchronous reset control signal (XSYNCRST). The AND circuit 306 outputs a signal corresponding to the logic of the output signal of the D flip-flop circuit 302 and the signal obtained by inverting the logic of the synchronous reset control signal (XSYNCRST).

AND回路308には、AND回路304の出力信号の論理を反転した信号、及びAND回路306の出力信号の論理を反転した信号が入力される。AND回路308は、AND回路304の出力信号の論理を反転した信号、及びAND回路306の出力信号の論理を反転した信号の論理に応じた信号を出力する。   A signal obtained by inverting the logic of the output signal of the AND circuit 304 and a signal obtained by inverting the logic of the output signal of the AND circuit 306 are input to the AND circuit 308. The AND circuit 308 outputs a signal corresponding to a signal obtained by inverting the logic of the output signal of the AND circuit 304 and a signal obtained by inverting the logic of the output signal of the AND circuit 306.

Dフリップフロップ回路310には、クロックバッファ部121a−1に入力されたクロック信号(CLOCK)、及びAND回路308の出力信号が入力される。Dフリップフロップ回路310は、AND回路308の出力信号の入力に応じて信号を出力する。   The D flip-flop circuit 310 receives the clock signal (CLOCK) input to the clock buffer unit 121 a-1 and the output signal of the AND circuit 308. The D flip-flop circuit 310 outputs a signal according to the input of the output signal of the AND circuit 308.

AND回路312には、同期リセット制御信号(XSYNCRST)、及びDフリップフロップ回路310の出力信号が入力される。AND回路312は、同期リセット制御信号(XSYNCRST)、及びDフリップフロップ回路310の出力信号の論理に応じた信号を、同期リセット制御信号(XSYNCRST)として出力する。   The AND circuit 312 receives the synchronous reset control signal (XSYNCRST) and the output signal of the D flip-flop circuit 310. The AND circuit 312 outputs a signal corresponding to the logic of the synchronous reset control signal (XSYNCRST) and the output signal of the D flip-flop circuit 310 as the synchronous reset control signal (XSYNCRST).

OR回路314には、クロックEN生成レジスタ134から出力されたクロック制御信号(CLKEN)、及びDフリップフロップ回路310の出力信号の論理を反転した信号が入力される。OR回路208は、クロック制御信号(CLKEN)、及びDフリップフロップ回路310の出力信号の論理を反転した信号の論理に応じた信号を出力する。   The OR circuit 314 receives a clock control signal (CLKEN) output from the clock EN generation register 134 and a signal obtained by inverting the logic of the output signal of the D flip-flop circuit 310. The OR circuit 208 outputs a signal corresponding to the logic of the clock control signal (CLKEN) and a signal obtained by inverting the logic of the output signal of the D flip-flop circuit 310.

クロックバッファ316のクロックポート(CLK)には、クロック信号(CLOCK)が入力される。また、クロックバッファ316のクロックイネーブルポート(CEN)には、OR回路314の出力信号が入力される。クロックバッファ316は、クロックイネーブルポートがアクティブになったら(H(HIGH)信号が入力されたら)、出力ポート(GCLK)からクロック信号の出力を開始する。   A clock signal (CLOCK) is input to the clock port (CLK) of the clock buffer 316. The output signal of the OR circuit 314 is input to the clock enable port (CEN) of the clock buffer 316. When the clock enable port becomes active (when the H (HIGH) signal is input), the clock buffer 316 starts outputting the clock signal from the output port (GCLK).

フリップフロップ部121a−2は、AND回路318,322と、OR回路320と、Dフリップフロップ回路324を有する。AND回路318には、EN(enable)信号、及びDIN(datain)信号が入力される。AND回路318は、EN信号及びDIN信号の論理に応じた信号を出力する。OR回路320には、AND回路318の出力信号、及びDフリップフロップ回路324の出力信号が入力される。OR回路320は、AND回路318の出力信号及びDフリップフロップ回路324の出力信号の論理に応じた信号を出力する。   The flip-flop unit 121a-2 includes AND circuits 318 and 322, an OR circuit 320, and a D flip-flop circuit 324. The AND circuit 318 receives an EN (enable) signal and a DIN (datain) signal. The AND circuit 318 outputs a signal corresponding to the logic of the EN signal and the DIN signal. The output signal of the AND circuit 318 and the output signal of the D flip-flop circuit 324 are input to the OR circuit 320. The OR circuit 320 outputs a signal corresponding to the logic of the output signal of the AND circuit 318 and the output signal of the D flip-flop circuit 324.

AND回路322には、OR回路320の出力信号、及びAND回路312から出力された同期リセット制御信号(XSYNCRST)が入力される。AND回路322は、OR回路320の出力信号及び同期リセット制御信号(XSYNCRST)の論理に応じた信号を出力する。   The output signal of the OR circuit 320 and the synchronous reset control signal (XSYNCRST) output from the AND circuit 312 are input to the AND circuit 322. The AND circuit 322 outputs a signal corresponding to the output signal of the OR circuit 320 and the logic of the synchronous reset control signal (XSYNCRST).

Dフリップフロップ回路324は、D入力ポート(D)にAND回路322の出力信号が入力される。また、Dフリップフロップ回路324は、クロックポート(ENCK)にクロックバッファ316の出力ポート(GCLK)から出力されたクロック信号が入力される。Dフリップフロップ回路324は、クロックポート(ENCK)にクロック信号が入力されている場合は、Dフリップフロップ回路として動作するので、D入力ポート(D)への入力信号に応じてQ出力ポート(Q)から信号を出力する。一方、Dフリップフロップ回路324は、クロックポート(ENCK)にクロック信号が入力されていない場合は、Dフリップフロップ回路として動作しない。このように、クロック制御信号(CLKEN)によって、Dフリップフロップ回路324へ選択的にクロック信号を供給することで、省電力を図ることができる。なお、フリップフロップ部121a−3〜フリップフロップ部121a−nは、フリップフロップ部121a−2と同様の構成であるので、説明を省略する。   In the D flip-flop circuit 324, the output signal of the AND circuit 322 is input to the D input port (D). In the D flip-flop circuit 324, the clock signal output from the output port (GCLK) of the clock buffer 316 is input to the clock port (ENCK). Since the D flip-flop circuit 324 operates as a D flip-flop circuit when a clock signal is input to the clock port (ENCK), the D flip-flop circuit 324 operates according to the input signal to the D input port (D). ) To output a signal. On the other hand, the D flip-flop circuit 324 does not operate as a D flip-flop circuit when no clock signal is input to the clock port (ENCK). In this manner, power can be saved by selectively supplying the clock signal to the D flip-flop circuit 324 by the clock control signal (CLKEN). Note that the flip-flop units 121a-3 to 121a-n have the same configuration as the flip-flop unit 121a-2, and thus the description thereof is omitted.

次に、実施例2の同期リセット制御回路のタイムチャートについて説明する。図10,11は、実施例2の同期リセット制御回路のタイムチャートを示す図である。図10のタイムチャートは、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合のタイムチャートを示すものである。また、図10のタイムチャートは、リセット解除時(リセットネゲート時)にリセットをかける場合のタイムチャートである。また、図11のタイムチャートは、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が供給される一方、クロック制御信号(CLKEN)が供給されない場合のタイムチャートである。また、図11のタイムチャートは、リセットをかける時(リセットアサート時)のタイムチャートである。   Next, a time chart of the synchronous reset control circuit according to the second embodiment will be described. 10 and 11 are time charts of the synchronous reset control circuit according to the second embodiment. The time chart of FIG. 10 shows a time chart when the synchronous reset control signal (XSYNCRST) is first supplied to the synchronous reset control circuit and then the clock control signal (CLKEN) is supplied. Further, the time chart of FIG. 10 is a time chart in the case of resetting when reset is released (at reset negation). The time chart of FIG. 11 is a time chart when the synchronous reset control signal (XSYNCRST) is supplied to the synchronous reset control circuit while the clock control signal (CLKEN) is not supplied. Further, the time chart of FIG. 11 is a time chart when resetting (when reset is asserted).

まず、図10のタイムチャートを説明する。図10に示すように、まず、クロック制御信号(CLKEN)がL(LOW)信号のままでアクティブになっていない状態で、同期リセット制御信号(XSYNCRST)がL(LOW)信号からH(HIGH)信号に立ち上がってアクティブになる(ステップS401)。これにより、AND回路304からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がる(ステップS402)。なお、同期リセット制御信号(XSYNCRST)は、いったんアクティブになった後、複数クロックにわたってアクティブ状態が続くレベル信号である。   First, the time chart of FIG. 10 will be described. As shown in FIG. 10, first, the synchronous reset control signal (XSYNCRST) is changed from the L (LOW) signal to H (HIGH) while the clock control signal (CLKEN) remains L (LOW) signal and is not active. The signal rises and becomes active (step S401). As a result, the output from the AND circuit 304 falls from the H (HIGH) signal to the L (LOW) signal (step S402). The synchronous reset control signal (XSYNCRST) is a level signal that once becomes active and then continues in an active state over a plurality of clocks.

続いて、同期リセット制御信号(XSYNCRST)がアクティブになった次のクロック立ち上がりタイミングで、Dフリップフロップ回路302の出力信号がL(LOW)信号からH(HIGH)信号に立ち上がる(ステップS403)。これに応じて、AND回路304からの出力がL(LOW)信号からH(HIGH)信号へ立ち上がり、Dフリップフロップ回路310からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がる(ステップS404)。これにより、OR回路314には、Dフリップフロップ回路310の出力信号の論理反転したH(HIGH)信号が入力され、クロックイネーブルポート(CEN)にH(HIGH)信号が入力される。これにより、Dフリップフロップ回路310からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がった次のクロック立ち上がりタイミングで、出力ポート(GCLK)からクロック信号が出力される(ステップS405)。その結果、クロックポート(ENCK)にクロック信号が入力された状態で、同期リセット制御信号(XSYNCRST)がアクティブになるので、Q出力ポート(Q)からの信号の出力が停止される(同期リセットが行われる)(ステップS406)。   Subsequently, at the next clock rising timing when the synchronous reset control signal (XSYNCRST) becomes active, the output signal of the D flip-flop circuit 302 rises from the L (LOW) signal to the H (HIGH) signal (step S403). In response, the output from the AND circuit 304 rises from the L (LOW) signal to the H (HIGH) signal, and the output from the D flip-flop circuit 310 falls from the H (HIGH) signal to the L (LOW) signal ( Step S404). As a result, an H (HIGH) signal obtained by logically inverting the output signal of the D flip-flop circuit 310 is input to the OR circuit 314, and an H (HIGH) signal is input to the clock enable port (CEN). As a result, the clock signal is output from the output port (GCLK) at the next clock rising timing when the output from the D flip-flop circuit 310 falls from the H (HIGH) signal to the L (LOW) signal (step S405). . As a result, the synchronous reset control signal (XSYNCRST) becomes active while the clock signal is input to the clock port (ENCK), so that the output of the signal from the Q output port (Q) is stopped (synchronous reset is not performed). (Step S406).

次に、図11のタイムチャートを説明する。図11に示すように、まず、クロック制御信号(CLKEN)がL(LOW)信号のままでアクティブになっていない状態で、同期リセット制御信号(XSYNCRST)がH(HIGH)信号からL(LOW)信号に立ち下がってアクティブになる(ステップS501)。これにより、AND回路306からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がる(ステップS502)。なお、同期リセット制御信号(XSYNCRST)は、いったんアクティブになった後、複数クロックにわたってアクティブ状態が続くレベル信号である。   Next, the time chart of FIG. 11 will be described. As shown in FIG. 11, first, the synchronous reset control signal (XSYNCRST) is changed from the H (HIGH) signal to L (LOW) while the clock control signal (CLKEN) remains L (LOW) signal and not active. The signal falls and becomes active (step S501). As a result, the output from the AND circuit 306 falls from the H (HIGH) signal to the L (LOW) signal (step S502). The synchronous reset control signal (XSYNCRST) is a level signal that once becomes active and then continues in an active state over a plurality of clocks.

続いて、同期リセット制御信号(XSYNCRST)がアクティブになった次のクロック立ち上がりタイミングで、Dフリップフロップ回路302の出力信号がH(HIGH)信号からL(LOW)信号に立ち下がる(ステップS503)。これに応じて、AND回路306からの出力がL(LOW)信号からH(HIGH)信号へ立ち上がり、Dフリップフロップ回路310からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がる(ステップS504)。これにより、OR回路314には、Dフリップフロップ回路310の出力信号の論理反転したH(HIGH)信号が入力され、クロックイネーブルポート(CEN)にH(HIGH)信号が入力される。これにより、Dフリップフロップ回路310からの出力がH(HIGH)信号からL(LOW)信号へ立ち下がった次のクロック立ち上がりタイミングで、出力ポート(GCLK)からクロック信号が出力される(ステップS505)。その結果、クロックポート(ENCK)にクロック信号が入力された状態で、同期リセット制御信号(XSYNCRST)がアクティブになるので、Q出力ポート(Q)からの信号の出力が停止される(同期リセットが行われる)(ステップS506)。   Subsequently, at the next clock rising timing when the synchronous reset control signal (XSYNCRST) becomes active, the output signal of the D flip-flop circuit 302 falls from the H (HIGH) signal to the L (LOW) signal (step S503). In response to this, the output from the AND circuit 306 rises from the L (LOW) signal to the H (HIGH) signal, and the output from the D flip-flop circuit 310 falls from the H (HIGH) signal to the L (LOW) signal ( Step S504). As a result, an H (HIGH) signal obtained by logically inverting the output signal of the D flip-flop circuit 310 is input to the OR circuit 314, and an H (HIGH) signal is input to the clock enable port (CEN). As a result, the clock signal is output from the output port (GCLK) at the next clock rise timing when the output from the D flip-flop circuit 310 falls from the H (HIGH) signal to the L (LOW) signal (step S505). . As a result, the synchronous reset control signal (XSYNCRST) becomes active while the clock signal is input to the clock port (ENCK), so that the output of the signal from the Q output port (Q) is stopped (synchronous reset is not performed). (Step S506).

このように、実施例2の同期リセット制御回路は、クロック制御信号(CLKEN)だけではなく、変換回路301を介して出力された同期リセット制御信号(XSYNCRST)もクロックバッファ316に入力する。そして、クロックバッファ316は、クロック制御信号(CLKEN)と、変換回路301を介して出力された同期リセット制御信号(XSYNCRST)のいずれかがアクティブになったらクロック信号の出力を開始する。したがって、実施例2の同期リセット制御回路によれば、同期リセット制御回路に、同期リセット制御信号(XSYNCRST)が先に供給され、その後、クロック制御信号(CLKEN)が供給された場合であっても、確実に同期リセットを行うことができる。   As described above, the synchronous reset control circuit according to the second embodiment inputs not only the clock control signal (CLKEN) but also the synchronous reset control signal (XSYNCRST) output via the conversion circuit 301 to the clock buffer 316. The clock buffer 316 starts outputting the clock signal when either the clock control signal (CLKEN) or the synchronous reset control signal (XSYNCRST) output via the conversion circuit 301 becomes active. Therefore, according to the synchronous reset control circuit of the second embodiment, even when the synchronous reset control signal (XSYNCRST) is supplied to the synchronous reset control circuit first and then the clock control signal (CLKEN) is supplied. Thus, the synchronous reset can be surely performed.

これに加えて、実施例2では、変換回路301を設けているので、複数クロックにわたってアクティブ状態が続くレベル信号である同期リセット制御信号(XSYNCRST)を、クロック信号の1周期に相当する長さのパルス信号に変換することができる。このため、実施例2の同期リセット制御回路によれば、同期リセット制御信号(XSYNCRST)がレベル信号であっても、クロック信号がDフリップフロップ回路324に供給され続けて消費電力が増加することを抑制することができる。   In addition, since the conversion circuit 301 is provided in the second embodiment, the synchronous reset control signal (XSYNCRST), which is a level signal that continues in an active state over a plurality of clocks, has a length corresponding to one cycle of the clock signal. It can be converted into a pulse signal. For this reason, according to the synchronous reset control circuit of the second embodiment, even if the synchronous reset control signal (XSYNCRST) is a level signal, the clock signal continues to be supplied to the D flip-flop circuit 324 and the power consumption increases. Can be suppressed.

次に、実施例2の同期リセット制御回路のRTL記述例について説明する。図12は、実施例2の同期リセット制御回路のRTL記述例を示す図である。図12のRTL記述例には、図9のDフリップフロップ回路302から出力される信号(1)、AND回路304から出力される信号(2)、及びAND回路306から出力される信号(3)を示す記述が含まれる。また、図12のRTL記述例には、図9のDフリップフロップ回路310から出力される信号(4)、及びOR回路314から出力される信号(5)を示す記述が含まれる。すなわち、図12の(5)で示したように、クロック制御信号(CLKEN)が「1」(アクティブ)になるか、又は同期リセット制御信号(XSYNCRST)が「0」(アクティブ)になったことに起因してDフリップフロップ回路302の出力信号が「0」になったら、出力ポート(GCLK)からクロック信号が出力される。   Next, an RTL description example of the synchronous reset control circuit according to the second embodiment will be described. FIG. 12 is a diagram illustrating an RTL description example of the synchronous reset control circuit according to the second embodiment. The RTL description example in FIG. 12 includes a signal (1) output from the D flip-flop circuit 302 in FIG. 9, a signal (2) output from the AND circuit 304, and a signal (3) output from the AND circuit 306. Is included. The RTL description example in FIG. 12 includes a description indicating the signal (4) output from the D flip-flop circuit 310 in FIG. 9 and the signal (5) output from the OR circuit 314. That is, as shown in (5) of FIG. 12, the clock control signal (CLKEN) becomes “1” (active) or the synchronous reset control signal (XSYNCRST) becomes “0” (active). When the output signal of the D flip-flop circuit 302 becomes “0” due to the above, a clock signal is output from the output port (GCLK).

なお、上述の実施例1,2は、主に携帯電話機100を中心に説明したが、これに限らず、あらかじめ用意された同期リセット制御プログラムを電子機器で実行することによって、上述の実施例と同様の機能を実現することができる。すなわち、同期リセット制御プログラムは、電子機器に、信号の出力を停止させるリセット制御信号を生成する処理を実行させる。また、同期リセット制御プログラムは、電子機器に、クロック信号の出力を開始させるクロック制御信号を生成する処理を実行させる。また、同期リセット制御プログラムは、電子機器に、前記生成されたクロック制御信号を受信するか、又は前記生成されたリセット制御信号を受信したら、クロック信号の出力を開始する処理を実行させる。また、同期リセット制御プログラムは、電子機器に、前記出力されたクロック信号を受信している状態で、前記生成されたリセット制御信号を受信したら、信号の出力を停止する処理を実行させる。なお、同期リセット制御プログラムは、インターネットなどの通信ネットワークを介して電子機器に配布することができる。また、同期リセット制御プログラムは、電子機器に設けられたメモリ、ハードディスク、その他のコンピュータで読み取り可能な記録媒体に記録され、電子機器によって記録媒体から読み出して実行することもできる。   The first and second embodiments have been described mainly with respect to the mobile phone 100. However, the present invention is not limited to this, and by executing a synchronous reset control program prepared in advance on an electronic device, Similar functions can be realized. That is, the synchronous reset control program causes the electronic device to execute a process of generating a reset control signal that stops the output of the signal. In addition, the synchronous reset control program causes the electronic device to execute a process of generating a clock control signal for starting output of the clock signal. Further, the synchronous reset control program causes the electronic device to receive the generated clock control signal or to execute a process of starting output of the clock signal when the generated reset control signal is received. The synchronous reset control program causes the electronic device to execute a process of stopping the output of the signal when the generated reset control signal is received in a state where the output clock signal is received. The synchronous reset control program can be distributed to electronic devices via a communication network such as the Internet. The synchronous reset control program is recorded on a memory, a hard disk, or other computer-readable recording medium provided in the electronic device, and can be read from the recording medium and executed by the electronic device.

100 携帯電話機
120 デジタルベースバンド部
121a,122a,123a,124a,125a 同期リセット制御回路
130 リセット・クロック制御部
132 リセット生成レジスタ
134 クロックEN生成レジスタ
210,316 クロックバッファ
212,324 Dフリップフロップ回路
301 変換回路
100 cellular phone 120 digital baseband unit 121a, 122a, 123a, 124a, 125a synchronous reset control circuit 130 reset / clock control unit 132 reset generation register 134 clock EN generation register 210, 316 clock buffer 212, 324 D flip-flop circuit 301 conversion circuit

Claims (3)

信号の出力を停止させるリセット制御信号を生成するリセット生成回路と、
クロック信号の出力を開始させるクロック制御信号を生成するクロック生成回路と、
前記クロック生成回路によって生成されたクロック制御信号を受信するか、又は前記リセット生成回路によって生成されたリセット制御信号を受信したら、クロック信号の出力を開始するクロックバッファと、
前記クロックバッファから出力されたクロック信号を受信している状態で、前記リセット生成回路によって生成されたリセット制御信号を受信したら、信号の出力を停止するリセット回路と、
を備えることを特徴とする電子機器。
A reset generation circuit for generating a reset control signal for stopping output of the signal;
A clock generation circuit for generating a clock control signal for starting output of the clock signal;
A clock buffer that receives the clock control signal generated by the clock generation circuit or receives the reset control signal generated by the reset generation circuit, and starts outputting the clock signal;
When receiving the reset control signal generated by the reset generation circuit in the state of receiving the clock signal output from the clock buffer, a reset circuit for stopping output of the signal;
An electronic device comprising:
前記リセット生成回路によって生成されたリセット制御信号を、前記クロック信号の1周期に相当する長さのパルス信号に変換する変換回路をさらに備え、
前記クロックバッファは、前記変換回路によって変換されたパルス信号を受信するか、又は前記リセット生成回路によって生成されたリセット制御信号を受信したら、クロック信号の出力を開始する
ことを特徴とする請求項1に記載の電子機器。
A conversion circuit that converts the reset control signal generated by the reset generation circuit into a pulse signal having a length corresponding to one period of the clock signal;
The clock buffer starts outputting a clock signal when receiving a pulse signal converted by the conversion circuit or receiving a reset control signal generated by the reset generation circuit. The electronic device as described in.
電子機器に、
信号の出力を停止させるリセット制御信号を生成し、
クロック信号の出力を開始させるクロック制御信号を生成し、
前記生成されたクロック制御信号を受信するか、又は前記生成されたリセット制御信号を受信したら、クロック信号の出力を開始し、
前記出力されたクロック信号を受信している状態で、前記生成されたリセット制御信号を受信したら、信号の出力を停止する
処理を実行させることを特徴とする同期リセット制御プログラム。
Electronic equipment,
Generate a reset control signal to stop signal output,
Generate a clock control signal that starts the output of the clock signal,
When receiving the generated clock control signal or receiving the generated reset control signal, start outputting the clock signal;
A synchronous reset control program that, when receiving the generated reset control signal while receiving the output clock signal, executes a process of stopping signal output.
JP2011283921A 2011-12-26 2011-12-26 Electronic device and synchronous reset control program Expired - Fee Related JP5768703B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011283921A JP5768703B2 (en) 2011-12-26 2011-12-26 Electronic device and synchronous reset control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011283921A JP5768703B2 (en) 2011-12-26 2011-12-26 Electronic device and synchronous reset control program

Publications (2)

Publication Number Publication Date
JP2013135312A JP2013135312A (en) 2013-07-08
JP5768703B2 true JP5768703B2 (en) 2015-08-26

Family

ID=48911741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011283921A Expired - Fee Related JP5768703B2 (en) 2011-12-26 2011-12-26 Electronic device and synchronous reset control program

Country Status (1)

Country Link
JP (1) JP5768703B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102325388B1 (en) 2015-06-04 2021-11-11 삼성전자주식회사 Power Gating Control Circuit For Controlling Stably Data Restoring
US11057001B2 (en) 2020-06-14 2021-07-06 Intel Corporation Apparatus, system, and method of distributing a reset signal to a plurality of PHY chains

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3580736B2 (en) * 1998-08-26 2004-10-27 株式会社東芝 Flip-flop circuit with clock signal control function and clock control circuit
JP3508625B2 (en) * 1999-05-28 2004-03-22 日本電気株式会社 Low power digital logic circuit
JP2007329586A (en) * 2006-06-06 2007-12-20 Sanyo Electric Co Ltd Semiconductor integrated circuit device, and design apparatus and design method thereof

Also Published As

Publication number Publication date
JP2013135312A (en) 2013-07-08

Similar Documents

Publication Publication Date Title
CN101893926B (en) Method, device and terminal for controlling switching of dual processor
EP3345070B1 (en) Systems and methods for dynamically adjusting memory state transition timers
CN106575145B (en) Power management of memory access in a system on a chip
EP2856692A1 (en) Data interface synchronization
US9549373B2 (en) Method for waking a data transceiver through data reception
JP5768703B2 (en) Electronic device and synchronous reset control program
CN104335618A (en) Data exchange between antenna and modem of mobile device
CN103607431A (en) Mobile terminal resource processing method, apparatus and equipment thereof
JP6438429B2 (en) Frequency lock loop based on oscillator
JP5734057B2 (en) Microcontroller and control method thereof
WO2012081085A1 (en) Interrupt source management device and interrupt processing system
US8971154B2 (en) Synchronization of system time in electronic device
JP6007674B2 (en) Radio apparatus and radio signal processing method
KR20180008196A (en) Baseband Integrated Circuit for communicating with RF Integrated Circuit using digital interface And Apparatus including the same
US9510281B2 (en) Priority arbitration for interference mitigation
US8692699B2 (en) Data interface clock generation
WO2015200604A1 (en) Systems and methods for conserving power in a universal serial bus (usb)
JP2006350965A (en) Microprocessor and electronic apparatus equipped with it
JP5890052B2 (en) Microcontroller
US20190155371A1 (en) Low power data processing offload using external platform component
JP2003330570A (en) Data processor, data processor control method, data processor control program
US9594413B2 (en) Interface for communication between circuit blocks of an integrated circuit, and associated apparatuses, systems, and methods
JP2013187734A (en) Transmitter, transmission method and transmission reception system
JP2008186154A (en) Data processor and data processing method
JP2009289027A (en) Integrated circuit device and voice reproduction system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140904

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150430

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: 20150526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150608

R150 Certificate of patent or registration of utility model

Ref document number: 5768703

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees