JP2008041106A - Semiconductor integrated circuit device, clock control method and data transfer control method - Google Patents

Semiconductor integrated circuit device, clock control method and data transfer control method Download PDF

Info

Publication number
JP2008041106A
JP2008041106A JP2007234079A JP2007234079A JP2008041106A JP 2008041106 A JP2008041106 A JP 2008041106A JP 2007234079 A JP2007234079 A JP 2007234079A JP 2007234079 A JP2007234079 A JP 2007234079A JP 2008041106 A JP2008041106 A JP 2008041106A
Authority
JP
Japan
Prior art keywords
clock
internal
module
bus
reference 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
Application number
JP2007234079A
Other languages
Japanese (ja)
Inventor
Takashi Yomo
孝 四方
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 JP2007234079A priority Critical patent/JP2008041106A/en
Publication of JP2008041106A publication Critical patent/JP2008041106A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a function for attaining signal synchronization between modules which operate by clocks of non-integer multiples by a simple method in a semiconductor integrated circuit device. <P>SOLUTION: The semiconductor integrated circuit device has a first internal module, a second internal module which transfers data with the first internal module via an internal bus, a clock generating section which generates a first reference clock to be supplied to the first internal module and generates a clock synchronizing signal indicating an effective position of a clock edge of a second reference clock corresponding to positions of clock edges of the second reference clock and the first reference clock to be supplied to the second internal module, wherein the first internal module transfers the data according to the clock edge of the first reference clock and the second internal module transfers the data according to the effective clock edge based on the second reference clock and the clock synchronizing signal. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、バスに接続される内部モジュールの低消費電力化のための半導体集積回路装置及びクロック制御方法に関する。より詳細には、本発明は、クロック及びクロック同期信号を制御することにより内部モジュール及び内部バスの動作周波数を制御して低消費電力化を図る半導体集積回路装置及びクロック制御方法に関する。   The present invention relates to a semiconductor integrated circuit device and a clock control method for reducing power consumption of internal modules connected to a bus. More particularly, the present invention relates to a semiconductor integrated circuit device and a clock control method for controlling the operating frequency of an internal module and an internal bus by controlling a clock and a clock synchronization signal to reduce power consumption.

近年、半導体プロセッサの高速化・大規模化に伴い、プロセッサの消費電力をいかに削減するかが大きな課題となっている。半導体集積回路装置の消費電力削減のため、1)プロセッサの高速動作が不要なときに、動的にクロック周波数を低くする方法、2)プロセッサ内部の各モジュールに、必要に応じた動作周波数のクロックをそれぞれ供給する方法、3)動作が不要なモジュールのクロックを停止させる方法(レジスタ等で制御)、4)ゲーテッドクロックを使用することにより、クロックツリーの電力を削減する方法などが用いられてきた。   In recent years, with the increase in speed and scale of semiconductor processors, how to reduce the power consumption of the processors has become a major issue. In order to reduce the power consumption of the semiconductor integrated circuit device, 1) a method of dynamically lowering the clock frequency when high-speed operation of the processor is unnecessary, and 2) a clock having an operation frequency required for each module in the processor. 3) A method of stopping the clock of a module that does not require operation (controlled by a register or the like), 4) A method of reducing the power of the clock tree by using a gated clock, and the like have been used. .

ここで、半導体プロセッサの主な電力消費要因Pは次式によって表すことができる。   Here, the main power consumption factor P of the semiconductor processor can be expressed by the following equation.

P=C×V^2×F(C:負荷容量、V:電源電圧、F:動作周波数)
上述の方法は、この式における動作周波数F(又は、負荷容量のスイッチング確率)に注目して、電力削減を図る方法である。電源電圧Vを制御することにより、低消費電力化を図る方法も多数実施されているが、近年では、主に動作を要求されていない周辺モジュールへのクロック供給を制御する方法が注目されている。
P = C × V ^ 2 × F (C: load capacity, V: power supply voltage, F: operating frequency)
The above-described method is a method for reducing power by paying attention to the operating frequency F (or the switching probability of the load capacity) in this equation. Many methods for reducing power consumption by controlling the power supply voltage V have been implemented, but in recent years, a method for controlling clock supply to peripheral modules that are not mainly required to operate has attracted attention. .

一方、本発明に関連する従来の技術として、特開2002−328744号公報は、クロック周波数を切り換える際のモジュール間のデータ転送の同期はずれを防止するための装置を開示している。   On the other hand, as a conventional technique related to the present invention, Japanese Patent Application Laid-Open No. 2002-328744 discloses an apparatus for preventing a loss of synchronization of data transfer between modules when the clock frequency is switched.

特開2003−58271号公報は、クロック周波数を切り換える際やパワーダウンモード移行時におけるハングアップの発生を回避するための装置及び方法を開示している。   Japanese Patent Laying-Open No. 2003-58271 discloses an apparatus and method for avoiding the occurrence of hang-up when switching the clock frequency or when shifting to the power-down mode.

特開平6−202754号公報は、集積回路の機能単位(モジュール)をパワーダウンする装置及び方法を開示している。各モジュールの状況を監視して、必要のない場合にはそのモジュールへのクロック入力を停止する。   Japanese Patent Laid-Open No. 6-202754 discloses an apparatus and method for powering down a functional unit (module) of an integrated circuit. The status of each module is monitored, and when it is not necessary, the clock input to that module is stopped.

特開平8−194663号公報は、コンピュータシステム及び周辺バスのためのクロックライン特性を能動化又は不能化する方法を開示している。クロック制御用のコマンドレジスタを設け、動作を要しないモジュールへのクロック供給を停止する等のクロック制御を行う。   Japanese Patent Application Laid-Open No. 8-194663 discloses a method for enabling or disabling clock line characteristics for a computer system and a peripheral bus. A command register for clock control is provided to perform clock control such as stopping the clock supply to modules that do not require operation.

また、特開2000−35886号公報は、対応するクロック比が整数倍でない場合に動作する各モジュール間で信号乗り換えを行う際にラッチを使用して各クロック間の信号同期を行うことを開示している。
特開2002−328744号公報 特開2003−58271号公報 特開平6−202754号公報 特開平8−194663号公報 特開2000−35886号公報
Japanese Laid-Open Patent Publication No. 2000-35886 discloses that signal synchronization between clocks is performed using a latch when performing signal transfer between modules operating when the corresponding clock ratio is not an integral multiple. ing.
JP 2002-328744 A JP 2003-58271 A JP-A-6-202754 JP-A-8-194663 JP 2000-35886 A

近年のシステムLSI開発の進展に伴って、多数の機能IPマクロ(特定の機能を実現するための機能単位)を1つのチップに搭載するシステム・オン・チップ(SOC)開発が可能となってきている。回路規模が巨大化すると、それだけ消費電力も大きくなるため、いかに消費電力を抑えるかが大きな課題となっている。   With recent progress in system LSI development, system-on-chip (SOC) development in which a large number of function IP macros (functional units for realizing specific functions) are mounted on one chip has become possible. Yes. As the circuit scale increases, the power consumption increases accordingly, and how to reduce power consumption is a major issue.

このようなシステム・オン・チップ(SOC)は、通常、多数の機能IPマクロを搭載した内部モジュールを有する。その消費電力対策として、従来、各モジュールが動作可能(活性化状態)であるか否かを示すレジスタ等を設け、そのモジュールが動作不可/動作不要(不活性状態)である場合に、そのモジュールへのクロック供給を停止する方式が取られてきた。   Such a system-on-chip (SOC) typically has an internal module with a number of functional IP macros. Conventionally, as a countermeasure against power consumption, a register or the like indicating whether or not each module is operable (activated state) is provided. When the module is inoperable / unnecessary (inactive state), the module A method of stopping the clock supply to has been taken.

しかし、このような従来の方式では、一旦、特定のモジュールのクロック供給をONにすると、そのモジュールへのバスアクセス等の有無や、そのモジュール自体の動作状態に関わらず、そのモジュールへのクロックは供給され続ける。半導体チップの消費電力の10〜30%近く(この値はチップの回路構成に依存する)は、クロック・ツリー(クロック・スキュー調整用にツリー状に挿入されるバッファ群)で消費されていることを鑑みると、マクロIP非動作時の冗長なクロック供給を停止する、あるいは抑止することが望ましい。   However, in such a conventional method, once the clock supply of a specific module is turned ON, the clock to that module is not related to the presence or absence of bus access to that module or the operating state of the module itself. Continue to be supplied. Nearly 10 to 30% of the power consumption of the semiconductor chip (this value depends on the circuit configuration of the chip) is consumed by the clock tree (a group of buffers inserted in a tree shape for clock skew adjustment). Therefore, it is desirable to stop or suppress redundant clock supply when the macro IP is not operating.

言い換えれば、たとえゲーテッド・クロック等によりデータバスや演算器等の不要な信号遷移は抑えられたとしても、クロック・ツリーにおいては無駄な電力を消費し続けていることになる。ゲーテッド・クロック等を使用していなければ、さらに顕著に無駄な電力が消費されることになる。この余分な電力消費を削減していくことで、チップの低消費電力化を実現することが望まれている。   In other words, even if unnecessary signal transitions such as a data bus and an arithmetic unit are suppressed by a gated clock or the like, useless power is continuously consumed in the clock tree. If a gated clock or the like is not used, the useless power is consumed remarkably. It is desired to reduce the power consumption of the chip by reducing this extra power consumption.

さらに、一般にCPUコア、SDRAMコントローラや、周辺バス・コントローラ、タイマ等の各種内部モジュールを有する半導体プロセッサにおいて、内部の特定のモジュールは常に一定の処理能力を要し、CPUは高速動作が要求される。このような半導体プロセッサにおいて、アプリケーションの処理に最低限必要なクロック周波数を供給して、プロセスの出来具合(製造バラツキ)、電源電圧、温度、等の条件に応じて、最大性能を引き出す等の要求を満足させるために、CPUコア部と、特定の内部モジュールとのクロック周波数のクロック比を非整数倍、例えば0.5倍きざみ制御したい場合がある。   Furthermore, in general, in a semiconductor processor having various internal modules such as a CPU core, SDRAM controller, peripheral bus controller, and timer, a specific internal module always requires a certain processing capability, and the CPU is required to operate at high speed. . In such a semiconductor processor, the minimum clock frequency required for application processing is supplied, and the maximum performance is demanded depending on conditions such as process performance (manufacturing variation), power supply voltage, temperature, etc. In order to satisfy the above, there is a case where it is desired to control the clock ratio of the clock frequency between the CPU core unit and a specific internal module by a non-integer multiple, for example, 0.5.

かかる要求に対して、プロセッサ内のクロック生成部において、クロック比が、非整数倍の周波数を有する複数のクロックを生成して、CPUコア部を含む各内部モジュールに供給すると、各クロックのクロックエッジが等間隔の場合に、早い方のクロックの倍の周波数で、モジュール間の信号同期回路部が動作しなければならないという問題がある。   In response to such a request, when a clock generation unit in the processor generates a plurality of clocks having a clock ratio having a frequency that is a non-integer multiple, and supplies them to each internal module including the CPU core unit, the clock edge of each clock Has a problem that the signal synchronization circuit section between modules must operate at a frequency twice that of the earlier clock.

このような高速動作を行う回路が存在すると、LSI開発における論理設計、レイアウト、タイミング検証等において、大きな問題となる。   The existence of such a circuit that operates at high speed becomes a major problem in logic design, layout, timing verification, and the like in LSI development.

本発明は、上記の点に鑑みてなされたものであり、半導体集積回路装置及びクロック制御方法において、簡便な方法により、非整数倍のクロックで動作するモジュール間の信号同期を実現する機能を提供することを目的とする。   The present invention has been made in view of the above points, and in the semiconductor integrated circuit device and the clock control method, provides a function for realizing signal synchronization between modules operating with a non-integer multiple clock by a simple method. The purpose is to do.

上記課題を解決するため、本発明の半導体集積回路装置は、内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、第1の基準クロックを生成して前記第1の内部モジュールに供給するとともに、第2の基準クロック及び前記第1の基準クロックのクロックエッジの位置に対応する前記第2の基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部とを備える半導体集積回路装置であって、前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を行うとともに、前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を行うとともに、前記第2の基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うことを特徴とする。   In order to solve the above problems, a semiconductor integrated circuit device of the present invention includes an internal bus, a first internal module having a first module body connected to the internal bus and realizing a predetermined function, and the internal bus. And a second module main body that realizes a predetermined function, generates a first reference clock, and a second internal module that transfers data via the first internal module and the internal bus And supplying the second internal clock to the first internal module and indicating a clock edge position of the second reference clock corresponding to the clock edge position of the second reference clock and the first reference clock. A clock generation unit that generates a signal and supplies the signal to the second internal module, wherein the first internal module The first module body performs predetermined processing according to the first reference clock, and performs data transfer according to the clock edge of the first reference clock. The second internal module is connected to the second module body. A predetermined process is performed according to the second reference clock, and data transfer is performed according to the valid clock edge based on the second reference clock and the clock synchronization signal.

更に、上記課題を解決するため、本発明の半導体集積回路装置は、内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、第1の基準クロック及び前記第1の基準クロックの有効なクロックエッジの位置を示す第1のクロック同期信号を生成して前記第1の内部モジュールに供給するとともに、第2の基準クロック及び前記第2の基準クロックの有効なクロックエッジの位置を示す第2のクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部とを備える半導体集積回路装置であって、前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を実行するとともに、前記第1の基準クロック及び前記第1のクロック同期信号に基づいて前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を実行するとともに、前記第2の基準クロックと前記第2のクロック同期信号に基づいて前記第2の基準クロックの有効なクロックエッジに従ってデータ転送を行うことを特徴とする。   Furthermore, in order to solve the above-described problem, a semiconductor integrated circuit device according to the present invention includes an internal bus, a first internal module having a first module body connected to the internal bus and realizing a predetermined function, A second internal module connected to an internal bus and having a second module body for realizing a predetermined function, and transferring data via the first internal module and the internal bus; and a first reference clock And a first clock synchronization signal indicating a position of a valid clock edge of the first reference clock is generated and supplied to the first internal module, and the second reference clock and the second reference clock A semiconductor integrated circuit device comprising: a clock generation unit that generates a second clock synchronization signal indicating a position of a valid clock edge and supplies the second clock synchronization signal to the second internal module The first internal module executes a predetermined process in the first module body in accordance with the first reference clock, and based on the first reference clock and the first clock synchronization signal. Data transfer is performed according to a clock edge of the first reference clock, and the second internal module executes a predetermined process according to the second reference clock in the second module body, and the second reference clock Data transfer is performed according to a valid clock edge of the second reference clock based on the clock and the second clock synchronization signal.

上記の半導体集積回路装置によれば、対応するクロック比が整数倍でない場合にも、それぞれのクロックで動作するモジュール間における非常に高速な信号乗り換えをすることなく、所望の動作周波数で動作可能とすることができる。   According to the semiconductor integrated circuit device described above, even when the corresponding clock ratio is not an integral multiple, it is possible to operate at a desired operating frequency without very high-speed signal transfer between modules operating with each clock. can do.

本発明の半導体集積回路装置及びクロック制御方法によれば、クロック・ツリーにおける消費電力や、クロック・ツリーに接続されているモジュール内の冗長な電力消費を削減することが可能となる。複数の機能IPマクロを搭載した内部モジュールを有するシステム・オン・チップ等の半導体集積回路装置における消費電力削減に有効である。また、本発明のクロック同期制御方式によれば、対応する高速クロックと低速クロックのクロック比が整数倍で無い場合にも、それぞれのクロックで動作するモジュール間における非常に高速な信号乗り換えをすることなく、所望の動作周波数でプロセッサを動作させることが可能となる。   According to the semiconductor integrated circuit device and the clock control method of the present invention, it is possible to reduce power consumption in the clock tree and redundant power consumption in the modules connected to the clock tree. This is effective in reducing power consumption in a semiconductor integrated circuit device such as a system-on-chip having an internal module equipped with a plurality of function IP macros. In addition, according to the clock synchronization control system of the present invention, even when the clock ratio of the corresponding high-speed clock and low-speed clock is not an integer multiple, very high-speed signal transfer can be performed between modules operating with each clock. Instead, the processor can be operated at a desired operating frequency.

以下、本発明の実施の形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施例における基本的なプロセッサの構成を示す。   FIG. 1 shows a basic processor configuration in one embodiment of the present invention.

図1において、1は外部入力クロック、2はクロック制御を行うための外部入力端子信号、3は本実施例におけるクロック生成部への入力クロックを生成するPLL(phase−locked loop)回路、4は本実施例におけるクロック生成部、4aはクロック生成部4内の分周回路、5は本実施例におけるCPUコア、5aはCPUコア5内のバスインターフェイス(BI)、6は本実施例における内部モジュール、6aは内部モジュール6内のバスインターフェイス(BI)、7は本実施例における内部モジュール、7aは内部モジュール7内のバスインターフェイス(BI)、8は内部モジュール7内のクロック制御レジスタ、9は本実施例における内部オンチップバス(OCB)、10は本実施例におけるCPUコア5へ供給される高速の基準クロック(バスクロック)、11は本実施例におけるCPUコア5へ供給される基準クロック10に対応したクロック同期信号、12は本実施例における内部モジュール6及び7へ供給される低速の基準クロック、13は本実施例における内部モジュール6及び7へ供給されるクロック同期信号、14は本実施例におけるCPUコア5からクロック生成部4へのプログラム命令によるクロック制御信号、15は本実施例のクロック制御レジスタ8からクロック生成部4へのクロック制御信号をそれぞれ示す。   In FIG. 1, 1 is an external input clock, 2 is an external input terminal signal for performing clock control, 3 is a PLL (phase-locked loop) circuit for generating an input clock to the clock generator in this embodiment, In the present embodiment, a clock generation unit, 4a is a frequency dividing circuit in the clock generation unit 4, 5 is a CPU core in the present embodiment, 5a is a bus interface (BI) in the CPU core 5, and 6 is an internal module in the present embodiment. , 6a is a bus interface (BI) in the internal module 6, 7 is an internal module in this embodiment, 7a is a bus interface (BI) in the internal module 7, 8 is a clock control register in the internal module 7, and 9 is a book The internal on-chip bus (OCB) 10 in the embodiment is supplied to the CPU core 5 in the present embodiment. Is a high-speed reference clock (bus clock), 11 is a clock synchronization signal corresponding to the reference clock 10 supplied to the CPU core 5 in this embodiment, and 12 is a low-speed supplied to the internal modules 6 and 7 in this embodiment. , 13 is a clock synchronization signal supplied to the internal modules 6 and 7 in this embodiment, 14 is a clock control signal according to a program command from the CPU core 5 to the clock generator 4 in this embodiment, and 15 is this embodiment. The clock control signals from the clock control register 8 of the example to the clock generation unit 4 are shown respectively.

図1のプロセッサに、本実施例に係る半導体集積回路装置が適用されている。図1のプロセッサは、PLL回路3と、クロック生成部4と、CPUコア5と、内部モジュール6と、内部モジュール7と、内部オンチップバス(OCB)9を含む。本実施例の半導体集積回路装置は、クロック生成部4と、各内部モジュール6、7と、内部オンチップバス8を含む。   The semiconductor integrated circuit device according to this embodiment is applied to the processor of FIG. The processor of FIG. 1 includes a PLL circuit 3, a clock generation unit 4, a CPU core 5, an internal module 6, an internal module 7, and an internal on-chip bus (OCB) 9. The semiconductor integrated circuit device of this embodiment includes a clock generation unit 4, internal modules 6 and 7, and an internal on-chip bus 8.

PLL回路3は、外部入力クロック1を受け取り、外部入力クロック1に同期したPLL出力信号をクロック生成部4へ出力する。   The PLL circuit 3 receives the external input clock 1 and outputs a PLL output signal synchronized with the external input clock 1 to the clock generation unit 4.

クロック生成部4は、外部入力端子を介して外部入力端子信号2を受取ると共に、PLL回路3からのPLL出力信号を受取る。また、クロック生成部4は、CPUコア5から送出されるクロック制御信号14を受取って、クロック同期制御に用いる。また、クロック生成部4は、内部モジュール7内に設けられたクロック制御レジスタ8から送出されるクロック制御信号15を受取って、クロック同期制御に用いる。   The clock generation unit 4 receives the external input terminal signal 2 through the external input terminal and also receives the PLL output signal from the PLL circuit 3. The clock generation unit 4 receives the clock control signal 14 sent from the CPU core 5 and uses it for clock synchronization control. The clock generator 4 receives a clock control signal 15 sent from a clock control register 8 provided in the internal module 7 and uses it for clock synchronization control.

CPUコア5、内部モジュール6、及び内部モジュール7は、それぞれ、バスインターフェイス5a、バスインターフェイス6a、及びバスインターフェイス7aを介してオンチップバス9と接続されている。CPUコア5及び内部モジュール6、7の内部では、供給された基準クロックとクロック同期信号に基づいて内部動作に適したクロック周波数の内部クロックを生成する。   The CPU core 5, the internal module 6, and the internal module 7 are connected to the on-chip bus 9 via the bus interface 5a, the bus interface 6a, and the bus interface 7a, respectively. In the CPU core 5 and the internal modules 6 and 7, an internal clock having a clock frequency suitable for internal operation is generated based on the supplied reference clock and clock synchronization signal.

図2は、本発明の一実施例における基準クロック及びクロック同期信号を説明するための波形図である。   FIG. 2 is a waveform diagram for explaining a reference clock and a clock synchronization signal in one embodiment of the present invention.

図2において、(1)は本実施例における基準クロック、(2)は本実施例におけるクロック同期信号、(3)は本実施例における基準クロック及びクロック同期信号を用いて生成されたゲーテッド・クロック(内部クロック)をそれぞれ示す。   2, (1) is a reference clock in this embodiment, (2) is a clock synchronization signal in this embodiment, and (3) is a gated clock generated using the reference clock and the clock synchronization signal in this embodiment. (Internal clock) is shown respectively.

図2に示したように、本発明のゲーテッド・クロック(内部クロック)(3)は、基準クロック(1)の複数のパルスのうち、その立上りエッジ(LOWからHIGHへ変化するエッジ)がクロック同期信号(2)がHIGHレベルである期間にあるパルスのみを通過させるように制御することにより生成される。基準クロックよりも周波数の低い内部クロックが生成され、クロック同期信号(2)の周期やデューティ比を変更することにより内部クロックの周波数が変更される。   As shown in FIG. 2, the gated clock (internal clock) (3) of the present invention has a rising edge (an edge changing from LOW to HIGH) among a plurality of pulses of the reference clock (1). The signal (2) is generated by controlling so that only a pulse in a period in which the signal (2) is at a HIGH level is passed. An internal clock having a frequency lower than that of the reference clock is generated, and the frequency of the internal clock is changed by changing the cycle and duty ratio of the clock synchronization signal (2).

図3は、本発明の一実施例に係る半導体集積回路装置の内部モジュールを示す。   FIG. 3 shows an internal module of a semiconductor integrated circuit device according to an embodiment of the present invention.

図3において、31は特定の機能を有するオンチップバスに接続された内部モジュール、32は内部モジュール31内の内部クロック生成用の同期制御モジュール、33は内部モジュール31内の特定機能を実現するためのモジュール本体、34はモジュール本体33内の制御ステートマシン、9は内部オンチップバス、16は基準クロック、17はクロック同期信号、18は内部モジュール31に対する割り込み要求、DMA(direct memory access)リクエスト等の要求信号、19はオンチップバス9のバス・プロトコルで定義されるバスリクエスト信号、20はオンチップバス9のバス・プロトコルで定義されるバスアクノリッジ信号、21は同期制御モジュール32で基準クロックとクロック同期信号を用いて生成されたゲーテッドクロック(内部クロック)、22はモジュール本体33の制御ステートマシン34から同期制御モジュール32に通知されるクロック制御信号(例えば、制御ステートがIDLE状態であることを示す信号)、32aは同期制御モジュール32内のゲーテッドクロック生成用の論理回路、32bは同期制御モジュール32内の制御ステートマシン、37は制御ステートマシン32bから出力され、クロック同期信号17の論理回路32aへの入力を制御する内部クロック制御信号をそれぞれ示す。   In FIG. 3, 31 is an internal module connected to an on-chip bus having a specific function, 32 is a synchronous control module for generating an internal clock in the internal module 31, and 33 is for realizing a specific function in the internal module 31. The module body 34, the control state machine 34 in the module body 33, the internal on-chip bus 9, the reference clock 16, the clock synchronization signal 17, the interrupt request to the internal module 31, a DMA (direct memory access) request, etc. , 19 is a bus request signal defined by the bus protocol of the on-chip bus 9, 20 is a bus acknowledge signal defined by the bus protocol of the on-chip bus 9, and 21 is a reference clock by the synchronization control module 32. Live using clock synchronization signal The generated gated clock (internal clock), 22 is a clock control signal notified from the control state machine 34 of the module body 33 to the synchronous control module 32 (for example, a signal indicating that the control state is the IDLE state), and 32a is A logic circuit for generating a gated clock in the synchronization control module 32, 32b is a control state machine in the synchronization control module 32, 37 is output from the control state machine 32b, and controls input of the clock synchronization signal 17 to the logic circuit 32a. Each of the internal clock control signals is shown.

同期制御モジュール32は、基準クロック16、クロック同期信号17及び内部クロック制御信号37に基づいて内部クロック21を生成し、論理回路32aから出力する。モジュール本体33は同期制御モジュール32から出力される内部クロック21に従って所定の処理を実行する。同期制御モジュール32の詳細については後述する。   The synchronization control module 32 generates the internal clock 21 based on the reference clock 16, the clock synchronization signal 17, and the internal clock control signal 37, and outputs it from the logic circuit 32a. The module main body 33 executes predetermined processing according to the internal clock 21 output from the synchronization control module 32. Details of the synchronization control module 32 will be described later.

図1に戻って、クロック生成部4では、特定の基準クロック10(例えば、バスクロック)と、複数の低速クロック12(例えば、内部モジュールへの供給クロック)を生成すると同時に、各低速基準クロック12とのクロック同期を図るために基準クロックの所定倍の周期で生成される各クロック同期信号13を生成し、各プロセッサ内の各内部モジュールへ供給する。この基準クロックと対応するクロック同期信号は、1組でもいいし、複数組み存在してもかまわない。   Returning to FIG. 1, the clock generation unit 4 generates a specific reference clock 10 (for example, a bus clock) and a plurality of low-speed clocks 12 (for example, a supply clock to the internal module), and at the same time, each low-speed reference clock 12. In order to achieve clock synchronization with each other, each clock synchronization signal 13 generated at a predetermined cycle of the reference clock is generated and supplied to each internal module in each processor. One set or a plurality of sets of clock synchronization signals corresponding to the reference clock may be present.

また、クロック同期信号13は、必要なクロックエッジの直前にアサート されるものでも、さらに基準クロック1サイクル分前にあっても良い。   The clock synchronization signal 13 may be asserted immediately before a necessary clock edge, or may be one cycle before the reference clock.

本発明の半導体集積回路装置では、基準クロック10、12とクロック同期信号11、13により、各クロック間の乗り換え制御回路(例えば、各内部モジュール内のバスインターフェイスやバスブリッジ等)においては、異なるクロック周波数のクロックで生成された信号間の同期制御を行う。   In the semiconductor integrated circuit device of the present invention, the reference clocks 10 and 12 and the clock synchronization signals 11 and 13 change clocks in the transfer control circuit between the clocks (for example, a bus interface or a bus bridge in each internal module). Synchronous control between signals generated with a frequency clock is performed.

本発明の半導体集積回路装置は、図1のようなクロック生成部4を有するプロセッサの構成において、基準クロックとクロック同期信号を受け取る各内部モジュール内に、内部クロックを生成するための同期制御モジュール(又はSYNCモジュール)を設けたことを特徴とする。   The semiconductor integrated circuit device according to the present invention includes a synchronization control module for generating an internal clock in each internal module that receives a reference clock and a clock synchronization signal in the configuration of a processor having a clock generation unit 4 as shown in FIG. Or a SYNC module).

本発明の半導体集積回路装置は、各内部モジュールへ供給される基準クロックのクロック周波数比のバリエーションや、各内部モジュールへのクロック供給のON/OFFに関する制御を行うための制御機構を有する。具体的には、LSIの外部端子や、内部のクロック制御レジスタ、又は、プロセッサのインストラクション・セットの中の命令等で制御を行う。   The semiconductor integrated circuit device of the present invention has a control mechanism for performing control related to variation in the clock frequency ratio of the reference clock supplied to each internal module and ON / OFF of clock supply to each internal module. Specifically, control is performed by an external terminal of the LSI, an internal clock control register, or an instruction in the instruction set of the processor.

プロセッサ内のクロック生成部には、各基準クロックとクロック同期信号を選択的に停止、又は、クロック周波数を変更するように制御する機構(特許文献2参照)や、クロック制御に先立つ各種モジュールとのハンドシェイク制御を行う機能(特許文献1参照)を設けてもよい。   The clock generator in the processor includes a mechanism (see Patent Document 2) for selectively stopping each reference clock and the clock synchronization signal or changing the clock frequency, and various modules prior to clock control. You may provide the function (refer patent document 1) which performs handshake control.

本発明の一実施例に係る半導体集積回路装置では、バスに接続された各内部モジュール内に同期制御モジュールを設け、同期制御モジュールで各内部モジュール内の内部クロックを生成する。同期制御モジュールは、内部クロック供給を停止させる機能、又は内部クロック供給を減速化する機能を備える。ここで、バスに接続された各内部モジュールには、バスマスター及びバススレーブの双方が含まれる。   In a semiconductor integrated circuit device according to an embodiment of the present invention, a synchronization control module is provided in each internal module connected to a bus, and an internal clock in each internal module is generated by the synchronization control module. The synchronization control module has a function of stopping the internal clock supply or a function of decelerating the internal clock supply. Here, each internal module connected to the bus includes both a bus master and a bus slave.

まず、バスアクセスが無い場合の内部クロック停止方法について説明する。図4は、図3で示した本発明の一実施例に係る同期制御モジュールの構成例を示す。   First, a method for stopping the internal clock when there is no bus access will be described. FIG. 4 shows a configuration example of the synchronization control module according to the embodiment of the present invention shown in FIG.

図4において、41は基準クロック、42はクロック同期信号、43は同期制御モジュール32内で生成される内部クロック制御信号、44はクロック同期信号42をクロック制御信号43でマスクするためのAND素子、45はラッチセル、46はゲーテッド・クロックを生成するためのAND素子、47は生成されたゲーテッド・クロックをそれぞれ示す。   In FIG. 4, 41 is a reference clock, 42 is a clock synchronization signal, 43 is an internal clock control signal generated in the synchronization control module 32, 44 is an AND element for masking the clock synchronization signal 42 with the clock control signal 43, 45 is a latch cell, 46 is an AND element for generating a gated clock, and 47 is a generated gated clock.

図5は、図4の同期制御モジュールの動作を説明するための波形図である。   FIG. 5 is a waveform diagram for explaining the operation of the synchronization control module of FIG.

図5において、(1)は図4における基準クロック41(バス・クロック)、(2)は図4におけるクロック同期信号42(この場合、最速クロックを示すHIGHレベル固定に設定されている)、(3)はバス・リクエスト信号(bus_req)、(4)はパイプライン・バスでいうアドレス・フェーズ信号、(5)はバス上の転送がリードかライトのどちらであるかを示す信号(read/write)、(6)はバスアクノリッジ信号(bus_ack)、(7)はバスに返されるリードデータ(read_data)、(8)は同期制御モジュール32内で割込み要求やDMAリクエスト等の要求信号、モジュール本体33内の制御ステートマシン34からのクロック制御信号、バスリクエスト信号、及びバスアクノリッジ信号のいずれかに基づいて生成される内部クロック制御信号、(9)は基準クロック、クロック同期信号及び内部クロック制御信号により生成されたゲーテッド・クロックをそれぞれ示す。   5, (1) is the reference clock 41 (bus clock) in FIG. 4, (2) is the clock synchronization signal 42 in FIG. 4 (in this case, it is set to HIGH level indicating the fastest clock), ( 3) is a bus request signal (bus_req), (4) is an address phase signal in the pipeline bus, and (5) is a signal (read / write) indicating whether the transfer on the bus is a read or a write. ), (6) is a bus acknowledge signal (bus_ack), (7) is read data (read_data) returned to the bus, (8) is a request signal such as an interrupt request or DMA request in the synchronization control module 32, and the module body 33 Clock control signal, bus request signal, and bus acknowledge signal from the control state machine 34 Shows the internal clock control signal is generated based on whether the deviation, (9) a reference clock, a clock synchronization signal and a gated clock generated by the internal clock control signal, respectively.

図3及び図4に示した回路構成により、バスに接続される内部モジュール内に、内部クロックを生成する同期制御モジュールを設けて、クロック生成部4から供給される基準クロック(バスクロック)及びクロック同期信号、及び内部モジュール内で生成される内部クロック制御信号から、当該モジュール内の内部クロックをこの同期制御モジュールで生成する。   With the circuit configuration shown in FIGS. 3 and 4, a synchronization control module for generating an internal clock is provided in an internal module connected to the bus, and a reference clock (bus clock) and a clock supplied from the clock generator 4 are provided. From the synchronization signal and the internal clock control signal generated in the internal module, the internal clock in the module is generated by the synchronization control module.

すなわち、図5に示したように、ゲーテッド・クロック生成部へのクロック同期信号の供給・停止を内部クロック制御信号によって制御することにより、内部クロックの供給・停止を制御する。また、図5では基準クロックと同じ周波数であることを示すHIGHレベル固定に設定されているが、図2に示したように、クロック同期信号の周期を基準クロックの所定倍に設定し、デューティ比を適切に設定することにより、内部クロックの周波数を基準クロックのそれよりも低い所定の値に設定することができる。   That is, as shown in FIG. 5, the supply / stop of the internal clock is controlled by controlling the supply / stop of the clock synchronization signal to the gated clock generator by the internal clock control signal. In FIG. 5, the HIGH level is set to indicate that the frequency is the same as that of the reference clock. However, as shown in FIG. 2, the period of the clock synchronization signal is set to a predetermined multiple of the reference clock, and the duty ratio is set. By setting appropriately, the frequency of the internal clock can be set to a predetermined value lower than that of the reference clock.

バス転送の発生を知らせるバスリクエスト信号や、外部割込み要求信号やDMA(direct memory access)リクエスト信号等により、同期制御モジュール32内の制御ステートマシン32bにおいて、当該内部モジュールが通常動作する必要のある期間を判定し、通常動作が不要な期間は、内部クロック制御信号をネゲートすることによりクロック同期信号をマスクして内部クロックの供給を停止させ、通常動作が必要な期間は、内部クロック制御信号をアサートしてクロック同期信号をマスクせずにそのまま、クロック生成用ゲーテッド・クロック部へ供給することにより、内部クロックを生成する。   A period during which the internal module needs to operate normally in the control state machine 32b in the synchronous control module 32 by a bus request signal for notifying the occurrence of bus transfer, an external interrupt request signal, a DMA (direct memory access) request signal, or the like. The internal clock control signal is masked by negating the internal clock control signal during periods when normal operation is not required to stop the supply of the internal clock, and the internal clock control signal is asserted during periods when normal operation is required Then, an internal clock is generated by supplying the clock synchronization signal to the clock generation gated clock unit without masking the clock synchronization signal.

同期制御モジュールにおける通常動作を要する期間の判定について、内部クロックの供給を開始するタイミング、すなわち内部クロック制御信号をアサートするタイミングとしては、バスリクエストが発生したタイミングや、外部割込み等の何らかの割り込み要因に関する信号がアサートされたタイミングとすればよい。   Regarding the determination of the period for which normal operation is required in the synchronous control module, the timing for starting the supply of the internal clock, that is, the timing for asserting the internal clock control signal, relates to the timing at which a bus request occurs or some interrupt factor such as an external interrupt. The timing at which the signal is asserted may be used.

内部クロックの供給を停止するタイミング、すなわち内部クロック制御信号をネゲートするタイミングについて、若干考慮を要する。具体的には、クロック供給対象のモジュールが単純なレジスタファイル等であれば、バスアクセスの終了を示すバスアクノリッジ信号でバス転送の終了を検出したタイミングで、それ以降のクロック供給を停止させることができる。   Some consideration is necessary for the timing of stopping the supply of the internal clock, that is, the timing of negating the internal clock control signal. Specifically, if the clock supply module is a simple register file or the like, the subsequent clock supply may be stopped at the timing when the end of bus transfer is detected by the bus acknowledge signal indicating the end of bus access. it can.

ところが、バスアクセス終了後も一定期間、動作し続ける必要があるモジュールにおいては、バスアクノリッジ信号のみでクロックの停止タイミングを決めることはできない。そこで、バスアクセス終了後も一定期間クロック供給が必要なモジュールの内部クロックを生成する同期制御モジュールにおいては、モジュール内部の動作状態を特定の信号によりモニターし、動作が完了するまでクロックを供給する構成とすることが必要となる。   However, in a module that needs to continue to operate for a certain period after the bus access is completed, the clock stop timing cannot be determined only by the bus acknowledge signal. Therefore, in the synchronous control module that generates the internal clock of the module that needs to be supplied for a certain period of time after the bus access is completed, the internal operating state of the module is monitored by a specific signal, and the clock is supplied until the operation is completed It is necessary to

図5の例では、バスリクエスト信号bus_reqの立上りエッジに応答して内部クロック制御信号がアサートされ、バスアクノリッジ信号bus_ackの立下りエッジに応答して内部クロック制御信号がネゲートされる。   In the example of FIG. 5, the internal clock control signal is asserted in response to the rising edge of the bus request signal bus_req, and the internal clock control signal is negated in response to the falling edge of the bus acknowledge signal bus_ack.

この内部状態をモニターする信号として、例えば、内部モジュール31の内部動作を制御する制御ステートマシン(モジュール本体33内の制御ステートマシン34)から送出される、IDLE状態であることを示す信号(例えば、クロック制御信号22)等を用いる。   As a signal for monitoring the internal state, for example, a signal indicating an IDLE state (for example, a control state machine 34 in the module main body 33) sent from a control state machine that controls internal operations of the internal module 31 (for example, A clock control signal 22) or the like is used.

次に、バスアクセスが無い場合の内部クロック減速方法の一例について説明する。図6は、本発明の一実施例に係る同期制御モジュールの構成例を示す。   Next, an example of the internal clock deceleration method when there is no bus access will be described. FIG. 6 shows a configuration example of a synchronization control module according to an embodiment of the present invention.

図6において、61は基準クロック、63はこの同期制御モジュール32内で生成される内部クロック制御信号、64は内部クロックが不要である時に選択されたクロック同期信号をクロック制御信号63でさらにマスクするためのAND素子、65はラッチセル、66は内部ゲーテッド・クロックを生成するためのAND素子、67は生成されたゲーテッド・クロック、62−1は特定の速度を示すクロック同期信号(sync1)、62−2は特定の速度を示すクロック同期信号(sync2)、62−3は特定の速度を示すクロック同期信号(sync3)、68は選択回路、69はこの同期制御モジュール32で生成される、異なる速度を示す各クロック同期信号62−1〜62−3のいずれかを選択するための選択信号をそれぞれ示す。   In FIG. 6, 61 is a reference clock, 63 is an internal clock control signal generated in the synchronization control module 32, and 64 is further masked with the clock control signal 63 when the internal clock is unnecessary. AND element 65, latch cell 66, AND element 66 for generating an internal gated clock, 67 generated gated clock, 62-1 a clock synchronization signal (sync1) indicating a specific speed, 62- 2 is a clock synchronization signal (sync2) indicating a specific speed, 62-3 is a clock synchronization signal (sync3) indicating a specific speed, 68 is a selection circuit, 69 is a different speed generated by the synchronization control module 32. A selection signal for selecting one of the clock synchronization signals 62-1 to 62-3 shown in FIG. It is.

図6の実施例のクロック減速方法は、選択信号69に基づいて選択回路68により複数のクロック同期信号をセレクトすることにより実現する。プロセッサ内部のクロック生成部4から、基準クロック61と、複数のクロック周波数を示す複数のクロック同期信号62−1〜62−3を供給し、クロック供給対象の内部モジュールの内部クロックを生成するための同期制御モジュール32において、その内部モジュールの動作に適したクロック周波数に応じたクロック同期信号をセレクトして、セレクトしたクロック同期信号と内部クロック制御信号、基準クロックとに基づいて、内部モジュールの動作に適した周波数の内部クロックを生成する。選択信号69は、例えばクロック生成部4から供給される。   The clock deceleration method of the embodiment of FIG. 6 is realized by selecting a plurality of clock synchronization signals by the selection circuit 68 based on the selection signal 69. A reference clock 61 and a plurality of clock synchronization signals 62-1 to 62-3 indicating a plurality of clock frequencies are supplied from the clock generation unit 4 in the processor to generate an internal clock of the internal module to be supplied with the clock. In the synchronization control module 32, the clock synchronization signal corresponding to the clock frequency suitable for the operation of the internal module is selected, and the operation of the internal module is performed based on the selected clock synchronization signal, the internal clock control signal, and the reference clock. Generate an internal clock with a suitable frequency. The selection signal 69 is supplied from, for example, the clock generation unit 4.

本実施例の方法におけるクロック供給を開始するタイミングや、クロック供給を停止するタイミングについては、図4と図5で説明した方法と同様の方法を用いることができる。   With respect to the timing for starting the clock supply and the timing for stopping the clock supply in the method of this embodiment, the same method as that described with reference to FIGS. 4 and 5 can be used.

また、当該同期制御モジュールにおいてセレクトするクロック同期信号の1つのバリエーションとして、クロック停止を示すLOWクリップ信号等をセレクトすることも含まれる。   One variation of the clock synchronization signal to be selected in the synchronization control module includes selecting a LOW clip signal indicating a clock stop or the like.

次に、バスアクセスが無い場合のモジュール内クロック減速方法の他の例について説明する。図7は、本発明の一実施例に係る同期制御モジュールを示す。   Next, another example of the in-module clock speed reduction method when there is no bus access will be described. FIG. 7 shows a synchronization control module according to an embodiment of the present invention.

図7において、71は基準クロック、72はクロック同期信号、73は同期制御モジュール32内で生成される内部クロック制御信号、74は内部クロック不要の時にクロック同期信号72をカウンタ78で生成されたマスク信号でさらにマスクするためのAND素子、75はラッチセル、76は内部ゲーテッドクロックを生成するためのAND素子、77は生成されたゲーテッド・クロック、78はクロックを低速化(あるいは停止)させるためのマスク信号を生成するカウンタをそれぞれ示す。   In FIG. 7, 71 is a reference clock, 72 is a clock synchronization signal, 73 is an internal clock control signal generated in the synchronization control module 32, and 74 is a mask generated by the counter 78 when the internal clock is not required. An AND element for further masking with a signal, 75 is a latch cell, 76 is an AND element for generating an internal gated clock, 77 is a generated gated clock, and 78 is a mask for slowing (or stopping) the clock. Each counter that generates a signal is shown.

図7の実施例のクロック減速方法は、カウンタ78で生成されるマスク信号によって内部クロックを生成するためのクロック同期信号を間引くことにより実現する。   The clock decelerating method of the embodiment of FIG. 7 is realized by thinning out the clock synchronization signal for generating the internal clock by the mask signal generated by the counter 78.

すなわち、プロセッサ内部のクロック生成部4からクロック供給対象の内部モジュールに、基準クロック71とその内部モジュールの最高速度に応じたクロック同期信号72を供給する。各内部モジュール内の同期制御モジュール32において、内部モジュールが動作を要しないと判定した場合には、カウンタ78よりLOWレベル固定のマスク信号を出力することにより、AND素子74においてクロック同期信号72をマスクして内部クロックを停止させるか、あるいは、カウンタ78より一定の周期及びデューティ比を有するマスク信号を出力することにより、AND素子74においてクロック同期信号72を一定の割合で間引いて内部クロックを減速させる。本実施例のクロック減速方法は、半導体集積回路装置の低消費電力化のために有効である。   That is, the reference clock 71 and the clock synchronization signal 72 corresponding to the maximum speed of the internal module are supplied from the clock generator 4 inside the processor to the internal module to be supplied with the clock. When the synchronization control module 32 in each internal module determines that the internal module does not require any operation, the AND element 74 masks the clock synchronization signal 72 by outputting a mask signal with a fixed LOW level from the counter 78. Then, the internal clock is stopped, or a mask signal having a constant period and duty ratio is output from the counter 78, so that the AND clock 74 decimates the clock synchronization signal 72 at a constant rate to decelerate the internal clock. . The clock deceleration method of this embodiment is effective for reducing the power consumption of the semiconductor integrated circuit device.

本実施例のクロック減速方法において、クロック同期信号を間引く方法としては、カウンタ78の出力信号で、一定期間、一定周期でクロック同期信号72をマスクするのが有効である。   In the clock decelerating method of this embodiment, as a method of thinning out the clock synchronization signal, it is effective to mask the clock synchronization signal 72 with a constant period and a constant cycle with the output signal of the counter 78.

カウンタ78は内部クロック制御信号73及び基準クロック71に基づいて動作する。カウンタ78の動作の一例を以下に述べる。内部クロック制御信号73がカウンタ78のイネーブル信号として機能する。カウンタ78はアップカウンタもしくはダウンカウンタを含み、基準クロック71に応答してカウント動作を行う。   The counter 78 operates based on the internal clock control signal 73 and the reference clock 71. An example of the operation of the counter 78 will be described below. The internal clock control signal 73 functions as an enable signal for the counter 78. The counter 78 includes an up counter or a down counter, and performs a counting operation in response to the reference clock 71.

カウンタ78は、イネーブル状態(内部クロック制御信号73がHIGHレベル)にあるとき、現在のカウント値と予め設定された基準値とを比較して、比較結果に応じてHIGHレベル又はLOWレベルの信号を出力し、それによって一定の周期とデューティ比を有する信号をマスク信号として出力する。ここで、マスク信号の周期及びデューティ比はカウンタ78の内部設定(基準値やカウントの上限値)を変更することにより変更することができる。また、カウンタ78はディセーブル状態(内部クロック制御信号73がLOWレベル)にあるとき、LOWレベル固定の信号をマスク信号として出力する。   When the counter 78 is in an enabled state (internal clock control signal 73 is HIGH level), the counter 78 compares the current count value with a preset reference value, and outputs a HIGH level or LOW level signal according to the comparison result. Thus, a signal having a constant period and a duty ratio is output as a mask signal. Here, the period and the duty ratio of the mask signal can be changed by changing the internal setting of the counter 78 (reference value or count upper limit value). Further, when the counter 78 is in a disabled state (the internal clock control signal 73 is LOW level), the counter 78 outputs a signal having a fixed LOW level as a mask signal.

また、当該同期制御モジュール32においてクロック同期信号の1つのバリエーションとして、クロック停止を示すLOWクリップ信号等をセレクトすることも含まれる。   In addition, as a variation of the clock synchronization signal in the synchronization control module 32, selecting a LOW clip signal or the like indicating a clock stop is also included.

次に、バスアクセスが無い場合の内部クロック減速方法のさらに別の例について説明する。図8は、本発明のさらに別の実施例に係る同期制御モジュールの構成例を示す。   Next, still another example of the internal clock deceleration method when there is no bus access will be described. FIG. 8 shows a configuration example of a synchronization control module according to still another embodiment of the present invention.

図8において、81は基準クロック、82はクロック同期信号(ここでは、低速の同期信号)、83はこの同期制御モジュール32内で生成される内部クロック制御信号、84は低速のクロック同期信号をHIGHマスクして高速の内部クロックを生成するためのOR素子、85はラッチセル、86は内部ゲーテッド・クロックを生成するためのAND素子、87は生成されたゲーテッド・クロックをそれぞれ示す。   In FIG. 8, 81 is a reference clock, 82 is a clock synchronization signal (here, a low-speed synchronization signal), 83 is an internal clock control signal generated in the synchronization control module 32, and 84 is a high-speed clock synchronization signal. An OR element for masking and generating a high-speed internal clock, 85 is a latch cell, 86 is an AND element for generating an internal gated clock, and 87 is a generated gated clock.

本実施例のクロック減速方法では、非動作時(デフォルト)には低速のクロック同期信号を用いて低速の内部クロックを生成し、動作時にはHIGHマスク信号を用いて高速の内部クロックを生成することにより実現する。   In the clock decelerating method of this embodiment, when not operating (default), a low-speed internal clock is generated using a low-speed clock synchronization signal, and during operation, a high-speed internal clock is generated using a HIGH mask signal. Realize.

プロセッサ内部のクロック生成部4からクロック供給対象の内部モジュールに、基準クロック81と、低速のクロック同期信号82を供給する。各モジュール内の同期制御モジュール32において、そのモジュールが動作を要しない期間は、内部クロック制御信号をLOWレベルに固定する。それによりそのままの低速クロック同期信号に基づいて低速の内部クロックを生成することにより、内部クロックを減速化し、低消費電力化を図る。あるいは、同期制御モジュール32内において、その低速クロック同期信号を図示しない論理素子によってLOWマスクすることにより、内部クロックを停止させ、低消費電力化を図る。   A reference clock 81 and a low-speed clock synchronization signal 82 are supplied from the clock generator 4 in the processor to the internal module to be supplied with the clock. In the synchronous control module 32 in each module, the internal clock control signal is fixed at the LOW level during a period when the module does not require an operation. As a result, a low-speed internal clock is generated based on the low-speed clock synchronization signal as it is, thereby decelerating the internal clock and reducing power consumption. Alternatively, in the synchronization control module 32, the low-speed clock synchronization signal is LOW masked by a logic element (not shown) to stop the internal clock and reduce power consumption.

当該内部モジュールが通常動作を要する場合には、その同期制御モジュール32において、内部クロック制御信号をHIGHレベルに固定することによりクロック同期信号をHIGHマスクすることにより、基準クロック81をそのまま出力するようにして高速な内部クロックを生成する。   When the internal module requires normal operation, the synchronization control module 32 outputs the reference clock 81 as it is by masking the clock synchronization signal HIGH by fixing the internal clock control signal to HIGH level. Fast internal clock.

また、カウンタ等により、低速クロック同期信号よりも多くのHIGH期間(クロックACTIVE期間)が得られるように、クロック同期信号をマスク(論理ORを取る)することにより、内部モジュールにおいてより高速な内部クロックを生成することができる。   Further, by masking the clock synchronization signal (taking a logical OR) so that a higher period (clock ACTIVE period) than that of the low-speed clock synchronization signal can be obtained by a counter or the like, a faster internal clock can be obtained in the internal module. Can be generated.

例えば、図8において、クロック同期信号がHIGHの時に、基準クロックの次のクロック・エッジからなるゲーテッドクロック出力を得る場合、上記のクロック同期信号を内部クロック制御信号によってマスクする方法においては、クロック生成部から供給されるクロック同期信号と、マスク信号(内部クロック制御信号)の論理ORを取ることで、必要なクロック周波数生成のための、内部クロック生成制御信号(内部クロックを生成するゲーテッドクロックバッファのイネーブル信号)を得ることができる。   For example, in FIG. 8, when the gated clock output consisting of the next clock edge of the reference clock is obtained when the clock synchronization signal is HIGH, the above clock synchronization signal is masked by the internal clock control signal. By taking the logical OR of the clock synchronization signal supplied from the block and the mask signal (internal clock control signal), the internal clock generation control signal (for the gated clock buffer that generates the internal clock) for generating the required clock frequency Enable signal).

本実施例のクロック減速方法におけるクロック供給開始タイミングや、クロック供給を止めるタイミングについては、図4と図5で説明した方法と同様の方法を用いればよい。   For the clock supply start timing and the clock supply stop timing in the clock deceleration method of this embodiment, the same method as that described in FIGS. 4 and 5 may be used.

次に、各内部モジュールへの供給クロック生成回路(同期制御モジュール)をバスに持たせ、バス転送要求があった場合の関連するバス・マスター及びバス・スレーブ、又は、バス・スレーブのみにクロックを供給する方法について説明する。   Next, a supply clock generation circuit (synchronous control module) for each internal module is provided on the bus, and a clock is sent only to the relevant bus master and bus slave when there is a bus transfer request, or to the bus slave only. A method of supplying will be described.

まず、一般的なパイプライン・バスに適用する方法について説明する。図9は、本発明の一実施例に係る同期制御方式を示す。   First, a method applied to a general pipeline bus will be described. FIG. 9 shows a synchronization control method according to an embodiment of the present invention.

図9において、91−1は本実施例におけるバス・マスタ(master_1)、91−2はバス・マスタ(master_2)、91−3はバス・マスタ(master_3)、94は特定のバス・プロトコルを有するバス・ユニット、95はバス・ユニット94内のバス制御部、96はバス・マスタ91−1〜3からのデータ信号のうちいずれか1つを選択して出力するための選択回路、97−1はバス・スレーブ(slave_1)、97−2はバス・スレーブ(slave_2)、97−3はバス・スレーブ(slave_3)、98は選択回路96で選択された各バス・スレーブ用のデータ信号、92−1はバス・マスタ91−1からバス・ユニット94へのデータ信号、92−2はバス・マスタ91−2からバス・ユニット94へのデータ信号、92−3はバス・マスタ91−3からバス・ユニット94へのデータ信号、93−1はバス制御部95で生成されたバス・スレーブ97−1用の内部クロック、93−2はバス制御部95で生成されたバス・スレーブ97−2用の内部クロック、93−3はバス制御部95で生成されたバス・スレーブ97−3用の内部クロックをそれぞれ示す。   In FIG. 9, 91-1 is the bus master (master_1) in this embodiment, 91-2 is the bus master (master_2), 91-3 is the bus master (master_3), and 94 has a specific bus protocol. A bus unit, 95 is a bus control unit in the bus unit 94, 96 is a selection circuit for selecting and outputting any one of the data signals from the bus masters 91-1 to 91-3, 97-1. Is a bus slave (slave_1), 97-2 is a bus slave (slave_2), 97-3 is a bus slave (slave_3), 98 is a data signal for each bus slave selected by the selection circuit 96, 92- 1 is a data signal from the bus master 91-1 to the bus unit 94, and 92-2 is a bus unit 94 from the bus master 91-2. , 92-3 is a data signal from the bus master 91-3 to the bus unit 94, 93-1 is an internal clock for the bus slave 97-1 generated by the bus controller 95, 93-2 Indicates an internal clock for the bus slave 97-2 generated by the bus control unit 95, and 93-3 indicates an internal clock for the bus slave 97-3 generated by the bus control unit 95.

特に、バス・プロトコルを限定する必要はなく、複数のバスマスタと複数のバススレーブから成り、バス制御部95において、どのバスマスタからの転送を許可するかの調停と、どのバススレーブへの転送であるかを選択して、対応するバスマスタとバススレーブ間のデータ転送を行う一般的なパイプライン・バスに適用することができる。バス制御部95は選択回路96を制御し、各バス・マスタ91−1〜3から出力されるデータ信号のうち、バスのデータ転送に関与するバス・マスタからのデータ信号を選択して、各バス・スレーブ97−1〜3に出力する。   In particular, there is no need to limit the bus protocol, and the bus protocol includes a plurality of bus masters and a plurality of bus slaves. In the bus control unit 95, arbitration of which bus master is permitted to transfer and transfer to which bus slave. This can be applied to a general pipeline bus that transfers data between a corresponding bus master and a bus slave. The bus control unit 95 controls the selection circuit 96 to select the data signal from the bus master involved in the data transfer of the bus from the data signals output from the bus masters 91-1 to 91-3. Output to bus slaves 97-1 to 97-3.

本実施例では、バス・ユニット94内にあるバス制御部95内に各内部モジュールに対応する同期制御モジュールを設ける。各同期制御モジュールにはそれぞれ図示しないクロック生成部から基準クロック及びクロック同期信号が供給される。同期制御モジュールにおいて、バスに接続される各内部モジュールへの内部クロックを選択的に生成する。ここで、選択的に生成するとは、バスの転送に関与するバスマスタとバススレーブのクロックのみ生成するという意味である。バス転送に関与しないモジュール(バス・マスタ/スレーブ)へのクロックは停止/減速させることにより、バスに接続されるモジュール・ブロック全体の低消費電力化を図る。   In this embodiment, a synchronization control module corresponding to each internal module is provided in the bus control unit 95 in the bus unit 94. Each synchronization control module is supplied with a reference clock and a clock synchronization signal from a clock generator (not shown). In the synchronous control module, an internal clock for each internal module connected to the bus is selectively generated. Here, selectively generating means that only the clocks of the bus master and the bus slave involved in bus transfer are generated. The clock to the modules (bus master / slave) not involved in bus transfer is stopped / decelerated, thereby reducing the power consumption of the entire module block connected to the bus.

内部クロックを生成するための同期制御モジュールにおける具体的なクロック生成手段については、前記実施例と同様の構成を用いればよい。   The specific clock generation means in the synchronization control module for generating the internal clock may be the same as that in the above embodiment.

又、この方法におけるクロック供給開始タイミングや、クロック供給を止めるタイミングについても、前記実施例と同様である。   In addition, the clock supply start timing and the clock supply stop timing in this method are the same as in the above embodiment.

次に、クロスバー・バスに適用する方法について説明する。図10は、本発明の一実施例に係る同期制御方式を示す。   Next, a method applied to the crossbar bus will be described. FIG. 10 shows a synchronization control method according to an embodiment of the present invention.

図10において、91−1は本実施例におけるバス・マスタ(master_1)、92−1はバス・マスタ91−1から送出されるデータ信号、91−2はバス・マスタ(master_2)、92−2はバス・マスタ91−2から送出されるデータ信号、91−3はバス・マスタ(master_3)、92−3はバス・マスタ91−3から送出されるデータ信号、94Aは特定のバス・プロトコルを有するバス・ユニット、97−1はバス・スレーブ(slave_1)、97−2はバス・スレーブ(slave_2)、97−3はバス・スレーブ(slave_3)、95−1はバス・ユニット94A内のバス・マスタ91−1とのインターフェイス部(M1i/f)、95−2はバス・ユニット94A内のバス・マスタ91−2とのインターフェイス部(M2i/f)、95−3はバス・ユニット94A内のバス・マスタ91−3とのインターフェイス部(M3i/f)、96−1はバス・ユニット94A内のバス・スレーブ97−1とのインターフェイス部(S1i/f)、93−1はインターフェイス部96−1からバス・スレーブ97−1への内部クロック、96−2はバス・ユニット94A内のバス・スレーブ97−2とのインターフェイス部(S2i/f)、93−2はインターフェイス部96−2からバス・スレーブ97−2への内部クロック、96−3はバス・ユニット94A内のバス・スレーブ97−3とのインターフェイス部(S3i/f)、93−3はインターフェイス部96−3からバス・スレーブ97−3への内部クロックをそれぞれ示す。   In FIG. 10, 91-1 is a bus master (master_1) in this embodiment, 92-1 is a data signal sent from the bus master 91-1, 91-2 is a bus master (master_2), 92-2. Is a data signal sent from the bus master 91-2, 91-3 is a bus master (master_3), 92-3 is a data signal sent from the bus master 91-3, and 94A is a specific bus protocol. A bus unit 97-1 is a bus slave (slave_1), 97-2 is a bus slave (slave_2), 97-3 is a bus slave (slave_3), 95-1 is a bus unit in the bus unit 94A. The interface unit (M1i / f) 95-2 with the master 91-1 is connected to the bus master 91-2 in the bus unit 94A. An interface unit (M2i / f), 95-3 is an interface unit (M3i / f) with the bus master 91-3 in the bus unit 94A, and 96-1 is a bus slave 97-1 in the bus unit 94A. Interface unit (S1i / f), 93-1 is an internal clock from the interface unit 96-1 to the bus slave 97-1, and 96-2 is an interface with the bus slave 97-2 in the bus unit 94A. Section (S2i / f), 93-2 is an internal clock from the interface section 96-2 to the bus slave 97-2, and 96-3 is an interface section (S3i with the bus slave 97-3 in the bus unit 94A). / F) and 93-3 indicate internal clocks from the interface unit 96-3 to the bus slave 97-3.

図10において、特に、バス・プロトコルを限定する必要はなく、所謂クロスバー・バスと呼ばれるバスで、各バスマスタが独立して、バスマトリックスを経由して所望のバススレーブにアクセスすることが可能である。バス・ユニット94Aの中に各バスマスタ毎、あるいは各バススレーブ毎のインターフェイス部が設けてある。   In FIG. 10, there is no particular limitation on the bus protocol, and each bus master can independently access a desired bus slave via a bus matrix in a so-called crossbar bus. is there. An interface unit for each bus master or each bus slave is provided in the bus unit 94A.

各バススレーブのインターフェイス部96−1〜3、あるいはバスユニット94A内に設けられたバスマトリックスの調停回路において、複数のバスマスタ91−1〜3から1つのバススレーブへの転送が競合した場合に、いずれのバスマスタからの転送を優先的に処理するかを決定する調停を行う。バスユニット94A内で、図示しないバス制御部の制御に基づいて、バスのデータ転送に関与するバスマスタ及びバススレーブに対応するインターフェイス部同士が接続される。   When transfer from a plurality of bus masters 91-1 to 91-3 to one bus slave competes in the interface units 96-1 to 96-3 of each bus slave or the bus matrix arbitration circuit provided in the bus unit 94A, Arbitration is performed to determine which bus master should preferentially process the transfer from. In the bus unit 94A, based on control of a bus control unit (not shown), interface units corresponding to a bus master and a bus slave involved in bus data transfer are connected to each other.

図10の実施例のクロック同期制御方式では、バス転送を処理するバス・ユニットに関して、上記各マスター・インターフェイス部95−1〜3、スレーブ・インターフェイス部96−1〜3等において、接続される各モジュールの内部クロックを生成する同期制御モジュールを設ける。バス転送の有無等によって、クロック供給を必要とするバスマスター及びバススレーブに対応する同期制御モジュールで必要なクロックを選択的に生成して供給する。各同期制御モジュールにはそれぞれ図示しないクロック生成部から基準クロック及びクロック同期信号が供給される。   In the clock synchronization control system of the embodiment of FIG. 10, each of the master interface units 95-1 to 95-3, slave interface units 96-1 to 96-3, etc., connected to the bus unit that processes the bus transfer. A synchronization control module for generating an internal clock of the module is provided. Depending on the presence / absence of bus transfer or the like, the synchronous control module corresponding to the bus master and bus slave requiring clock supply selectively generates and supplies the clock. Each synchronization control module is supplied with a reference clock and a clock synchronization signal from a clock generator (not shown).

図11は、図10のバス・ユニット94A内の各スレーブ・インターフェイス部96−1〜3に設けられる同期制御モジュールを示す。   FIG. 11 shows a synchronization control module provided in each of the slave interface units 96-1 to 96-3 in the bus unit 94A of FIG.

図11において、101は基準クロック、102はクロック同期信号、104はクロック同期信号102と各バスマスタ92−1〜3からのリクエスト信号103−1〜103−3の論理ORを取って内部ゲーテッド・クロック生成のための内部クロック生成制御信号を生成するためのOR素子、105はラッチセル、106は内部ゲーテッドクロック生成用のAND素子、107は生成された内部ゲーテッド・クロック、103−1はバス・マスタ91−1のインターフェイス部95−1で生成されるリクエスト信号、103−2はバス・マスタ91−2のインターフェイス部95−2で生成されるリクエスト信号、103−3はバス・マスタ91−3のインターフェイス部95−3で生成されるリクエスト信号をそれぞれ示す。   In FIG. 11, 101 is a reference clock, 102 is a clock synchronization signal, 104 is a logical OR of the clock synchronization signal 102 and request signals 103-1 to 103-3 from the bus masters 92-1 to 92-3, and an internal gated clock. OR element for generating an internal clock generation control signal for generation, 105 is a latch cell, 106 is an AND element for generating an internal gated clock, 107 is a generated internal gated clock, 103-1 is a bus master 91 -1 is a request signal generated by the interface unit 95-1, 102-2 is a request signal generated by the interface unit 95-2 of the bus master 91-2, and 103-3 is an interface of the bus master 91-3. Each of the request signals generated by the unit 95-3 is shown.

図11の実施例の場合、各バスマスタからの転送要求リクエスト信号103−1〜3(便宜的に、 req_1〜req_nとする)のいずれか1つ以上がHIGHのとき、OR素子104の出力はアクティブとなる。各同期制御モジュールで各モジュールの内部クロックを生成するための内部クロック生成制御信号(便宜的にclk_syncとする)は、次式のように表すことができる。   In the example of FIG. 11, when any one or more of the transfer request request signals 103-1 to 103-3 (for convenience, req_1 to req_n) from each bus master are HIGH, the output of the OR element 104 is active. It becomes. An internal clock generation control signal (referred to as clk_sync for convenience) for generating an internal clock of each module in each synchronization control module can be expressed by the following equation.

clk_sync=req_1+req_2+...+req_n
上式において、「+」は論理ORを示す。各モジュールへのゲーテッドクロック(module_clk)は、次式のように表すことができる。
clk_sync = req_1 + req_2 + ... + req_n
In the above formula, “+” indicates a logical OR. The gated clock (module_clk) to each module can be expressed as:

module_clk=(clk_sync*cnt)&基準クロック
ここで、「cnt」は、様々なクロック制御要因を示す。例えば、各同期制御モジュール内において対象モジュールがクロック供給を必要としている期間等を示したものである。「&」は論理ANDを示す。「*」は必要に応じて任意の論理をとることを意味する。
module_clk = (clk_sync * cnt) & reference clock where “cnt” indicates various clock control factors. For example, the period during which the target module needs clock supply in each synchronization control module is shown. “&” Indicates a logical AND. “*” Means that an arbitrary logic is taken as necessary.

図11において、各バスマスタ91−1〜3のいずれか1つと、対応するバススレーブとの間でバス転送が要求され、リクエスト信号103−1〜3のいずれか1つがHIGHになると、内部クロック生成制御信号はHIGHレベル固定になる。それによって、基準クロック101がそのまま各モジュールの内部クロックとしてAND素子106から出力される。   In FIG. 11, when a bus transfer is requested between any one of the bus masters 91-1 to 91-3 and the corresponding bus slave, and any one of the request signals 103-1 to 103-3 becomes HIGH, an internal clock is generated. The control signal is fixed to HIGH level. Accordingly, the reference clock 101 is output from the AND element 106 as it is as an internal clock of each module.

一方、各バスマスタ91−1〜3のいずれともバス転送の要求がなく、リクエスト信号103−1〜3のすべてがLOWである場合は、クロック同期信号102が内部クロック生成制御信号として出力される。それによって、各モジュールの内部クロックは基準クロック101をクロック同期信号102に従って減速させた信号になる。   On the other hand, when none of the bus masters 91-1 to 91-3 has a bus transfer request and all the request signals 103-1 to 103-3 are LOW, the clock synchronization signal 102 is output as an internal clock generation control signal. Thereby, the internal clock of each module becomes a signal obtained by decelerating the reference clock 101 according to the clock synchronization signal 102.

各モジュールの内部クロックを生成するための同期制御モジュールにおける具体的なクロック生成手段については、図11に示した構成を用いればよく、あるいは前記実施例と同様な構成を用いればよい。   As a specific clock generation means in the synchronization control module for generating the internal clock of each module, the configuration shown in FIG. 11 may be used, or the same configuration as that of the above embodiment may be used.

又、この方法におけるクロック供給開始タイミングや、クロック供給を止めるタイミングについては、前記実施例と同様である。   Further, the clock supply start timing and the clock supply stop timing in this method are the same as those in the above embodiment.

次に、バスインターフェイス部についての基準クロックとなるバス・クロック自体、バスアクセスが無い場合に、停止/減速を行う方法について説明する。   Next, a method of stopping / decelerating when the bus clock itself serving as a reference clock for the bus interface unit does not have bus access will be described.

プロセッサ内部のクロック生成部からは、特定の基準クロックとなるバスクロックと、バスクロックに対応した特定のクロック同期信号を供給する。バスユニット内に、各モジュールの内部クロックを生成するための同期制御モジュールや、バスインターフェイス部自身のクロックを生成するための同期制御モジュールを設け、各同期制御モジュールでは、当該基準クロックとクロック同期信号で各モジュールが必要なクロックを生成する。   From a clock generation unit inside the processor, a bus clock serving as a specific reference clock and a specific clock synchronization signal corresponding to the bus clock are supplied. In the bus unit, a synchronization control module for generating the internal clock of each module and a synchronization control module for generating the clock of the bus interface unit itself are provided. In each synchronization control module, the reference clock and the clock synchronization signal are provided. Each module generates the necessary clock.

バスのアクセス要求を、プロセッサ内部のクロック生成部に通知し、クロック生成部において、該バスアクセス要求に応じて、バスクロックの供給の開始、停止、減速等を行う。   The bus access request is notified to the clock generation unit in the processor, and the clock generation unit starts, stops, decelerates, etc. the bus clock in response to the bus access request.

クロック生成部からは、常に低速のクロック同期信号、又は、停止状態を示すクロック同期信号を供給する。バスアクセス発生時には、各同期制御モジュールにおいて、バスアクセスに関与する各バスマスター及びバススレーブの内部クロックを生成するクロック同期信号を、同時にHIGHマスクする等により、バス転送中関連モジュールの内部クロックを供給する。   The clock generation unit always supplies a low-speed clock synchronization signal or a clock synchronization signal indicating a stopped state. When a bus access occurs, each synchronization control module supplies the internal clock of the related module during bus transfer by simultaneously masking the clock synchronization signal that generates the internal clock of each bus master and bus slave involved in the bus access. To do.

なお、上記各実施例において、基準クロックとなるバスクロック自体に、前記のクロック供給方法を適用する方法としてもよい。すなわち、2段構成の同期制御モジュールを用いて、クロック同期制御方式を実現する。   In each of the above embodiments, the above-described clock supply method may be applied to the bus clock itself serving as the reference clock. That is, a clock synchronization control system is realized using a two-stage synchronization control module.

その他、特定のモジュールのクロックは、常にクロックを供給し続けることを示すための制御手段、例えば、モジュール・クロック供給制御レジスタや、外部端子等を持ち、該制御手段からの指示に従って、前記実施例の各クロック生成用同期制御モジュールにおいて、常に最高速度のクロックを供給し続ける制御や、最高速度ではないが、一定の動作周波数のクロックを供給し続ける制御等を行うようにしてもよい。   In addition, the clock of a specific module has a control means for indicating that the clock is continuously supplied, for example, a module / clock supply control register, an external terminal, etc., and according to an instruction from the control means, In each of the clock generation synchronous control modules, control for continuously supplying the clock at the highest speed, control for continuing to supply the clock at a constant operating frequency although not at the maximum speed, and the like may be performed.

図12は、本発明の一実施例に係る半導体集積回路装置の内部モジュールを示す。   FIG. 12 shows an internal module of a semiconductor integrated circuit device according to an embodiment of the present invention.

図12において、31Aは本実施例における特定の機能を有する、オンチップバス9に接続された内部モジュール、32Aは内部モジュール31A内の内部クロック生成用の同期制御モジュール、33は内部モジュール31A内の特定機能を実現するためのモジュール本体、34はモジュール本体33内の制御ステートマシン、35は内部モジュール31A内のバスインターフェイス部、36はバスインターフェイス部35内の制御ステートマシン、16は基準クロック、17はクロック同期信号、18は内部モジュール31Aに対する割り込み要求又はDMAリクエスト等の要求信号、19はオンチップバス9のバス・プロトコルで定義されるバスリクエスト信号、20はオンチップバス9のバス・プロトコルで定義されるバスアクノリッジ信号、21−1はクロック生成用同期制御モジュール32Aの論理回路32a−1で基準クロックとクロック同期信号を用いて生成されたゲーテッドクロックの内、モジュール本体33用の内部クロック、21−2はクロック生成用同期制御モジュール32Aの論理回路32a−2で基準クロックとクロック同期信号を用いて生成されたゲーテッドクロックの内、バスインターフェイス部35用の内部クロック、22−1はモジュール本体33の制御ステートマシン34から同期制御モジュール32Aに通知されるクロック制御信号(例えば、制御ステートマシン34がIDLE状態であることを示す信号)、22−2はバスインターフェイス部35の制御ステートマシン36から同期制御モジュール32Aに通知されるクロック制御信号、37は制御ステートマシン32bから出力され、クロック同期信号17の論理回路32a−1、32a−2への入力を制御する内部クロック制御信号をそれぞれ示す。ただし、バスリクエスト信号19とバスアクノリッジ信号20で足りる場合には、クロック制御信号22−1、22−2は不要である。   In FIG. 12, 31A is an internal module connected to the on-chip bus 9 having a specific function in this embodiment, 32A is a synchronization control module for generating an internal clock in the internal module 31A, and 33 is an internal module 31A. A module body for realizing a specific function, 34 is a control state machine in the module body 33, 35 is a bus interface unit in the internal module 31A, 36 is a control state machine in the bus interface unit 35, 16 is a reference clock, 17 Is a clock synchronization signal, 18 is a request signal such as an interrupt request or DMA request for the internal module 31A, 19 is a bus request signal defined by the bus protocol of the on-chip bus 9, and 20 is a bus protocol of the on-chip bus 9. Defined bus acknowledge The signal 21-1 is an internal clock for the module body 33 among the gated clocks generated by the logic circuit 32 a-1 of the clock generation synchronization control module 32 A using the reference clock and the clock synchronization signal, and 21-2 is the clock. Of the gated clocks generated by the logic circuit 32a-2 of the generation synchronization control module 32A using the reference clock and the clock synchronization signal, an internal clock for the bus interface unit 35, 22-1 is a control state machine of the module body 33. 34 is a clock control signal (for example, a signal indicating that the control state machine 34 is in the IDLE state) notified from the control state machine 36 of the bus interface unit 35 to the synchronization control module 32A. Clock control signal to be notified 37 is output from the control state machine 32b, respectively an internal clock control signal for controlling the inputs to the logic circuit 32a-1,32a-2 of the clock synchronization signal 17. However, when the bus request signal 19 and the bus acknowledge signal 20 are sufficient, the clock control signals 22-1 and 22-2 are unnecessary.

本実施例の半導体集積回路装置の内部モジュール31Aでは、バスに接続された内部モジュール31A内のバスインターフェイス部35と、内部モジュール31A内のその他のモジュールで内部クロックを分けて同期制御モジュール32Aで生成し、バスインターフェイス部35の内部クロックのみ、所定の要求(バス・リクエスト、割り込み要因等)に応じてクロック供給を制御する。内部モジュール31A内の動作の必要が無いモジュールに対しては、対応する内部クロックの停止/減速等を行う。   In the internal module 31A of the semiconductor integrated circuit device according to the present embodiment, the internal clock is divided between the bus interface unit 35 in the internal module 31A connected to the bus and the other modules in the internal module 31A, and is generated by the synchronization control module 32A. Only the internal clock of the bus interface unit 35 controls the clock supply according to a predetermined request (bus request, interrupt factor, etc.). For a module that does not need to operate in the internal module 31A, the corresponding internal clock is stopped / decelerated.

上述した実施例の半導体集積回路装置及びクロック制御方法によれば、動作の必要がない場合におけるクロック・ツリーにおける消費電力や、クロック・ツリーに接続されているモジュール内の冗長な電力消費を削減することが可能となる。複数の機能IPマクロを搭載した内部モジュールを有するシステム・オン・チップ等の半導体集積回路装置における消費電力削減に有効である。   According to the semiconductor integrated circuit device and the clock control method of the above-described embodiments, power consumption in the clock tree when no operation is required and redundant power consumption in the modules connected to the clock tree are reduced. It becomes possible. This is effective in reducing power consumption in a semiconductor integrated circuit device such as a system-on-chip having an internal module equipped with a plurality of function IP macros.

次に、本発明の一実施例に係るクロック同期制御方式について説明する。   Next, a clock synchronization control system according to an embodiment of the present invention will be described.

一般に、CPUコア、SDRAMコントローラや、周辺バス・コントローラ、タイマ等の各種内部モジュールを有する半導体プロセッサにおいて、内部の特定のモジュールは常に一定の処理能力を要し、CPUは高速動作が要求される。このような半導体プロセッサにおいて、アプリケーションの処理に最低限必要なクロック周波数を供給して、プロセスの出来具合(製造バラツキ)、電源電圧、温度、等の条件に応じて、最大性能を引き出す等の要求を満足させるために、例えば、CPUコア部と、特定の内部モジュールとのクロック周波数を、(1)内部モジュール=200MHz、CPUコア=300MHz(1.5倍)、(2)内部モジュール=200MHz、CPUコア=400MHz(2.0倍)、(3)内部モジュール=200MHz、CPUコア=500MHz(2.5倍)、(4)内部モジュール=200MHz、CPUコア=600MHz(3.0倍)、…といったように、対応するクロック周波数のクロック比を0.5倍きざみに制御したい場合がある。   In general, in a semiconductor processor having various internal modules such as a CPU core, SDRAM controller, peripheral bus controller, and timer, a specific internal module always requires a certain processing capability, and the CPU is required to operate at high speed. In such a semiconductor processor, the minimum clock frequency required for application processing is supplied, and the maximum performance is demanded depending on conditions such as process performance (manufacturing variation), power supply voltage, temperature, etc. In order to satisfy the following, for example, the clock frequency between the CPU core unit and the specific internal module is set as follows: (1) Internal module = 200 MHz, CPU core = 300 MHz (1.5 times), (2) Internal module = 200 MHz, CPU core = 400 MHz (2.0 times), (3) Internal module = 200 MHz, CPU core = 500 MHz (2.5 times), (4) Internal module = 200 MHz, CPU core = 600 MHz (3.0 times),. In some cases, it is desired to control the clock ratio of the corresponding clock frequency in increments of 0.5.

かかる要求に対して、プロセッサ内のクロック生成部において、クロック比が、1:1.5、1:2.5、1:3.5等の複数のクロックを生成して、CPUコアを含む各内部モジュールに供給すると、各クロックのクロック・エッジが等間隔の場合に、早い方のクロックの倍の周波数で、モジュール間の信号同期回路部が動作しなければならないという問題がある。   In response to such a request, the clock generation unit in the processor generates a plurality of clocks having a clock ratio of 1: 1.5, 1: 2.5, 1: 3.5, etc. When the signal is supplied to the internal module, there is a problem that when the clock edges of the respective clocks are equally spaced, the signal synchronization circuit between the modules must operate at a frequency twice that of the earlier clock.

このような高速動作する回路が存在すると、LSI開発における論理設計、レイアウト、タイミング検証等において、大きな問題となる。   The existence of such a circuit that operates at high speed becomes a major problem in logic design, layout, timing verification, and the like in LSI development.

本実施例に係るクロック同期制御方式では、対応するクロック比が整数倍でない場合にも、それぞれのクロックで動作するモジュール間における非常に高速な信号乗り換えをすることなく、所望の動作周波数で動作可能とすることができる。本実施例に係るクロック同期制御方式では、簡便な方法により、非整数倍のクロックで動作するモジュール間の信号同期を実現する。   In the clock synchronization control method according to the present embodiment, even when the corresponding clock ratio is not an integral multiple, it is possible to operate at a desired operating frequency without very high-speed signal transfer between modules operating with each clock. It can be. In the clock synchronization control method according to the present embodiment, signal synchronization between modules operating with a non-integer multiple clock is realized by a simple method.

図13は、基準クロック(高速クロック)と1.5倍クロック(低速クロック)の場合の問題点を説明するための波形図である。   FIG. 13 is a waveform diagram for explaining problems in the case of a reference clock (high-speed clock) and a 1.5 times clock (low-speed clock).

図13において、(1)は高速クロック(この場合、600MHzのPLL出力クロックを2分周して作成された300MHzのクロック)、(2)は低速クロック(この場合、600MHzのPLL出力クロックを3分周して作成された200MHzのクロック)、(3)は高速クロックから低速クロックへの信号乗り換え時に、乗り換え回路が動作しなければならない動作周波数、(4)は、低速クロックから高速クロックへの信号乗り換え時に、乗り換え回路が動作しなければならない動作周波数を示す。   In FIG. 13, (1) is a high-speed clock (in this case, a 300-MHz clock generated by dividing the 600-MHz PLL output clock by 2), and (2) is a low-speed clock (in this case, the 600-MHz PLL output clock is 3). (200 MHz clock generated by frequency division), (3) is the operating frequency at which the transfer circuit must operate when transferring signals from the high-speed clock to the low-speed clock, and (4) is from the low-speed clock to the high-speed clock. Indicates the operating frequency at which the transfer circuit must operate when changing signals.

図13に示したように、非整数倍の周波数を有する2つのクロックでそれぞれ動作する2つのモジュール間でデータ信号の同期をとる場合には、いずれのクロックに対してもクロックエッジが揃うように、各クロックの周波数の最小公倍数に対応する高いクロック周波数で双方のモジュールの乗り換え回路を動作させる必要があるという問題がある。   As shown in FIG. 13, when data signals are synchronized between two modules respectively operating with two clocks having non-integer multiple frequencies, the clock edges are aligned with each other. There is a problem that it is necessary to operate the transfer circuits of both modules at a high clock frequency corresponding to the least common multiple of the frequency of each clock.

図14は、図13の場合(クロック比が1:1.5)の本発明のクロック同期制御方式を説明するための波形図である。図15は、クロック比が1:2.5の場合の本発明のクロック同期制御方式を説明するための波形図である。図16は、クロック比が1:3.5の場合の本発明のクロック同期制御方式を説明するための波形図である。   FIG. 14 is a waveform diagram for explaining the clock synchronization control method of the present invention in the case of FIG. 13 (clock ratio is 1: 1.5). FIG. 15 is a waveform diagram for explaining the clock synchronization control method of the present invention when the clock ratio is 1: 2.5. FIG. 16 is a waveform diagram for explaining the clock synchronization control method of the present invention when the clock ratio is 1: 3.5.

図14、図15、図16において、(1)はPLLクロック、(2)は高速クロック、(3)は従来の周期一定(クロックエッジが等間隔)の低速クロック、(4)は本実施例による低速クロック、(5)は本実施例によるクロック同期信号をそれぞれ示す。   14, 15, and 16, (1) is a PLL clock, (2) is a high-speed clock, (3) is a conventional low-speed clock with a constant cycle (clock edges are equally spaced), and (4) is the present embodiment. (5) shows the clock synchronization signal according to this embodiment.

図14の場合、高速クロック(2)及び低速クロック(3)はそれぞれPLLクロック(1)から生成され、各クロックのエッジは等間隔になっている。このままでは、図13に示したように、両クロックで動作するモジュール間の信号乗り換え回路は、高速クロックの動作周波数の2倍の周波数で動作しなければならない。   In the case of FIG. 14, the high-speed clock (2) and the low-speed clock (3) are each generated from the PLL clock (1), and the edges of each clock are equally spaced. In this state, as shown in FIG. 13, the signal transfer circuit between modules operating with both clocks must operate at twice the operating frequency of the high-speed clock.

そこで、本発明のクロック同期制御方式では、図14の(4)で示される本実施例の低速クロックのように、低速クロックのエッジを、直前の高速クロックのクロックエッジに揃えるように制御する。これによって、高速クロックの2倍の周波数のクロックを用いることなく、両クロックで動作するモジュール間の信号乗り換えを容易に実現することができる。つまり、本実施例の信号乗り換え回路は、高速クロックの周波数でさえ動作できれば、問題無く両クロックで動作するモジュール間の信号の受け渡しが可能となる。   Therefore, in the clock synchronization control system of the present invention, control is performed so that the edge of the low-speed clock is aligned with the clock edge of the immediately preceding high-speed clock, as in the low-speed clock of this embodiment shown in (4) of FIG. Thus, signal transfer between modules operating with both clocks can be easily realized without using a clock having a frequency twice that of the high-speed clock. That is, as long as the signal transfer circuit of this embodiment can operate even at a high-speed clock frequency, signals can be transferred between modules operating with both clocks without any problem.

その際、低速クロックのクロックエッジが等間隔ではなくなるため、低速クロックのクロック・エッジの位置を示すための信号としてクロック同期信号(5)を生成し、クロック同期信号(5)をデータ信号の受け渡しの制御に使う。クロック同期信号を高速クロックで動作するモジュールに供給することで、高速クロックで動作するモジュールは低速クロックで動作するモジュールが生成したデータ信号の取り込みタイミングを認識することができるので、両クロックで生成される信号の同期が可能となる。尚、このクロック同期信号(5)は、高速クロックのクロックエッジに合わせて生成される。   At this time, since the clock edges of the low-speed clock are not equally spaced, the clock synchronization signal (5) is generated as a signal for indicating the position of the clock edge of the low-speed clock, and the clock synchronization signal (5) is transferred to the data signal. Used for control. By supplying the clock synchronization signal to the module that operates with the high-speed clock, the module that operates with the high-speed clock can recognize the data signal capture timing generated by the module that operates with the low-speed clock. Can be synchronized. The clock synchronization signal (5) is generated in accordance with the clock edge of the high-speed clock.

図15は、高速クロックと低速クロックのクロック比が1:2.5の場合の波形を示したものである。図16は、高速クロックと低速クロックのクロック比が1:3.5の場合の波形を示したものである。図15、図16の場合においても、図14の場合と同様に、低速クロックのエッジを高速クロックのエッジに揃えるように制御するとともに、低速クロックのクロック・エッジの位置を示すためのクロック同期信号をデータ信号の受け渡しの制御に用いることにより、非整数倍の両クロックで生成される信号の同期が可能となる。   FIG. 15 shows a waveform when the clock ratio between the high-speed clock and the low-speed clock is 1: 2.5. FIG. 16 shows a waveform when the clock ratio between the high-speed clock and the low-speed clock is 1: 3.5. In the case of FIG. 15 and FIG. 16, as in the case of FIG. 14, the clock synchronization signal for controlling the edge of the low-speed clock to be aligned with the edge of the high-speed clock and for indicating the position of the clock edge of the low-speed clock. Is used for control of data signal transfer, it is possible to synchronize signals generated by both non-integer multiple clocks.

図17は、クロック比が1:3の場合のクロック同期制御方式を説明するための波形図である。図17において、(1)はPLLクロック、(2)は高速クロック、(3)は従来の周期一定の低速クロック、(4)はクロック同期信号をそれぞれ示す。   FIG. 17 is a waveform diagram for explaining the clock synchronization control method when the clock ratio is 1: 3. In FIG. 17, (1) is a PLL clock, (2) is a high-speed clock, (3) is a conventional low-speed clock with a constant period, and (4) is a clock synchronization signal.

図17は、高速クロックと低速クロックのクロック比が整数倍の1:3の場合の波形を示したものである。この波形から分かるように、クロック比が整数倍の場合には、低速クロックのクロック・エッジの位置も普通の等間隔である。クロック同期信号(5)は低速クロックのクロック・エッジの位置を示す信号として生成される。   FIG. 17 shows a waveform when the clock ratio between the high-speed clock and the low-speed clock is an integer multiple of 1: 3. As can be seen from this waveform, when the clock ratio is an integral multiple, the positions of the clock edges of the low-speed clock are also equally spaced. The clock synchronization signal (5) is generated as a signal indicating the position of the clock edge of the low-speed clock.

図18は、本発明の一実施例に係るクロック生成部を示す。   FIG. 18 shows a clock generator according to an embodiment of the present invention.

図18のプロセッサにおいて、201は、外部入力クロック、202はPLL回路、203はプロセッサ内部のクロック生成部、204はCPUコア、205は内部モジュール、206は内部モジュール、207は高速クロック、208はクロック同期信号、209は、低速クロック、210はプロセッサ内部のオンチップバスをそれぞれ示す。   18, 201 is an external input clock, 202 is a PLL circuit, 203 is a clock generator inside the processor, 204 is a CPU core, 205 is an internal module, 206 is an internal module, 207 is a high-speed clock, and 208 is a clock. A synchronization signal, 209 is a low-speed clock, and 210 is an on-chip bus inside the processor.

図18に、本実施例における、高速クロック、低速クロック、及びクロック同期信号を用いたプロセッサの実施例を示す。   FIG. 18 shows an embodiment of a processor using a high-speed clock, a low-speed clock, and a clock synchronization signal in this embodiment.

図18のプロセッサにおいて、外部入力クロック201は、PLL回路202で逓倍され、PLL回路202は各種クロックを生成するための元となる最高速クロック(以下、PLLクロックと称する)を生成する。   In the processor of FIG. 18, an external input clock 201 is multiplied by a PLL circuit 202, and the PLL circuit 202 generates a fastest clock (hereinafter referred to as a PLL clock) that is a source for generating various clocks.

クロック生成部203は、分周回路203aでPLLクロックを分周することにより、各内部モジュールへの基準クロック(この場合、高速クロック207及び低速クロック209)を生成する。また、クロック生成部203は、低速クロックのエッジの位置を示すクロック同期信号208も同時に生成して、高速クロック207及びクロック同期信号208をCPUコア204へ出力する。内部モジュール205、206には低速クロック209が供給される。   The clock generation unit 203 generates a reference clock (in this case, a high-speed clock 207 and a low-speed clock 209) to each internal module by dividing the PLL clock by the frequency dividing circuit 203a. The clock generation unit 203 also generates a clock synchronization signal 208 indicating the position of the edge of the low-speed clock at the same time, and outputs the high-speed clock 207 and the clock synchronization signal 208 to the CPU core 204. A low speed clock 209 is supplied to the internal modules 205 and 206.

CPUコア204は、基本的には高速クロック(基準クロック)で動作するが、低速クロックで動作する内部モジュール205、内部モジュール206と接続されているオンチップバス210とのインターフェイス部(BI)204aにおいては、クロック同期信号208を用いて、バスのデータ信号との同期を取る。   The CPU core 204 basically operates with a high-speed clock (reference clock), but in an internal module 205 that operates with a low-speed clock, and an interface unit (BI) 204a with an on-chip bus 210 connected to the internal module 206. Uses the clock synchronization signal 208 to synchronize with the bus data signal.

すなわち、CPUコア204内のインターフェイス部204aは、クロック同期信号208により低速クロックのクロック・エッジの位置を把握する。それによってインターフェイス部204aは、内部モジュールから供給されるデータ信号の取り込みタイミングを適切に制御してデータの受信を行うとともに、データ信号のオンチップバス210への出力タイミングを適切制御して内部モジュールへのデータの送信を行う。   That is, the interface unit 204 a in the CPU core 204 grasps the position of the clock edge of the low-speed clock based on the clock synchronization signal 208. As a result, the interface unit 204a appropriately controls the timing of taking in the data signal supplied from the internal module to receive data, and appropriately controls the output timing of the data signal to the on-chip bus 210 to the internal module. Send the data.

このような回路構成とすることで、特に低速クロック209及びクロック同期信号208を使用することで、クロック比が1:1.5等の非整数倍の場合においても、高速なクロックによる信号乗り換え無しに、容易にプロセッサ回路を構成することが可能となる。   With such a circuit configuration, especially by using the low-speed clock 209 and the clock synchronization signal 208, there is no signal transfer by a high-speed clock even when the clock ratio is a non-integer multiple such as 1: 1.5. In addition, the processor circuit can be easily configured.

図19は、本発明の他の実施例に係るクロック生成部を示す。   FIG. 19 shows a clock generator according to another embodiment of the present invention.

図19のプロセッサにおいて、201は外部入力クロック、202はPLL回路、203Aはプロセッサ内部のクロック生成部、204はCPUコア、205Aは内部モジュール、206Aは内部モジュール、207は高速クロック(基準クロック)、208はクロック同期信号、210はプロセッサ内部のオンチップバス、211は内部モジュール205Aのゲーテッドクロック生成部205aで生成される低速クロック、212は内部モジュール206Aのゲーテッドクロック生成部206aで生成される低速クロックをそれぞれ示す。   In the processor of FIG. 19, 201 is an external input clock, 202 is a PLL circuit, 203A is a clock generator inside the processor, 204 is a CPU core, 205A is an internal module, 206A is an internal module, 207 is a high-speed clock (reference clock), 208 is a clock synchronization signal, 210 is an on-chip bus inside the processor, 211 is a low-speed clock generated by the gated clock generation unit 205a of the internal module 205A, and 212 is a low-speed clock generated by the gated clock generation unit 206a of the internal module 206A. Respectively.

図19の実施例は、内部モジュール205A及び内部モジュール206Aで使用する低速クロックを、高速クロック207及びクロック同期信号208に基づいて各内部モジュール内のゲーテッドクロックバッファで生成したものである。各内部モジュールの低速クロックを生成するための具体的なクロック生成手段については、図19に示したゲーテッドクロック生成部205a、206aの他に、上述の各実施例で説明した同期制御モジュールの構成を用いてもよい。   In the embodiment of FIG. 19, the low-speed clock used in the internal module 205A and the internal module 206A is generated by the gated clock buffer in each internal module based on the high-speed clock 207 and the clock synchronization signal 208. The specific clock generation means for generating the low-speed clock of each internal module has the configuration of the synchronization control module described in each of the above embodiments in addition to the gated clock generation units 205a and 206a shown in FIG. It may be used.

このような構成にすることで、チップ全体としては、高速クロック1本でクロックツリーを生成することができ、レイアウト設計時においてクロック・スキューを低減させることが容易となる。   With such a configuration, the entire chip can generate a clock tree with one high-speed clock, and it is easy to reduce clock skew during layout design.

図20は、本発明の他の実施例に係るクロック生成部を示す。   FIG. 20 shows a clock generator according to another embodiment of the present invention.

図20のプロセッサにおいて、201は外部入力クロック、202はPLL回路、203Aはプロセッサ内部のクロック生成部、204はCPUコア、205Bは内部モジュール、206Bは内部モジュール、207は高速クロック(基準クロック)、208はクロック同期信号、210はプロセッサ内部のオンチップバス、211は内部モジュール205Bのゲーテッドクロック生成部205a,205bで生成される低速クロック、212は内部モジュール206Bのゲーテッドクロック生成部206a、206bで生成される低速クロックをそれぞれ示す。   In the processor of FIG. 20, 201 is an external input clock, 202 is a PLL circuit, 203A is a clock generator inside the processor, 204 is a CPU core, 205B is an internal module, 206B is an internal module, 207 is a high-speed clock (reference clock), 208 is a clock synchronization signal, 210 is an on-chip bus inside the processor, 211 is a low-speed clock generated by the gated clock generators 205a and 205b of the internal module 205B, and 212 is generated by the gated clock generators 206a and 206b of the internal module 206B. Each of the low speed clocks to be performed is shown.

図20は、図19の実施例によるクロック同期信号に関し、高速クロックの1サイクル分前にずらせて供給する場合の回路構成である。内部モジュール205B及び206B内のゲーテッドクロック生成部は、それぞれ高速クロック207に応答してクロック同期信号208を保持するラッチ回路205b及び206bを備える。   FIG. 20 shows a circuit configuration in the case where the clock synchronization signal according to the embodiment of FIG. 19 is supplied by being shifted one cycle before the high-speed clock. The gated clock generators in the internal modules 205B and 206B include latch circuits 205b and 206b that hold the clock synchronization signal 208 in response to the high-speed clock 207, respectively.

図21は、図20の実施例におけるクロック同期制御方式を説明するための波形図である。図21において、(1)はPLLクロック、(2)は高速クロック、(3)は従来の周期一定の低速クロック、(4)は本実施例による低速クロック、(5)は本実施例によるクロック同期信号で、低速クロックの各々のクロックエッジに対して高速クロック1サイクル分前の段階で出力されたものを示す。   FIG. 21 is a waveform diagram for explaining the clock synchronization control method in the embodiment of FIG. In FIG. 21, (1) is a PLL clock, (2) is a high-speed clock, (3) is a conventional low-speed clock with a constant period, (4) is a low-speed clock according to this embodiment, and (5) is a clock according to this embodiment. The synchronization signal is output at a stage one cycle before the high-speed clock with respect to each clock edge of the low-speed clock.

図21に示したように、本実施例クロック同期制御方式によれば、ゲーテッドクロックの制御信号として使われるクロック同期信号のタイミングを確定させておくことができ、より安全なクロック設計が可能となる。   As shown in FIG. 21, according to the clock synchronization control system of this embodiment, the timing of the clock synchronization signal used as the control signal of the gated clock can be determined, and a safer clock design becomes possible. .

上述した実施例のクロック同期制御方式では、対応するクロック比が整数倍で無い場合にも、それぞれのクロックで動作するモジュール間において、非常に高速なクロックによる信号乗り換えをすることなくデータ信号の同期をとることができ、所望の動作周波数でプロセッサを動作させることが可能となる。具体的には、このような非整数倍の複数のクロック周波数を持つプロセッサの設計時(特に、レイアウト、タイミング検証)において、モジュール間の信号乗り換え部(バスインターフェイス部)が少なくとも早い方のクロック周波数で動作すれば、問題なく所望の動作周波数でプロセッサを動作させることが可能となる。   In the clock synchronization control system of the above-described embodiment, even when the corresponding clock ratio is not an integral multiple, the data signal can be synchronized between the modules operating with the respective clocks without the signal transfer by the very high-speed clock. Therefore, the processor can be operated at a desired operating frequency. Specifically, when designing a processor having a plurality of clock frequencies that are non-integer multiples (especially layout and timing verification), the signal switching unit (bus interface unit) between modules is at least the faster clock frequency. It is possible to operate the processor at a desired operating frequency without any problem.

さらに、本発明の他の実施例に係るクロック同期制御方式について説明する。   Furthermore, a clock synchronization control system according to another embodiment of the present invention will be described.

図22は、高速クロックと低速クロックのクロック比が1:1.5の場合(図13)における、本発明の一実施例に係るクロック同期制御方式を説明するための波形図である。   FIG. 22 is a waveform diagram for explaining a clock synchronization control method according to an embodiment of the present invention when the clock ratio between the high-speed clock and the low-speed clock is 1: 1.5 (FIG. 13).

図22において、(1)はPLLクロック、(2)は高速クロックのクロック同期信号SYNC1、(3)は高速クロック(基準クロック)CLK1(fast)、(4)は低速クロックのクロック同期信号SYNC2、(5)は、低速クロック(基準クロック)CLK2(slow)、(6)は高速クロックCLK1とそのクロック同期信号SYNC1で生成されたデータ信号、又は、低速クロックCLK2とそのクロック同期信号SYNC2で生成されたデータ信号、(7)は、(6)のデータのうち、両クロックで動作するモジュール間のデータ転送において有効なデータ位置をそれぞれ示す。   In FIG. 22, (1) is a PLL clock, (2) is a clock synchronization signal SYNC1 of a high-speed clock, (3) is a high-speed clock (reference clock) CLK1 (fast), (4) is a clock synchronization signal SYNC2 of a low-speed clock, (5) is a low-speed clock (reference clock) CLK2 (slow), (6) is a data signal generated by the high-speed clock CLK1 and its clock synchronization signal SYNC1, or is generated by the low-speed clock CLK2 and its clock synchronization signal SYNC2. The data signal (7) indicates a valid data position in data transfer between modules operating with both clocks in the data of (6).

高速クロック(3)及び低速クロック(5)は、それぞれPLLクロック(1)から分周により生成され、それぞれクロック・エッジは等間隔になっている。このままでは、図13に示したように、両クロックのクロックエッジが揃わないため、両クロックで動作するモジュール間の信号乗り換え回路は、高速クロックの動作周波数の2倍の周波数で動作しなければならない。   The high-speed clock (3) and the low-speed clock (5) are respectively generated by frequency division from the PLL clock (1), and the clock edges are equally spaced. In this state, as shown in FIG. 13, since the clock edges of both clocks are not aligned, the signal transfer circuit between modules operating on both clocks must operate at twice the operating frequency of the high-speed clock. .

そこで、本発明のクロック同期制御方式では、図22の(2)、(4)で示されるクロック同期信号SYNC1、SYNC2が、高速クロック及び低速クロックのクロックエッジが互いに一致する位置を示す信号として、対応するクロックとともに生成される。クロック同期信号SYNC1、SYNC2に基づいて、両クロックにおいて対応する各クロックエッジが揃うときのみ、データの送受信(転送)を行うようにすることで、 両クロックで動作するモジュール間の信号乗り換えを容易に実現することが可能となる。   Therefore, in the clock synchronization control system of the present invention, the clock synchronization signals SYNC1 and SYNC2 shown in (2) and (4) of FIG. 22 are signals indicating positions where the clock edges of the high-speed clock and the low-speed clock coincide with each other. Generated with the corresponding clock. Based on the clock synchronization signals SYNC1 and SYNC2, data transmission / reception (transfer) is performed only when the corresponding clock edges are aligned in both clocks, making it easy to transfer signals between modules operating on both clocks. It can be realized.

このとき、両モジュール間のデータ転送は両クロック間で互いにクロックエッジが一致するときにのみ行われるため、データ転送の動作周波数は両クロックの周波数の最大公約数の値になる。   At this time, since the data transfer between the two modules is performed only when the clock edges coincide with each other between the two clocks, the operation frequency of the data transfer becomes the value of the greatest common divisor of the frequencies of the two clocks.

すなわち、クロック同期信号SYNC1、SYNC2は、対応するクロックにおいてデータの送受信(転送)に対して有効なクロックエッジの位置を示す。クロック同期信号SYNC1、SYNC2は、それぞれ高速クロック及び低速クロックのクロックエッジに合わせて生成される。   That is, the clock synchronization signals SYNC1 and SYNC2 indicate the positions of clock edges effective for data transmission / reception (transfer) in the corresponding clock. The clock synchronization signals SYNC1 and SYNC2 are generated in accordance with the clock edges of the high-speed clock and the low-speed clock, respectively.

従って、本実施例の信号乗り換え回路(バスインターフェイス回路)は、両クロックの最大公約数の周波数で動作できれば、問題無く両クロックで動作するモジュール間の信号の受け渡しが可能となる。   Therefore, if the signal transfer circuit (bus interface circuit) of this embodiment can operate at the frequency of the greatest common divisor of both clocks, it is possible to transfer signals between modules operating with both clocks without any problem.

図23は、本発明の一実施例に係るクロック同期制御システムの基本的な構成を示す。   FIG. 23 shows a basic configuration of a clock synchronization control system according to an embodiment of the present invention.

図23において、301は本実施例におけるCPUコア、302は本実施例におけるCPUコア301中にあるバスインターフェイス部BI、303は本実施例におけるプロセッサ内部モジュール、304は本実施例におけるプロセッサ内部モジュール303中にあるバスインターフェイス部BI、305は本実施例におけるプロセッサ内部のクロック生成モジュール、306は高速クロック(基準クロック)CLK1(この場合、300MHz)、307は高速クロックのクロック同期信号SYNC1、308は低速クロック(基準クロック)CLK2(この場合、200MHz)、309は低速クロックのクロック同期信号SYNC2、310は本実施例におけるCPUコア301と内部モジュール303とを接続するバス信号をそれぞれ示す。   In FIG. 23, 301 is a CPU core in this embodiment, 302 is a bus interface unit BI in the CPU core 301 in this embodiment, 303 is a processor internal module in this embodiment, and 304 is a processor internal module 303 in this embodiment. The bus interface unit BI, 305 is a clock generation module inside the processor in the present embodiment, 306 is a high-speed clock (reference clock) CLK1 (300 MHz in this case), 307 is a clock synchronization signal SYNC1, 308 of the high-speed clock, Clock (reference clock) CLK2 (in this case, 200 MHz), 309 is a low-speed clock synchronization signal SYNC2, and 310 is a bus signal for connecting the CPU core 301 and the internal module 303 in this embodiment. Show.

図23のクロック同期制御システムにおいて、CPUコア301は、基本的には300MHzのクロックCLK1に基づいて動作し、内部モジュール303は基本的には200MHzのクロックCLK2に基づいて動作する。そして、クロック比が1:1.5の両モジュールを接続するバス310を本実施例のクロック同期信号SYNC1、SYNC2を使用して図22の場合と同様にして100MHz相当の動作周波数で動作させる。これにより、図13に示したような600MHzの信号乗り換え回路が不要となる。   In the clock synchronization control system of FIG. 23, the CPU core 301 basically operates based on the 300 MHz clock CLK1, and the internal module 303 basically operates based on the 200 MHz clock CLK2. Then, the bus 310 connecting both modules having a clock ratio of 1: 1.5 is operated at an operating frequency equivalent to 100 MHz in the same manner as in FIG. 22 using the clock synchronization signals SYNC 1 and SYNC 2 of this embodiment. This eliminates the need for a 600 MHz signal transfer circuit as shown in FIG.

図24は、本発明の他の実施例に係るクロック同期制御システムの構成を示す。この構成例では、図23の内部モジュール303をプロセッサバス303Aに置き換えている。   FIG. 24 shows the configuration of a clock synchronization control system according to another embodiment of the present invention. In this configuration example, the internal module 303 in FIG. 23 is replaced with a processor bus 303A.

図24において、参照番号301〜310は、図23の構成要素と基本的に同一であり、図23の内部モジュール303のみプロセッサバス303Aに置き換えられてある。図24のクロック同期制御システムにおいて、311はプロセッサバス303Aと他の内部モジュール313とを接続するバス、312はプロセッサバス303Aと他の内部モジュール314を接続するバス、313は本実施例における内部モジュール、314は本実施例における内部モジュールをそれぞれ示す。   24, reference numerals 301 to 310 are basically the same as those in FIG. 23, and only the internal module 303 in FIG. 23 is replaced with the processor bus 303A. In the clock synchronous control system of FIG. 24, 311 is a bus connecting the processor bus 303A and other internal modules 313, 312 is a bus connecting the processor bus 303A and other internal modules 314, and 313 is an internal module in this embodiment. Reference numerals 314 denote internal modules in this embodiment.

図24の実施例では、プロセッサバス303Aは、パイプラインバスであり、バスクロック(低速クロックCLK2)に同期してバス・コントロール信号に基づいてCPUコア301に対してデータを転送するバスである。また、プロセッサ303Aと内部モジュール313、314との間のデータ転送は、低速クロックCLK2(200MHz)に基づいて行われる。   In the embodiment of FIG. 24, the processor bus 303A is a pipeline bus, and is a bus that transfers data to the CPU core 301 based on a bus control signal in synchronization with a bus clock (low-speed clock CLK2). Data transfer between the processor 303A and the internal modules 313 and 314 is performed based on the low-speed clock CLK2 (200 MHz).

図25に、図24の実施例の動作を説明するための波形図を示す。   FIG. 25 is a waveform diagram for explaining the operation of the embodiment of FIG.

図25において、(1)〜(5)は図22の対応する各信号と同一であり、(6) はCPUコア301からバス310へデータを転送する際のCPUコア内部のデータ信号(CPU)、(7)はCPUコア301からバス310へ出力されたバス・トランザクション上のデータ信号(BUS)、(8)はバス・トランザクション上のデータ信号の有効なデータ位置を示すバス・コントロール信号(BUS_CTRL)をそれぞれ示す。   25, (1) to (5) are the same as the corresponding signals in FIG. 22, and (6) is a data signal (CPU) inside the CPU core when data is transferred from the CPU core 301 to the bus 310. , (7) is a data signal (BUS) on the bus transaction output from the CPU core 301 to the bus 310, and (8) is a bus control signal (BUS_CTRL) indicating a valid data position of the data signal on the bus transaction. ) Respectively.

図25では、CPUコア301内部の高速クロックCLK1で生成されたデータ(6)は、クロック同期信号SYNC1(2)がHIGHのときの高速クロックCLK1のエッジでバス・データ(7)として出力される。低速クロックCLK1で動作するプロセッサバス303A内のCPUコア301とのインターフェイス部304において、クロック同期信号SYNC2がHIGHからLOWに変化したサイクルを有効(valid)とするバス・コントロール信号(8)が生成される。バス・コントロール信号(8)において有効(valid)のサイクルの次のサイクルは無効(invalid)サイクルに設定される。インターフェイス部304は、有効サイクルと無効サイクルが設けられたバス・コントロール信号に基づいて、有効サイクルの期間中にバス310に出力されたバス・データを取り込み、それによってバス転送が行われる。   In FIG. 25, the data (6) generated by the high-speed clock CLK1 in the CPU core 301 is output as bus data (7) at the edge of the high-speed clock CLK1 when the clock synchronization signal SYNC1 (2) is HIGH. . In the interface unit 304 with the CPU core 301 in the processor bus 303A that operates with the low-speed clock CLK1, a bus control signal (8) is generated that validates a cycle in which the clock synchronization signal SYNC2 changes from HIGH to LOW. The In the bus control signal (8), the cycle following the valid cycle is set to the invalid cycle. The interface unit 304 takes in the bus data output to the bus 310 during the valid cycle based on the bus control signal provided with the valid cycle and the invalid cycle, thereby performing the bus transfer.

このバス・コントロール信号(8)の波形は、あくまで一例であり、クロック同期信号SYNC2と同じサイクルを有効(valid)としても差し支えない(バス・プロトコル毎に仕様は異なる)。   The waveform of the bus control signal (8) is merely an example, and the same cycle as that of the clock synchronization signal SYNC2 may be valid (specifications are different for each bus protocol).

バス・コントロール信号(8)において有効(valid)期間と無効(invalid)期間を設けることで、非整数倍のクロックで動作するモジュール間の信号同期に際し、両クロックのクロック・エッジが揃ったときに生成されたデータのみを有効としてデータの送受信を行うことができ、非整数倍クロック間の信号乗り換えを容易に実行することができる。ただし、信号乗り換えの周波数が見かけ上、両クロックの最大公約数(この実施例の場合には 100MHz)まで低下するので、データ転送のスルーレートは落ちるが、各モジュールを所望の動作周波数で動作させることが可能になる。メモリ・アクセスが少ないアプリケーションを実行する際や、アプリケーションの処理をほとんどCPUコア内のキャッシュ内のみで処理できる場合等に有効である。   By providing a valid period and an invalid period in the bus control signal (8), when synchronizing the signals between modules operating with a non-integer multiple clock, the clock edges of both clocks are aligned. Only generated data can be validated and data can be transmitted and received, and signal transfer between non-integer multiple clocks can be easily performed. However, since the signal transfer frequency apparently decreases to the greatest common divisor of both clocks (100 MHz in this embodiment), the slew rate of data transfer is reduced, but each module is operated at a desired operating frequency. It becomes possible. This is effective when executing an application with little memory access, or when processing of the application can be performed almost only in the cache in the CPU core.

図26は、本発明の一実施例に係るクロック同期制御システムを示す。   FIG. 26 shows a clock synchronization control system according to an embodiment of the present invention.

図26において、参照番号301〜314は、図24の対応する各構成要素と基本的に同一である。図26のクロック同期制御システムにおいては、データバス信号310のデータバス幅が64ビットであり、プロセッサバス303Aのバス・マトリクス303a及びバス信号311、312の各データバス幅が32ビットであり、データバス信号310のバス幅とバス・マトリックス303aのバス幅とが互いに異なっている。   In FIG. 26, reference numerals 301 to 314 are basically the same as the corresponding components in FIG. In the clock synchronization control system of FIG. 26, the data bus width of the data bus signal 310 is 64 bits, the bus matrix 303a of the processor bus 303A and the data bus widths of the bus signals 311 and 312 are 32 bits, and the data The bus width of the bus signal 310 and the bus width of the bus matrix 303a are different from each other.

図26の実施例では、CPUコア301とプロセッサバス303Aのバス幅を64ビット化し、通常のプロセッサ・バス303Aのバス・マトリクス303aのビット幅32ビットの2倍にすることで、非整数倍クロック間の信号乗り換え時に発生する転送スルーレートの低下を防止することが可能となる。   In the embodiment shown in FIG. 26, the CPU core 301 and the processor bus 303A have a 64-bit bus width, which is twice the 32-bit bit width of the bus matrix 303a of the normal processor bus 303A. It is possible to prevent a decrease in transfer slew rate that occurs at the time of signal transfer.

図27は、図26の実施例の動作を説明するための波形図を示す。   FIG. 27 is a waveform diagram for explaining the operation of the embodiment of FIG.

図27において、(1)〜(8)は、図25の対応する各信号と基本的にほぼ同一である。ただし、(6)は、図25のデータ信号(6)と異なり、データバス幅が64ビットのCPUコア301内部のデータ信号であり、(7)は、図25のデータ信号(7)と異なり、データバス幅が32ビットのバス・トランザクション上のデータ信号であり、CPUコア内部のデータ信号(6)のHIGH側とLOW側の各32ビットのデータを交互に転送するバス信号をそれぞれ示したものである。   27, (1) to (8) are basically almost the same as the corresponding signals in FIG. However, (6) is different from the data signal (6) in FIG. 25 and is a data signal inside the CPU core 301 having a data bus width of 64 bits, and (7) is different from the data signal (7) in FIG. The bus signal is a data signal on a bus transaction having a data bus width of 32 bits, and the bus signal for alternately transferring the 32-bit data on the HIGH side and the LOW side of the data signal (6) inside the CPU core is shown. Is.

図26では、CPUコア301から64ビットのデータをバス310に出力し、プロセッサバス303A内のCPUコア301とのインターフェイス部304において、64ビットデータを2つの32ビットデータに分割して転送できるように変換したものである。これに伴い、図27におけるバス・コントロール信号では、図25におけるバス・コントロール信号(8)の無効(invalid)のサイクルがデータの分割数に応じて有効(valid)サイクルに置き換えられ、クロック同期信号SYNC2のHIGHからLOWへ変化したサイクルを有効サイクルとして設定されるとともに、その次のサイクルも有効サイクルに設定される。それによって、分割された32ビットデータを全て有効(valid)データとして転送することが可能となる。   In FIG. 26, 64-bit data is output from the CPU core 301 to the bus 310, and the 64-bit data can be divided and transferred to two 32-bit data in the interface unit 304 with the CPU core 301 in the processor bus 303A. Converted to. Accordingly, in the bus control signal in FIG. 27, the invalid cycle of the bus control signal (8) in FIG. 25 is replaced with a valid cycle in accordance with the number of data divisions. A cycle in which SYNC2 changes from HIGH to LOW is set as a valid cycle, and the next cycle is also set as a valid cycle. Thereby, it is possible to transfer all the divided 32-bit data as valid data.

図28は、本発明の一実施例に係るクロック同期制御システムを示す。   FIG. 28 shows a clock synchronization control system according to an embodiment of the present invention.

図28において、参照番号301、303A、305〜309、311〜314は、図24における対応する各構成要素と同一である。図28のクロック同期制御システムにおいて、315は本実施例におけるCPUコア301内のバスインターフェイスポート(BI1)、316は本実施例におけるCPUコア301内のバスインターフェイスポート(BI2)、317は本実施例におけるプロセッサバス303A内のバスインターフェイスポート315(BI1)との信号乗り換えラッパー回路(i/f)、318は本実施例におけるプロセッサバス303A内のバスインターフェイスポート316(BI2)との信号乗り換えラッパー回路(i/f)、319はバスインターフェイスポート315(BI1)とバス・ラッパー回路317(i/f)を接続するバス、320はバスインターフェイスポート316(BI2)とバス・ラッパー回路318(i/f)を接続するバスをそれぞれ示す。   In FIG. 28, reference numerals 301, 303A, 305 to 309, 311 to 314 are the same as the corresponding components in FIG. 28, reference numeral 315 denotes a bus interface port (BI1) in the CPU core 301 in this embodiment, 316 denotes a bus interface port (BI2) in the CPU core 301 in this embodiment, and 317 denotes this embodiment. The signal transfer wrapper circuit (i / f) 318 with the bus interface port 315 (BI1) in the processor bus 303A in FIG. 6 is a signal transfer wrapper circuit (i / f) 318 with the bus interface port 316 (BI2) in the processor bus 303A in this embodiment. i / f), 319 is a bus connecting the bus interface port 315 (BI1) and the bus wrapper circuit 317 (i / f), 320 is a bus interface port 316 (BI2) and the bus wrapper circuit 318 (i / f) Connect It shows the bus, respectively.

図28のクロック同期制御システムは、図26の実施例とほぼ同一の回路構成であり、非整数倍クロック間の乗り換えを容易にするための前記実施例の欠点である転送スルーレートの低下を防止するものである。具体的には、図26におけるバスインターフェイスポート302の64ビットのビット幅を2つのポートに分割し、CPUに2つのバスインターフェイスポートを持たせた実施例である。CPUにバスインターフェイスポートを複数持たせることに伴い、プロセッサ・バス303Aの方でも、2ポートのCPUインターフェイスを実装したのが本実施例である。   The clock synchronization control system of FIG. 28 has substantially the same circuit configuration as that of the embodiment of FIG. 26, and prevents a decrease in transfer slew rate, which is a disadvantage of the embodiment for facilitating the transfer between non-integer multiple clocks. To do. Specifically, in this embodiment, the 64-bit bit width of the bus interface port 302 in FIG. 26 is divided into two ports, and the CPU has two bus interface ports. In this embodiment, the CPU / bus 303A is mounted with a 2-port CPU interface as the CPU has a plurality of bus interface ports.

本実施例の動作を説明するための波形図については、単に図25の波形図で示される転送トランザクションが2分割された各ポートにおいて独立に実行されるだけなので省略する。   A waveform diagram for explaining the operation of the present embodiment is omitted because the transfer transaction shown in the waveform diagram of FIG. 25 is merely executed independently at each of the two ports.

上述の如く、本実施例のクロック同期制御方式では、対応するクロック比が整数倍で無い場合にも、それぞれのクロックで動作するモジュール間における非常に高速な信号乗り換えをすることなく、所望の動作周波数でプロセッサを動作させることが可能となる。具体的には、このような非整数倍の複数のクロック周波数を持つプロセッサの設計時(特に、レイアウト、タイミング検証)において、モジュール間の信号乗り換え部が少なくとも早い方のクロック周波数でさえ動作すれば、問題なく所望の動作周波数で動作させることが可能となる。   As described above, in the clock synchronization control system of this embodiment, even when the corresponding clock ratio is not an integral multiple, the desired operation can be performed without performing very high-speed signal transfer between modules operating with the respective clocks. It is possible to operate the processor at a frequency. Specifically, when designing a processor having a plurality of clock frequencies that are non-integer multiples (especially layout and timing verification), it is only necessary that the signal switching unit between modules operates at least at the earlier clock frequency. It is possible to operate at a desired operating frequency without any problem.

さらに、本実施例の場合、非整数倍の各クロックで動作するモジュール間の信号乗り換え部自体のデータ転送性能は低下するが、これらモジュール間のデータ転送がそれほど頻繁に発生せず、各モジュールを所望の動作周波数で動作させることが可能である。また、信号乗り換え部の転送性能の低下を回避することが可能となる。
(付記1)
内部バスと、前記内部バスに接続され、所定の機能を実現するモジュール本体を有する複数の内部モジュールと、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記複数の内部モジュールの少なくとも1つに供給するクロック生成部とを備える半導体集積回路装置であって、前記複数の内部モジュールの少なくとも1つは、前記基準クロックと前記クロック同期信号に基づいて前記内部モジュールに供給される内部クロックを生成する同期制御モジュールを備えることを特徴とする半導体集積回路装置。
(付記2)
付記1記載の半導体集積回路装置であって、前記クロック生成部は、異なるクロック周波数を有する複数の前記基準クロックと前記複数の基準クロックに対応する複数の前記クロック同期信号からなる複数の信号対を生成し、前記複数の信号対をそれぞれ異なる前記内部モジュールに供給することを特徴とする半導体集積回路装置。
(付記3)
付記1記載の半導体集積回路装置であって、前記内部クロックのクロックエッジの位置は、前記有効なクロックエッジの位置に一致することを特徴とする半導体集積回路装置。
(付記4)
付記1記載の半導体集積回路装置であって、前記同期制御モジュールは、前記内部モジュールの動作可否を示す内部クロック制御信号を生成する制御部を備え、前記内部クロック制御信号に基づいて前記クロック同期信号の供給、停止及びマスク処理の少なくとも1つを行うことを特徴とする半導体集積回路装置。
(付記5)
付記1記載の半導体集積回路装置であって、前記同期制御モジュールは、前記内部モジュールへの前記クロック同期信号の供給及び停止を制御するゲート部を更に備え、前記ゲート部は前記内部モジュールの動作が不要であるとき前記クロック同期信号の出力を停止することを特徴とする半導体集積回路装置。
(付記6)
付記1記載の半導体集積回路装置であって、前記同期制御モジュールは、前記内部モジュールへの前記クロック同期信号の供給及びマスク処理を制御するマスク部を更に備え、前記マスク部は前記内部モジュールの動作が必要であるとき前記クロック同期信号を所定のレベルにマスクして出力することを特徴とする半導体集積回路装置。
(付記7)
付記1記載の半導体集積回路装置であって、前記クロック生成部は、複数のクロック周波数を示す複数の前記クロック同期信号を生成して前記内部モジュールに供給し、前記同期制御モジュールは、前記複数のクロック同期信号を受け、前記内部モジュールの動作周波数に応じて前記複数のクロック同期信号と前記基準クロックに基づいて前記内部クロックを生成することを特徴とする半導体集積回路装置。
(付記8)
付記1記載の半導体集積回路装置であって、前記同期制御モジュールは、前記基準クロックを受けてカウント動作を行いカウント値に従ってマスク信号を生成するカウンタと、前記マスク信号に基づいて前記クロック同期信号を所定の割合で間引くことにより内部クロック生成制御信号を生成するゲート部と、前記内部クロック生成制御信号と前記基準クロックに基づいて前記内部クロックを生成する内部クロック生成部を備えることを特徴とする半導体集積回路装置。
(付記9)
所定の機能を実現するモジュール本体をそれぞれ有する複数のバスマスタと複数のバススレーブとを含む複数の内部モジュールと、前記複数のバスマスタと前記複数のバススレーブをパイプライン方式で接続するバスユニットと、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記バスユニットに供給するクロック生成部とを備える半導体集積回路装置であって、前記バスユニットは、前記基準クロックと前記クロック同期信号に基づいて前記複数のバスマスタ及び前記複数のバススレーブの少なくとも1つに供給される内部クロックを生成する同期制御モジュールを備えることを特徴とする半導体集積回路装置。
(付記10)
付記9記載の半導体集積回路装置であって、前記バスユニットは、前記複数のバスマスタ及び前記複数のバススレーブの間の接続を制御するバス制御部を備え、前記バス制御部は前記同期制御モジュールを備えることを特徴とする半導体集積回路装置。
(付記11)
所定の機能を実現するモジュール本体をそれぞれ有する複数のバスマスタと複数のバススレーブとを含む複数の内部モジュールと、前記複数のバスマスタと前記複数のバススレーブをクロスバー方式で接続するバスユニットと、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記バスユニットに供給するクロック生成部とを備える半導体集積回路装置であって、前記バスユニットは、前記基準クロックと前記クロック同期信号に基づいて前記複数のバスマスタ及び前記複数のバススレーブの少なくとも1つに供給される内部クロックを生成する同期制御モジュールを備えることを特徴とする半導体集積回路装置。
(付記12)
付記11記載の半導体集積回路装置であって、前記バスユニットは、前記複数のバスマスタ及び前記複数のバススレーブに対応する複数のバスインターフェイス部を備え、前記複数のバスインターフェイス部の少なくとも1つは前記同期制御モジュールを備えることを特徴とする半導体集積回路装置。
(付記13)
付記11記載の半導体集積回路装置であって、前記同期制御モジュールは、対応するバスインターフェイス部への前記クロック同期信号の供給及びマスク処理を制御するマスク部を更に備え、前記マスク部は対応するバスマスタ又はバススレーブの動作が必要であるとき前記クロック同期信号を所定のレベルにマスクして出力することを特徴とする半導体集積回路装置。
(付記14)
付記1記載の半導体集積回路装置であって、前記内部モジュールは、前記内部バスに対するバスインターフェイス部を備え、前記同期制御モジュールは、前記モジュール本体と前記バスインターフェイス部に対してそれぞれ異なる前記内部クロックを生成することを特徴とする半導体集積回路装置。
(付記15)
付記4記載の半導体集積回路装置であって、前記同期制御モジュールの前記制御部は、前記内部モジュールへの割り込み要求信号、DMAリクエストの要求信号、前記モジュール本体から供給されるクロック制御信号、及び前記内部バスのバス・プロトコルで定義されるバスリクエスト信号とバスアクノリッジ信号のいずれかに基づいて前記内部クロック制御信号を生成することを特徴とする半導体集積回路装置。
(付記16)
内部バスと、前記内部バスに接続され、所定の機能を実現するモジュール本体を有する複数の内部モジュールとを備える半導体集積回路装置で、前記内部モジュールに供給される内部クロックを制御するためのクロック制御方法であって、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記複数の内部モジュールの少なくとも1つに供給するクロック生成ステップと、前記複数の内部モジュールの少なくとも1つにおいて、前記基準クロックと前記クロック同期信号に基づいて前記内部クロックを生成する同期制御ステップとを有することを特徴とするクロック制御方法。
(付記17)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、第1の基準クロックを生成して前記第1の内部モジュールに供給するとともに、第2の基準クロック及び前記第1の基準クロックのクロックエッジの位置に対応する前記第2の基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部とを備える半導体集積回路装置であって、前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を行うとともに、前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を行うとともに、前記第2の基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
(付記18)
付記17記載の半導体集積回路装置であって、前記第1の基準クロックのクロック周波数は、前記第2の基準クロックのクロック周波数よりも低いことを特徴とする半導体集積回路装置。
(付記19)
付記17記載の半導体集積回路装置であって、前記第2の基準クロックのクロックエッジの配置は等間隔であり、前記第1の基準クロックのクロックエッジの配置は等間隔でないことを特徴とする半導体集積回路装置。
(付記20)
付記17記載の半導体集積回路装置であって、前記第1の基準クロックのクロックエッジの位置は、すべて前記第2の基準クロックのクロックエッジの位置と一致していることを特徴とする半導体集積回路装置。
(付記21)
付記17記載の半導体集積回路装置であって、前記第2の基準クロックのクロック周波数は、前記第1の基準クロックのクロック周波数の非整数倍の周波数であることを特徴とする半導体集積回路装置。
(付記22)
付記17記載の半導体集積回路装置であって、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ転送は、前記第1の基準クロックのクロック周波数に等しい動作周波数で行われることを特徴とする半導体集積回路装置。
(付記23)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して、前記第1の内部モジュール及び前記第2の内部モジュールに供給するクロック生成部とを備える半導体集積回路装置であって、前記第1の内部モジュールは、前記基準クロック及び前記クロック同期信号に基づいて前記第1のモジュール本体に供給される内部クロックを生成する内部クロック生成部を有し、前記第1のモジュール本体において前記内部クロックに従って所定の処理を実行するとともに、前記内部クロックのクロックエッジに従ってデータ転送を行い、前記第2の内部モジュールは、前記第2のモジュール本体において前記基準クロックに従って所定の処理を実行するとともに、前記基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
(付記24)
付記23記載の半導体集積回路装置であって、前記基準クロックのクロックエッジの配置は等間隔であり、前記内部クロックのクロックエッジの配置は等間隔でないことを特徴とする半導体集積回路装置。
(付記25)
付記23記載の半導体集積回路装置であって、前記基準クロックのクロック周波数は、前記内部クロックのクロック周波数の非整数倍の周波数であることを特徴とする半導体集積回路装置。
(付記26)
付記23記載の半導体集積回路装置であって、前記内部クロック生成部は、付記1乃至付記15のいずれか1つに記載の同期制御モジュールであることを特徴とする半導体集積回路装置。
(付記27)
付記23記載の半導体集積回路装置であって、前記基準クロックの有効なクロックエッジの位置を示す前記クロック同期信号のクロックエッジの位置は、前記基準クロックの有効なクロックエッジの位置の1周期前であることを特徴とする半導体集積回路装置。
(付記28)
付記23記載の半導体集積回路装置であって、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ転送は、前記内部クロックのクロック周波数に等しい動作周波数で行われることを特徴とする半導体集積回路装置。
(付記29)
付記23記載の半導体集積回路装置であって、前記内部クロックのクロックエッジの位置は、前記有効なクロックエッジの位置に一致することを特徴とする半導体集積回路装置。
(付記30)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールとを備える半導体集積回路装置で、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ伝送を制御するデータ転送制御方法であって、第1の基準クロックを生成して前記第1の内部モジュールに供給する第1のクロック生成ステップと、第2の基準クロック及び前記第1の基準クロックのクロックエッジの位置に対応する前記第2の基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して前記第2の内部モジュールに供給する第2のクロック生成ステップと、前記第1の内部モジュールにおいて、前記第1の基準クロックのクロックエッジに従ってデータ転送を行うように制御する第1のデータ転送制御ステップと、前記第2の内部モジュールにおいて、前記第2の基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うように制御する第2のデータ転送制御ステップとを有することを特徴とするデータ転送制御方法。
(付記31)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールとを備える半導体集積回路装置で、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ伝送を制御するデータ転送制御方法であって、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して前記第1の内部モジュール及び前記第2の内部モジュールに供給するクロック生成ステップと、前記第1の内部モジュールにおいて、前記基準クロック及び前記クロック同期信号に基づいて前記第1のモジュール本体に供給される内部クロックを生成する内部クロック生成ステップと、前記第2のモジュール本体において、前記内部クロックに従って所定の処理を実行するとともに、前記内部クロックのクロックエッジに従ってデータ転送を行うように制御する第1のデータ転送制御ステップと、前記第2のモジュール本体において前記基準クロックに従って所定の処理を実行するとともに、前記基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うように制御する第2のデータ転送制御ステップとを有することを特徴とするデータ転送制御方法。
(付記32)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、第1の基準クロック及び前記第1の基準クロックの有効なクロックエッジの位置を示す第1のクロック同期信号を生成して前記第1の内部モジュールに供給するとともに、第2の基準クロック及び前記第2の基準クロックの有効なクロックエッジの位置を示す第2のクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部とを備える半導体集積回路装置であって、前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を実行するとともに、前記第1の基準クロック及び前記第1のクロック同期信号に基づいて前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を実行するとともに、前記第2の基準クロックと前記第2のクロック同期信号に基づいて前記第2の基準クロックの有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
(付記33)
付記32記載の半導体集積回路装置であって、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ転送は、前記第1の基準クロックのクロック周波数と前記第2の基準クロックのクロック周波数の最大公約数に等しい動作周波数で行われることを特徴とする半導体集積回路装置。
(付記34)
付記32記載の半導体集積回路装置であって、前記第1の基準クロックの有効なクロックエッジの位置と、前記第2の基準クロックの有効なクロックエッジの位置とは互いに一致していることを特徴とする半導体集積回路装置。
(付記35)
付記32記載の半導体集積回路装置であって、前記第1のクロック同期信号と前記第2のクロック同期信号の間で、立上りエッジ又は立下りエッジの少なくとも一方が互いに一致していることを特徴とする半導体集積回路装置。
(付記36)
付記32記載の半導体集積回路装置であって、前記第1の基準クロックと前記第2の基準クロックの双方において、クロックエッジの配置が等間隔であることを特徴とする半導体集積回路装置。
(付記37)
付記32記載の半導体集積回路装置であって、前記第1の内部モジュール及び前記第2の内部モジュールは、前記内部バス上のデータ信号を取り込むとき、前記第1のクロック同期信号又は前記第2のクロック同期信号に基づいて、前記内部バスに出力されたデータ信号の有効又は無効を示すバスコントロール信号を生成し、前記バスコントロール信号に従って前記データ信号を取り込むインターフェイス部を備えることを特徴とする半導体集積回路装置。
(付記38)
付記37記載の半導体集積回路装置であって、前記バスコントロール信号は、前記内部バスに出力されたデータ信号の有効を示す信号と無効を示す信号を交互に出力することを特徴とする半導体集積回路装置。
(付記39)
付記37記載の半導体集積回路装置であって、前記第1の内部モジュールのデータバス幅と前記第2の内部モジュールのデータバス幅が異なっており、前記第1の内部モジュール及び前記第2の内部モジュールのデータバス幅の小さい方の内部モジュールは、大きい方の内部モジュールから前記内部バス上に出力されたデータ信号を前記バスコントロール信号に従って分割して取り込むことを特徴とする半導体集積回路装置。
(付記40)
付記39記載の半導体集積回路装置であって、前記バスコントロール信号は、前記データ信号の分割数に応じたサイクル数だけ連続して、前記内部バスに出力されたデータ信号の有効を示す信号を出力することを特徴とする半導体集積回路装置。
(付記41)
付記37記載の半導体集積回路装置であって、前記第1の内部モジュールのデータバス幅と前記第2の内部モジュールのデータバス幅が異なっており、前記第1の内部モジュール及び前記第2の内部モジュールのデータバス幅の小さい方の内部モジュールは、複数の前記インターフェイス部を有し、大きい方の内部モジュールから前記内部バス上に出力されたデータ信号を前記複数のインターフェイス部を介して並列的に取り込むことを特徴とする半導体集積回路装置。
(付記42)
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールとを備える半導体集積回路装置で、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ伝送を制御するデータ転送制御方法であって、第1の基準クロック及び前記第1の基準クロックの有効なクロックエッジの位置を示す第1のクロック同期信号を生成して前記第1の内部モジュールに供給する第1のクロック生成ステップと、第2の基準クロック及び前記第2の基準クロックの有効なクロックエッジの位置を示す第2のクロック同期信号を生成して前記第2の内部モジュールに供給する第2のクロック生成ステップと、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を実行するとともに、前記第1の基準クロック及び前記第1のクロック同期信号に基づいて前記第1の基準クロックの有効なクロックエッジに従ってデータ転送を行うように制御する第1のデータ転送制御ステップと、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を実行するとともに、前記第2の基準クロックと前記第2のクロック同期信号に基づいて前記第2の基準クロックの有効なクロックエッジに従ってデータ転送を行うように制御する第2のデータ転送制御ステップとを有することを特徴とするデータ転送制御方法。
(付記43)
内部バスと、前記内部バスに接続され、所定の機能を実現するモジュール本体を有する複数の内部モジュールと、基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記複数の内部モジュールの少なくとも1つに供給するクロック生成部とを備える半導体集積回路装置であって、前記複数の内部モジュールの少なくとも1つは、前記基準クロックと前記クロック同期信号に基づいて、所定の内部処理を行うことを特徴とする半導体集積回路装置。
(付記44)
付記43記載の半導体集積回路装置であって、前記所定の内部処理は、前記内部モジュールに供給される内部クロックを生成する内部クロック生成処理であることを特徴とする半導体集積回路装置。
(付記45)
付記43記載の半導体集積回路装置であって、前記所定の内部処理は、前記複数の内部モジュール間で前記内部バスを介してデータ転送が行われるとき、前記データ転送に関与し、異なる動作周波数で動作する2つの内部モジュール間でデータ信号の同期制御を行う信号同期処理であることを特徴とする半導体集積回路装置。
(付記46)
付記43記載の半導体集積回路装置であって、前記複数の内部モジュールの少なくとも1つは、前記基準クロックの有効なクロックエッジに従って、前記所定の内部処理を実行するモジュールを有することを特徴とする半導体集積回路装置。
Furthermore, in the case of the present embodiment, the data transfer performance of the signal transfer unit itself between modules operating at non-integer multiple clocks is degraded, but data transfer between these modules does not occur so frequently, It is possible to operate at a desired operating frequency. In addition, it is possible to avoid a decrease in transfer performance of the signal transfer unit.
(Appendix 1)
An internal bus, a plurality of internal modules connected to the internal bus and having a module body that realizes a predetermined function, a reference clock and a clock synchronization signal indicating a position of a valid clock edge of the reference clock, and A semiconductor integrated circuit device comprising: a clock generator for supplying to at least one of the plurality of internal modules, wherein at least one of the plurality of internal modules is based on the reference clock and the clock synchronization signal A semiconductor integrated circuit device comprising a synchronization control module for generating an internal clock supplied to the circuit.
(Appendix 2)
The semiconductor integrated circuit device according to appendix 1, wherein the clock generation unit includes a plurality of signal pairs including a plurality of reference clocks having different clock frequencies and a plurality of clock synchronization signals corresponding to the plurality of reference clocks. A semiconductor integrated circuit device that generates and supplies the plurality of signal pairs to different internal modules.
(Appendix 3)
The semiconductor integrated circuit device according to appendix 1, wherein a position of a clock edge of the internal clock coincides with a position of the effective clock edge.
(Appendix 4)
The semiconductor integrated circuit device according to appendix 1, wherein the synchronization control module includes a control unit that generates an internal clock control signal indicating whether the internal module is operable, and the clock synchronization signal is based on the internal clock control signal. A semiconductor integrated circuit device that performs at least one of supply, stop, and mask processing.
(Appendix 5)
The semiconductor integrated circuit device according to appendix 1, wherein the synchronization control module further includes a gate unit that controls supply and stop of the clock synchronization signal to the internal module, and the gate unit operates the internal module. A semiconductor integrated circuit device, wherein output of the clock synchronization signal is stopped when unnecessary.
(Appendix 6)
The semiconductor integrated circuit device according to appendix 1, wherein the synchronization control module further includes a mask unit that controls supply of the clock synchronization signal to the internal module and mask processing, and the mask unit operates the internal module. A semiconductor integrated circuit device characterized in that the clock synchronization signal is masked to a predetermined level and output when it is necessary.
(Appendix 7)
The semiconductor integrated circuit device according to appendix 1, wherein the clock generation unit generates a plurality of the clock synchronization signals indicating a plurality of clock frequencies and supplies them to the internal module, and the synchronization control module includes the plurality of clock synchronization signals. A semiconductor integrated circuit device characterized by receiving a clock synchronization signal and generating the internal clock based on the plurality of clock synchronization signals and the reference clock in accordance with an operating frequency of the internal module.
(Appendix 8)
The semiconductor integrated circuit device according to appendix 1, wherein the synchronization control module receives the reference clock, performs a count operation and generates a mask signal according to a count value, and outputs the clock synchronization signal based on the mask signal. A semiconductor device comprising: a gate unit that generates an internal clock generation control signal by thinning out at a predetermined rate; and an internal clock generation unit that generates the internal clock based on the internal clock generation control signal and the reference clock Integrated circuit device.
(Appendix 9)
A plurality of internal modules each including a plurality of bus masters and a plurality of bus slaves each having a module body that realizes a predetermined function; a bus unit that connects the plurality of bus masters and the plurality of bus slaves in a pipeline manner; and a reference A clock generation unit that generates a clock synchronization signal indicating a position of a clock and a valid clock edge of the reference clock and supplies the clock unit to the bus unit, wherein the bus unit includes the reference clock and A semiconductor integrated circuit device comprising a synchronization control module for generating an internal clock supplied to at least one of the plurality of bus masters and the plurality of bus slaves based on the clock synchronization signal.
(Appendix 10)
The semiconductor integrated circuit device according to appendix 9, wherein the bus unit includes a bus control unit that controls connection between the plurality of bus masters and the plurality of bus slaves, and the bus control unit includes the synchronization control module. A semiconductor integrated circuit device comprising:
(Appendix 11)
A plurality of internal modules each including a plurality of bus masters and a plurality of bus slaves each having a module body that realizes a predetermined function; a bus unit that connects the plurality of bus masters and the plurality of bus slaves in a crossbar manner; and a reference A clock generation unit that generates a clock and a clock synchronization signal indicating a position of a valid clock edge of the reference clock, and supplies the clock synchronization signal to the bus unit, wherein the bus unit includes the reference clock and A semiconductor integrated circuit device comprising a synchronization control module for generating an internal clock supplied to at least one of the plurality of bus masters and the plurality of bus slaves based on the clock synchronization signal.
(Appendix 12)
The semiconductor integrated circuit device according to appendix 11, wherein the bus unit includes a plurality of bus interface units corresponding to the plurality of bus masters and the plurality of bus slaves, and at least one of the plurality of bus interface units is the A semiconductor integrated circuit device comprising a synchronization control module.
(Appendix 13)
The semiconductor integrated circuit device according to appendix 11, wherein the synchronization control module further includes a mask unit that controls supply of the clock synchronization signal to a corresponding bus interface unit and mask processing, and the mask unit corresponds to a corresponding bus master. Alternatively, a semiconductor integrated circuit device is characterized in that when the operation of a bus slave is necessary, the clock synchronization signal is masked and output to a predetermined level.
(Appendix 14)
The semiconductor integrated circuit device according to appendix 1, wherein the internal module includes a bus interface unit for the internal bus, and the synchronization control module receives different internal clocks for the module body and the bus interface unit. A semiconductor integrated circuit device produced by the method.
(Appendix 15)
The semiconductor integrated circuit device according to appendix 4, wherein the control unit of the synchronous control module includes an interrupt request signal to the internal module, a DMA request request signal, a clock control signal supplied from the module body, and A semiconductor integrated circuit device that generates the internal clock control signal based on either a bus request signal or a bus acknowledge signal defined by a bus protocol of the internal bus.
(Appendix 16)
Clock control for controlling an internal clock supplied to the internal module in a semiconductor integrated circuit device comprising an internal bus and a plurality of internal modules connected to the internal bus and having a module body that realizes a predetermined function A method of generating a clock synchronization signal indicating a reference clock and a position of a valid clock edge of the reference clock and supplying the clock synchronization signal to at least one of the plurality of internal modules; and At least one of the clock control methods includes a synchronization control step of generating the internal clock based on the reference clock and the clock synchronization signal.
(Appendix 17)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A second internal module that performs data transfer via the first internal module and the internal bus, generates a first reference clock and supplies the first reference clock to the first internal module; Clock generation for generating a clock synchronization signal indicating the position of a valid clock edge of the second reference clock corresponding to the position of the clock edge of the reference clock and the first reference clock and supplying the clock synchronization signal to the second internal module The first internal module is connected to the first reference clock in the first module body. The second internal module performs predetermined processing according to the second reference clock in the second module main body, and performs data transfer according to the clock edge of the first reference clock. And performing data transfer according to the effective clock edge based on the second reference clock and the clock synchronization signal.
(Appendix 18)
18. The semiconductor integrated circuit device according to appendix 17, wherein a clock frequency of the first reference clock is lower than a clock frequency of the second reference clock.
(Appendix 19)
18. The semiconductor integrated circuit device according to appendix 17, wherein clock edges of the second reference clock are arranged at equal intervals, and clock edges of the first reference clock are not arranged at equal intervals. Integrated circuit device.
(Appendix 20)
18. The semiconductor integrated circuit device according to appendix 17, wherein the positions of the clock edges of the first reference clock all coincide with the positions of the clock edges of the second reference clock. apparatus.
(Appendix 21)
18. The semiconductor integrated circuit device according to appendix 17, wherein the clock frequency of the second reference clock is a non-integer multiple of the clock frequency of the first reference clock.
(Appendix 22)
The semiconductor integrated circuit device according to appendix 17, wherein data transfer between the first internal module and the second internal module is performed at an operating frequency equal to a clock frequency of the first reference clock. A semiconductor integrated circuit device.
(Appendix 23)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. Generating a clock synchronization signal indicating a position of a valid clock edge of a reference clock and the reference clock, a second internal module that performs data transfer via the first internal module and the internal bus, A semiconductor integrated circuit device comprising a clock generation unit for supplying to the first internal module and the second internal module, wherein the first internal module is based on the reference clock and the clock synchronization signal. An internal clock generator for generating an internal clock supplied to the first module body; The second internal module executes predetermined processing according to the reference clock in the second module main body while performing predetermined processing according to the internal clock and transferring data according to the clock edge of the internal clock. A semiconductor integrated circuit device that performs data transfer according to the effective clock edge based on the reference clock and the clock synchronization signal.
(Appendix 24)
24. The semiconductor integrated circuit device according to appendix 23, wherein clock edges of the reference clock are arranged at regular intervals, and clock edges of the internal clock are not arranged at regular intervals.
(Appendix 25)
24. The semiconductor integrated circuit device according to appendix 23, wherein the clock frequency of the reference clock is a non-integer multiple of the clock frequency of the internal clock.
(Appendix 26)
24. The semiconductor integrated circuit device according to appendix 23, wherein the internal clock generator is the synchronization control module according to any one of appendix 1 to appendix 15.
(Appendix 27)
24. The semiconductor integrated circuit device according to appendix 23, wherein the clock edge position of the clock synchronization signal indicating the position of the effective clock edge of the reference clock is one cycle before the position of the effective clock edge of the reference clock. A semiconductor integrated circuit device, comprising:
(Appendix 28)
24. The semiconductor integrated circuit device according to appendix 23, wherein data transfer between the first internal module and the second internal module is performed at an operating frequency equal to a clock frequency of the internal clock. Semiconductor integrated circuit device.
(Appendix 29)
24. The semiconductor integrated circuit device according to claim 23, wherein a position of a clock edge of the internal clock coincides with a position of the effective clock edge.
(Appendix 30)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A semiconductor integrated circuit device comprising: the first internal module; and a second internal module that transfers data via the internal bus, wherein the first internal module and the second internal module are arranged between the first internal module and the second internal module. A data transfer control method for controlling data transmission, comprising: a first clock generation step of generating a first reference clock and supplying the first reference clock to the first internal module; a second reference clock; and the first reference Generating a clock synchronization signal indicating the position of a valid clock edge of the second reference clock corresponding to the position of the clock edge of the clock to generate the second internal module; A second clock generation step for supplying data to a network, a first data transfer control step for controlling the first internal module to perform data transfer in accordance with a clock edge of the first reference clock, And a second data transfer control step for controlling to transfer data according to the effective clock edge based on the second reference clock and the clock synchronization signal. Transfer control method.
(Appendix 31)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A semiconductor integrated circuit device comprising: the first internal module; and a second internal module that transfers data via the internal bus, wherein the first internal module and the second internal module are arranged between the first internal module and the second internal module. A data transfer control method for controlling data transmission, wherein a clock synchronization signal indicating a reference clock and a position of an effective clock edge of the reference clock is generated and supplied to the first internal module and the second internal module And generating a clock based on the reference clock and the clock synchronization signal in the first internal module. An internal clock generating step for generating an internal clock to be supplied to the module main body, and in the second module main body, predetermined processing is executed in accordance with the internal clock and data transfer is performed in accordance with a clock edge of the internal clock. A first data transfer control step for controlling the second clock, and a predetermined process in the second module body in accordance with the reference clock, and data transfer in accordance with the effective clock edge based on the reference clock and the clock synchronization signal. And a second data transfer control step for controlling to perform the data transfer.
(Appendix 32)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A first internal module and a second internal module for transferring data via the internal bus, and a first reference clock and a first clock indicating a position of a valid clock edge of the first reference clock. And generating a second clock synchronization signal indicating a position of a valid clock edge of the second reference clock and the second reference clock. A semiconductor integrated circuit device including a clock generation unit for supplying to the second internal module, wherein the first internal module is the first module book And performing predetermined processing according to the first reference clock, transferring data according to a clock edge of the first reference clock based on the first reference clock and the first clock synchronization signal, The second internal module executes predetermined processing in accordance with the second reference clock in the second module main body, and the second reference clock based on the second reference clock and the second clock synchronization signal. A semiconductor integrated circuit device which performs data transfer according to an effective clock edge of a clock.
(Appendix 33)
33. The semiconductor integrated circuit device according to attachment 32, wherein data transfer between the first internal module and the second internal module is performed by using a clock frequency of the first reference clock and a clock of the second reference clock. A semiconductor integrated circuit device, which is performed at an operating frequency equal to the greatest common divisor of the frequency.
(Appendix 34)
34. The semiconductor integrated circuit device according to attachment 32, wherein an effective clock edge position of the first reference clock and an effective clock edge position of the second reference clock coincide with each other. A semiconductor integrated circuit device.
(Appendix 35)
34. The semiconductor integrated circuit device according to appendix 32, wherein at least one of a rising edge or a falling edge is coincident between the first clock synchronization signal and the second clock synchronization signal. A semiconductor integrated circuit device.
(Appendix 36)
39. The semiconductor integrated circuit device according to appendix 32, wherein clock edges are arranged at equal intervals in both the first reference clock and the second reference clock.
(Appendix 37)
39. The semiconductor integrated circuit device according to appendix 32, wherein the first internal module and the second internal module receive the data signal on the internal bus when the first clock synchronization signal or the second internal module is received. A semiconductor integrated circuit comprising: an interface unit that generates a bus control signal indicating validity or invalidity of a data signal output to the internal bus based on a clock synchronization signal, and captures the data signal according to the bus control signal Circuit device.
(Appendix 38)
38. The semiconductor integrated circuit device according to appendix 37, wherein the bus control signal alternately outputs a signal indicating validity and a signal indicating invalidity of the data signal output to the internal bus. apparatus.
(Appendix 39)
38. The semiconductor integrated circuit device according to appendix 37, wherein a data bus width of the first internal module is different from a data bus width of the second internal module, and the first internal module and the second internal module 2. A semiconductor integrated circuit device according to claim 1, wherein the internal module having the smaller data bus width captures the data signal output from the larger internal module on the internal bus in accordance with the bus control signal.
(Appendix 40)
40. The semiconductor integrated circuit device according to appendage 39, wherein the bus control signal outputs a signal indicating the validity of the data signal output to the internal bus continuously for the number of cycles corresponding to the number of divisions of the data signal. A semiconductor integrated circuit device.
(Appendix 41)
38. The semiconductor integrated circuit device according to appendix 37, wherein a data bus width of the first internal module is different from a data bus width of the second internal module, and the first internal module and the second internal module The internal module with the smaller data bus width of the module has a plurality of the interface portions, and the data signals output from the larger internal module onto the internal bus are parallelized via the plurality of interface portions. A semiconductor integrated circuit device characterized by being captured.
(Appendix 42)
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A semiconductor integrated circuit device comprising: the first internal module; and a second internal module that transfers data via the internal bus, wherein the first internal module and the second internal module are arranged between the first internal module and the second internal module. A data transfer control method for controlling data transmission, wherein the first internal module generates a first reference clock and a first clock synchronization signal indicating a position of a valid clock edge of the first reference clock. A first clock generation step supplied to the second reference clock and a second clock indicating a position of a valid clock edge of the second reference clock and the second reference clock. A second clock generation step of generating a signal and supplying the signal to the second internal module; executing predetermined processing in the first module body in accordance with the first reference clock; and the first reference clock And a first data transfer control step for controlling data transfer in accordance with an effective clock edge of the first reference clock based on the first clock synchronization signal; and A predetermined process is executed in accordance with a reference clock of the second reference clock and data transfer is controlled in accordance with an effective clock edge of the second reference clock based on the second reference clock and the second clock synchronization signal. And a data transfer control step. 2. A data transfer control method comprising:
(Appendix 43)
An internal bus, a plurality of internal modules connected to the internal bus and having a module body that realizes a predetermined function, a reference clock and a clock synchronization signal indicating a position of a valid clock edge of the reference clock, and A semiconductor integrated circuit device including a clock generation unit for supplying to at least one of the plurality of internal modules, wherein at least one of the plurality of internal modules has a predetermined value based on the reference clock and the clock synchronization signal A semiconductor integrated circuit device that performs internal processing.
(Appendix 44)
44. The semiconductor integrated circuit device according to appendix 43, wherein the predetermined internal processing is internal clock generation processing for generating an internal clock supplied to the internal module.
(Appendix 45)
44. The semiconductor integrated circuit device according to appendix 43, wherein the predetermined internal processing is involved in the data transfer when the data transfer is performed between the plurality of internal modules via the internal bus, and at different operating frequencies. A semiconductor integrated circuit device characterized in that it is signal synchronization processing for performing synchronization control of a data signal between two operating internal modules.
(Appendix 46)
44. The semiconductor integrated circuit device according to appendix 43, wherein at least one of the plurality of internal modules includes a module that executes the predetermined internal processing in accordance with an effective clock edge of the reference clock. Integrated circuit device.

本発明の一実施例における基本的なプロセッサの構成を示すブロック図である。It is a block diagram which shows the structure of the basic processor in one Example of this invention. 基準クロック及びクロック同期信号を説明するための波形図である。It is a wave form diagram for demonstrating a reference clock and a clock synchronizing signal. 本発明の一実施例に係る半導体集積回路装置の内部モジュールを示すブロック図である。It is a block diagram which shows the internal module of the semiconductor integrated circuit device based on one Example of this invention. 本発明の一実施例に係る同期制御モジュールを示す回路図である。It is a circuit diagram which shows the synchronous control module which concerns on one Example of this invention. 本発明の一実施例に係る半導体集積回路装置を説明するための波形図である。It is a wave form diagram for demonstrating the semiconductor integrated circuit device based on one Example of this invention. 本発明の一実施例に係る同期制御モジュールを示す回路図である。It is a circuit diagram which shows the synchronous control module which concerns on one Example of this invention. 本発明の一実施例に係る同期制御モジュールを示す回路図である。It is a circuit diagram which shows the synchronous control module which concerns on one Example of this invention. 本発明の一実施例に係る同期制御モジュールを示す回路図である。It is a circuit diagram which shows the synchronous control module which concerns on one Example of this invention. 本発明の一実施例に係る同期制御方式を示すブロック図である。It is a block diagram which shows the synchronous control system which concerns on one Example of this invention. 本発明の一実施例に係る同期制御方式を示すブロック図である。It is a block diagram which shows the synchronous control system which concerns on one Example of this invention. 本発明の一実施例に係る同期制御モジュールを示す回路図である。It is a circuit diagram which shows the synchronous control module which concerns on one Example of this invention. 本発明の一実施例に係る半導体集積回路装置の内部モジュールを示すブロック図である。It is a block diagram which shows the internal module of the semiconductor integrated circuit device based on one Example of this invention. 基準クロックと1.5倍クロックを説明するための波形図である。It is a wave form diagram for demonstrating a reference | standard clock and a 1.5 time clock. 図13の場合のクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system in the case of FIG. クロック比が1:2.5の場合のクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system in case a clock ratio is 1: 2.5. クロック比が1:3.5の場合のクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system in case a clock ratio is 1: 3.5. クロック比が1:3の場合のクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system in case a clock ratio is 1: 3. 本発明の一実施例に係るクロック生成部を示すブロック図である。It is a block diagram which shows the clock generation part which concerns on one Example of this invention. 本発明の一実施例に係るクロック生成部を示すブロック図である。It is a block diagram which shows the clock generation part which concerns on one Example of this invention. 本発明の一実施例に係るクロック生成部を示すブロック図である。It is a block diagram which shows the clock generation part which concerns on one Example of this invention. 図20の実施例におけるクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system in the Example of FIG. 本発明の一実施例に係るクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system which concerns on one Example of this invention. 本発明の一実施例に係るクロック同期制御システムを示すブロック図である。1 is a block diagram illustrating a clock synchronization control system according to an embodiment of the present invention. 本発明の一実施例に係るクロック同期制御システムを示すブロック図である。1 is a block diagram illustrating a clock synchronization control system according to an embodiment of the present invention. 本発明の一実施例に係るクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system which concerns on one Example of this invention. 本発明の一実施例に係るクロック同期制御システムを示すブロック図である。1 is a block diagram illustrating a clock synchronization control system according to an embodiment of the present invention. 本発明の一実施例に係るクロック同期制御方式を説明するための波形図である。It is a wave form diagram for demonstrating the clock synchronous control system which concerns on one Example of this invention. 本発明の一実施例に係るクロック同期制御システムを示すブロック図である。1 is a block diagram illustrating a clock synchronization control system according to an embodiment of the present invention.

符号の説明Explanation of symbols

1 外部入力クロック
2 外部入力端子信号
3 PLL回路
4 クロック生成部
5 CPUコア
6、7 内部モジュール
8 クロック制御レジスタ
9 内部オンチップバス
10 高速の基準クロック
11、13 クロック同期信号
12 低速の基準クロック
14、15 クロック制御信号
DESCRIPTION OF SYMBOLS 1 External input clock 2 External input terminal signal 3 PLL circuit 4 Clock generation part 5 CPU cores 6 and 7 Internal module 8 Clock control register 9 Internal on-chip bus 10 High-speed reference clocks 11 and 13 Clock synchronization signal 12 Low-speed reference clock 14 , 15 Clock control signal

Claims (10)

内部バスと、
前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、
前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、
第1の基準クロックを生成して前記第1の内部モジュールに供給するとともに、
第2の基準クロック及び前記第1の基準クロックのクロックエッジの位置に対応する前記第2の基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部と
を備える半導体集積回路装置であって、
前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を行うとともに、前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、
前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を行うとともに、前記第2の基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
An internal bus,
A first internal module connected to the internal bus and having a first module body for realizing a predetermined function;
A second internal module connected to the internal bus and having a second module body for realizing a predetermined function, and transferring data via the first internal module and the internal bus;
Generating and supplying a first reference clock to the first internal module;
A clock synchronization signal indicating a valid clock edge position of the second reference clock corresponding to a second reference clock and a clock edge position of the first reference clock is generated and supplied to the second internal module. A semiconductor integrated circuit device comprising:
The first internal module performs predetermined processing according to the first reference clock in the first module body, and performs data transfer according to a clock edge of the first reference clock,
The second internal module performs predetermined processing according to the second reference clock in the second module main body, and data according to the effective clock edge based on the second reference clock and the clock synchronization signal. A semiconductor integrated circuit device that performs transfer.
内部バスと、
前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、
前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、
基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成して、前記第1の内部モジュール及び前記第2の内部モジュールに供給するクロック生成部と
を備える半導体集積回路装置であって、
前記第1の内部モジュールは、前記基準クロック及び前記クロック同期信号に基づいて前記第1のモジュール本体に供給される内部クロックを生成する内部クロック生成部を有し、前記第1のモジュール本体において前記内部クロックに従って所定の処理を実行するとともに、前記内部クロックのクロックエッジに従ってデータ転送を行い、
前記第2の内部モジュールは、前記第2のモジュール本体において前記基準クロックに従って所定の処理を実行するとともに、前記基準クロックと前記クロック同期信号に基づいて前記有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
An internal bus,
A first internal module connected to the internal bus and having a first module body for realizing a predetermined function;
A second internal module connected to the internal bus and having a second module body for realizing a predetermined function, and transferring data via the first internal module and the internal bus;
A semiconductor integrated circuit device comprising: a reference clock and a clock generation unit that generates a clock synchronization signal indicating a position of a valid clock edge of the reference clock and supplies the clock synchronization signal to the first internal module and the second internal module There,
The first internal module includes an internal clock generation unit that generates an internal clock supplied to the first module main body based on the reference clock and the clock synchronization signal. In the first module main body, Performs predetermined processing according to the internal clock and performs data transfer according to the clock edge of the internal clock,
The second internal module performs predetermined processing according to the reference clock in the second module main body and performs data transfer according to the effective clock edge based on the reference clock and the clock synchronization signal. A semiconductor integrated circuit device.
内部バスと、
前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、
前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールと、
第1の基準クロック及び前記第1の基準クロックの有効なクロックエッジの位置を示す第1のクロック同期信号を生成して前記第1の内部モジュールに供給するとともに、第2の基準クロック及び前記第2の基準クロックの有効なクロックエッジの位置を示す第2のクロック同期信号を生成して前記第2の内部モジュールに供給するクロック生成部と
を備える半導体集積回路装置であって、
前記第1の内部モジュールは、前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を実行するとともに、前記第1の基準クロック及び前記第1のクロック同期信号に基づいて前記第1の基準クロックのクロックエッジに従ってデータ転送を行い、
前記第2の内部モジュールは、前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を実行するとともに、前記第2の基準クロックと前記第2のクロック同期信号に基づいて前記第2の基準クロックの有効なクロックエッジに従ってデータ転送を行うことを特徴とする半導体集積回路装置。
An internal bus,
A first internal module connected to the internal bus and having a first module body for realizing a predetermined function;
A second internal module connected to the internal bus and having a second module body for realizing a predetermined function, and transferring data via the first internal module and the internal bus;
A first clock synchronization signal indicating a position of a valid clock edge of the first reference clock and the first reference clock is generated and supplied to the first internal module, and the second reference clock and the second reference clock are generated. A clock generation unit that generates a second clock synchronization signal indicating a position of a valid clock edge of two reference clocks and supplies the second clock synchronization signal to the second internal module, and a semiconductor integrated circuit device,
The first internal module performs predetermined processing in the first module body according to the first reference clock, and the first internal module based on the first reference clock and the first clock synchronization signal. Data transfer according to the clock edge of the reference clock
The second internal module executes a predetermined process according to the second reference clock in the second module main body, and the second internal module based on the second reference clock and the second clock synchronization signal. A semiconductor integrated circuit device that performs data transfer according to an effective clock edge of the reference clock.
請求項3記載の半導体集積回路装置であって、
前記第1の内部モジュールと前記第2の内部モジュールの間のデータ転送は、前記第1の基準クロックのクロック周波数と前記第2の基準クロックのクロック周波数の最大公約数に等しい動作周波数で行われることを特徴とする半導体集積回路装置。
The semiconductor integrated circuit device according to claim 3,
Data transfer between the first internal module and the second internal module is performed at an operating frequency equal to the greatest common divisor of the clock frequency of the first reference clock and the clock frequency of the second reference clock. A semiconductor integrated circuit device.
請求項3記載の半導体集積回路装置であって、
前記第1の基準クロックの有効なクロックエッジの位置と、前記第2の基準クロックの有効なクロックエッジの位置とは互いに一致していることを特徴とする半導体集積回路装置。
The semiconductor integrated circuit device according to claim 3,
A position of a valid clock edge of the first reference clock and a position of a valid clock edge of the second reference clock coincide with each other.
請求項3記載の半導体集積回路装置であって、
前記第1の内部モジュール及び前記第2の内部モジュールは、前記内部バス上のデータ信号を取り込むとき、前記第1のクロック同期信号又は前記第2のクロック同期信号に基づいて、前記内部バスに出力されたデータ信号の有効又は無効を示すバスコントロール信号を生成し、前記バスコントロール信号に従って前記データ信号を取り込むインターフェイス部を備えることを特徴とする半導体集積回路装置。
The semiconductor integrated circuit device according to claim 3,
When the first internal module and the second internal module capture a data signal on the internal bus, the first internal module and the second internal module output to the internal bus based on the first clock synchronization signal or the second clock synchronization signal A semiconductor integrated circuit device, comprising: an interface unit that generates a bus control signal indicating validity or invalidity of the data signal and fetches the data signal in accordance with the bus control signal.
請求項6記載の半導体集積回路装置であって、
前記第1の内部モジュールのデータバス幅と前記第2の内部モジュールのデータバス幅が異なっており、
前記第1の内部モジュール及び前記第2の内部モジュールのデータバス幅の小さい方の内部モジュールは、大きい方の内部モジュールから前記内部バス上に出力されたデータ信号を前記バスコントロール信号に従って分割して取り込むことを特徴とする半導体集積回路装置。
The semiconductor integrated circuit device according to claim 6,
The data bus width of the first internal module is different from the data bus width of the second internal module,
The internal module with the smaller data bus width of the first internal module and the second internal module divides the data signal output from the larger internal module onto the internal bus according to the bus control signal. A semiconductor integrated circuit device characterized by being captured.
請求項6記載の半導体集積回路装置であって、
前記第1の内部モジュールのデータバス幅と前記第2の内部モジュールのデータバス幅が異なっており、
前記第1の内部モジュール及び前記第2の内部モジュールのデータバス幅の小さい方の内部モジュールは、複数の前記インターフェイス部を有し、大きい方の内部モジュールから前記内部バス上に出力されたデータ信号を前記複数のインターフェイス部を介して並列的に取り込むことを特徴とする半導体集積回路装置。
The semiconductor integrated circuit device according to claim 6,
The data bus width of the first internal module is different from the data bus width of the second internal module,
The internal module with the smaller data bus width of the first internal module and the second internal module has a plurality of the interface units, and the data signal output from the larger internal module onto the internal bus Is incorporated in parallel via the plurality of interface units.
内部バスと、前記内部バスに接続され、所定の機能を実現する第1のモジュール本体を有する第1の内部モジュールと、前記内部バスに接続され、所定の機能を実現する第2のモジュール本体を有し、前記第1の内部モジュールと前記内部バスを介してデータ転送を行う第2の内部モジュールとを備える半導体集積回路装置で、前記第1の内部モジュールと前記第2の内部モジュールの間のデータ伝送を制御するデータ転送制御方法であって、
第1の基準クロック及び前記第1の基準クロックの有効なクロックエッジの位置を示す第1のクロック同期信号を生成して前記第1の内部モジュールに供給する第1のクロック生成ステップと、
第2の基準クロック及び前記第2の基準クロックの有効なクロックエッジの位置を示す第2のクロック同期信号を生成して前記第2の内部モジュールに供給する第2のクロック生成ステップと、
前記第1のモジュール本体において前記第1の基準クロックに従って所定の処理を実行するとともに、前記第1の基準クロック及び前記第1のクロック同期信号に基づいて前記第1の基準クロックの有効なクロックエッジに従ってデータ転送を行うように制御する第1のデータ転送制御ステップと、
前記第2のモジュール本体において前記第2の基準クロックに従って所定の処理を実行するとともに、前記第2の基準クロックと前記第2のクロック同期信号に基づいて前記第2の基準クロックの有効なクロックエッジに従ってデータ転送を行うように制御する第2のデータ転送制御ステップと
を有することを特徴とするデータ転送制御方法。
A first internal module having a first module body connected to the internal bus and realizing a predetermined function; and a second module body connected to the internal bus and realizing a predetermined function. A semiconductor integrated circuit device comprising: the first internal module; and a second internal module that transfers data via the internal bus, wherein the first internal module and the second internal module are arranged between the first internal module and the second internal module. A data transfer control method for controlling data transmission,
A first clock generation step of generating a first clock synchronization signal indicating a first reference clock and a position of a valid clock edge of the first reference clock and supplying the first clock synchronization signal to the first internal module;
A second clock generation step of generating a second reference clock and a second clock synchronization signal indicating a position of a valid clock edge of the second reference clock and supplying the second clock synchronization signal to the second internal module;
The first module main body executes predetermined processing according to the first reference clock, and an effective clock edge of the first reference clock based on the first reference clock and the first clock synchronization signal. A first data transfer control step for controlling to perform data transfer according to
The second module body executes predetermined processing according to the second reference clock, and an effective clock edge of the second reference clock based on the second reference clock and the second clock synchronization signal. A data transfer control method comprising: a second data transfer control step for controlling to perform data transfer according to:
内部バスと、
前記内部バスに接続され、所定の機能を実現するモジュール本体を有する複数の内部モジュールと、
基準クロック及び前記基準クロックの有効なクロックエッジの位置を示すクロック同期信号を生成し、前記複数の内部モジュールの少なくとも1つに供給するクロック生成部と
を備える半導体集積回路装置であって、前記複数の内部モジュールの少なくとも1つは、前記基準クロックと前記クロック同期信号に基づいて、所定の内部処理を行うことを特徴とする半導体集積回路装置。
An internal bus,
A plurality of internal modules connected to the internal bus and having a module body for realizing a predetermined function;
A clock generation unit that generates a reference clock and a clock synchronization signal indicating a position of a valid clock edge of the reference clock, and supplies the clock synchronization signal to at least one of the plurality of internal modules. At least one of the internal modules performs a predetermined internal process based on the reference clock and the clock synchronization signal.
JP2007234079A 2007-09-10 2007-09-10 Semiconductor integrated circuit device, clock control method and data transfer control method Pending JP2008041106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007234079A JP2008041106A (en) 2007-09-10 2007-09-10 Semiconductor integrated circuit device, clock control method and data transfer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007234079A JP2008041106A (en) 2007-09-10 2007-09-10 Semiconductor integrated circuit device, clock control method and data transfer control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003204617A Division JP4136822B2 (en) 2003-07-31 2003-07-31 Semiconductor integrated circuit device, clock control method, and data transfer control method

Publications (1)

Publication Number Publication Date
JP2008041106A true JP2008041106A (en) 2008-02-21

Family

ID=39175967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007234079A Pending JP2008041106A (en) 2007-09-10 2007-09-10 Semiconductor integrated circuit device, clock control method and data transfer control method

Country Status (1)

Country Link
JP (1) JP2008041106A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010074534A (en) * 2008-09-18 2010-04-02 Nec Corp Semiconductor device and communication method
JP2012003654A (en) * 2010-06-21 2012-01-05 Fujitsu Semiconductor Ltd Data processing system
JP2012099921A (en) * 2010-10-29 2012-05-24 Internatl Business Mach Corp <Ibm> Circuit and method for data transfer with clock domain crossing
CN107301262A (en) * 2016-04-15 2017-10-27 台湾积体电路制造股份有限公司 System on chip(SOC)Power consumption assessment method, implement this method system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10303874A (en) * 1997-04-28 1998-11-13 Nec Corp System for detecting synchronized edge between different clocks
JPH11145942A (en) * 1997-11-13 1999-05-28 Nec Ic Microcomput Syst Ltd Synchronization circuit, synchronization method therefor and lsi

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10303874A (en) * 1997-04-28 1998-11-13 Nec Corp System for detecting synchronized edge between different clocks
JPH11145942A (en) * 1997-11-13 1999-05-28 Nec Ic Microcomput Syst Ltd Synchronization circuit, synchronization method therefor and lsi

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010074534A (en) * 2008-09-18 2010-04-02 Nec Corp Semiconductor device and communication method
JP2012003654A (en) * 2010-06-21 2012-01-05 Fujitsu Semiconductor Ltd Data processing system
JP2012099921A (en) * 2010-10-29 2012-05-24 Internatl Business Mach Corp <Ibm> Circuit and method for data transfer with clock domain crossing
CN107301262A (en) * 2016-04-15 2017-10-27 台湾积体电路制造股份有限公司 System on chip(SOC)Power consumption assessment method, implement this method system
CN107301262B (en) * 2016-04-15 2023-11-17 台湾积体电路制造股份有限公司 Power consumption evaluation method of System On Chip (SOC) and system for implementing same

Similar Documents

Publication Publication Date Title
US10853304B2 (en) System on chip including clock management unit and method of operating the system on chip
JP4136822B2 (en) Semiconductor integrated circuit device, clock control method, and data transfer control method
US7398406B2 (en) Data processor
TWI460583B (en) Dynamic frequency control using coarse clock gating
US8531893B2 (en) Semiconductor device and data processor
TWI740988B (en) Semiconductor device
US11275708B2 (en) System on chip including clock management unit and method of operating the system on chip
US20220261061A1 (en) Semiconductor device
JP3665030B2 (en) Bus control method and information processing apparatus
JP5808097B2 (en) Semiconductor device and reset control method in semiconductor device
JP2008041106A (en) Semiconductor integrated circuit device, clock control method and data transfer control method
CN107436856B (en) Communication device with direct control and related method
US10248155B2 (en) Semiconductor device including clock generating circuit and channel management circuit
US8645602B2 (en) Microcomputer
JP2019160150A (en) Semiconductor device
US20150106635A1 (en) Semiconductor integrated circuit and method of controlling the same
JP2000276435A (en) Method and device for data transfer
JP2005010958A (en) Semiconductor device
JP2006164036A (en) Multi-cpu clock control system, control method therefor and program therefor
JP2010033314A (en) Bus access circuit device and bus access method
JP2018088096A (en) Controller and control method thereof
JP2006065444A (en) Semiconductor integrated circuit and data processor
JP2009205291A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100720

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100921

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110506

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110513

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20110715