JPS6365974B2 - - Google Patents

Info

Publication number
JPS6365974B2
JPS6365974B2 JP56037409A JP3740981A JPS6365974B2 JP S6365974 B2 JPS6365974 B2 JP S6365974B2 JP 56037409 A JP56037409 A JP 56037409A JP 3740981 A JP3740981 A JP 3740981A JP S6365974 B2 JPS6365974 B2 JP S6365974B2
Authority
JP
Japan
Prior art keywords
mode
key
terminal
signal
switching element
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
Application number
JP56037409A
Other languages
Japanese (ja)
Other versions
JPS57152062A (en
Inventor
Toshio Nishimura
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP56037409A priority Critical patent/JPS57152062A/en
Publication of JPS57152062A publication Critical patent/JPS57152062A/en
Publication of JPS6365974B2 publication Critical patent/JPS6365974B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】 本発明は時計付計算機等に於て、低消費電力化
を計ることができる集積回路装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an integrated circuit device that can reduce power consumption in a computer with a clock or the like.

従来、一般に例えば時計付計算機の集積回路装
置(以下、LSiと称す。)のシステムブロツクは
第1図のように構成され、かゝる構成に於て中央
処理装置(CPU)1はキー入力又は時計装置の
分周用デバイダー(DV)2の出力のオアゲート
OR出力Sにより動作を開始し、その動作はリー
ド・オンリー・メモリー(ROM)3からの命令
によつてコントロールされる。またランダム・ア
クセス・メモリー(RAM)4は演算レジスタ、
時計用レジスタ及びフラグとして用いられ、表示
装置(DISPLAY)5は上記CPU1からの命令に
従つて、RAM4の内容が表示される。CPU1は
上記S(キー入力又は秒信号)信号によりその動
作を開始し、CPU内で演算・時刻処理を完了す
ると、ハルト(一時停止)状態となり、表示等に
必要なクロツクパルス以外のシステムクロツクパ
ルスを停止し、低消費電力動作に入る。CPU1
は次のキー入力又は1秒信号よりなるS信号が到
来するまでハルト状態を保つ。しかしキーがON
されたまゝの状態であればCPUは低電力動作に
入ることができないという欠点があつた。
Conventionally, the system block of an integrated circuit device (hereinafter referred to as LSi) for a computer with a clock, for example, has generally been configured as shown in FIG. OR gate of output of frequency divider (DV) 2 of clock device
The operation is started by the OR output S, and the operation is controlled by instructions from the read-only memory (ROM) 3. In addition, random access memory (RAM) 4 is an arithmetic register,
It is used as a clock register and flag, and a display device (DISPLAY) 5 displays the contents of the RAM 4 in accordance with instructions from the CPU 1. The CPU 1 starts its operation in response to the above S (key input or second signal) signal, and when the calculation and time processing are completed within the CPU, it enters a halt (temporary stop) state, and system clock pulses other than the clock pulses necessary for display, etc. and enters low power operation. CPU1
maintains the halt state until the next key input or an S signal consisting of a 1 second signal arrives. But the key is ON
The drawback was that the CPU could not enter low-power operation if it remained in this state.

したがつて、従来時計モードなどに於て、不要
なキー操作に基づく信号の入力を禁止(LOCK)
するため、ソフトウエア処理による設計が行われ
ていた。
Therefore, in conventional clock mode, etc., signal input based on unnecessary key operations is prohibited (LOCK).
In order to do this, design was performed using software processing.

即ち、第2図に示すようにKey入力信号又は1
秒計時信号のいずれかの信号Sが到来すると、時
計モードかどうかを判断し、時計モードでなけれ
ば演算処理を実行し、その処理結果を表示し、一
方時計モードであれば、LOCK状態にあるかどう
かを判断し(例えばモードスイツチが時計モード
にセツトされていることにより判別できる)して
いた。
That is, as shown in Figure 2, the Key input signal or 1
When any signal S of the second clock signal arrives, it is determined whether the mode is in clock mode, and if it is not in clock mode, it executes arithmetic processing and displays the processing result. On the other hand, if it is in clock mode, it is in the LOCK state. (For example, this can be determined by checking that the mode switch is set to watch mode.)

しかし、かゝるソフトウエア設計ではLOCKさ
れているキーに於ても実際にはプログラムが実行
されており、演算中と同様に電力が消費されると
いう欠点があつた。
However, such software design had the disadvantage that the program was actually being executed even on the LOCKed keys, consuming power in the same way as during calculation.

一方又、LSiシステムに構成されるキー入力回
路装置は第3図に示すように各キーkiの入力端に
はキーストローブ信号が端子Oiを介して導入さ
れ、各キーの入力端Kiにはプルダウン(pull―
down)抵抗Riが接続されているため、例えばキ
ーk2が操作されると、プルダウン電流Ipが図示の
如く、k2→K2→R2→−Vを介して流れ、この流
れる電流によつて電力が消費されるという欠点が
あつた。つまり、時計モードに於て、不要なキー
の操作によつても演算中と同様なプログラムが実
行され、かつプルダウン電流が流れることにより
電力が消費されるという不都合が生じていた。
On the other hand, in the key input circuit device configured in the LSi system, as shown in Figure 3, a key strobe signal is introduced to the input terminal of each key ki via the terminal Oi, and a pull-down signal is input to the input terminal Ki of each key. (pull-
For example, when key k2 is operated, pull-down current Ip flows through k 2 → K 2 → R 2 → −V as shown in the figure, and this flowing current causes The drawback is that it consumes a lot of electricity. That is, in the watch mode, unnecessary key operations cause the same program to be executed during calculation, and a pull-down current flows, resulting in power consumption.

本発明は上記従来の時計付計算機等に於ける集
積回路装置の欠点を除去するためになされたもの
である。
The present invention has been made in order to eliminate the drawbacks of the integrated circuit devices in the conventional clock-equipped computers and the like.

即ち、本発明は第1及び第2の異なるモード状
態(例えば、計算機モードと時計モード、これは
モード切換スイツチによりセツトできる)を設定
できるモード端子と、複数個のキー操作に関連す
る信号を導入する各端子と、上記各キーの出力端
にそれぞれ所定の電位が与えられるインピーダン
ス素子とスイツチン素子を含む直列回路(例え
ば、プルダウン抵抗とMOS形トランジスタの直
列回路)を接続し、上記モード端に加えられる論
理レベルを変化させ(例えば、Highレベル又は
“1”,Lowレベル又は“0”)、上記キー入力信
号及び論理レベルに基づくモード設定信号を論理
ゲート回路手段(例えば、ナンドゲートの組合
せ)を備え、第1モード(例えば計算機モード)
時、上記スイツチング素子(例えばMOS形トラ
ンジスタ)をONし、ゲート出力にHighレベル信
号を導出し、第2モード(例えば、クロツクモー
ド)時、スイツチング素子(例えばMOS形トラ
ンジスタ)をOFFし、ゲート回路出力を禁止
(LOCK)することにより、LSiシステムの低消
費電力化を計るようにしたものである。
That is, the present invention introduces a mode terminal that can set first and second different mode states (e.g., computer mode and watch mode, which can be set by a mode changeover switch) and signals related to a plurality of key operations. Connect a series circuit (for example, a series circuit of a pull-down resistor and a MOS transistor) containing an impedance element and a switch element (for example, a series circuit of a pull-down resistor and a MOS transistor) to which a predetermined potential is applied to the output terminal of each key and the output terminal of each key. The logic gate circuit means (for example, a combination of NAND gates) changes the logic level (for example, High level or "1", Low level or "0") and outputs a mode setting signal based on the key input signal and the logic level. , the first mode (e.g. computer mode)
In the second mode (e.g., clock mode), the switching element (e.g., MOS transistor) is turned OFF and the gate circuit outputs a high level signal. By prohibiting (LOCK), the power consumption of the LSi system is reduced.

以下、本発明の一実施例を図面を参照して説明
する。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第4図a,bは本発明に係る一例のLSiのシス
テムブロツク図をとくにキー入力回路装置の具体
的な回路構成図である。
FIGS. 4a and 4b are system block diagrams of an example of LSi according to the present invention, in particular, a specific circuit configuration diagram of a key input circuit device.

図中、同図aは計算機モードの動作説明に供
し、同図bは所謂、キー入力信号をLOCK状態に
する時計モードの動作説明に供する図であり、同
一部分には同一符号を以つて示される。
In the figure, figure a is used to explain the operation in the computer mode, and figure b is used to explain the operation in the watch mode, which puts the key input signal in the LOCK state. Identical parts are denoted by the same reference numerals. It will be done.

図に於て、K0はモード端子であり、例えば、
K0の端子を計算機と時計のモードを選択するス
ライドスイツチ(図示せず)に接続し、このスラ
イドスイツチが“LOCK”モード位置でK0端子
に“High”レベルの信号が加えられ、“非
LOCK”モード位置で“Low”レベルの信号が加
えられる。このモード端子K0はインバータI0を介
してナンドゲートNA1,NA2,…の一方の入力
に加えられる。K1,K2…はキー信号の入力端子
であり、この端子にはそれぞれ電流制御用のプル
ダウン抵抗R1,R2…とNチヤンネル形MOSトラ
ンジスタT1,T2…の直列回路が接続される。上
記MOS形トランジスタT1,T2…のドレインは抵
抗Riに、ソースは所定の電位(−V)が与えら
れる。また各トランジスタのゲートは上記インバ
ータI0の出力に接続され、インバータ出力、言い
換えればモード端子K0に加えられる論理レベル
によつてそのON又はOFFが決定される。上記各
キー入力端子K1,K2…はそれぞれ対応するナン
ドゲートNA1,NA2の一方の入力として加えら
れる。さらにナンドゲート出力NA1,NA2…は
それぞれ1個のナンドゲートNA10の入力として
加えられ、ナンドゲートNA10の出力より前述し
たS信号が取り出される。このS信号は第1図に
示した如く例えば、CPUにその動作開始信号と
して加えられる。
In the figure, K 0 is the mode terminal, for example,
Connect the K 0 terminal to a slide switch (not shown) that selects the calculator and clock modes, and when the slide switch is in the “LOCK” mode position, a “High” level signal is applied to the K 0 terminal, and the
A “Low” level signal is applied at the “LOCK” mode position. This mode terminal K 0 is applied to one input of the NAND gates NA 1 , NA 2 , … through the inverter I 0 . K 1 , K 2 … are This is an input terminal for a key signal, and a series circuit of current control pull-down resistors R 1 , R 2 . . . and N-channel MOS transistors T 1 , T 2 . 1 , T 2 . Its ON or OFF is determined by the logic level applied to the key input terminals K 1 , K 2 . 1 , NA 2 . Added as a start signal.

次に動作を説明する。 Next, the operation will be explained.

(i) 計算機モード(第4図a参照) このモードは所謂非LOCK状態モードである。
モード端子K0には“Low”レベル信号が加えら
れ、インバータI0の出力は“High”レベルとな
り、ナンドゲートNA1,NA2…の出力はキー入
力信号を導入されるK1,K2…のレベルによつて
決定される。今インバータI0の出力は“High”
レベルであるから、Nチヤンネル形のMOSトラ
ンジスタT1,T2…はすべて導通(ON)状態と
なり、このときキー入力端子K1,K2…のいずれ
かに1つでも“High”レベル信号、つまりキー
操作があると、ナンドゲートNA1,NA2…のい
ずれかは“Low”レベルとなり、さらにナンド
ゲートNA10の出力Sは“High”レベルとなり、
このS信号はデータラインを介して中央処理装置
(CPU)に送られ、CPUの動作を開始させる。上
記に於て、いずれかのキーが操作されると例えば
K1キーが押されると図示の如くプルダウン電流
が流れる。従つて、計算機モードでは有効にキー
入力の判別が行われる。
(i) Computer mode (see Figure 4a) This mode is the so-called non-LOCK state mode.
A “Low” level signal is applied to the mode terminal K 0 , the output of the inverter I 0 becomes “High” level, and the outputs of the NAND gates NA 1 , NA 2 . . . receive key input signals K 1 , K 2 . determined by the level of Now the output of inverter I 0 is “High”
Since the N-channel type MOS transistors T 1 , T 2 . In other words, when there is a key operation, one of the NAND gates NA 1 , NA 2 , etc. goes to "Low" level, and furthermore, the output S of NAND gate NA 10 goes to "High" level,
This S signal is sent to the central processing unit (CPU) via the data line and starts the operation of the CPU. In the above, if any key is operated, for example
When the K1 key is pressed, a pull-down current flows as shown. Therefore, in the computer mode, key input is effectively determined.

(ii) 時計モード(第4図b参照) このモードは、所謂LOCK状態モードである。
この時計モードは計算機モードと違つてキーの入
力を不要とし、キーの入力に基づく不要な電力消
費をなくすことが必要である。この場合、モード
端子K0には“High”レベルの信号が加えられ
る。従つてモード設定の相違により論理レベルが
変えられる。そのためインバータI0の出力は
“Low”レベルとなり各キーに対応するMOS形ト
ランジスタT1,T2…をともに非導通(OFF)と
し、不要はキー操作による電力消費を除去する。
(ii) Clock mode (see Figure 4b) This mode is the so-called LOCK state mode.
Unlike the computer mode, this clock mode does not require key input, and it is necessary to eliminate unnecessary power consumption based on key input. In this case, a "High" level signal is applied to the mode terminal K0 . Therefore, logic levels change due to differences in mode settings. Therefore, the output of the inverter I 0 becomes "Low" level, and the MOS transistors T 1 , T 2 . . . corresponding to each key are rendered non-conductive (OFF), eliminating unnecessary power consumption due to key operations.

換言すれば、クロツク(時計)モードに於て
は、キー入力を回路的に高インピーダンスとし論
理的にロツク状態にコントロールされる。インバ
ータI0の出力は“Low”レベルであるから、キー
入力K1,K2…の入力レベルの如何に拘わらず、
その出力は“High”レベルとなる。そうすれば、
ナンドゲートNA10の入力はすべて“High”レベ
ルであるから、その出力信号Sは“Low”レベ
ルとなるため、CPUはこのS信号によつて動作
を開始させることは全くない。つまり、禁止
(LOCK)される。
In other words, in the clock mode, the key input is set to a high impedance circuit and is logically controlled to a locked state. Since the output of the inverter I0 is at "Low" level, regardless of the input level of the key inputs K1 , K2 ...
Its output becomes "High" level. that way,
Since all inputs to the NAND gate NA 10 are at the "High" level, its output signal S is at the "Low" level, so the CPU does not start any operation based on this S signal. In other words, it is prohibited (LOCK).

従つて、クロツクモード時はプルダウン電流も
流れず、CPUも動作を開始しないから、これら
による電力の消費は全くなくなるものである。
Therefore, in the clock mode, no pull-down current flows and the CPU does not start operating, so power consumption due to these is completely eliminated.

実施例では計算機と時計とのモードについて説
明したが、これらの機器に限定されず、各種機器
への適用が考えられることはもちろんである。ま
た、キーはスイツチでもよく類似の部品が選択で
きる。
Although the mode of a computer and a clock has been described in the embodiment, the present invention is not limited to these devices, and can of course be applied to various types of devices. Also, similar parts can be selected for the key on a switch.

以上説明した様に本発明の集積回路装置によれ
ば、モード端子入力の論理レベルを変えることに
よつて、キー入力を通常の入力として処理するモ
ードと、キー入力を論理的にロツク状態とし、プ
ルダウン抵抗等に電流制御抵抗を非導通にして高
インピーダンス状態とし、LSiシステムの低消費
電力化を計るモードに随時選択することができる
などの利点がある。
As explained above, according to the integrated circuit device of the present invention, by changing the logic level of the mode terminal input, there is a mode in which key input is processed as a normal input, and a mode in which key input is logically locked. It has the advantage that it can be set at any time to a mode that reduces the power consumption of the LSi system by making the current control resistor such as a pull-down resistor non-conductive and putting it in a high impedance state.

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

第1図はLSiシステムの説明に供するシステム
ブロツク図、第2図は従来のシステムフローチヤ
ート図、第3図は従来のキー入力回路装置の回路
構成図、第4図a,bは本発明に係る集積回路装
置の回路構成図を示し、同図aは計算機モード、
同図bは時計モードを示す。 図中、1:CPU、2:デバイダー、3:
ROM、4:RAM、5:デイスプレイ、K0:モ
ード端子、K1〜Kn:キー信号入力端子、I:イ
ンバータ、NA:ナンドゲート、S:キー入力又
は秒信号。
Fig. 1 is a system block diagram for explaining the LSi system, Fig. 2 is a conventional system flowchart, Fig. 3 is a circuit configuration diagram of a conventional key input circuit device, and Figs. 4 a and b are according to the present invention. A circuit configuration diagram of such an integrated circuit device is shown, in which a shows a computer mode;
Figure b shows the clock mode. In the diagram, 1: CPU, 2: Divider, 3:
ROM, 4: RAM, 5: Display, K0: Mode terminal, K1 to Kn : Key signal input terminal, I: Inverter, NA: NAND gate, S: Key input or second signal.

Claims (1)

【特許請求の範囲】 1 第1及び第2の異なるモード状態を設定する
モード端子と、 複数個のキー操作に関連する信号を導入する各
端子と、 上記各キーの出力端にそれぞれ所定の電位が与
えられるインピーダンス素子及びスイツチング素
子を含む直列回路を接続する手段と、 上記モード端子に加えられる論理レベルを変化
させる手段と、 上記各キー操作に基づく信号をそれぞれ一方の
入力とし、上記モード設定に基づく信号をそれぞ
れ他の入力とする論理ゲート回路手段とを備え、 上記一の論理レベルに基づく第1のモード状態
にて上記スイツチング素子を導通状態にすると共
に上記キー操作に基づく上記論理ゲート回路出力
を導出する手段と、 上記他の論理レベルに基づく第2のモード状態
にて上記スイツチング素子を非導通状態にすると
共に上記キー操作に基づく上記論理ゲート回路出
力を禁止する手段と、 を具備したことを特徴とする集積回路装置。
[Claims] 1. A mode terminal for setting first and second different mode states, each terminal for introducing signals related to the operation of a plurality of keys, and a predetermined potential at the output terminal of each of the keys. means for connecting a series circuit including an impedance element and a switching element that are given an impedance element, a means for changing the logic level applied to the mode terminal, and a signal based on each of the above key operations as one input, respectively, and the above mode setting. and a logic gate circuit means for inputting signals based on the switching element as other inputs, the logic gate circuit outputs the switching element in a first mode state based on the one logic level and makes the switching element conductive based on the key operation. and means for rendering the switching element non-conductive in a second mode state based on the other logic level and inhibiting the output of the logic gate circuit based on the key operation. An integrated circuit device characterized by:
JP56037409A 1981-03-13 1981-03-13 Integrated circuit device Granted JPS57152062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56037409A JPS57152062A (en) 1981-03-13 1981-03-13 Integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56037409A JPS57152062A (en) 1981-03-13 1981-03-13 Integrated circuit device

Publications (2)

Publication Number Publication Date
JPS57152062A JPS57152062A (en) 1982-09-20
JPS6365974B2 true JPS6365974B2 (en) 1988-12-19

Family

ID=12496720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56037409A Granted JPS57152062A (en) 1981-03-13 1981-03-13 Integrated circuit device

Country Status (1)

Country Link
JP (1) JPS57152062A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0752381B2 (en) * 1985-12-27 1995-06-05 日本電気株式会社 Input circuit

Also Published As

Publication number Publication date
JPS57152062A (en) 1982-09-20

Similar Documents

Publication Publication Date Title
KR910001327B1 (en) Cmos type input-output circuit
US4697107A (en) Four-state I/O control circuit
JPH0197016A (en) Semiconductor integrated circuit device
US5479644A (en) Microcomputer having an oscillator part with variable driving ability
US5767694A (en) Information processing apparatus with a mode setting circuit
JPH08278840A (en) Keeper circuit for three-state bus and integrated circuit containing it
JPS6365974B2 (en)
JPH0944467A (en) Microcomputer
US5781052A (en) Static latches with one-phase control signal
JPS61262827A (en) Semiconductor integrated circuit device
JP2726529B2 (en) Programmable logic element
US5442801A (en) Arithmetic and logic unit
JPS6242313B2 (en)
JPS6227408B2 (en)
JP3310482B2 (en) Microcomputer
JPH027528B2 (en)
JPS5831215Y2 (en) Power supply control circuit
JP2735268B2 (en) LSI output buffer
JPH05250497A (en) Device for selecting input/output function of microcomputer
JPH0254617A (en) Input/output buffer circuit
JPH07135449A (en) Flip-flop circuit
KR940007811B1 (en) Electronic calculator
JPS6312285B2 (en)
JPS5850409Y2 (en) information processing equipment
JPH0710421Y2 (en) Output data control circuit