JPH02210513A - Microprogram control circuit - Google Patents

Microprogram control circuit

Info

Publication number
JPH02210513A
JPH02210513A JP1195862A JP19586289A JPH02210513A JP H02210513 A JPH02210513 A JP H02210513A JP 1195862 A JP1195862 A JP 1195862A JP 19586289 A JP19586289 A JP 19586289A JP H02210513 A JPH02210513 A JP H02210513A
Authority
JP
Japan
Prior art keywords
circuit
restart
control circuit
clock
clock 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.)
Granted
Application number
JP1195862A
Other languages
Japanese (ja)
Other versions
JPH0431402B2 (en
Inventor
Yukio Yokozawa
幸男 横澤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP1195862A priority Critical patent/JPH02210513A/en
Publication of JPH02210513A publication Critical patent/JPH02210513A/en
Publication of JPH0431402B2 publication Critical patent/JPH0431402B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To reduce the power consumption by using a program instruction to designate the clock restart timing of a clock restart circuit. CONSTITUTION:A microprogram control circuit is constituted of an oscillation circuit 1, a dividing circuit 2, the AND gates 3 and 4, an OR gate 5, a key input control circuit 6, and a clock restart control circuit 9. Thus, a mask is changed for the control circuit according to its purpose of application and a proper restart timing is secured. Furthermore one of signal timings can be selected with a program instruction. Then the power consumption is reduced.

Description

【発明の詳細な説明】 本発明はマイクロプログラム制御回路に関し、特に、マ
イクロプログラム制御回路の動作の基本を形づくってい
るクロック信号の発生を禁止した場合の再起動の方式に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram control circuit, and more particularly to a restart method when generation of a clock signal, which forms the basis of the operation of the microprogram control circuit, is inhibited.

本発明の目的は、クロック信号の発生を禁止した時、任
意のタイミングからクロック信号の再起動を行なう回路
を提供する事にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a circuit that restarts a clock signal at an arbitrary timing when the generation of a clock signal is prohibited.

従来、マイクロプログラムにより動作するマイクロプロ
グラム制御回路では、クロック信号の一部あるいは全て
を停止させる事は、はとんど行なわれなかったが、消費
電力の削減を追求した結果、一連のプログラム終了後、
クロック信号を停止する方法が用いられつつある。従来
のクロック信号再起動の方法では、クロック信号停止後
、クロック信号再起動は固定されたタイミングのみで行
なわれ、マイクロプログラムによる制御、及び、マスキ
ングによる制御は不可能であった。第1図に従来のクロ
ック信号再起動回路を示す。1は発振回路、2は分周回
路、3,4はアンドゲート、5はオアゲート、6はキー
人力制御回路である。従来の方法では分周回路2からア
ンドゲート3に与えられる信号は、1秒あるいは、1/
10秒などに固定され、その選択は不可能である。この
為、第2図に示す消費電力の様子の様に、1/10秒毎
の処理を必要とするマイクロプログラム制御回路におい
ては、常に1/10秒のクロックタイミングで、クロッ
ク信号が起動され、その為、1/10秒毎の処理が必要
でないプログラム処理モード第3図においても1/10
秒信号毎に、クロック信号が再起動されることになり、
消費電力削減の大きなデメリットとなっている。
Conventionally, in microprogram control circuits that operate using microprograms, stopping part or all of the clock signal has rarely been done, but as a result of pursuing reductions in power consumption, ,
Methods of stopping clock signals are being used. In the conventional clock signal restart method, after the clock signal is stopped, the clock signal is restarted only at a fixed timing, and control by a microprogram or masking is not possible. FIG. 1 shows a conventional clock signal restart circuit. 1 is an oscillation circuit, 2 is a frequency dividing circuit, 3 and 4 are AND gates, 5 is an OR gate, and 6 is a key manual control circuit. In the conventional method, the signal given from the frequency divider circuit 2 to the AND gate 3 lasts for 1 second or 1/2 seconds.
It is fixed to 10 seconds or the like and cannot be selected. For this reason, as shown in the power consumption shown in Figure 2, in a microprogram control circuit that requires processing every 1/10 seconds, the clock signal is always activated at the clock timing of 1/10 seconds. Therefore, even in the program processing mode shown in Fig. 3, which does not require processing every 1/10 second,
Every second signal, the clock signal will be restarted,
This is a major disadvantage in reducing power consumption.

17100秒に固定されている場合は、より大きなデメ
リットであることは言うまでもない。又、1秒に固定し
た場合、 1/10秒毎、 1/100秒毎の処理を行
ないたい場合、クロック信号を停止させることが不可能
となり、マイクロプログラム制御回路が動き続ける為、
消費電力は非常に増加する。
Needless to say, if it is fixed at 17100 seconds, it is a bigger disadvantage. Also, if it is fixed at 1 second, if you want to process every 1/10 second or 1/100 second, it will be impossible to stop the clock signal and the microprogram control circuit will continue to operate.
Power consumption increases significantly.

第4図は1秒に固定し、1/10秒毎の処理を実行した
場合の消費電力の様子である。第2図から第4図におい
て、7はマイクロプログラム制御回路が有効に消費する
電力、8はマイクロプログラム制御回路がプログラムを
処理せずに、無効に消費する電力を示す。以上の様に、
従来のクロック再起動回路は、クロック再起動タイミン
グが固定されている為、消費電力の削減の面で大きな問
題を持っている。本発明においては、前記の諸問題を解
決する為、クロック再起動タイミングを任意に設定可能
とした。クロック再起動タイミングの設定方法としては
、第5図に示す様な回路を用いる。
FIG. 4 shows the power consumption when the time is fixed at 1 second and processing is executed every 1/10 second. In FIGS. 2 to 4, 7 indicates the power effectively consumed by the microprogram control circuit, and 8 indicates the power consumed ineffectively by the microprogram control circuit without processing the program. As above,
Conventional clock restart circuits have a fixed clock restart timing, which poses a major problem in terms of reducing power consumption. In the present invention, in order to solve the above-mentioned problems, the clock restart timing can be set arbitrarily. As a method of setting the clock restart timing, a circuit as shown in FIG. 5 is used.

9はクロック再起動制御回路である。第6図にクロック
・再起動制御回路を示す。10は分周回路よりの信号1
2から数種の信号13を得る為のマスク、11は10よ
りの信号と14からマイクロ命令により任意の信号を選
択する為のPLAである。第5図、第6図に示した回路
構成とする事により、マイクロプログラム制御回路を使
用する目的によってマスク変更し、再起動タイミングを
適当な物とする事ができ、その上、マイクロ命令によっ
てその内の1つの信号タイミングを選択することが可能
となる。以上の様にクロック再起動夕り、S−2でモー
ドのチエツクを行ない、1秒毎の再起動が必要である時
計処理モードの場合には、3−3で処理し、1秒再起動
マイクロ命令、R3Tl:  3−4によって、クロッ
クが停止する。クロック停止後、キー人力又は、1秒信
号によってS−1から再起動する。1/2秒制御の必要
な2Hzフラツシングの場合は、S−5で処理され、1
72秒再起動マイクロ命令R3T−2:  s−aによ
ってクロックが停止する。8Hzのアラーム処理の場合
のS −7,S −8も同様であり、S−3、5,7で
は、他のいかなるIHz以上の処理も例と同様に実行可
能である。以上の様に、本発明により、消費電流が減少
する為、その効果は大である。
9 is a clock restart control circuit. Figure 6 shows the clock/restart control circuit. 10 is signal 1 from the frequency divider circuit
11 is a mask for obtaining several kinds of signals 13 from 2, and 11 is a PLA for selecting arbitrary signals from signals 10 and 14 by a microinstruction. By using the circuit configuration shown in Figures 5 and 6, the mask can be changed depending on the purpose of using the microprogram control circuit, and the restart timing can be set appropriately. It becomes possible to select one of the signal timings. As described above, after restarting the clock, check the mode with S-2, and if the clock processing mode requires restarting every second, perform the process with 3-3 and restart the clock for 1 second. The instruction, R3Tl: 3-4, stops the clock. After the clock is stopped, the clock is restarted from S-1 by manual keystroke or by a 1 second signal. In the case of 2Hz flashing that requires 1/2 second control, it is processed by S-5 and 1
72 seconds restart microinstruction R3T-2: The clock is stopped by s-a. The same applies to S-7 and S-8 in the case of 8 Hz alarm processing, and any other IHz or higher processing can be executed in S-3, 5, and 7 in the same manner as in the example. As described above, the present invention has great effects because the current consumption is reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のクロック信号再起動回路図。第2図は、
1/10秒毎の処理実行中の消費電力の様子を示す図。 第3図は、1/10秒毎に再起動のかかるマイクロプロ
グラム制御回路において、1秒毎の処理を実行した場合
の消費電力の様子を示す図。第4図は、1秒毎に再起動
のかかるマイクロプログラム制御回路において1/10
秒毎の処理を実行した場合の消費電力の様子を示す図。 第5図は、本発明によるクロック信号再起動回路図。第
6図は、クロック再起動制御回路図。第7図は本発明に
よるクロック信号再起動回路を用いた場合の流れ図であ
る。 以  上 出願人 セイコーエプソン株式会社 代理人 弁理士 鈴木 喜三部 他1名手続補正書 (自発)
FIG. 1 is a diagram of a conventional clock signal restart circuit. Figure 2 shows
The figure which shows the state of power consumption during process execution every 1/10 second. FIG. 3 is a diagram showing power consumption when processing is executed every second in a microprogram control circuit that restarts every 1/10 seconds. Figure 4 shows 1/10 of the microprogram control circuit that restarts every second.
The figure which shows the state of power consumption when processing is performed every second. FIG. 5 is a clock signal restart circuit diagram according to the present invention. FIG. 6 is a clock restart control circuit diagram. FIG. 7 is a flowchart when using the clock signal restart circuit according to the present invention. Applicant Seiko Epson Co., Ltd. Agent Patent attorney Kizobe Suzuki and one other person Procedural amendment (voluntary)

Claims (1)

【特許請求の範囲】[Claims] (1)各種電子回路の動作の基礎となるクロック信号発
生回路、マイクロ命令を記憶する第1記憶回路、各種デ
ーターを記憶する第2記憶回路、演算回路、及び入出力
回路から構成されるマイクロプログラム制御回路におい
て、前記クロック信号発生回路が、クロック信号の一部
或いは全てを停止せしめる禁止回路を含み、前記禁止回
路を制御するマイクロ命令を有し、同時に、クロック信
号の一部或いは全てを再起動せしめる再起動回路を含み
、前記再起動回路のクロック再起動タイミングをマイク
ロ命令で指定し、任意のタイミングで再起動可能とした
事を特徴とするマイクロプログラム制御回路。
(1) A microprogram consisting of a clock signal generation circuit that serves as the basis for the operation of various electronic circuits, a first memory circuit that stores microinstructions, a second memory circuit that stores various data, an arithmetic circuit, and an input/output circuit. In the control circuit, the clock signal generation circuit includes an inhibition circuit for stopping part or all of the clock signal, and has a microinstruction for controlling the inhibition circuit, and at the same time restarts part or all of the clock signal. 1. A microprogram control circuit comprising: a restart circuit for restarting the restart circuit; a clock restart timing of the restart circuit is specified by a microinstruction, thereby making it possible to restart the restart circuit at any timing.
JP1195862A 1989-07-28 1989-07-28 Microprogram control circuit Granted JPH02210513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1195862A JPH02210513A (en) 1989-07-28 1989-07-28 Microprogram control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1195862A JPH02210513A (en) 1989-07-28 1989-07-28 Microprogram control circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14299579A Division JPS5667452A (en) 1979-11-05 1979-11-05 Microprogram control circuit

Publications (2)

Publication Number Publication Date
JPH02210513A true JPH02210513A (en) 1990-08-21
JPH0431402B2 JPH0431402B2 (en) 1992-05-26

Family

ID=16348226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1195862A Granted JPH02210513A (en) 1989-07-28 1989-07-28 Microprogram control circuit

Country Status (1)

Country Link
JP (1) JPH02210513A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4997539A (en) * 1973-01-19 1974-09-14
JPS5072550A (en) * 1973-10-29 1975-06-16
JPS5667452A (en) * 1979-11-05 1981-06-06 Seiko Epson Corp Microprogram control circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4997539A (en) * 1973-01-19 1974-09-14
JPS5072550A (en) * 1973-10-29 1975-06-16
JPS5667452A (en) * 1979-11-05 1981-06-06 Seiko Epson Corp Microprogram control circuit

Also Published As

Publication number Publication date
JPH0431402B2 (en) 1992-05-26

Similar Documents

Publication Publication Date Title
JPH02210513A (en) Microprogram control circuit
JPS5862720A (en) Clock signal supplying and controlling method in data processor
JPS6350725B2 (en)
JPH04348410A (en) Microcomputer
JPS6270923A (en) Integrated circuit containing oscillating circuit
JPH0724006B2 (en) Data processing device
JPS60129820A (en) Device for controlling suspension of execution
JPS62221729A (en) Microprogram control system
JPH035948Y2 (en)
JP2000010954A5 (en) Digital signal processor and processor self-test method
JPH07122839B2 (en) Data processing device
JPH03116210A (en) Data processing system
EP0173052A2 (en) Microcomputer clock circuit
KR100272531B1 (en) Method for prohibitting exhaust of power source in electronic equipment
JPS5916029A (en) Starting circuit of electronic device
JPH0682310B2 (en) Operation frequency switching control circuit for arithmetic unit
JPH0527056A (en) Battery depletion preventing device for electronic device equipped with timer function
JPH0511877A (en) Microcomputer
JPH0519889A (en) Stand-by device
JPS59206920A (en) Controlling system of time processing
JPH04349539A (en) Operation control system for microprocessor
JPS6223343B2 (en)
JPS61241843A (en) Information processor
JPS59189426A (en) Clock supply controlling system
JPH0377113A (en) External oscillation circuit