JPH02284520A - Semiconductor integrated circuit - Google Patents
Semiconductor integrated circuitInfo
- Publication number
- JPH02284520A JPH02284520A JP10631489A JP10631489A JPH02284520A JP H02284520 A JPH02284520 A JP H02284520A JP 10631489 A JP10631489 A JP 10631489A JP 10631489 A JP10631489 A JP 10631489A JP H02284520 A JPH02284520 A JP H02284520A
- Authority
- JP
- Japan
- Prior art keywords
- frequency division
- dividing
- division value
- frequency
- program
- 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.)
- Granted
Links
Landscapes
- Microcomputers (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、供給されるクロックパルスを所定比で分周し
て動作の基本クロックとする半導体集積回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor integrated circuit that divides a supplied clock pulse by a predetermined ratio to obtain a basic clock for operation.
第3図は本出願人が特願昭61−278330号で提案
したプログラマブルクロック分周器を内蔵する半導体集
積回路の構成を示すブロック図である。図中1は原クロ
ツク発生回路であって、分周回路2は、原クロツク発生
回路1が発生した原クロックを、後述する分周値設定手
段5によって設定された分周比で分周し、半導体集積回
路に内蔵されたプログラム記憶回路等のその他の回路3
に与える。FIG. 3 is a block diagram showing the structure of a semiconductor integrated circuit incorporating a programmable clock frequency divider proposed by the present applicant in Japanese Patent Application No. 61-278330. In the figure, 1 is an original clock generation circuit, and a frequency division circuit 2 divides the original clock generated by the original clock generation circuit 1 by a division ratio set by a division value setting means 5, which will be described later. Other circuits such as program storage circuits built into semiconductor integrated circuits 3
give to
分周値レジスタ4は分周回路2に与える分周値を格納し
、分周値設定手段5は内蔵するプログラム記憶回路に書
き込まれたプログラム又は外部から読み込んだプログラ
ムに従って分周値レジスタ4に分周値を設定する。リセ
ット信号入力ピン8は外部からのりセント信号(RES
[!T)を入力して分周値レジスタ4に与え、分周値レ
ジスタ4に格納されている分周値をリセットする。初期
分周値設定手段6は、リセット時に分周値レジスタ4へ
初期分周値を出力する。The frequency division value register 4 stores the frequency division value given to the frequency division circuit 2, and the frequency division value setting means 5 divides the frequency division value into the frequency division value register 4 according to the program written in the built-in program storage circuit or the program read from the outside. Set the frequency value. Reset signal input pin 8 accepts an external signal (RES).
[! T) is input and given to the frequency division value register 4, and the frequency division value stored in the frequency division value register 4 is reset. The initial frequency division value setting means 6 outputs the initial frequency division value to the frequency division value register 4 at the time of reset.
以上のような構成の従来のクロック分周器を内蔵した半
導体集積回路では、内蔵プログラム又は外部から与えら
れたプログラムを実行する際、これらのプログラムの冒
頭に所要分周値を書き込んでおき、プログラムの実行に
通した基本クロックを得る。In a conventional semiconductor integrated circuit with a built-in clock frequency divider configured as described above, when executing a built-in program or an externally given program, the required frequency division value is written at the beginning of these programs, and the program is executed. Obtain the basic clock used for execution.
即ち、より高速に動作させたい場合は分周値をより小さ
くする命令、より低速に動作させたい場合は分周値をよ
り大きくする命令をプログラムの冒頭に書き込んでおく
。このようにして、処理速度をプログラムの処理内容に
応した最適の速度に設定することにより、全体としての
処理速度は落とさずに、例えばCMO5半導体集積回路
においてはスイフチングによる消費電力を減少すること
ができる。That is, if you want to operate faster, write an instruction to reduce the frequency division value, and if you want to operate at lower speed, write an instruction to increase the frequency division value at the beginning of the program. In this way, by setting the processing speed to the optimum speed according to the processing content of the program, it is possible to reduce power consumption due to swifting in, for example, a CMO5 semiconductor integrated circuit, without reducing the overall processing speed. can.
一方、リセット信号入力ピン8から信号“1”が入力さ
れたりセント時には、分周値レジスタ4に格納されてい
る分周値がリセットされ、初期分周値設定手段6から分
周値レジスタ4に初期分周値が与えられる。分周回路2
は分周値レジスタ4に格納されている初期分周値に従っ
て、原クロツク発生回路1が発生した原クロックを分周
し、これを基本クロックとしてその他の回路3及び分周
値設定手段5へ出力する。On the other hand, when the signal "1" is input from the reset signal input pin 8 or at the time of cent, the frequency division value stored in the frequency division value register 4 is reset, and the frequency division value stored in the frequency division value register 4 is transferred from the initial frequency division value setting means 6 to the frequency division value register 4. An initial frequency division value is given. Frequency divider circuit 2
divides the original clock generated by the original clock generation circuit 1 according to the initial frequency division value stored in the frequency division value register 4, and outputs this as a basic clock to the other circuits 3 and the frequency division value setting means 5. do.
従って、上述のような従来の半導体集積回路を搭載した
マイクロコンピュータにおいて、リセット時に、プログ
ラムによらない、例えば内部ROMからの読出しテスト
等を行う場合、分周比は固定されたままであって、動作
に応した適当な値に変更することが不可能であった。Therefore, in a microcomputer equipped with the conventional semiconductor integrated circuit as described above, when performing a test that is not based on a program, such as reading from an internal ROM, at reset, the frequency division ratio remains fixed and the operation It was impossible to change the value to an appropriate value.
本発明はこのような問題を解決するためになされたもの
であって、プログラムによらない動作時には外部から与
えられる信号に従って、分周比を設定できるようにする
ことにより、プログラムによらない動作時においても最
適の基本クロックを得られる半導体集積回路の提供を目
的とする。The present invention has been made to solve such problems, and by making it possible to set the frequency division ratio according to an externally applied signal during non-programmed operation, The purpose of the present invention is to provide a semiconductor integrated circuit that can obtain an optimal basic clock even in the case of a semiconductor device.
本発明の半導体集積回路は、複数の分周比を設定し得る
分周比設定手段と、分周比設定手段が設定すべき分周比
を入力端子から入力された信号等に応じて選択する手段
とを備えたことを特徴とする。The semiconductor integrated circuit of the present invention includes a frequency division ratio setting means that can set a plurality of frequency division ratios, and a frequency division ratio that the frequency division ratio setting means should set according to a signal etc. input from an input terminal. It is characterized by comprising means.
本発明の半導体集積回路は、複数の分周比を記憶してお
き、プログラムによる通常動作時には、プログラムによ
って設定される分周比に従い原クロックを分周して動作
の基本クロックとする一方、プログラムによらない動作
時には、入力端子から入力される選択信号に応じて分周
比を選択し、選択した分周比に従って原クロックを分周
し、これを、プログラムによらない動作の基本クロック
として他の回路に与え、プログラムによらない動作時に
も最適の処理速度で動作する。The semiconductor integrated circuit of the present invention stores a plurality of frequency division ratios, and during normal operation according to a program, divides the original clock according to the frequency division ratio set by the program and uses it as a basic clock for operation. During operation not based on a program, the frequency division ratio is selected according to the selection signal input from the input terminal, the original clock is divided according to the selected frequency division ratio, and this is used as the basic clock for operation not based on a program. circuit, and operates at optimal processing speed even when not programmed.
以下、本発明をその実施例を示す図面に基づき詳述する
。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on drawings showing embodiments thereof.
第1図は本発明に係る半導体集積回路の構成を示すブロ
ック図である。図中1は原クロツク発生回路であって、
分周回路2は、原クロツク発生回路1が発生した原クロ
ックを、設定された分周比で分周し、半導体集積回路に
内蔵されたプログラム記憶回路等のその他の回路3に与
える。分局値レジスタ4は分周回路2に与える分周値を
格納し、分周値設定手段5は内蔵するプログラム記憶回
路に書き込まれたプログラム又は外部から読み込んだプ
ログラムに従って分周値レジスタ4に分周値を設定する
。リセット信号入力ピン8は外部からのりセント信号(
R[!5ET)を入力して分周値レジスタ4に与える。FIG. 1 is a block diagram showing the configuration of a semiconductor integrated circuit according to the present invention. 1 in the figure is the original clock generation circuit,
The frequency dividing circuit 2 divides the original clock generated by the original clock generating circuit 1 by a set frequency division ratio and supplies the divided clock to other circuits 3 such as a program storage circuit built in the semiconductor integrated circuit. The division value register 4 stores the division value given to the frequency division circuit 2, and the division value setting means 5 divides the frequency into the division value register 4 according to the program written in the built-in program storage circuit or the program read from the outside. Set the value. Reset signal input pin 8 accepts an external signal (
R [! 5ET) and gives it to the frequency division value register 4.
セレクタ7は外部から初期分周値セレクトピン91,9
2.93を介して入力された選択信号(SEL 1,2
.3)に従って、例えばディジタルスインチ、コード発
生回路等からなる4つの初期分周値設定手段61,62
,63.64のいずれかを選択し、初期分周値(A)
、 (B) 、 (C) 、 (D)のいずれかを分周
値レジスタ4に格納する。Selector 7 is externally connected to initial frequency division value select pins 91, 9.
2.93 input selection signal (SEL 1, 2
.. 3), four initial frequency division value setting means 61, 62 consisting of, for example, a digital switch, a code generation circuit, etc.
, 63.64, and set the initial frequency division value (A).
, (B), (C), or (D) is stored in the frequency division value register 4.
以上のような構成の半導体集積回路のりセント時の動作
につき説明する。なお、プログラムに依存した通常動作
時の動作は前述の従来回路の動作と同様である。The operation of the semiconductor integrated circuit having the above-described configuration at the time of installation will be explained. Note that the operation during normal operation depending on the program is similar to the operation of the conventional circuit described above.
リセット信号入力ピン8から“1″が入力されたリセッ
ト時には、分周値レジスタ4に格納されている分周値が
リセットされ、セレクタ7が選択する初期分周値が分周
値レジスタ4に格納される。At the time of reset when "1" is input from the reset signal input pin 8, the frequency division value stored in the frequency division value register 4 is reset, and the initial frequency division value selected by the selector 7 is stored in the frequency division value register 4. be done.
セレクタ7は、初期分周値セレクトピン91,92.9
3を介して与えられる信号が“0.0.0”の時に初期
分周値設定手段61を選択して初期分周値(A)を、“
1゜0.0”の時に初期分周値設定手段62を選択して
初期分周値(B)を、“0,1.0”の時に初期分周値
設定手段63を選択して初期分周値(C)を、“0,0
.1”の時に初期分周値設定手段64を選択して初期分
周値(D)を分周値レジスタ4に格納する。The selector 7 has initial frequency division value select pins 91, 92.9.
3 is "0.0.0", the initial frequency division value setting means 61 is selected to set the initial frequency division value (A) to "0.0.0".
When the value is 1°0.0, the initial frequency division value setting means 62 is selected to set the initial frequency division value (B), and when the value is "0, 1.0", the initial frequency division value setting means 63 is selected and the initial frequency division value (B) is set. The circumference value (C) is “0,0
.. 1'', the initial frequency division value setting means 64 is selected and the initial frequency division value (D) is stored in the frequency division value register 4.
分周回路2は分周値レジスタ4に格納されている初期分
周値に従って、原クロツク発生回路1が発生する原クロ
ックを分周し、これを、リセット時に、例えばROMか
らデータを読み出す際の基本クロックとしてその他の回
路3及び分周値設定手段5へ出力する。The frequency dividing circuit 2 divides the original clock generated by the original clock generating circuit 1 according to the initial frequency division value stored in the frequency division value register 4, and uses this at the time of reset, for example, when reading data from a ROM. It is output to other circuits 3 and frequency division value setting means 5 as a basic clock.
リセット信号入力ピン8から0″が入力されてリセット
が解除された後は、分周値設定手段5のみが分周値レジ
スタ4に分周値を設定する。その際、内蔵回路に書き込
まれたプログラム又は外部から読み込んだプログラムの
分周比変更命令が実行されると、分周値設定手段5はプ
ログラムの命令に応じた分周値を分周値レジスタ4に設
定し、分周回路2は分周値レジスタ4に格納された分周
比に応じて原クロックを分周する。After the reset is canceled by inputting 0'' from the reset signal input pin 8, only the frequency division value setting means 5 sets the frequency division value in the frequency division value register 4. At that time, the frequency division value written in the built-in circuit When a frequency division ratio change instruction of a program or a program read from an external device is executed, the frequency division value setting means 5 sets a frequency division value according to the program instruction in the frequency division value register 4, and the frequency division circuit 2 The frequency of the original clock is divided according to the frequency division ratio stored in the frequency division value register 4.
なお、上記実施例では初期分周値セレクトピンを3本備
えた構成としたが、選択対象が4つの場合、第2図に示
す如く、初期分周値セレクトピンは2本で充分である。In the above embodiment, three initial frequency division value selection pins are provided, but if there are four selection targets, two initial frequency division value selection pins are sufficient as shown in FIG.
即ち、セレクタ7は、初期分周値セレクトピン91.9
2を介して与えられる信号が“o、o”の時に初期分周
値設定手段61を選択して初期分周値(^)を、“0.
1″の時に初期分周値設定手段62を選択して初期分周
値(B)を、“1,0”の時に初期分周値設定手段63
を選択して初期分周値(C)を、“1.1”の時に初期
分周値設定手段64を選択して初期分周値(D)を分周
値レジスタ4に格納する。That is, the selector 7 selects the initial frequency division value select pin 91.9.
2, the initial frequency division value setting means 61 is selected and the initial frequency division value (^) is set to "0.
When the value is "1", the initial frequency division value setting means 62 is selected to set the initial frequency division value (B), and when the value is "1, 0", the initial frequency division value setting means 63 is selected.
When it is "1.1", the initial frequency division value setting means 64 is selected and the initial frequency division value (D) is stored in the frequency division value register 4.
本発明の半導体集積回路は、内蔵回路に書き込まれたプ
ログラム又は外部から読み込んだプログラムを実行する
通常動作時には、プログラムの命令に従ってクロック分
周値を変更し、また、リセット後のプログラムによらな
い回路テスト等の動作時には、複数の初期分周値から適
当な値を選択することによって動作の基本クロックが任
意に設定でき、例えば内部ROMからの読出し等を高速
に行うことができ、プログラムによらない動作時におい
ても最適の処理速度で動作するという優れた効果を奏す
る。The semiconductor integrated circuit of the present invention changes the clock frequency division value according to the instructions of the program during normal operation when executing a program written in the built-in circuit or a program read from the outside, and a circuit that does not depend on the program after reset. During operations such as tests, the basic clock for operation can be set arbitrarily by selecting an appropriate value from multiple initial frequency division values, and for example, reading from internal ROM can be performed at high speed, without depending on the program. Even during operation, it has the excellent effect of operating at optimal processing speed.
第1図及び第2図は本発明に係る半導体集積回路の構成
を示すブロック図、第3図は従来の半導体集積回路の構
成を示すブロック図である。
1・・・原クロツク発生回路 2・・・分周回路3・・
・その他の回路 4・・・分周値レジスタ5・・・分周
値設定手段 7・・・セレクタ 8・・・リセット信号
入力ピン 61 、62.63.64・・・初期分周値
設定手段 91,92.93・・・初期分周値セレクト
ピンなお、図中、同一符号は同一、又は相当部分を示す
。1 and 2 are block diagrams showing the structure of a semiconductor integrated circuit according to the present invention, and FIG. 3 is a block diagram showing the structure of a conventional semiconductor integrated circuit. 1... Original clock generation circuit 2... Frequency dividing circuit 3...
・Other circuits 4... Frequency division value register 5... Frequency division value setting means 7... Selector 8... Reset signal input pin 61, 62, 63, 64... Initial frequency division value setting means 91, 92, 93...Initial frequency division value select pins In the drawings, the same reference numerals indicate the same or equivalent parts.
Claims (1)
、プログラムが設定する分周比で分周してプログラムに
よる動作の基本クロックとする一方、プログラムによら
ない動作時には、プログラム以外の分周比設定手段が設
定する分周比で原クロックを分周して動作の基本クロッ
クとする半導体集積回路において、 複数の分周比を設定し得る分周比設定手段 と、 分周比設定手段が設定すべき分周比を選択 する手段と を備えたことを特徴とする半導体集積回路。(1) The original clock supplied by the clock pulse generation circuit is divided by the division ratio set by the program and used as the basic clock for operation by the program, while when operating not by the program, a division ratio other than the program is set. In a semiconductor integrated circuit in which a source clock is divided by a frequency division ratio set by a frequency division ratio and used as a basic clock for operation, the frequency division ratio setting means can set a plurality of frequency division ratios, and the division ratio setting means can set a plurality of frequency division ratios. 1. A semiconductor integrated circuit comprising means for selecting an exponent frequency division ratio.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10631489A JP2961219B2 (en) | 1989-04-26 | 1989-04-26 | Semiconductor integrated circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10631489A JP2961219B2 (en) | 1989-04-26 | 1989-04-26 | Semiconductor integrated circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02284520A true JPH02284520A (en) | 1990-11-21 |
| JP2961219B2 JP2961219B2 (en) | 1999-10-12 |
Family
ID=14430520
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10631489A Expired - Fee Related JP2961219B2 (en) | 1989-04-26 | 1989-04-26 | Semiconductor integrated circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2961219B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05129936A (en) * | 1991-11-07 | 1993-05-25 | Matsushita Electron Corp | Programmable counter |
-
1989
- 1989-04-26 JP JP10631489A patent/JP2961219B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05129936A (en) * | 1991-11-07 | 1993-05-25 | Matsushita Electron Corp | Programmable counter |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2961219B2 (en) | 1999-10-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0180196B1 (en) | Programmable counter/timer device | |
| EP0244925A2 (en) | Programmable logic controller | |
| US4933897A (en) | Method for designing a control sequencer | |
| JPH02284520A (en) | Semiconductor integrated circuit | |
| US5822572A (en) | Electronic equipment that changes active time of signals for a peripheral circuit from a microprocessor that switches its operating clock frequency | |
| JP2002279792A (en) | Semiconductor integrated circuit device | |
| JP3493132B2 (en) | Mode setting circuit | |
| JPH1019996A (en) | Rate generating circuit | |
| KR100284287B1 (en) | Microprocessor with Variable Reset Address | |
| JP2658889B2 (en) | Semiconductor integrated circuit and test method therefor | |
| JPS61134982A (en) | Memory access circuit | |
| JPH0225567B2 (en) | ||
| JPS61126821A (en) | Logic lsi circuit | |
| JPH0313876A (en) | Mode setting circuit | |
| KR100239446B1 (en) | Test circuit of frequency composition unit having autoloachaing function | |
| JPH026996A (en) | Display device | |
| KR930002026Y1 (en) | Reset circuit for programming peripherals | |
| JPH09223010A (en) | Microprocessor and processing method thereof | |
| JPS59127845A (en) | Test circuit for integrated circuit | |
| JPS61172431A (en) | Sampling signal generating circuit | |
| JPS61199322A (en) | Switch circuit | |
| JPH103401A (en) | Microcomputer | |
| JPH02107982A (en) | Test circuit of integrated circuit | |
| JPH0754348B2 (en) | Test circuit | |
| JPH05151012A (en) | Test circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |