JPH0821592B2 - Integrated circuit - Google Patents

Integrated circuit

Info

Publication number
JPH0821592B2
JPH0821592B2 JP63242779A JP24277988A JPH0821592B2 JP H0821592 B2 JPH0821592 B2 JP H0821592B2 JP 63242779 A JP63242779 A JP 63242779A JP 24277988 A JP24277988 A JP 24277988A JP H0821592 B2 JPH0821592 B2 JP H0821592B2
Authority
JP
Japan
Prior art keywords
oscillation
gate
circuit
clock
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63242779A
Other languages
Japanese (ja)
Other versions
JPH0316136A (en
Inventor
敬治 木場
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63242779A priority Critical patent/JPH0821592B2/en
Publication of JPH0316136A publication Critical patent/JPH0316136A/en
Publication of JPH0821592B2 publication Critical patent/JPH0821592B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bipolar Transistors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル集積回路に関し、特に内部クロッ
ク用の複数の発振回路の1つを選択して使用する集積回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital integrated circuit, and more particularly to an integrated circuit which selects and uses one of a plurality of oscillator circuits for an internal clock.

〔従来の技術〕[Conventional technology]

従来、システムクロック用の発振回路を内蔵している
集積回路では、発振子をその発振回路から引出した端子
に接続することで発振を行なわせ、その発振信号を内部
システムクロックとして使用している。また、複数の集
積回路と同期動作を行なわせる場合や発振子の使用数量
を少なくする為にその集積回路の発振回路を使用せずに
発振子を接続する端子を通して他の集積回路のクロック
出力を供給するという使用方法もある。
Conventionally, in an integrated circuit incorporating an oscillation circuit for a system clock, oscillation is performed by connecting an oscillator to a terminal drawn from the oscillation circuit, and the oscillation signal is used as an internal system clock. In addition, when performing synchronous operation with multiple integrated circuits or to reduce the number of oscillators used, the clock output of other integrated circuits can be output through the terminals that connect the oscillators without using the oscillator circuit of the integrated circuit. There is also a usage method of supplying.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述の従来の集積回路は、どちらの使用方法にも適用
することができなければならない。しかし、発振回路を
複数個有する集積回路でその内部状態によりいずれかの
発振回路の選択を行ってその信号をシステムクロックと
する集積回路では、他の集積回路と同期動作を行なわせ
ることができない。特に、その集積回路の発振回路の選
択に応じて他のチップも共通のクロックで動作させるこ
とが困難である。
The conventional integrated circuit described above must be applicable to either method of use. However, an integrated circuit having a plurality of oscillation circuits, which selects one of the oscillation circuits according to its internal state and uses the signal as a system clock, cannot perform a synchronous operation with other integrated circuits. In particular, it is difficult to operate other chips with a common clock depending on the selection of the oscillation circuit of the integrated circuit.

本発明の目的は、このような欠点を除き、発振用端子
からの外部クロックを同期させてシステムクロックとし
て使用できると共に、使用発振回路を外部でモニタでき
るようにした集積回路を提供することにある。
An object of the present invention is to eliminate the above drawbacks and to provide an integrated circuit in which an external clock from an oscillation terminal can be synchronized and used as a system clock and an oscillation circuit used can be externally monitored. .

〔課題を解決するための手段〕[Means for solving the problem]

本発明の構成は、複数の発振回路と、これら発振回路
の発振出力のいずれを選択するかを指示する選択レジス
タと、この選択レジスタの指示により前記発振出力の1
つを選択してシステムクロックとする第1のゲート手段
とを有する集積回路において、前記選択レジスタの内容
にかかわらず外部クロックと内部クロックとを切替える
切替信号に従って前記発振回路のうちの第1の発振回路
の出力信号をシステムクロックとして選択する第2のゲ
ート回路と、前記切替信号に従って前記選択レジスタの
内容を前記第1の発振回路以外の発振回路の外部クロッ
ク入力端子から出力する第3のゲート回路とを有するこ
とを特徴とする。
According to the configuration of the present invention, a plurality of oscillation circuits, a selection register for instructing which one of the oscillation outputs of these oscillation circuits is selected, and one of the oscillation outputs by the instruction of the selection register.
A first gate means for selecting one of them as a system clock according to a switching signal for switching between an external clock and an internal clock regardless of the contents of the selection register. A second gate circuit for selecting an output signal of the circuit as a system clock; and a third gate circuit for outputting the contents of the selection register according to the switching signal from an external clock input terminal of an oscillation circuit other than the first oscillation circuit. And having.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を説明する回路図である。
本実施例の集積回路は、第1の発振回路10、第2の発振
回路20、これら発振回路10,20の発振子接続端子1,3、発
振子接続端子兼外部クロック入力端子2,4、トランスミ
ッションゲート11,21,80、ANDゲート51,52、ORゲート5
4、HANDゲート60、インバータ70、ラッチ40から構成さ
れる。ここでは選択レジスタの一例として、ラッチ40を
用いているが、発振出力のいずれを選択するかを指示で
きるレジスタ相当の回路であればよい。
FIG. 1 is a circuit diagram illustrating an embodiment of the present invention.
The integrated circuit of this embodiment includes a first oscillator circuit 10, a second oscillator circuit 20, oscillator connection terminals 1 and 3 of these oscillator circuits 10 and 20, oscillator connection terminals and external clock input terminals 2 and 4, Transmission gates 11,21,80, AND gates 51,52, OR gate 5
4, HAND gate 60, inverter 70, latch 40. Here, the latch 40 is used as an example of the selection register, but any circuit corresponding to a register capable of instructing which of the oscillation outputs is selected may be used.

第1の発振回路10には発振子接続端子1とトランシミ
ッションゲート11を介して発振子接続端子2が接続さ
れ、発振子接続端子2は同時にANDゲート51の一方の入
力となり、ANDゲート51の他方の入力はHANDゲート60の
出力が入力される。第2の発振回路20には発振子接続端
子3とトランスミッションゲート21を介して発振子接続
端子4が接続され、発振子接続端子4は同時にANDゲー
ト52の1つの入力なり、トランスミッションゲート80を
介してANDゲート52の他の入力となり、さらにこのトラ
ンスミッションゲート80を通った信号はHANDゲート60の
入力となり、ラッチ40の出力と接続される。ANDゲート5
2の残りの入力は通常状態と外部クロック入力状態の切
替信号が切替端子8から入力される。ANDゲート52,51の
出力はそれぞれORゲート54の入力となり、ORゲート54の
出力は集積回路内のシステムクロックとなる。
The first oscillator circuit 10 is connected to the oscillator connection terminal 1 and the oscillator connection terminal 2 via the transmission gate 11, and the oscillator connection terminal 2 simultaneously serves as one input of the AND gate 51 and is connected to the AND gate 51. The output of the HAND gate 60 is input to the other input. The second oscillator circuit 20 is connected to the oscillator connection terminal 3 and the oscillator connection terminal 4 via the transmission gate 21, and the oscillator connection terminal 4 simultaneously serves as one input of the AND gate 52 and the transmission gate 80. The signal that has passed through the transmission gate 80 becomes the input of the HAND gate 60 and is connected to the output of the latch 40. AND gate 5
A switching signal between the normal state and the external clock input state is input from the switching terminal 8 to the remaining inputs of 2. The outputs of the AND gates 52 and 51 become the inputs of the OR gate 54, and the output of the OR gate 54 becomes the system clock in the integrated circuit.

ラッチ40は通常状態で発振回路10,20のいずれか一方
の信号をシステムクロックとするかを選択する内容を保
持するが、この内容の書替部は図示されておらず、集積
回路の他の部分によって行なわれる。
In the normal state, the latch 40 holds the content for selecting which one of the oscillation circuits 10 and 20 is used as the system clock. Done by part.

通常状態の外部クロックとの切替信号は、集積回路の
図示されない他の部分で発生され、トランスミッション
ゲート11,21のゲート入力及びANDゲート52,NANDゲート6
0、インバータ70に入力され、インバータ70の出力はト
ランスミッションゲート80のゲートに入力されている。
The switching signal with the external clock in the normal state is generated in another part (not shown) of the integrated circuit, and the gate inputs of the transmission gates 11 and 21 and the AND gate 52 and the NAND gate 6 are provided.
0, input to the inverter 70, and the output of the inverter 70 is input to the gate of the transmission gate 80.

この回路は、通常状態では切替信号がハイレベルとな
っており、トランスミッションゲート11,21は導通状態
となっている。また、インバータ70により切替信号は反
転され、トランスミッションゲート80は不通状態となっ
ている。
In this circuit, the switching signal is at a high level in the normal state, and the transmission gates 11 and 21 are in the conductive state. Further, the switching signal is inverted by the inverter 70, and the transmission gate 80 is in a non-conductive state.

この状態で発振子接続端1,2間及び端子3,4間にそれぞ
れ発振子を接続すると、各発振回路10,21は発振子に応
じた周波数で発振を開始する。今、ラッチ40の出力がハ
イレベルの時は、NAND60の両入力がハイレベルとなり、
HAND60の出力がローレベルとなり、AND51の一入力がロ
ーレベルとなり、発振回路10の信号はORゲート54に入力
されない。
When an oscillator is connected between the oscillator connection terminals 1 and 2 and between the terminals 3 and 4 in this state, the oscillation circuits 10 and 21 start oscillating at a frequency according to the oscillator. Now, when the output of the latch 40 is high level, both inputs of the NAND60 become high level,
The output of HAND60 becomes low level, one input of AND51 becomes low level, and the signal of the oscillation circuit 10 is not input to the OR gate 54.

また、発振回路20の発振信号は、AND52の他の入力が
ハイレベルであるので、AND52の出力からOR54を通して
システムクロックとなる。また、ラッチ40の出力がロー
レベルの時は、AND52出力がローレベルに固定され、NAN
D60の出力がハイレベルに固定されるので、発振回路10
の信号がAND51とOR54を通じてシステムクロックとして
供給される。また、ラッチ40の切替タイミングは両発振
器10,20の信号の立上り,立下りの切替に同期して行う
必要があるが、直接関係しないので説明は省略する。
The oscillation signal of the oscillation circuit 20 becomes the system clock from the output of the AND52 through the OR54 because the other input of the AND52 is at the high level. Also, when the output of the latch 40 is low level, the AND52 output is fixed to low level and NAN
Since the output of D60 is fixed at the high level, the oscillation circuit 10
Signal is supplied as a system clock through AND51 and OR54. Further, the switching timing of the latch 40 needs to be performed in synchronization with the rising and falling switching of the signals of both oscillators 10 and 20, but since it is not directly related, the description is omitted.

さて、外部信号をシステムクロックとして使用する場
合は、切替信号がローレベルとなる。これによって、ト
ランシミッションゲート11,21は不通となり、NANDゲー
ト60の出力はハイレベル固定、AND52の出力はローレベ
ル固定となる。従って、発振子接続端子2からの外部ク
ロックがORゲート54を通してシステムクロックとなる。
また、インバータ70の出力がハイレベルとなるので、ラ
ッチ40の出力がトランスミッションゲート80を通して発
振子接続端子4から出力される。
When an external signal is used as the system clock, the switching signal becomes low level. As a result, the transmission gates 11 and 21 are cut off, the output of the NAND gate 60 is fixed at the high level, and the output of the AND 52 is fixed at the low level. Therefore, the external clock from the oscillator connection terminal 2 becomes the system clock through the OR gate 54.
Further, since the output of the inverter 70 becomes high level, the output of the latch 40 is output from the oscillator connection terminal 4 through the transmission gate 80.

第2図は本発明の第2の実施例を示す回路図である。
本実施例は、第1の実施例に対し、第3の発振子回路3
0、その発振子接続端子5、発振子接続端子兼外部クロ
ック入力端子6、トランスミッションゲート31,81、ラ
ッチ41、デコーダ90,ANDゲート53が追加され、またORゲ
ート54は3入力ゲートとなり、ANDゲート53の出力が挿
入されている。ラッチ40とラッチ41の出力をデコーダ90
によりデコードし、このデコード出力によりAND51,52,5
3のいずれかを選択的に有効とする点である。
FIG. 2 is a circuit diagram showing a second embodiment of the present invention.
This embodiment is different from the first embodiment in that the third oscillator circuit 3
0, its oscillator connection terminal 5, oscillator connection terminal and external clock input terminal 6, transmission gates 31, 81, latch 41, decoder 90, AND gate 53 are added, and OR gate 54 becomes a 3-input gate and AND The output of gate 53 is inserted. Decoder 90 outputs the outputs of latch 40 and latch 41.
AND51,52,5 by this decoding output
The point is that any one of the three is enabled selectively.

本実施例では、発振回路10〜30の選択に2ビットのラ
ッチが必要であり、その情報をそれぞれ発振子接続端子
兼外部クロック入力端子4,6から出力することができ
る。
In this embodiment, a 2-bit latch is required to select the oscillation circuits 10 to 30, and the information can be output from the oscillator connection terminal / external clock input terminals 4 and 6, respectively.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、複数の発振回路の1つ
を内部の動作状態に応じてシステムクロックとする集積
回路に、内部のクロック切替を強制的に禁止する手段
と、クロック切替状態を外部へ出力する手段とを付加す
ることにより、内蔵発振回路を使用せずに外部から供給
されるクロックで他のチップと同期動作を行うことがで
きると共に、内部のクロック切替の状態を外部へ出力し
ているので、これを使用して外部からの供給クロック周
波数を変化させることも可能であるという効果がある。
As described above, according to the present invention, a means for forcibly prohibiting internal clock switching in an integrated circuit that uses one of a plurality of oscillation circuits as a system clock according to an internal operating state, and a clock switching state as an external signal. By adding a means to output to, it is possible to perform a synchronous operation with another chip by the clock supplied from the outside without using the built-in oscillator circuit, and output the internal clock switching state to the outside. Therefore, it is possible to change the clock frequency supplied from the outside by using this.

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

第1図,第2図は本発明の第1および第2の実施例の回
路図である。 1,3,5……発振子接続端子、2,4,6……発振子接続端子兼
外部クロック入力端子、7……クロック端子、8……切
替端子、10,20,30……発振回路、11,21,31,80,81……ト
ランスミッションゲート、40,41……ラッチ、51〜53…
…ANDゲート、54……ORゲート、60……NANDゲート、70
……インバータ、90……デコーダ。
1 and 2 are circuit diagrams of the first and second embodiments of the present invention. 1,3,5 …… Resonator connection terminal, 2,4,6 …… Resonator connection terminal and external clock input terminal, 7 …… Clock terminal, 8 …… Switching terminal, 10,20,30 …… Oscillation circuit , 11,21,31,80,81 …… Transmission gate, 40,41 …… Latch, 51 ~ 53…
… AND gate, 54 …… OR gate, 60 …… NAND gate, 70
...... Inverter, 90 …… Decoder.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の発振回路と、これら発振回路の発振
出力のいずれを選択するかを指示する選択レジスタと、
この選択レジスタの指示により前記発振出力の1つを選
択してシステムクロックとする第1のゲート手段とを有
する集積回路において、前記選択レジスタの内容にかか
わらず外部クロックと内部クロックとを切替える切替信
号に従って前記発振回路のうちの第1の発振回路の出力
信号をシステムクロックとして選択する第2のゲート回
路と、前記切替信号に従って前記選択レジスタの内容を
前記第1の発振回路以外の発振回路の外部クロック入力
端子から出力する第3のゲート回路とを有することを特
徴とする集積回路。
1. A plurality of oscillation circuits, and a selection register for instructing which one of the oscillation outputs of these oscillation circuits is selected.
A switching signal for switching between an external clock and an internal clock regardless of the contents of the selection register in an integrated circuit having a first gate means for selecting one of the oscillation outputs as a system clock according to an instruction from the selection register. A second gate circuit for selecting an output signal of a first oscillation circuit of the oscillation circuits as a system clock in accordance with the above, and the contents of the selection register according to the switching signal outside the oscillation circuit other than the first oscillation circuit. An integrated circuit having a third gate circuit for outputting from a clock input terminal.
JP63242779A 1988-09-27 1988-09-27 Integrated circuit Expired - Lifetime JPH0821592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63242779A JPH0821592B2 (en) 1988-09-27 1988-09-27 Integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63242779A JPH0821592B2 (en) 1988-09-27 1988-09-27 Integrated circuit

Publications (2)

Publication Number Publication Date
JPH0316136A JPH0316136A (en) 1991-01-24
JPH0821592B2 true JPH0821592B2 (en) 1996-03-04

Family

ID=17094160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63242779A Expired - Lifetime JPH0821592B2 (en) 1988-09-27 1988-09-27 Integrated circuit

Country Status (1)

Country Link
JP (1) JPH0821592B2 (en)

Also Published As

Publication number Publication date
JPH0316136A (en) 1991-01-24

Similar Documents

Publication Publication Date Title
US4970405A (en) Clock selection circuit for selecting one of a plurality of clock pulse signals
US4797576A (en) Flip-flop circuit with short propagation delay
JP3183260B2 (en) Scan flip-flop circuit
US6456113B2 (en) Scan flip-flop circuit having scan logic output terminal dedicated to scan test
US6472909B1 (en) Clock routing circuit with fast glitchless switching
US5656959A (en) Clock synthesizer dual function pin system and method therefor
US5926044A (en) Clock switching device and method
US20020075042A1 (en) Clock switchover circuit
US6147537A (en) Reset circuit for flipflop
US4722070A (en) Multiple oscillation switching circuit
US5969548A (en) Frequency divider with low power consumption
US5587675A (en) Multiclock controller
US6578168B1 (en) Method for operating a boundary scan cell design for high performance I/O cells
JPH0821592B2 (en) Integrated circuit
KR100291126B1 (en) Circuit device including a plurality of sub-circuits and clock signal regeneration circuits
US20040095166A1 (en) Clock switching circuit
US4785468A (en) Intermittent receiver
JP2849007B2 (en) Semiconductor integrated circuit
JPH1194914A (en) Scan path control circuit
JPH01194014A (en) Clock switching device
US6567944B1 (en) Boundary scan cell design for high performance I/O cells
US5642060A (en) Clock generator
JP2964799B2 (en) Semiconductor integrated circuit
KR910002120Y1 (en) D flip-flop and buffer
JP2658889B2 (en) Semiconductor integrated circuit and test method therefor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080304

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 13