Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3204743B2 - Control device - Google Patents
[go: Go Back, main page]

JP3204743B2 - Control device - Google Patents

Control device

Info

Publication number
JP3204743B2
JP3204743B2 JP19034592A JP19034592A JP3204743B2 JP 3204743 B2 JP3204743 B2 JP 3204743B2 JP 19034592 A JP19034592 A JP 19034592A JP 19034592 A JP19034592 A JP 19034592A JP 3204743 B2 JP3204743 B2 JP 3204743B2
Authority
JP
Japan
Prior art keywords
signal
voltage
wait
microprocessor
generating means
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 - Fee Related
Application number
JP19034592A
Other languages
Japanese (ja)
Other versions
JPH0635696A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP19034592A priority Critical patent/JP3204743B2/en
Publication of JPH0635696A publication Critical patent/JPH0635696A/en
Application granted granted Critical
Publication of JP3204743B2 publication Critical patent/JP3204743B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロプロセッサに
よるメモリーなどの周辺I/Oの制御装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a peripheral I / O such as a memory by a microprocessor.

【0002】[0002]

【従来の技術】図3は従来例における制御装置のブロッ
ク図を示す。図3において、1は外部からウェイト信号
を入力することにより周辺I/Oへのアクセスタイミン
グ可変のマイクロプロセッサである。
2. Description of the Related Art FIG. 3 is a block diagram showing a conventional control device. In FIG. 3, reference numeral 1 denotes a microprocessor which can change the access timing to the peripheral I / O by inputting a wait signal from the outside.

【0003】まずマイクロプロセッサ1が周辺I/Oを
アクセスする際の動作について図4を参照しながら説明
する。図4(A)はノンウェイト状態におけるマイクロ
プロセッサのマシンサイクルの様子を示すタイミングチ
ャートであり、クロック信号に同期してT1,T2,T
3の3つのステートより成る。
First, the operation when the microprocessor 1 accesses the peripheral I / O will be described with reference to FIG. FIG. 4A is a timing chart showing the state of the machine cycle of the microprocessor in the non-wait state, in which T1, T2, T
3 states.

【0004】ウェイト信号はT2ステートのクロックの
立ち下がりでマイクロプロセッサにサンプリングさ
れ、”1”であればノンウェイト状態となりT2ステー
トの直後にT3ステートが来る。逆に”0”であれば図
4(B)(C)に示すようにTwステートがT2ステー
トの直後に挿入される。またTwステートのクロックの
立ち下がりにおいてもウェイト信号がサンプリングさ
れ、”0”であれば次もTwステートが挿入され、ウェ
イト信号が”1”であることが検出された次のステート
がT3ステートとなる。
The wait signal is sampled by the microprocessor at the falling edge of the clock in the T2 state, and if it is "1", it enters a non-wait state and the T3 state comes immediately after the T2 state. Conversely, if it is "0", the Tw state is inserted immediately after the T2 state as shown in FIGS. The wait signal is also sampled at the falling edge of the clock in the Tw state. If the wait signal is "0", the next Tw state is inserted. Become.

【0005】一般に、マイクロプロセッサはアクセスす
べき対象のアドレスを示すアドレス信号と、そのアドレ
ス信号が安定かつ有効であるタイミングを示すアドレス
イネーブル信号を出力するが、アドレス信号はT1ステ
ートのクロックの立ち上がりで変化するものとし、アド
レスイネーブル信号はT1ステートのクロックの立ち下
がりからT3ステートのクロックの立ち下がりまでがア
クティブとなるものとすると、上記のようにウェイト信
号のアクティブ時間幅をコントロールすることにより、
アドレス信号およびアドレスイネーブル信号のアクティ
ブ時間幅をコントロールすることができる。
Generally, a microprocessor outputs an address signal indicating an address to be accessed and an address enable signal indicating a timing at which the address signal is stable and effective. The address signal is output at the rising edge of a clock in the T1 state. Assuming that the address enable signal is active from the falling edge of the clock in the T1 state to the falling edge of the clock in the T3 state, the address enable signal is controlled by controlling the active time width of the wait signal as described above.
The active time width of the address signal and the address enable signal can be controlled.

【0006】アドレスイネーブル信号とアドレス信号の
AND条件をとった信号が周辺I/Oのチップセレクト
信号として用いられるので、結局、ウェイト信号のアク
ティブ時間幅をコントロールすることにより周辺I/O
のチップセレクト信号のアクティブ時間幅をコントロー
ルすることができる。
Since a signal obtained by taking an AND condition between the address enable signal and the address signal is used as a chip select signal of the peripheral I / O, the peripheral I / O is controlled by controlling the active time width of the wait signal.
The active time width of the chip select signal can be controlled.

【0007】逆に言えば、アクセスタイムの変化する周
辺I/Oに対してマイクロプロセッサが正常にアクセス
を行うにはウェイト信号のアクティブ時間幅をコントロ
ールしてやればよい。
Conversely, in order for the microprocessor to normally access the peripheral I / O whose access time changes, the active time width of the wait signal may be controlled.

【0008】さて図3において、2はメモリーなどの周
辺I/O、3はマイクロプロセッサから出力されるアド
レス信号とアドレスイネーブル信号のAND条件をとり
周辺I/Oのチップセレクト信号を生成するアドレスデ
コーダ、4はマイクロプロセッサおよびウェイト信号発
生手段にクロック信号を供給する発振器、5は装置に電
源を供給する電池、6はクロック信号とチップセレクト
信号をもとにマイクロプロセッサが正常に周辺にI/O
にアクセスするためのウェイト信号を発生させるウェイ
ト信号発生手段である。
In FIG. 3, reference numeral 2 denotes a peripheral I / O such as a memory, and reference numeral 3 denotes an address decoder for generating a chip select signal of the peripheral I / O based on an AND condition of an address signal and an address enable signal output from a microprocessor. Reference numeral 4 denotes an oscillator for supplying a clock signal to the microprocessor and the wait signal generating means, reference numeral 5 denotes a battery for supplying power to the device, and reference numeral 6 denotes a microprocessor which normally operates on the periphery based on the clock signal and the chip select signal.
Is a wait signal generating means for generating a wait signal for accessing.

【0009】以上を踏まえて従来例における制御装置の
動作を図3および図4(B)(C)を参照しながら説明
する。マイクロプロセッサ1には発振器4よりクロック
信号が供給されており、マイクロプロセッサ1はこのク
ロック信号に同期して周辺I/O2とのアクセスを行
う。マイクロプロセッサ1が周辺I/O2にアクセスし
ようとする際、マイクロプロセッサ1はT1ステートの
クロック信号の立ち上がりに同期してアドレス信号を出
力し、同クロック信号の立ち下がりに同期してアドレス
イネーブル信号を出力する。
Based on the above, the operation of the control device in the conventional example will be described with reference to FIGS. 3 and 4B and 4C. The microprocessor 1 is supplied with a clock signal from the oscillator 4, and the microprocessor 1 accesses the peripheral I / O 2 in synchronization with the clock signal. When the microprocessor 1 attempts to access the peripheral I / O2, the microprocessor 1 outputs an address signal in synchronization with the rise of the clock signal in the T1 state, and outputs an address enable signal in synchronization with the fall of the clock signal. Output.

【0010】アドレスデコーダ3において、このアドレ
ス信号とアドレスイネーブル信号のAND条件をとった
信号が生成され、これがチップセレクト信号として周辺
I/O2とウェイト信号発生手段6に出力される。チッ
プセレクト信号がアクティブとなることによりマイクロ
プロセッサ1のバスの専有権を周辺I/O2が有したこ
ととなりマイクロプロセッサ1とのアクセスが可能とな
る。そのときウェイト信号発生手段6では前記チップセ
レクト信号により周辺I/O2がアクセスされたことが
わかるので発振器4より供給されたクロック信号に同期
して必要とされる時間分ウェイト信号をアクティブとす
る。このためマイクロプロセッサ1のマシンサイクルに
Twステートが挿入されその結果チップセレクト信号の
アクティブ時間幅が延長され、周辺I/O2のアクセス
タイムが保証される。
In the address decoder 3, a signal is generated under the AND condition of the address signal and the address enable signal, and this signal is output to the peripheral I / O 2 and the wait signal generating means 6 as a chip select signal. When the chip select signal becomes active, the peripheral I / O 2 has the exclusive right of the bus of the microprocessor 1 and the microprocessor 1 can be accessed. At this time, since the wait signal generation means 6 knows that the peripheral I / O 2 has been accessed by the chip select signal, the wait signal is activated for the required time in synchronization with the clock signal supplied from the oscillator 4. Therefore, the Tw state is inserted into the machine cycle of the microprocessor 1, and as a result, the active time width of the chip select signal is extended, and the access time of the peripheral I / O2 is guaranteed.

【0011】ここでウェイト信号のアクティブ時間幅を
どのくらいに設定するかについて説明する。装置の電源
は電池5により供給されており、電池5の電圧は使用時
間が増大するとともに低下する。一方、メモリーなどに
代表される周辺I/O2は電源電圧が低下するとともに
アクセスタイムが増大することが知られている。したが
って、装置の使用時間の増大に伴い周辺I/O2のアク
セスタイムが増大する。
Here, how the active time width of the wait signal is set will be described. The power of the apparatus is supplied by a battery 5, and the voltage of the battery 5 decreases as the usage time increases. On the other hand, it is known that the peripheral I / O2 represented by a memory or the like has a reduced power supply voltage and an increased access time. Therefore, the access time of the peripheral I / O2 increases as the use time of the device increases.

【0012】このことから、たとえば装置の使用開始時
すなわち電池電圧最大時においては図4(B)に示すよ
うにウェイト信号のアクティブ時間幅をクロック信号の
1サイクル分としTwステートを1ステート挿入するだ
けでアクセスタイムが保証できたものが、装置を使用し
電池電圧が低下するに従い、ある電圧以下では図4
(C)に示すようにTwステートを2ステート挿入しな
ければならない場合がありうる。このような場合、従来
の制御装置は電池電圧の低下をウェイト信号発生手段に
知らしめる構成となっていないため、装置を使用する電
池電圧範囲の最小値における周辺I/O2のアクセスタ
イムに対応したTwステートの挿入数を実現するウェイ
ト信号のアクティブ時間幅を設定することになる。
For this reason, for example, at the start of use of the device, that is, when the battery voltage is at the maximum, as shown in FIG. 4B, the active time width of the wait signal is set to one cycle of the clock signal, and one Tw state is inserted. Although the access time could be guaranteed only by using the apparatus, as the battery voltage was reduced by using the apparatus, when the voltage was lower than a certain voltage, FIG.
As shown in (C), two Tw states may need to be inserted. In such a case, the conventional control device is not configured to notify the wait signal generation unit of the decrease in the battery voltage, and therefore, the conventional control device corresponds to the access time of the peripheral I / O2 at the minimum value of the battery voltage range using the device. The active time width of the wait signal for realizing the number of insertions of the Tw state is set.

【0013】[0013]

【発明が解決しようとする課題】このように従来の制御
装置では、装置を使用する電池電圧範囲の最小値におけ
る周辺I/Oのアクセスタイムに対応してウェイト信号
のアクティブ時間幅を設定しているため、電池電圧の高
い装置の使用開始当初でも必要以上にTwステートが挿
入され、マイクロプロセッサにおける処理の低速化をま
ねくという問題があった。
As described above, in the conventional control device, the active time width of the wait signal is set according to the access time of the peripheral I / O at the minimum value of the battery voltage range using the device. Therefore, there is a problem that a Tw state is inserted more than necessary even at the beginning of use of a device having a high battery voltage, which leads to a reduction in processing speed in a microprocessor.

【0014】本発明は上記問題を解決するもので、マイ
クロプロセッサが電池の電圧に対応した適切なタイミン
グで周辺I/Oとのアクセスを行い、マイクロプロセッ
サにおける処理の高速化を図ることができる制御装置を
提供することを目的としている。
According to the present invention, there is provided a control method for controlling a microprocessor to access a peripheral I / O at an appropriate timing corresponding to a voltage of a battery and to speed up processing in the microprocessor. It is intended to provide a device.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明の制御装置は、電池の出力から一定の基準電
圧を生成する基準電圧生成手段と、電池の出力電圧を一
定の比率で分圧する分圧手段と、基準電圧生成手段から
の出力電圧と前記分圧手段の出力電圧を比較し、その結
果に基づいてウェイト切換信号を出力する電圧比較手段
と、電圧比較手段からのウェイト切換信号に応じて前記
マイクロプロセッサに入力するウェイト信号のアクティ
ブ時間幅を変化させるウェイト信号発生手段を設けたも
のである。
In order to achieve the above object, a control device according to the present invention comprises: a reference voltage generating means for generating a constant reference voltage from an output of a battery; The voltage dividing means for dividing the voltage, the output voltage from the reference voltage generating means and the output voltage of the voltage dividing means are compared , and the result is calculated.
A voltage comparison means for outputting a weight switching signal based on the result, a wait signal generating means for varying the active time duration of the wait signal to be input to the <br/> microprocessor according to the weight switching signal from the voltage comparator means It is provided.

【0016】[0016]

【作用】本発明は、上記した構成により、電池電圧に関
らず一定の基準電圧を生成する基準電圧生成手段の出力
電圧と電池の出力電圧を一定の比率で分圧する分圧手段
の出力電圧を電圧比較手段において比較しその結果をウ
ェイト信号発生手段に信号として伝達することにより、
ウェイト信号発生手段は電池電圧がある一定電圧以下に
低下したかどうかを検知することが可能となり、したが
って電池電圧の変化に応じてマイクロプロセッサに入力
するウェイト信号のアクティブ時間幅を変化させること
ができる。
According to the present invention, the output voltage of the voltage dividing means for dividing the output voltage of the reference voltage generating means for generating a constant reference voltage regardless of the battery voltage and the output voltage of the battery at a constant ratio, according to the present invention, is provided. Are compared in the voltage comparing means, and the result is transmitted as a signal to the weight signal generating means,
The wait signal generation means can detect whether the battery voltage has dropped below a certain voltage, and therefore can change the active time width of the wait signal input to the microprocessor according to the change in the battery voltage. .

【0017】[0017]

【実施例】以下本発明の一実施例について図を参照しな
がら説明する。図1は本発明における制御装置の一実施
例のブロック図である。図1において、1はマイクロプ
ロセッサ、2はメモリーなどの周辺I/O、3はアドレ
スデコーダ、4は発振器、5は電池であり、これらは従
来例と同様のものであるので同一の番号を付し説明を省
略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the control device according to the present invention. In FIG. 1, 1 is a microprocessor, 2 is a peripheral I / O such as a memory, 3 is an address decoder, 4 is an oscillator, and 5 is a battery. And the description is omitted.

【0018】10はクロック信号とチップセレクト信号を
もとに後述の電圧比較手段9からのウェイト切換信号に
応じたウェイト信号を発生させるウェイト信号発生手
段、7は電池の出力から一定の基準電圧を生成する3端
子レギュレータなどの基準電圧生成手段、8は電池の出
力電圧を一定の比率で分圧する分圧手段、9は基準電圧
生成手段からの出力電圧と前記分圧手段からの出力電圧
を比較する電圧比較手段で、基準電圧生成手段7からの
出力電圧の方が高い場合は”0”、分圧手段8からの出
力電圧の方が高い場合は”1”となるウェイト切換信号
をウェイト信号発生手段10に対し出力する。これに対応
してウェイト信号発生手段10は、ウェイト切換信号が”
1”である場合にはクロック信号1サイクル分の時間ア
クティブとなるウェイト信号を出力し、ウェイト切換信
号が”0”である場合はクロック信号2サイクル分の時
間アクティブとなるウェイト信号を出力する。
Reference numeral 10 denotes a weight signal generating means for generating a weight signal according to a weight switching signal from a voltage comparing means 9 described later based on a clock signal and a chip select signal. Reference numeral 7 denotes a constant reference voltage from the output of the battery. Reference voltage generating means such as a three-terminal regulator for generating the voltage, voltage dividing means 8 for dividing the output voltage of the battery at a fixed ratio, and 9 comparing the output voltage from the reference voltage generating means with the output voltage from the voltage dividing means. A weight switching signal which becomes "0" when the output voltage from the reference voltage generating means 7 is higher and "1" when the output voltage from the voltage dividing means 8 is higher is a weight signal. Output to the generating means 10. In response to this, the wait signal generating means 10 outputs
When the wait signal is "1", a wait signal that is active for one cycle of the clock signal is output. When the wait switching signal is "0", a wait signal that is active for two cycles of the clock signal is output.

【0019】次に本実施例の制御装置の動作を図1およ
び図2を参照しながら説明する。マイクロプロセッサに
は発振器4よりクロック信号が供給されており、マイク
ロプロセッサ1はこのクロック信号に同期して周辺I/
O2とのアクセスを行う。マイクロプロセッサ1が周辺
I/O2にアクセスしようとする際、マイクロプロセッ
サ1はT1ステートのクロック信号の立ち上がりに同期
してアドレス信号を出力し、同クロック信号の立ち下が
りに同期してアドレスイネーブル信号が出力される。
Next, the operation of the control apparatus according to the present embodiment will be described with reference to FIGS. A clock signal is supplied from the oscillator 4 to the microprocessor, and the microprocessor 1 synchronizes the peripheral I / O with the clock signal.
Access to O2. When the microprocessor 1 attempts to access the peripheral I / O2, the microprocessor 1 outputs an address signal in synchronization with the rise of the clock signal in the T1 state, and the address enable signal is synchronized with the fall of the clock signal. Is output.

【0020】アドレスデコーダ3において、このアドレ
ス信号とアドレスイネーブル信号のAND条件をとった
信号が生成され、これがチップセレクト信号として周辺
I/O2とウェイト信号発生手段10に出力される。チッ
プセレクト信号がアクティブとなることによりマイクロ
プロセッサ1のバスの専有権を周辺I/O2が有したこ
ととなり、マイクロプロセッサ1とのアクセスが可能と
なる。そのときウェイト信号発生手段10では前記チップ
セレクト信号により周辺I/O2がアクセスされたこと
がわかるので、発振器4より供給されたクロック信号に
同期してウェイト切換信号に対応した時間分アクティブ
なウェイト信号を発生させる。このためマイクロプロセ
ッサ1のマシンサイクルにTwステートが挿入されその
結果チップセレクト信号のアクティブ時間幅が延長さ
れ、周辺I/O2のアクセスタイムが保証される。
In the address decoder 3, a signal is generated under the AND condition of the address signal and the address enable signal, and the signal is output to the peripheral I / O 2 and the wait signal generating means 10 as a chip select signal. When the chip select signal becomes active, the peripheral I / O 2 has the exclusive right of the bus of the microprocessor 1 and the access to the microprocessor 1 becomes possible. At this time, the wait signal generation means 10 knows that the peripheral I / O 2 has been accessed by the chip select signal, so that the wait signal active for the time corresponding to the wait switching signal is synchronized with the clock signal supplied from the oscillator 4. Generate. Therefore, the Tw state is inserted into the machine cycle of the microprocessor 1, and as a result, the active time width of the chip select signal is extended, and the access time of the peripheral I / O2 is guaranteed.

【0021】図2(A)は装置の使用開始当初で電池5
の電圧が高いときのマイクロプロセッサ1の周辺I/O
2へのアクセスの様子を示すタイミングチャートであ
り、この時点ではまだ分圧手段8からの出力電圧の方が
基準電圧生成手段7からの出力電圧より高くウェイト切
換信号は”1”である。したがって、ウェイト信号発生
手段10はクロック信号1サイクル分の時間アクティブと
なり、Twステートが1ステート挿入され、その分チッ
プセレクト信号のアクティブ時間幅が延長される。
FIG. 2A shows the battery 5 at the beginning of use of the apparatus.
Peripheral I / O of the microprocessor 1 when the voltage of the
2 is a timing chart showing a state of access to the reference voltage generator 2. At this point, the output voltage from the voltage divider 8 is still higher than the output voltage from the reference voltage generator 7, and the weight switching signal is "1". Therefore, wait signal generating means 10 is active for one cycle of the clock signal, one Tw state is inserted, and the active time width of the chip select signal is extended accordingly.

【0022】図2(B)は装置の使用時間が相当経過し
電池5の電圧が低下したときのマイクロプロセッサ1の
周辺のI/O2へのアクセスの様子を示すタイミングチ
ャートであり、この時点では基準電圧生成手段7からの
出力電圧の方が分圧手段8からの出力電圧より高くウェ
イト切換信号は”0”である。したがって、ウェイト信
号発生手段10はクロック信号2サイクル分の時間アクテ
ィブとなり、Twステートが2ステート挿入され、その
分チップセレクト信号のアクティブ時間幅が延長され
る。
FIG. 2B is a timing chart showing the state of access to the I / O 2 around the microprocessor 1 when the use time of the apparatus has considerably elapsed and the voltage of the battery 5 has dropped. The output voltage from the reference voltage generating means 7 is higher than the output voltage from the voltage dividing means 8, and the weight switching signal is "0". Therefore, wait signal generating means 10 is active for a period of two cycles of the clock signal, two states of Tw are inserted, and the active time width of the chip select signal is extended accordingly.

【0023】ここで、周辺I/O2のアクセスタイム
が、Twステートが1ステート挿入されたときのチップ
セレクト信号のアクティブ時間幅よりも大きくなる電池
電圧において、電圧比較手段9がちょうど”0”のウェ
イト切換信号を出力するように基準電圧生成手段7の基
準電圧と分圧手段8の分圧比を設定しておけば、マイク
ロプロセッサ1が電池の電圧に対応した適切なタイミン
グで周辺I/Oとのアクセスを行い、マイクロプロセッ
サ1における処理の高速化を図ることができる。
Here, when the access time of the peripheral I / O 2 is longer than the active time width of the chip select signal when one Tw state is inserted, the voltage comparison means 9 determines that the access time is just “0”. If the reference voltage of the reference voltage generating means 7 and the voltage dividing ratio of the voltage dividing means 8 are set so as to output a wait switching signal, the microprocessor 1 can control the peripheral I / O and the peripheral I / O at an appropriate timing corresponding to the battery voltage. And the speed of the processing in the microprocessor 1 can be increased.

【0024】[0024]

【発明の効果】以上のように本発明によれば電池の出
力電圧から一定の基準電圧を生成する基準電圧生成手段
と、電池の出力電圧を一定の比率で分圧する分圧手段
と、基準電圧生成手段からの出力電圧と前記分圧手段の
出力電圧を比較し、その結果に基づいてウェイト切換信
号を出力する電圧比較手段と、電圧比較手段からのウェ
イト切換信号に応じてマイクロプロセッサに入力するウ
ェイト信号のアクティブ時間幅を変化させるウェイト信
号発生手段を設けたので、電池電圧の変化をウェイト発
生手段が検知し、電池電圧の変化に応じてマイクロプロ
セッサに入力するウェイト信号のアクティブ時間幅を変
化させることが可能となり、これによりマイクロプロセ
ッサが電池電圧に対応した適切なタイミングで周辺I/
Oとのアクセスを行い、マイクロプロセッサにおける処
理の高速化を図ることができる優れた制御装置が得られ
る。
As described above, according to the present invention, reference voltage generating means for generating a constant reference voltage from the output voltage of the battery, voltage dividing means for dividing the output voltage of the battery at a constant ratio, The output voltage from the voltage generating means is compared with the output voltage from the voltage dividing means, and based on the result, the weight switching signal is output.
A voltage comparing means for outputting the item, web from the voltage comparator means
Weight signal generating means for changing the active time width of the wait signal input to the microprocessor in response to the light source switching signal , so that the weight generating means detects a change in the battery voltage, and responds to the change in the battery voltage. Can change the active time width of the wait signal input to the peripheral I / O at an appropriate timing corresponding to the battery voltage.
An excellent control device that can access the O and can achieve high-speed processing in the microprocessor can be obtained.

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

【図1】本発明における制御装置の一実施例のブロック
FIG. 1 is a block diagram of an embodiment of a control device according to the present invention.

【図2】本発明における制御装置の一実施例のタイミン
グチャート図
FIG. 2 is a timing chart of an embodiment of a control device according to the present invention.

【図3】従来例における制御装置のブロック図FIG. 3 is a block diagram of a control device in a conventional example.

【図4】従来例における制御装置のタイミングチャート
FIG. 4 is a timing chart of a control device in a conventional example.

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

1 マイクロプロセッサ 2 周辺I/O 3 アドレスデコーダ 4 発振器 5 電池 7 基準電圧生成手段 8 分圧手段 9 電圧比較手段 10 ウェイト信号発生手段 DESCRIPTION OF SYMBOLS 1 Microprocessor 2 Peripheral I / O 3 Address decoder 4 Oscillator 5 Battery 7 Reference voltage generating means 8 Voltage dividing means 9 Voltage comparing means 10 Wait signal generating means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/30 - 9/355 G06F 13/10 G06F 1/04 - 1/14 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 9/30-9/355 G06F 13/10 G06F 1/04-1/14

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部からウェイト信号を入力することに
より周辺I/Oへのアクセスタイミング可変できる
イクロプロセッサと、装置に電源を供給する電池と、前
記電池の出力から一定の基準電圧を生成する基準電圧生
成手段と、前記電池の出力電圧を一定の比率で分圧する
分圧手段と、前記基準電圧生成手段からの出力電圧と前
記分圧手段の出力電圧を比較し、その結果に基づいてウ
ェイト切換信号を出力する電圧比較手段と、前記電圧比
較手段からのウェイト切換信号に応じて前記マイクロプ
ロセッサに入力するウェイト信号のアクティブ時間幅を
変化させるウェイト信号発生手段を備えたことを特徴と
する制御装置。
1. A microprocessor capable of changing the access timing to peripheral I / O by inputting a wait signal from the outside, a battery for supplying power to the apparatus, and a constant output from the battery. compares the reference voltage generating means for generating a reference voltage, a voltage divider for dividing the output voltage of the battery at a constant rate, the output voltage of the output voltage and the voltage divider from the reference voltage generating means, the Based on the results
A voltage switching means for outputting a wait switching signal; and a wait signal generating means for changing an active time width of a wait signal input to the microprocessor in response to a weight switching signal from the voltage comparing means. Control device.
【請求項2】 ウェイト信号発生手段は、クロック信号
とチップセレクト信号をもとに、電圧比較手段からのウ
ェイト切換信号に応じたウェイト信号を発生させること
を特徴とする請求項1記載の制御装置。
2. The method according to claim 1, wherein the wait signal generating means includes a clock signal.
Based on the signal and the chip select signal.
Generating a wait signal according to the weight switching signal
The control device according to claim 1, wherein:
【請求項3】 外部からウェイト信号を入力することに
より周辺I/Oへのアクセスタイミングを可変できるマ
イクロプロセッサと、メモリーなどの周辺I/Oと、装
置に電源を供給する電池と、前記電池の出力から一定の
基準電圧を生成する基準電圧生成手段と、前記電池の出
力電圧を一定の比率で分圧する分圧手段と、前記基準電
圧生成手段からの出力電圧と前記分圧手段の出力電圧を
比較し、その結果に基づいてウェイト切換信号を出力す
る電圧比較手段と、前記マイクロプロセッサから出力さ
れるアドレス信号とアドレスイネーブル信号に基づいて
周辺I/Oのチップセレクト信号を生成するアドレスデ
コーダと、前記マイクロプロセッサおよびウェイト信号
発生手段にクロック信号を供給する発振器と、前記発振
器より供給されたクロック信号とチップセレクト信号を
もとに、前記電圧比較手段からのウェイト切換信号に応
じたウェイト信号を発生させるウェイト信号発生手段と
を備え、前記ウェイト信号発生手段は、前記チップセレ
クト信号により周辺I/Oがアクセスされたことがわか
った時、前記クロック信号に同期してウェイト切換信号
に対応した時間分アクティブなウェイト信号を発生さ
せ、前記マイクロプロセッサからの信号に基づいたチッ
プセレクト信号のアクティブ時間幅を延長させることを
特徴とする制御装置。
3. A method of externally inputting a wait signal.
More variable I / O access timing
Microprocessor, peripheral I / O such as memory,
A battery that supplies power to the
A reference voltage generating means for generating a reference voltage;
Voltage dividing means for dividing the input voltage at a fixed ratio;
The output voltage from the voltage generating means and the output voltage from the voltage dividing means.
And outputs a wait switching signal based on the result.
Voltage comparing means, and an output from the microprocessor.
Based on the address signal and the address enable signal
Address data for generating chip select signals for peripheral I / O
A coder, the microprocessor and a wait signal
An oscillator for supplying a clock signal to the generating means;
Clock signal and chip select signal supplied from the
Based on the weight switching signal from the voltage comparing means,
Weight signal generating means for generating the same weight signal
Wherein the weight signal generating means includes the chip select.
That the peripheral I / O has been accessed by the
A wait switching signal in synchronization with the clock signal.
An active wait signal is generated for the time corresponding to
Chip based on signals from the microprocessor.
Extend the active time width of the select signal.
Characteristic control device.
JP19034592A 1992-07-17 1992-07-17 Control device Expired - Fee Related JP3204743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19034592A JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19034592A JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Publications (2)

Publication Number Publication Date
JPH0635696A JPH0635696A (en) 1994-02-10
JP3204743B2 true JP3204743B2 (en) 2001-09-04

Family

ID=16256656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19034592A Expired - Fee Related JP3204743B2 (en) 1992-07-17 1992-07-17 Control device

Country Status (1)

Country Link
JP (1) JP3204743B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4564184A4 (en) * 2022-07-29 2025-10-29 Sony Group Corp COMMUNICATION DEVICE, DRIVE DEVICE, DISPLAY DEVICE AND COMMUNICATION METHOD

Also Published As

Publication number Publication date
JPH0635696A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
US8566627B2 (en) Adaptive power control
EP0348045A2 (en) Method of controlling the operating speed of an information processing unit, and related information processing unit
US5461649A (en) Method and apparatus for maintaining a state of a state machine during unstable clock conditions without clock delay
US11755096B2 (en) Method and apparatus for selectable high performance or low power processor system
KR940002712A (en) Improved External Memory Access Control in Processing Systems
JPS6432489A (en) Memory device
JP3204743B2 (en) Control device
JP3190121B2 (en) Control device
JPH0736825A (en) Information processor
KR100646205B1 (en) Control Method for Low Power Operation of Delay Fixed Loop Clock Generator
US5619468A (en) Two-stage memory refresh circuit
US5175844A (en) Execution rate controlling device
US20020159326A1 (en) Semiconductor integrated circuit device
KR200349232Y1 (en) Micro control unit having dynamic random access memory
JPH06119780A (en) Semiconductor memory
JPH09114540A (en) Clock generator
KR0121499Y1 (en) Clock Phase Correction Device using the Setting Table Method
KR100247914B1 (en) Semiconductor memory apparatus having inter voltage generator
KR100386949B1 (en) Digital data processing system
JPH0460859A (en) Weight controlling system for information processor
KR100242027B1 (en) Dram interface controller
JP3450667B2 (en) Data processor
KR960001110B1 (en) Dynamic RAM Refresh System
KR0183813B1 (en) DMA Refresh Controller
KR0168202B1 (en) Clock switching device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees