JP2001274333A - Hard macro cell and system lsi - Google Patents

Hard macro cell and system lsi

Info

Publication number
JP2001274333A
JP2001274333A JP2000087409A JP2000087409A JP2001274333A JP 2001274333 A JP2001274333 A JP 2001274333A JP 2000087409 A JP2000087409 A JP 2000087409A JP 2000087409 A JP2000087409 A JP 2000087409A JP 2001274333 A JP2001274333 A JP 2001274333A
Authority
JP
Japan
Prior art keywords
clock
clock signal
delay
flip
signal
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
JP2000087409A
Other languages
Japanese (ja)
Inventor
Hideya Kishigami
秀哉 岸上
Hiroki Muroga
啓希 室賀
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000087409A priority Critical patent/JP2001274333A/en
Publication of JP2001274333A publication Critical patent/JP2001274333A/en
Pending legal-status Critical Current

Links

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a hard macro cell which allows a fine adjustment of an inner clock delay after a system LSI is manufactured. SOLUTION: The hard macro cell comprises a clock input terminal to input a clock signal from outside, flip-flop circuit which is operated, based on the clock signal inputted from the clock input terminal, clock signal delay circuit for generating a clock delay from the clock input terminal to a clock input terminal of the flip-flop circuit, and controller for controlling the quantity of the clock delay generated by the clock signal delay circuit from outside.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CPUコア等のハ
ードマクロセル、及びハードマクロセルを搭載したシス
テムLSIに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a hard macro cell such as a CPU core and a system LSI equipped with the hard macro cell.

【0002】[0002]

【従来の技術】CPUコアとユーザロジックを内蔵する
システムLSIを開発するに当たり、通常、設計段階で
ユーザロジック部のクロックスキューをできる限り小さ
く抑えるために、CTS(clock tree sy
nthesis)を行う。これにより、ユーザロジック
内の各フリップフロップに供給されるクロックのスキュ
ーが最小になるようにしている。
2. Description of the Related Art In developing a system LSI incorporating a CPU core and user logic, a CTS (clock tree system) is usually used in order to minimize the clock skew of the user logic unit at the design stage.
nthesis). Thus, the skew of the clock supplied to each flip-flop in the user logic is minimized.

【0003】このCTSは、レイアウトの実配線情報
(遅延情報)及び各セルの遅延情報に基づき行うが、製
造プロセスの微細化により、これら遅延情報に基づいた
クロックスキューの設計と実デバイスでのクロックスキ
ューが必ずしも正確に一致しなくなってきている。
The CTS is performed based on the actual wiring information (delay information) of the layout and the delay information of each cell. Due to the miniaturization of the manufacturing process, the design of the clock skew based on the delay information and the clock signal in the actual device are performed. Queues do not always match exactly.

【0004】CPUコアも、ユーザロジックと同様にC
TSを用い、CPUコア内部の各フリップフロップでの
クロックスキューを最小になるようにレイアウト設計が
なされている。CPUコアは、汎用性が高く、使い回し
が利くため、通常、確定したレイアウトを持ったハード
マクロセルとして供給されている。CPUコア内部のク
ロック入力端子からCPUコア内部のフリップフロップ
までのディレイは、高い精度で一定(フリップフロップ
間でのクロックスキューが小さい)となるようにレイア
ウト設計されている。
[0004] The CPU core also has C
The layout is designed to minimize the clock skew in each flip-flop inside the CPU core using the TS. Since the CPU core has high versatility and is easy to use, it is usually supplied as a hard macro cell having a fixed layout. The layout is designed so that the delay from the clock input terminal inside the CPU core to the flip-flop inside the CPU core is constant with high accuracy (the clock skew between the flip-flops is small).

【0005】図9は、従来のCPUコアを搭載したシス
テムLSIの要部構成図である。
FIG. 9 is a block diagram of a main part of a system LSI equipped with a conventional CPU core.

【0006】CPUコア120にクロックを供給する場
合、このCPUコア120を含んだ全体のシステムが理
想的に動作するように、このシステムの基幹クロックを
生成するクロックジェネレータ110からCPUコア1
20のクロック入力端子120a(或いはCPUコア内
部のフリップフロップ121のクロック端子121a)
までのクロック信号CK1の遅延時間と、クロックジェ
ネレータ110からユーザロジック130内部における
フリップフロップ131のクロック端子131aまでの
クロック信号CK3の遅延時間とを調整する必要がある
(図10のd参照)。ここでも先に説明した通り、シミ
ュレーションが、実デバイスでの動作を正確に反映でき
ないため、必ずしも正確に一致していない。
When a clock is supplied to the CPU core 120, a clock generator 110 that generates a main clock of the system includes a CPU core 1 so that the entire system including the CPU core 120 operates ideally.
20 clock input terminals 120a (or clock terminals 121a of flip-flops 121 inside the CPU core)
It is necessary to adjust the delay time of the clock signal CK1 up to and the delay time of the clock signal CK3 from the clock generator 110 to the clock terminal 131a of the flip-flop 131 in the user logic 130 (see d in FIG. 10). As described above, the simulation does not always accurately reflect the operation in the actual device, as described above.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来のシステムLSIにおいて、CPUコア120までの
クロック遅延と、ユーザロジック130のフリップフロ
ップ131までのクロック遅延を精度高く正確に調整す
ることは、非常に困難なことであった。
However, in the above-mentioned conventional system LSI, it is very difficult to precisely and accurately adjust the clock delay up to the CPU core 120 and the clock delay up to the flip-flop 131 of the user logic 130. It was difficult.

【0008】実際にシステムLSIを製造して初めて、
クロック遅延値の調整が必要なことが判明することもあ
り、LSIを製造した後にLSI内のクロックスキュー
を微調整することはできなかった。このため、クロック
スキューに関するトラブルが発生すると、再度LSIを
修正(リファイン)する必要があり、修正時間とコスト
が非常にかかっていた。
For the first time after actually manufacturing a system LSI,
In some cases, it was found that the clock delay value needed to be adjusted, and it was not possible to finely adjust the clock skew in the LSI after the LSI was manufactured. For this reason, when a trouble relating to clock skew occurs, it is necessary to correct (refine) the LSI again, and the correction time and cost are extremely high.

【0009】また、CPUコアを内蔵するシステムLS
Iにおいて、LSI全体のクリティカル・タイミング
は、しばしばCPUコア120と他のユーザロジック部
130との信号の受け渡し部で生じる場合がある。例え
ばCPUコア120のアドレスバスやデータバスには多
数の負荷がつくため、これら信号でのディレイが大きく
なり、セットアップ・タイミングが厳しくなる。これに
関しても、設計時点でのシミュレーション確認によっ
て、製造プロセス/環境(温度、電圧)がワーストの場
合でもベストの場合でも問題が生じないように設計/調
整する。
A system LS having a built-in CPU core
In I, the critical timing of the entire LSI often occurs in a signal transfer section between the CPU core 120 and another user logic section 130. For example, a large number of loads are applied to the address bus and the data bus of the CPU core 120, so that the delay of these signals increases and the setup timing becomes severe. Regarding this as well, the simulation is confirmed at the time of design so that the design / adjustment is performed so that no problem occurs even if the manufacturing process / environment (temperature, voltage) is the worst or the best.

【0010】しかし、タイミング調整が厳しい場合、こ
の部分の調整に非常に時間を要したり、或いは設計期間
の時間切れからターゲット・スペックを緩和したりして
対処する場合もしばしば生じているのが現状であり、何
らかの手段により、この部分のタイミング調整をより簡
単にする方法が望まれていた。
[0010] However, when the timing adjustment is severe, it often takes a long time to adjust this portion, or to reduce the target specification after the time out of the design period, to cope with it. At present, there has been a demand for a method of making the timing adjustment of this portion easier by some means.

【0011】本発明は、上述の如き従来の問題点を解決
するためになされたもので、その目的は、システムLS
Iを製造した後に内部のクロックディレイを微調整する
ことができるハードマクロセル、及びこれを搭載したシ
ステムLSIを提供することである。
The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to provide a system LS.
An object of the present invention is to provide a hard macro cell capable of finely adjusting an internal clock delay after manufacturing I, and a system LSI mounting the same.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明に係るハードマクロセルでは、
信号のディレイ量を生成する信号遅延回路と、前記信号
遅延回路で生成される信号ディレイ量を制御する制御手
段とを備えたことを特徴とする。
In order to achieve the above object, a hard macro cell according to the first aspect of the present invention comprises:
A signal delay circuit for generating a signal delay amount, and control means for controlling a signal delay amount generated by the signal delay circuit are provided.

【0013】請求項2記載の発明に係るハードマクロセ
ルでは、外部よりクロック信号を入力するクロック入力
端子と、前記クロック入力端子から入力されたクロック
信号に基づいて動作するフリップフロップと、前記クロ
ック入力端子から前記フリップフロップのクロック入力
端子までのクロックディレイ量を生成するクロック信号
遅延回路と、前記クロック信号遅延回路で生成されるク
ロックディレイ量を外部から制御する制御手段とを備え
たこと特徴とする。
According to a second aspect of the present invention, in the hard macro cell, a clock input terminal for inputting a clock signal from the outside, a flip-flop that operates based on the clock signal input from the clock input terminal, and the clock input terminal A clock signal delay circuit for generating a clock delay amount from the clock signal to a clock input terminal of the flip-flop; and control means for externally controlling a clock delay amount generated by the clock signal delay circuit.

【0014】請求項3記載の発明に係るハードマクロセ
ルでは、外部よりクロック信号を入力するクロック入力
端子と、前記クロック入力端子から入力されたクロック
信号を遅延させる第1及び第2のクロック信号遅延回路
と、前記第一及び第2のクロック信号遅延回路からそれ
ぞれ出力された第1及び第2の遅延クロック信号に基づ
いて動作する第1及び第2のフリップフロップとを備え
たハードマクロセルであって、前記第1のクロック信号
遅延回路から出力される第1の遅延クロック信号を前記
第1のフリップフロップのクロック入力信号とし、前記
第2のクロック信号遅延回路から出力される第2の遅延
クロック信号を前記第2のフリップフロップのクロック
入力信号とすると共に、第1のフリップフロップの出力
データを外部に出力し、外部からの入力データを前記第
2のフリップフロップのデータ入力とし、前記第1及び
前記第2のクロック信号遅延回路によって生成されるク
ロックディレイ量を外部から制御可能に構成したことを
特徴とする。
According to a third aspect of the present invention, in the hard macro cell, a clock input terminal for inputting a clock signal from the outside, and first and second clock signal delay circuits for delaying the clock signal input from the clock input terminal. And a first and a second flip-flop operating based on the first and second delayed clock signals output from the first and second clock signal delay circuits, respectively, A first delayed clock signal output from the first clock signal delay circuit is used as a clock input signal of the first flip-flop, and a second delayed clock signal output from the second clock signal delay circuit is A clock input signal of the second flip-flop and output data of the first flip-flop are output to the outside. The input data from the outside is used as the data input of the second flip-flop, and the amount of clock delay generated by the first and second clock signal delay circuits can be controlled from the outside. I do.

【0015】請求項4記載の発明に係るハードマクロセ
ルでは、請求項3記載のハードマクロセルにおいて、L
SI内部ロジックのディレイ量を自動的に検出するディ
レイ量検出回路の検出信号により、前記第1及び前記第
2のクロック信号遅延回路のクロックディレイ量を制御
する構成にしたことを特徴とする。
According to a fourth aspect of the present invention, in the hard macro cell according to the third aspect, L
It is characterized in that a clock delay amount of the first and second clock signal delay circuits is controlled by a detection signal of a delay amount detection circuit that automatically detects a delay amount of SI internal logic.

【0016】請求項5記載の発明に係るシステムLSI
では、請求項1乃至請求項4記載のハードマクロセルを
備えたことを特徴とする。
A system LSI according to a fifth aspect of the present invention.
According to another aspect of the present invention, there is provided a hard macro cell according to any one of claims 1 to 4.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】[第1実施形態]図1は、本発明の第1実
施形態に係るシステムLSIの要部構成図であり、図2
は、図1中の要部端子部分の波形を示すタイミング図で
ある。
[First Embodiment] FIG. 1 is a block diagram of a main part of a system LSI according to a first embodiment of the present invention.
FIG. 2 is a timing chart showing waveforms of main terminal portions in FIG.

【0019】このシステムLSIは、システムの基幹ク
ロックを生成するクロックジェネレータ10を有し、こ
のクロックジェネレータ10から出力されたクロック信
号CK1,CK3は、本発明の特徴を成すクロックディ
レイ調整機能を内蔵したCPUコア20と、ユーザロジ
ック30にそれぞれ供給されるようになっている。
This system LSI has a clock generator 10 for generating a basic clock of the system. The clock signals CK1 and CK3 output from the clock generator 10 have a built-in clock delay adjusting function which is a feature of the present invention. It is supplied to the CPU core 20 and the user logic 30, respectively.

【0020】図中の20aは、クロック信号CK1が入
力されるCPUコア20のクロック入力端子であり、2
0bは、コントロール信号CTが入力されるCPUコア
20のコントロール入力端子である。このCPUコア2
0には、クロック入力端子20aからCPUコア内部に
おけるフリップフロップ23のクロック入力端子23a
までのクロック遅延を可変することが可能なクロック信
号遅延回路21と、そのクロック信号遅延回路21で生
成されるディレイ量を、CPUコア外部からのコントロ
ール信号CTにより選択するセレクタ22とを、クロッ
クディレイ調整機能として備えている。
Reference numeral 20a in the figure denotes a clock input terminal of the CPU core 20 to which the clock signal CK1 is input.
0b is a control input terminal of the CPU core 20 to which the control signal CT is input. This CPU core 2
0, the clock input terminal 20a of the flip-flop 23 inside the CPU core is connected to the clock input terminal 20a.
A clock signal delay circuit 21 capable of varying the clock delay up to and a selector 22 for selecting a delay amount generated by the clock signal delay circuit 21 by a control signal CT from outside the CPU core. Provided as an adjustment function.

【0021】クロック信号遅延回路21は、CPUコア
20に入力されるクロック信号CK1に対してCPUコ
ア20内部でのディレイ量を生成する手段として、遅延
素子群21a,21b,21cで構成される三つの遅延
経路と、遅延素子を介さないダイレクト経路とで構成さ
れ、セレクタ22は、これらの経路をコントロール信号
CTにより選択するようになっている。
The clock signal delay circuit 21 includes delay element groups 21a, 21b and 21c as means for generating a delay amount in the CPU core 20 with respect to the clock signal CK1 input to the CPU core 20. The selector 22 is configured by one delay path and a direct path that does not pass through a delay element, and the selector 22 selects these paths by the control signal CT.

【0022】具体的には、フリップフロップ23に供給
されるクロック信号CK2の位相をコントロール信号C
Tにより微調整するに際し、セレクタ22がダイレクト
経路を選択したときは、図2に示すように、最小のディ
レイ量D1に設定され、遅延素子群21aの経路を選択
した時は、ディレイ量D2(D2>D1)に設定され、
遅延素子群21bの経路を選択した時は、ディレイ量D
3(D3>D2)に設定され、そして、遅延素子群21
cの経路を選択した時は、最大のディレイ量D4に設定
される。
Specifically, the phase of the clock signal CK2 supplied to the flip-flop 23 is
When the selector 22 selects the direct path for fine adjustment by T, the delay amount is set to the minimum delay amount D1, as shown in FIG. 2, and when the path of the delay element group 21a is selected, the delay amount D2 ( D2> D1), and
When the path of the delay element group 21b is selected, the delay amount D
3 (D3> D2), and the delay element group 21
When the route c is selected, the maximum delay amount D4 is set.

【0023】前述したように、CPUコアを内蔵するシ
ステムLSIを開発するに当たり、CPUコア20を動
作させるクロックとユーザシステム部30を動作させる
クロックのスキューの調整は、必須の項目である。しか
しながら、その調整は、シミュレーションと実デバイス
で異なることが多々あるため、非常に難しい作業であっ
た。このようなシステムLSIを多数開発する際、その
製品毎にスキュー調整を行わなければならない。
As described above, in developing a system LSI incorporating a CPU core, adjustment of the skew between the clock for operating the CPU core 20 and the clock for operating the user system unit 30 is an essential item. However, the adjustment was a very difficult task because it often differs between the simulation and the actual device. When a large number of such system LSIs are developed, skew adjustment must be performed for each product.

【0024】このような点に鑑み、本実施形態では、C
PUコア等のように汎用性が高く使い回しの利くハード
マクロセルの内部に、クロック信号のディレイ値を調整
する機能を持たせるようにしたので、ユーザシステム部
30のクロックディレイだけをCTSで確定させ、CP
Uコア20とのスキュー調整を、CPUコア20の持つ
クロックディレイ調整機能で合わせ込むことにより、製
品開発の期間を短縮することが可能になる。すなわち、
システムLSIを製造した後に、CPUコア内部のクロ
ックディレイ量を微調整することにより、クロックスキ
ューに起因したトラブルが生じた場合でも、システムL
SIを再度設計、製造し直すことなしに、当該トラブル
を解決することができる。
In view of the above, in the present embodiment, C
Since the function of adjusting the delay value of the clock signal is provided inside a hard macro cell which is versatile and easy to use like a PU core, only the clock delay of the user system unit 30 is determined by CTS. , CP
By matching the skew adjustment with the U core 20 by the clock delay adjustment function of the CPU core 20, it is possible to shorten the period of product development. That is,
By finely adjusting the amount of clock delay inside the CPU core after manufacturing the system LSI, even if a trouble due to clock skew occurs, the system
The trouble can be solved without redesigning and manufacturing the SI again.

【0025】なお、クロック信号CK1のディレイ量を
指定するための手段として、CPUコア外部からのコン
トロール信号CTを用いたが、CPUコア内部に、ディ
レイ量の指定データを格納したレジスタを設けるように
してもよい。
Although the control signal CT from outside the CPU core is used as a means for designating the delay amount of the clock signal CK1, a register storing delay amount designation data is provided inside the CPU core. You may.

【0026】[第2実施形態]図3は、本発明の第2実
施形態にかかるシステムLSIの要部構成図であり、図
4及び図5は、図3中の要部端子部分の波形を示すタイ
ミング図である。
[Second Embodiment] FIG. 3 is a block diagram of a main part of a system LSI according to a second embodiment of the present invention. FIGS. 4 and 5 show waveforms of main part terminals in FIG. It is a timing diagram shown.

【0027】本実施形態では、CPUコア40からの出
力データを生成するフリップフロップ23−1へのクロ
ック信号CK2aと、CPUコア40への入力データの
受信するフリップフロップ23−2へのクロック信号C
K2bとに対して、CPUコア40のクロック入力端子
40aから、それぞれフリップフロップ23−1,23
−2の各クロック入力端子23−1a,23−2aまで
のディレイ量を別々に調整するための手段を設けたもの
である。
In this embodiment, a clock signal CK2a to the flip-flop 23-1 for generating output data from the CPU core 40 and a clock signal C to the flip-flop 23-2 for receiving input data to the CPU core 40 are provided.
K2b from the clock input terminal 40a of the CPU core 40 through the flip-flops 23-1 and 23-3, respectively.
-2, means for separately adjusting the delay amount to each of the clock input terminals 23-1a and 23-2a.

【0028】具体的には、本実施形態のCPUコア40
は、クロック入力端子40aから入力されるクロック信
号CK1のディレイ量を生成する第1及び第2のクロッ
ク信号遅延回路21−1,21−2と、そのクロック信
号遅延回路21−1,21−2で生成されるディレイ量
を、それぞれCPUコア外部からのコントロール信号C
T1,CT2により選択するセレクタ22−1,22−
2とを、クロックディレイ調整機能として備えている。
Specifically, the CPU core 40 of the present embodiment
Are first and second clock signal delay circuits 21-1 and 21-2 for generating a delay amount of the clock signal CK1 input from the clock input terminal 40a, and the clock signal delay circuits 21-1 and 21-2. And the delay amount generated by the control signal C
Selectors 22-1 and 22 selected by T1 and CT2
2 is provided as a clock delay adjustment function.

【0029】そして、セレクタ22−1から出力される
第1の遅延クロック信号CK2aを、CPUコア40内
のフリップフロップ23−1のクロック入力信号とし、
第2のクロック信号遅延回路22−2から出力される第
2の遅延クロック信号CK2bを、CPUコア40内の
フリップフロップ23−2のクロック入力信号とする構
成である。
The first delayed clock signal CK2a output from the selector 22-1 is used as a clock input signal for the flip-flop 23-1 in the CPU core 40,
The configuration is such that the second delayed clock signal CK2b output from the second clock signal delay circuit 22-2 is used as a clock input signal of the flip-flop 23-2 in the CPU core 40.

【0030】さらに、フリップフロップ23−1の出力
がCPUコア40の出力端子からユーザロジック50の
フリップフロップ51に出力され、フリップフロップ2
3−2のデータ入力は、ユーザロジック50のフリップ
フロップ52から出力されたデータとなっている。
Further, the output of the flip-flop 23-1 is output from the output terminal of the CPU core 40 to the flip-flop 51 of the user logic 50, and the flip-flop 2
The data input of 3-2 is the data output from the flip-flop 52 of the user logic 50.

【0031】本実施形態のクロックディレイの調整は、
次のように行う。
The adjustment of the clock delay of this embodiment is as follows.
Proceed as follows.

【0032】製造プロセスにおいて、トランジスタの動
作電圧閾値Vthを高く或いはゲート幅を大きく設定し
た場合、温度が高い場合、または電源電圧を低くした場
合は信号のスピードが遅くなる。このような場合におい
ては、図4に示すように、第1の遅延クロック信号CK
2aのディレイ量を小さくし、第2の遅延クロック信号
CK2bのディレイ量を大きくする。これによって、C
PUコア40とユーザロジック50との間のクロックサ
イクルが大きくなり.セットアップマージンを十分確保
することができる。
In the manufacturing process, when the operating voltage threshold Vth of the transistor is set high or the gate width is set large, when the temperature is high, or when the power supply voltage is low, the signal speed becomes slow. In such a case, as shown in FIG. 4, the first delayed clock signal CK
2a, the delay amount of the second delayed clock signal CK2b is increased. This gives C
The clock cycle between the PU core 40 and the user logic 50 becomes large. A sufficient setup margin can be secured.

【0033】一方、製造プロセスにおいて、トランジス
タの動作電圧閾値Vthを低く或いはゲート幅を小さく
設定した場合、温度が低い場合、または電源電圧を高く
した場合は信号のスピードが早くなる。このような場合
においては、図5に示すように、第1の遅延クロック信
号CK2aのディレイ量を大きくし、第2の遅延クロッ
ク信号CK2bのディレイ量を小さくする。これによっ
て、CPUコア40とユーザロジック50との間のクロ
ックサイクルが小さくなり.ホールドマージンを十分確
保することができる。
On the other hand, in the manufacturing process, when the operating voltage threshold Vth of the transistor is set low or the gate width is set small, when the temperature is low, or when the power supply voltage is high, the signal speed is increased. In such a case, as shown in FIG. 5, the delay amount of the first delayed clock signal CK2a is increased, and the delay amount of the second delayed clock signal CK2b is decreased. As a result, the clock cycle between the CPU core 40 and the user logic 50 is reduced. A sufficient hold margin can be secured.

【0034】このような本実施形態では、システムLS
Iの製造プロセスマージンや動作マージンを、従来より
も拡大することが可能である。すなわち、CPUコア4
0からの出力データのフリップフロップ23−1をコン
トロールするクロックCK2aと、CPUコア40への
入力データのフリップフロップ23−2をコントロール
するクロックCK2bに対して、製造プロセス(動作電
圧閾値Vth,ゲート幅)/温度/電圧によるLSI内
部のロジックスピードの早い/遅いに応じて、CPUコ
ア40のクロック入力端子40aからフリップフロップ
23−1,23−2の各クロック端子23−1a,23
−2aまでのディレイ量を微調整することにより、CP
Uコア40と他のユーザロジック部50とのセットアッ
プ(スピード遅い時)/ホールド(スピード早い時)マ
ージンを従来よりも大きくとることができる。
In this embodiment, the system LS
It is possible to increase the manufacturing process margin and the operation margin of I than before. That is, the CPU core 4
The clock CK2a for controlling the flip-flop 23-1 of the output data from 0 and the clock CK2b for controlling the flip-flop 23-2 of the input data to the CPU core 40 are subjected to the manufacturing process (operating voltage threshold Vth, gate width). ) / Temperature / Voltage, depending on whether the logic speed inside the LSI is fast or slow, from the clock input terminal 40a of the CPU core 40 to the clock terminals 23-1a, 23-2 of the flip-flops 23-1, 23-2.
By finely adjusting the delay amount up to -2a, the CP
The setup (when the speed is slow) / hold (when the speed is fast) margin between the U core 40 and the other user logic unit 50 can be made larger than before.

【0035】[第3実施形態]図6は、本発明の第3実
施形態にかかるシステムLSIの要部構成図であり、図
7は、図6中のスピード検出回路の構成図である。ま
た、図8は、図7の回路のタイミング図である。
[Third Embodiment] FIG. 6 is a configuration diagram of a main part of a system LSI according to a third embodiment of the present invention, and FIG. 7 is a configuration diagram of a speed detection circuit in FIG. FIG. 8 is a timing chart of the circuit of FIG.

【0036】本実施形態では、上記第2実施形態の構成
において、製造プロセス(動作電圧閾値Vth,ゲート
幅)/温度/電圧による内部ロジックスピードのディレ
イ量を自動的に検出するスピード検出回路60を設け、
CPUコア40のクロック入力端子40aからフリップ
フロップ23−1,23−2の各クロック入力端子まで
のディレイ量調整を、前記スピード検出回路60からの
出力(コントロール信号CT)により行うようにしたも
のである。
In the present embodiment, the speed detecting circuit 60 for automatically detecting the delay amount of the internal logic speed based on the manufacturing process (operating voltage threshold Vth, gate width) / temperature / voltage in the configuration of the second embodiment is described. Provided,
The delay amount from the clock input terminal 40a of the CPU core 40 to the clock input terminals of the flip-flops 23-1 and 23-2 is adjusted by an output (control signal CT) from the speed detection circuit 60. is there.

【0037】スピード検出回路60は、フリップフロッ
プ61,62間にディレイパス63が設けられた構成に
おいて、そのフリップフロップ61,62の各出力デー
タの一致/不一致を比較し、上記コントロール信号CT
を出力する比較回路(XOR回路)64を備えている。
In a configuration in which a delay path 63 is provided between flip-flops 61 and 62, the speed detection circuit 60 compares the output data of the flip-flops 61 and 62 for coincidence / non-coincidence.
(XOR circuit) 64 for outputting the same.

【0038】ディレイパス63による遅延がクロックC
Kの1周期より小さい場合(スピードが早い場合)は、
図8に示すように、比較器64の出力であるコントロー
ル信号CTがHIGHレベルになる。一方、ディレイパ
ス63による遅延がクロックCKの1周期より大きい場
合(スピードが遅い場合)は、コントロール信号CTが
LOWレベルになり、CPUコア40のクロック信号C
K2a,CK2bの位相を最適になるように調整する。
The delay caused by the delay path 63 is the clock C
If it is smaller than one cycle of K (when the speed is fast),
As shown in FIG. 8, the control signal CT output from the comparator 64 goes high. On the other hand, when the delay due to the delay path 63 is longer than one cycle of the clock CK (when the speed is low), the control signal CT becomes LOW level and the clock signal C
The phases of K2a and CK2b are adjusted to be optimal.

【0039】このような本実施形態では、CPUコア4
0に入力されるクロック入力信号CK1のディレイ量の
調節をLSI内部のスピード自動検出回路60により調
整することにより、自動的にCPUコア40と他のユー
ザロジック部50とのセットアップ(スピード遅い時)
/ホールド(スピード早い時)マージンを大きくするこ
とができる。
In this embodiment, the CPU core 4
By adjusting the delay amount of the clock input signal CK1 input to 0 by the automatic speed detection circuit 60 in the LSI, the setup between the CPU core 40 and the other user logic unit 50 is automatically performed (when the speed is low).
/ Hold (when speed is high) margin can be increased.

【0040】[0040]

【発明の効果】以上詳細に説明したように、本発明によ
れば、CPUコアなどのハードマクロセルを搭載したシ
ステムLSIにおいて、システムLSIを製造した後
に、本発明のクロックディレイ調整機能によりハードマ
クロセル内部のクロックディレイを微調整することが可
能である。これにより、クロックスキューに起因したト
ラブルが生じた場合でも、システムLSIを再度設計、
製造し直すことなしに、当該トラブルを解決することが
可能になる。
As described above in detail, according to the present invention, in a system LSI on which a hard macro cell such as a CPU core is mounted, after the system LSI is manufactured, the clock delay adjusting function of the present invention is used to adjust the inside of the hard macro cell. Can be fine-tuned. As a result, even if a trouble due to clock skew occurs, the system LSI is designed again,
The trouble can be solved without remanufacturing.

【0041】また、システムLSIの製造プロセスマー
ジンや動作マージンを拡げることも可能になる。
In addition, it is possible to increase a manufacturing process margin and an operation margin of the system LSI.

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

【図1】本発明の第1実施形態にかかるシステムLSI
の要部構成図である。
FIG. 1 is a system LSI according to a first embodiment of the present invention;
FIG.

【図2】図1中の要部端子部分の波形を示すタイミング
図である。
FIG. 2 is a timing chart showing waveforms of main terminal portions in FIG.

【図3】本発明の第2実施形態にかかるシステムLSI
の要部構成図である。
FIG. 3 is a system LSI according to a second embodiment of the present invention;
FIG.

【図4】図3中の要部端子部分の波形を示すタイミング
図である。
FIG. 4 is a timing chart showing waveforms of main terminal portions in FIG. 3;

【図5】図3中の要部端子部分の波形を示すタイミング
図である。
FIG. 5 is a timing chart showing waveforms of main terminal portions in FIG. 3;

【図6】本発明の第3実施形態にかかるシステムLSI
の要部構成図である。
FIG. 6 is a system LSI according to a third embodiment of the present invention;
FIG.

【図7】図6中のスピード検出回路の構成図である。FIG. 7 is a configuration diagram of a speed detection circuit in FIG. 6;

【図8】図7の回路のタイミング図である。FIG. 8 is a timing diagram of the circuit of FIG. 7;

【図9】従来のCPUコアを搭載したシステムLSIの
要部構成図である。
FIG. 9 is a configuration diagram of a main part of a system LSI equipped with a conventional CPU core.

【図10】図9中の要部端子部分の波形を示すタイミン
グ図である。
FIG. 10 is a timing chart showing waveforms of main terminal portions in FIG. 9;

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

10 クロックジェネレータ 20 CPUコア 21 クロック信号遅延回路 21a,21b,21c 遅延素子群 22 セレクタ 20a,23a,31a クロック入力端子 20b コントロール入力端子 23,31 フリップフロップ 30 ユーザロジック CK1,CK2,CK3 クロック信号 CT コントロール信号 Reference Signs List 10 clock generator 20 CPU core 21 clock signal delay circuit 21a, 21b, 21c delay element group 22 selector 20a, 23a, 31a clock input terminal 20b control input terminal 23, 31 flip-flop 30 user logic CK1, CK2, CK3 clock signal CT control signal

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5F038 CD06 CD09 DF07 DF11 EZ20 5F064 AA04 BB09 BB18 BB19 DD25 EE47 EE54  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5F038 CD06 CD09 DF07 DF11 EZ20 5F064 AA04 BB09 BB18 BB19 DD25 EE47 EE54

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 信号のディレイ量を生成する信号遅延回
路と、 前記信号遅延回路で生成される信号ディレイ量を制御す
る制御手段とを備えたことを特徴とするハードマクロセ
ル。
1. A hard macro cell comprising: a signal delay circuit for generating a signal delay amount; and control means for controlling a signal delay amount generated by the signal delay circuit.
【請求項2】 外部よりクロック信号を入力するクロッ
ク入力端子と、 前記クロック入力端子から入力されたクロックのディレ
イ量を生成するクロック信号遅延回路と、 前記クロック信号遅延回路で生成されるクロックディレ
イ量を外部から制御する制御手段と、前記制御手段によ
り選択されたクロックディレイ量分遅延したクロック信
号に基づいて動作するフリップフロップとを備えたこと
を特徴とするハードマクロセル。
2. A clock input terminal for externally inputting a clock signal, a clock signal delay circuit for generating a delay amount of a clock input from the clock input terminal, and a clock delay amount generated by the clock signal delay circuit And a flip-flop that operates based on a clock signal delayed by a clock delay amount selected by the control unit.
【請求項3】 外部よりクロック信号を入力するクロッ
ク入力端子と、 前記クロック入力端子から入力されたクロック信号を遅
延させる第1及び第2のクロック信号遅延回路と、前記
第一及び第2のクロック信号遅延回路からそれぞれ出力
された第1及び第2の遅延クロック信号に基づいて動作
する第1及び第2のフリップフロップとを備えたハード
マクロセルであって、 前記第1のクロック信号遅延回路から出力される第1の
遅延クロック信号を前記第1のフリップフロップのクロ
ック入力信号とし、前記第2のクロック信号遅延回路か
ら出力される第2の遅延クロック信号を前記第2のフリ
ップフロップのクロック入力信号とすると共に、第1の
フリップフロップの出力データを外部に出力し、外部か
らの入力データを前記第2のフリップフロップのデータ
入力とし、前記第1及び前記第2のクロック信号遅延回
路によって生成されるクロックディレイ量を外部から制
御可能に構成したことを特徴とするハードマクロセル。
3. A clock input terminal for externally inputting a clock signal, first and second clock signal delay circuits for delaying a clock signal input from the clock input terminal, and the first and second clocks A hard macro cell comprising: first and second flip-flops that operate based on first and second delayed clock signals output from a signal delay circuit, respectively. The first delayed clock signal is used as the clock input signal of the first flip-flop, and the second delayed clock signal output from the second clock signal delay circuit is used as the clock input signal of the second flip-flop. And outputs the output data of the first flip-flop to the outside, and inputs the input data from the outside to the second flip-flop. Hard macro cell and flop data input, characterized by being capable of controlling the clock delay amount generated by said first and said second clock signal delay circuit externally.
【請求項4】 LSI内部ロジックのディレイ量を自動
的に検出するディレイ量検出回路の検出信号により、前
記第1及び前記第2のクロック信号遅延回路のクロック
ディレイ量を制御する構成にしたことを特徴とする請求
項3記載のハードマクロセル。
4. A configuration in which a clock delay amount of said first and second clock signal delay circuits is controlled by a detection signal of a delay amount detection circuit for automatically detecting a delay amount of an LSI internal logic. 4. The hard macro cell according to claim 3, wherein:
【請求項5】 請求項1乃至請求項4記載のハードマク
ロセルを備えたことを特徴とするシステムLSI。
5. A system LSI comprising the hard macro cell according to claim 1.
JP2000087409A 2000-03-27 2000-03-27 Hard macro cell and system lsi Pending JP2001274333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000087409A JP2001274333A (en) 2000-03-27 2000-03-27 Hard macro cell and system lsi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000087409A JP2001274333A (en) 2000-03-27 2000-03-27 Hard macro cell and system lsi

Publications (1)

Publication Number Publication Date
JP2001274333A true JP2001274333A (en) 2001-10-05

Family

ID=18603422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000087409A Pending JP2001274333A (en) 2000-03-27 2000-03-27 Hard macro cell and system lsi

Country Status (1)

Country Link
JP (1) JP2001274333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181857A (en) * 2015-03-25 2016-10-13 ラピスセミコンダクタ株式会社 Skew adjustment device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181857A (en) * 2015-03-25 2016-10-13 ラピスセミコンダクタ株式会社 Skew adjustment device
US9602090B2 (en) 2015-03-25 2017-03-21 Lapis Semiconductor Co., Ltd. Skew adjustment apparatus

Similar Documents

Publication Publication Date Title
US7904874B2 (en) Opposite-phase scheme for peak current reduction
US7236035B2 (en) Semiconductor device adapted to minimize clock skew
US8291364B2 (en) Automated digital circuit design tool that reduces or eliminates adverse timing constraints do to an inherent clock signal skew, and applications thereof
US6078202A (en) Semiconductor device having portions that operate at different frequencies, and method of designing the device
US7327180B2 (en) Information processing apparatus with adjustable system clock
US5831459A (en) Method and system for adjusting a clock signal within electronic circuitry
US20100253409A1 (en) Clock generation system and clock dividing module
US8091053B2 (en) System, method, and program for generating circuit
JP4603903B2 (en) Load variation compensation circuit, electronic device, test apparatus, and timing generation circuit
Semba et al. Comparison of RTL conversion and GL conversion from synchronous circuits to asynchronous circuits
JP2001274333A (en) Hard macro cell and system lsi
JP2000091506A (en) Semiconductor integrated circuit
JP3873019B2 (en) Operation verification system and adaptive control system
US8060850B2 (en) Method for designing semiconductor integrated circuit
JP3385167B2 (en) System including phase adjustment circuit and phase adjustment method
JP2001257566A (en) Latch circuit with enable function
JP2003216271A (en) Semiconductor integrated circuit
JP2004343291A (en) Phase adjusting circuit
US6903997B2 (en) Operation verification system and adaptive control system
US6981166B2 (en) Method, apparatus, and computer program product for pacing clocked operations
JP2005010958A (en) Semiconductor device
JP2007336028A (en) Variable delay control apparatus
JP2006332897A (en) Semiconductor integrated circuit
JP3958586B2 (en) Signal processing apparatus and signal processing method
JP2000322458A (en) Optimizing processing method for logic circuit and logic design system using the same