JPH05324119A - Information processor - Google Patents

Information processor

Info

Publication number
JPH05324119A
JPH05324119A JP4158643A JP15864392A JPH05324119A JP H05324119 A JPH05324119 A JP H05324119A JP 4158643 A JP4158643 A JP 4158643A JP 15864392 A JP15864392 A JP 15864392A JP H05324119 A JPH05324119 A JP H05324119A
Authority
JP
Japan
Prior art keywords
clock
period
signal
switching
control unit
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
JP4158643A
Other languages
Japanese (ja)
Other versions
JP3142084B2 (en
Inventor
Hiroki Kitamura
宏記 北村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP04158643A priority Critical patent/JP3142084B2/en
Publication of JPH05324119A publication Critical patent/JPH05324119A/en
Application granted granted Critical
Publication of JP3142084B2 publication Critical patent/JP3142084B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To provide an information processor capable of improving a processing speed in the case of selective operation by clocks with the frequency of two kinds or more and capable of reducing power consumption to its minimum. CONSTITUTION:Either one of clocks CK1, CK2 is selected by an external switch 1 and the switched information is latched by a latch 2 and applied to a clock switch 3 and a TW control part 60 for controlling a period TW to be added for surely transferring data as a clock switching signal 5. Values for the period TW corresponding to the clocks CK1, CK2 are previously set in the TW control part 60 and a TW control forming part 61 in the TW control part 60 selects the period TW based upon an operation clock 4 and the clock switching signal 5 and outputs a ready signal based upon the period TW to a CPU 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、2種類以上の周波数の
クロックで選択的に動作する日本語ワードプロセッサや
パーソナルコンピュータ等の情報処理装置に関し、特に
クロックを切り換える際のデータ転送の内部タイミング
制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus such as a Japanese word processor or a personal computer that selectively operates with clocks of two or more kinds of frequencies, and more particularly to internal timing control of data transfer when switching clocks. ..

【0002】[0002]

【従来の技術】一般に、日本語ワードプロセッサ(ワー
プロ)やパーソナルコンピュータ(パソコン)等の情報
処理装置は、データを処理するCPU(中央処理装置)
として8ビット、16ビット等のデータ幅を有するマイ
クロコンピュータ(マイコン)と、記憶部として書き換
え可能なRAM(ランダムアクセスメモリ)や読み出し
専用のROM(リードオンリメモリ)とを有する。ま
た、外部記憶装置としてFDD(フロッピディスクドラ
イブ装置)やHDD(ハードディスクドライブ装置)を
有し、記録装置としてプリンタを有し、通信手段として
RS232Cインタフェース等を有する場合にはデータ
入出力用の制御部としてIO(入出力)制御部を有す
る。
2. Description of the Related Art Generally, an information processing device such as a Japanese word processor (word processor) or personal computer (personal computer) is a CPU (central processing unit) for processing data.
As a storage unit, a rewritable RAM (random access memory) or a read-only ROM (read only memory) is provided. Further, when an FDD (floppy disk drive device) or an HDD (hard disk drive device) is provided as an external storage device, a printer is provided as a recording device, and an RS232C interface or the like is provided as a communication means, a data input / output control unit is provided. Has an IO (input / output) control unit.

【0003】これらのマイコンと、メモリとIO制御部
との間のデータの受け渡しは、データバスと、アドレス
バスと制御バス等を介してマイコンから指定されたメモ
リやIO制御部が応答することにより行われ、また、マ
イコンと、メモリと、IO制御部の動作を決定するシス
テムクロックに基づいて行われる。
Data is exchanged between these microcomputers, the memory and the IO control unit by the response of the memory or IO control unit designated by the microcomputer via the data bus, the address bus and the control bus. The operation is performed based on the system clock that determines the operations of the microcomputer, the memory, and the IO control unit.

【0004】図13は一例として、日本電気株式会社の
Vシリーズマイコンにおいてマイコンがメモリからデー
タを取り出すメモリリードサイクルのタイミングチャー
トを示す。このリードサイクルの始まりであるクロック
の期間T1において、マイコンから読み出し時に必要な
アドレスがアドレスバス上に設定され、また、バスの状
態を規定する信号がバス制御バス上に設定される。
FIG. 13 shows, as an example, a timing chart of a memory read cycle in which a microcomputer fetches data from a memory in a V series microcomputer manufactured by NEC Corporation. In the clock period T1 which is the start of this read cycle, an address required for reading is set on the address bus from the microcomputer, and a signal for defining the bus state is set on the bus control bus.

【0005】そして、次の期間T2においてマイコンに
対して、メモリの読み出しタイミングが間に合う場合に
はレディOKが通知され、次の期間T3においてマイコ
ンがデータを取り込む。他方、期間T2においてメモリ
の読み出しタイミングが間に合わない場合にはマイコン
に対してレディNGが通知され、レディOKが通知され
るまで期間TWが期間T3、T4の間に追加され、この
期間TWにより、制御信号を一定状態に保持してメモリ
やIO制御部とのデータのやり取りを確実にしている。
なお、メモリのライトサイクルや、IOリードサイクル
やIOライトサイクルも同様である。
Then, in the next period T2, when the read timing of the memory is in time, the ready OK is notified to the microcomputer, and in the next period T3, the microcomputer takes in the data. On the other hand, when the read timing of the memory is not in time in the period T2, the ready NG is notified to the microcomputer, and the period TW is added between the periods T3 and T4 until the ready OK is notified. The control signal is held in a constant state to ensure the data exchange with the memory and the IO control unit.
The same applies to memory write cycles, IO read cycles, and IO write cycles.

【0006】ここで、上記期間TWの回数は予め、メモ
リやIO制御部のデバイスに対してアクセスするために
必要な時間に基づいて決定され、また、動作クロックの
周波数にも依存している。また、省電力化や動作電源の
低電圧化を目的として、2種類以上の周波数の動作クロ
ックで選択的に動作するシステムが知られているが、こ
のようなシステムにおいては、上記期間TWの回数は、
動作クロックの最大周波数に基づいた固定値に設定され
ている。
Here, the number of times of the period TW is determined in advance based on the time required to access the device of the memory and the IO control unit, and also depends on the frequency of the operation clock. In addition, there is known a system that selectively operates with operating clocks of two or more types of frequencies for the purpose of power saving and lowering of the operating power supply voltage. In such a system, the number of times of the period TW is increased. Is
It is set to a fixed value based on the maximum frequency of the operating clock.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の情報処理装置では、データのやり取りを確実にする
ために追加される期間TWの回数が最大周波数に基づい
た固定値に設定されているので、低い方の周波数の動作
クロックに切換えた場合に処理時間を短縮することがで
きないという問題点がある。
However, in the above-mentioned conventional information processing apparatus, the number of the period TW added to ensure the data exchange is set to a fixed value based on the maximum frequency. There is a problem that the processing time cannot be shortened when switching to the operation clock of the lower frequency.

【0008】なお、標準の動作クロック周波数を予め最
大周波数より低く設定し、動作ブロック周波数をこの最
大周波数に切り換えるように構成した場合、やはり期間
TWの回数が最大周波数に基づいた固定値に設定される
ので、標準の動作クロック周波数の選択時には不要な期
間TWが発生し、したがって、不要な期間TWの分だけ
標準時の処理速度が低下するという問題点がある。ま
た、クロックの周波数を低くする目的が消費電力を減少
することにある場合、不要な期間TW分だけメモリやI
O制御部に対してアクセスする時間が長くなるので、消
費電力を最大限に減少することができないという問題点
がある。
When the standard operation clock frequency is set lower than the maximum frequency in advance and the operation block frequency is switched to this maximum frequency, the number of periods TW is also set to a fixed value based on the maximum frequency. Therefore, when the standard operation clock frequency is selected, the unnecessary period TW is generated, so that there is a problem that the processing speed in the standard time is reduced by the unnecessary period TW. Further, when the purpose of lowering the clock frequency is to reduce the power consumption, the memory and the I and
Since it takes a long time to access the O control unit, there is a problem that the power consumption cannot be reduced to the maximum.

【0009】本発明は上記従来の問題点に鑑み、2種類
以上の周波数のクロックで選択的に動作する場合に処理
速度を向上することができ、また、消費電力を最大限に
減少することができる情報処理装置を提供することを目
的とする。
In view of the above-mentioned conventional problems, the present invention can improve the processing speed and selectively reduce the power consumption when operating selectively with clocks of two or more types of frequencies. An object of the present invention is to provide an information processing device that can be used.

【0010】[0010]

【課題を解決するための手段】本発明は上記目的を達成
するために、少なくとも情報処理部と、記憶部と、入出
力制御部とを有し、前記情報処理部と、記憶部と、入出
力制御部との間で2種類以上の周波数の動作クロックの
1つに基づいてデータを転送する情報処理装置におい
て、前記動作クロックを切り換えるクロック切換え手段
と、前記クロック切換え手段により動作クロックが切り
替えられた場合に、データ転送開始時に要するクロック
数を可変に制御する制御手段とを有することを特徴とす
る。
In order to achieve the above object, the present invention has at least an information processing section, a storage section, and an input / output control section, and the information processing section, the storage section, and the input section. In an information processing device that transfers data to and from an output control unit based on one of operating clocks of two or more types of frequencies, a clock switching unit that switches the operating clock, and the operating clock is switched by the clock switching unit. In this case, the control means variably controls the number of clocks required at the start of data transfer.

【0011】[0011]

【作用】本発明は上記構成により、周波数が異なる動作
クロックに切り替えられた場合にデータ転送開始時に要
するクロック数が変化するので、低い方の周波数の動作
クロックに切換えた場合に処理時間を短縮することがで
き、また、消費電力を最大限に減少することができる。
According to the present invention, the number of clocks required at the start of data transfer changes when the operating clocks of different frequencies are switched, so that the processing time is shortened when the operating clock of the lower frequency is switched. In addition, the power consumption can be reduced to the maximum.

【0012】[0012]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は、本発明に係る情報処理装置の一実施例の
概略構成を示すブロック図、図2は、図1に示す情報処
理装置における処理シーケンスを説明するためのフロー
チャートである。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing a schematic configuration of an embodiment of an information processing apparatus according to the present invention, and FIG. 2 is a flowchart for explaining a processing sequence in the information processing apparatus shown in FIG.

【0013】この実施例では一例として、2種類の周波
数のクロックCK1、CK2で選択的に動作するように
構成され、このクロックCK1、CK2は、動作クロッ
ク切換え用の外部スイッチ(SW)1により選択され
る。この外部SW1の切換え情報は、動作クロック4が
システムの起動前に設定されるようにラッチ2によりシ
ステムのリセット信号でラッチされ、クロック切換え信
号5としてクロック切換え器3と、データのやり取りを
確実にするために追加される期間TWを制御するTW制
御部6とに印加される。クロック切換え器3は、このク
ロック切換え信号5によりクロックCK1、CK2から
選択した動作クロック4をCPU10とTW制御部6に
出力する。
In this embodiment, as an example, the clocks CK1 and CK2 having two kinds of frequencies are selectively operated, and the clocks CK1 and CK2 are selected by an external switch (SW) 1 for switching the operation clocks. To be done. The switching information of the external SW1 is latched by the system reset signal by the latch 2 so that the operation clock 4 is set before the system is started, and the data is reliably exchanged with the clock switch 3 as the clock switching signal 5. Is applied to the TW control unit 6 that controls the period TW that is added in order to operate. The clock switch 3 outputs the operation clock 4 selected from the clocks CK1 and CK2 by the clock switching signal 5 to the CPU 10 and the TW control unit 6.

【0014】TW制御部6には予め、クロックCK1、
CK2に応じてデータ転送開始時に要する期間TWのデ
ータが設定され、TW制御部6のTW制御作成部6a
は、この動作クロック4とクロック切換え信号5に基づ
いて期間TWを選択し、この期間TWに基づいたレディ
信号をCPU10に出力する。
The TW control unit 6 has clocks CK1,
Data of the period TW required at the start of data transfer is set according to CK2, and the TW control creation unit 6a of the TW control unit 6 is set.
Selects the period TW based on the operation clock 4 and the clock switching signal 5, and outputs a ready signal based on the period TW to the CPU 10.

【0015】アドレスバス41と、データバス42と、
バス制御バス43にはCPU10と、TW制御部6と、
メモリ20と、IO制御部30が接続されている。メモ
リ20は一例として、メモリ制御部21と、ダイナミッ
クRAM(DRAM)22と、スタティックRAM(S
RAM)23と、ROM24とを有し、メモリ制御部2
1がバス制御バス43に接続され、DRAM22と、S
RAM23と、ROM24がアドレスバス41とデータ
バス42に接続されている。メモリ制御部21は、バス
制御バス9上の制御信号に基づいて、アドレスとRAS
(ロウアドレスストローブ)信号とCAS(コラムアド
レスストローブ)信号等によりDRAM22の読み出し
と書き込みを制御し、また、SRAM23とROM24
の読み出しと書き込みを各制御信号により制御する。I
O制御部30は、例えばプリンタや、FDDやHDD等
の装置との間でデータを入出力するための制御を行う。
An address bus 41, a data bus 42,
The bus control bus 43 includes the CPU 10, the TW control unit 6,
The memory 20 and the IO control unit 30 are connected. The memory 20 is, for example, a memory controller 21, a dynamic RAM (DRAM) 22, and a static RAM (S).
RAM) 23 and ROM 24, and the memory control unit 2
1 is connected to the bus control bus 43, and the DRAM 22 and S
The RAM 23 and the ROM 24 are connected to the address bus 41 and the data bus 42. The memory control unit 21 determines the address and RAS based on the control signal on the bus control bus 9.
The reading and writing of the DRAM 22 is controlled by the (row address strobe) signal and the CAS (column address strobe) signal, and the SRAM 23 and the ROM 24 are also controlled.
The reading and writing of is controlled by each control signal. I
The O control unit 30 performs control for inputting / outputting data to / from a device such as a printer or FDD or HDD.

【0016】図2は、外部SW1によりクロックCK
1、CK2が切換えられた場合の動作を示す。まずシス
テムが動作中でない場合、リセット解除状態でない場合
または電源がオンでない場合には(ステップS1)には
それぞれシステムが起動され、リセットが解除され、ま
たは電源が投入された後(ステップS2)、動作クロッ
ク4が決定され、また、TW制御部6により期間TWが
設定される(ステップS4)。他方、システムが動作中
の場合、リセット解除状態の場合および電源がオンの場
合には(ステップS1)にはリセットされた後(ステッ
プS3)、動作クロック4が決定され、また、TW制御
部6により期間TWが設定される(ステップS4)。
In FIG. 2, a clock CK is generated by the external SW1.
The operation when 1 and CK2 are switched is shown. First, if the system is not in operation, is not in the reset release state, or is not powered on (step S1), the system is started, reset is released, or power is turned on (step S2), respectively. The operation clock 4 is determined, and the period TW is set by the TW control unit 6 (step S4). On the other hand, when the system is in operation, in the reset released state, and when the power is on (step S1), the operation clock 4 is determined after being reset (step S3), and the TW control unit 6 Thus, the period TW is set (step S4).

【0017】そして、リセットが解除されてシステムが
起動されると(ステップS5)、TW制御部6のTW制
御作成部6aは、制御バス43上において指定されてい
るメモリ21やIO制御部30のアクセス状態を基にし
てレディ信号をCPU11に送出し、CPU10は、上
記期間TWの回数に基づいてメモリ20やIO制御部3
0に対してアクセスを行う。なお、ステップS3におい
てシステムがリセットされない場合には、クロックCK
1、CK2が切換えられない(ステップS7)。
When the reset is released and the system is activated (step S5), the TW control creation unit 6a of the TW control unit 6 causes the TW control creation unit 6a of the memory 21 and the IO control unit 30 designated on the control bus 43. A ready signal is sent to the CPU 11 based on the access state, and the CPU 10 causes the memory 20 and the IO control unit 3 to operate based on the number of times of the period TW.
Access 0. If the system is not reset in step S3, the clock CK
1 and CK2 cannot be switched (step S7).

【0018】したがって、上記実施例によれば、動作ク
ロックの周波数に応じて期間TWの回数が切り替えられ
るので、低い方の周波数の動作クロックに切換えた場合
に処理時間を短縮することができ、また、消費電力を最
大限に減少することができる。
Therefore, according to the above embodiment, the number of times of the period TW can be switched according to the frequency of the operating clock, so that the processing time can be shortened when switching to the operating clock of the lower frequency, and , The power consumption can be reduced to the maximum.

【0019】図3は、第2の実施例の概略構成を示すブ
ロック図、図4は、第2の実施例における処理シーケン
スを説明するためのフローチャートである。上記第1の
実施例では、クロックCK1、CK2をハードウエア
(TW制御部6)で切り替えているが、この第2の実施
例では、装置が動作を停止している時に動作クロックC
K1、CK2をCPU10のソフトウエアで切換えて動
作を開始するように構成されている。
FIG. 3 is a block diagram showing a schematic configuration of the second embodiment, and FIG. 4 is a flow chart for explaining a processing sequence in the second embodiment. In the first embodiment, the clocks CK1 and CK2 are switched by the hardware (TW control unit 6), but in the second embodiment, the operation clock C is used when the device stops operating.
It is configured such that K1 and CK2 are switched by the software of the CPU 10 to start the operation.

【0020】すなわち、図3および図4において、ステ
ップS11〜S15に示すシステムの起動後、ステップ
S18に示すシステムの各処理を開始する前に、CPU
11が動作クロック4の状態を読み込み(ステップS1
6)、この状態に対応した期間TWを設定するためのデ
ータをTW制御部60のTW制御レジスタ62に書き込
む(ステップS17)。この場合、システムのリセット
時におけるTW制御レジスタ62の値は、動作クロック
4に対応した期間TWが動作クロック4の供給直後には
確定していないので、システムの誤動作を防止するため
に、システム内で考えられる最大値に設定される。
That is, in FIG. 3 and FIG. 4, after starting the system shown in steps S11 to S15 and before starting each processing of the system shown in step S18, the CPU
11 reads the state of the operation clock 4 (step S1
6) Write the data for setting the period TW corresponding to this state in the TW control register 62 of the TW control unit 60 (step S17). In this case, the value of the TW control register 62 at the time of system reset is not determined immediately after the period TW corresponding to the operation clock 4 is supplied, so that the system malfunction is prevented in order to prevent system malfunction. It is set to the maximum value that can be considered.

【0021】なお、ステップS11〜S13、S19に
示す動作は、図2のステップS1〜S3、S7に示す動
作と同一であり、したがって、ステップS13において
システムがリセットされない場合にはクロックCK1、
CK2が切換えられない(ステップS19)。また、ス
テップS18と図2のステップS6に示す動作は同一で
ある。
The operations shown in steps S11 to S13 and S19 are the same as the operations shown in steps S1 to S3 and S7 in FIG. 2, and therefore, if the system is not reset in step S13, the clock CK1,
CK2 cannot be switched (step S19). The operations shown in step S18 and step S6 in FIG. 2 are the same.

【0022】図5は、第3の実施例の概略構成を示すブ
ロック図、図6は、第3の実施例における処理シーケン
スを説明するためのフローチャート、図7は、図5のス
イッチ切換え検出部の詳細な構成を示すブロック図、図
8は、図5のクロック切換え器の詳細な構成を示すブロ
ック図、図9は、図8のクロック切換え器における主要
信号を示すタイミングチャートである。この第3の実施
例では、第2の実施例と同様に、装置が動作を停止して
いる時に動作クロックCK1、CK2をCPU10のソ
フトウエアで切換えて動作を開始するとともに、装置が
動作中の場合にも動作クロックをCK1、CK2をCP
U10のソフトウエアで切換えるように構成されてい
る。
FIG. 5 is a block diagram showing a schematic configuration of the third embodiment, FIG. 6 is a flow chart for explaining a processing sequence in the third embodiment, and FIG. 7 is a switch change detecting unit of FIG. 8 is a block diagram showing a detailed configuration of the clock switching device of FIG. 5, FIG. 8 is a block diagram showing a detailed configuration of the clock switching device of FIG. 5, and FIG. 9 is a timing chart showing main signals in the clock switching device of FIG. In the third embodiment, as in the second embodiment, when the device is not operating, the operation clocks CK1 and CK2 are switched by the software of the CPU 10 to start the operation, and the device is in operation. In the case, the operation clock is CK1 and CK2 is CP
It is configured to be switched by the software of U10.

【0023】すなわち、図6においてステップS11〜
18に示す動作は、第2の実施例と同一である。そし
て、ステップS13においてシステムがリセットされな
い状態では、システム内の例えばIO制御部30からの
クロック切換え信号5の制御信号7とリセット信号の論
理和信号(ORゲート9)をラッチ2のゲート信号とし
て印加することにより、制御信号7が発生した場合にも
同様に外部SW1の切換え情報がラッチされる。
That is, steps S11 to S11 in FIG.
The operation shown in 18 is the same as that of the second embodiment. Then, when the system is not reset in step S13, the logical sum signal (OR gate 9) of the control signal 7 of the clock switching signal 5 and the reset signal from the IO control unit 30 in the system is applied as the gate signal of the latch 2. By doing so, the switching information of the external SW1 is similarly latched when the control signal 7 is generated.

【0024】そして、図7に詳しく示すようなスイッチ
切換え検出部8を制御信号7でリセットし、このスイッ
チ切換え検出部8により外部SW1の切換え情報を検出
してCPU10に割込みをかけ(ステップS20)、C
PU10はまず、この割込みにより、TW制御レジスタ
62に対して期間TWが最大となるデータを設定する
(ステップS21)。そして、IO制御部30からのク
ロック切換え信号5の制御信号7により外部SW1の切
換え情報がラッチされて動作クロック4が選択される
(ステップS22)。ここで、制御信号7は、クロック
切換え信号5を取り込む時のみ有効になる論理状態にし
なければならず、例えばハイレベルで有効な場合にはハ
イレベルを発行した後すぐにロウレベルに切り替えられ
る。
Then, the switch switching detector 8 as shown in detail in FIG. 7 is reset by the control signal 7, the switch switching detector 8 detects the switching information of the external SW 1 and interrupts the CPU 10 (step S20). , C
The PU 10 first sets data for which the period TW is maximum in the TW control register 62 by this interrupt (step S21). Then, the switching signal of the external SW1 is latched by the control signal 7 of the clock switching signal 5 from the IO control unit 30 and the operation clock 4 is selected (step S22). Here, the control signal 7 must be in a logical state that becomes valid only when the clock switching signal 5 is taken in. For example, when it is valid at a high level, it is switched to a low level immediately after issuing a high level.

【0025】ついで、ステップS16、S17の場合と
同様に、CPU10は動作クロック4の状態を読み込み
(ステップS23)、この状態に対応した期間TWを設
定するためのデータをTW制御部60のTW制御レジス
タ62に書き込み(ステップS24)、この割りこみ処
理を終了して通常処理に戻る(ステップS25)。
Then, as in steps S16 and S17, the CPU 10 reads the state of the operation clock 4 (step S23), and sets the data for setting the period TW corresponding to this state in the TW control section 60. The register 62 is written (step S24), the interrupt process is terminated, and the process returns to the normal process (step S25).

【0026】ここで、スイッチ切換え検出部8は、図7
に示すように外部スイッチ1のチャタリングを防止する
ためのRC回路と、Dラッチと、SRフリップフロップ
等の簡単な論理回路で構成することができるが、この実
施例では動作中にクロックCK1、CK2が切換え時に
重畳してハザードが発生する可能性がある。そこで、こ
の実施例のクロック切換え器3aでは、図8および図9
に示すようにDラッチ31により、動作クロック4(C
K0)の立ち下がりでクロック切換え信号5をラッチ
し、クロックCK1側ではDラッチ31のQ出力Q1
と、Dラッチ32、33の出力Q2と、E−ORゲート
34とによりゲート信号(/E1)(なお、「/」は都
合上、反転信号を意味する。)を生成し、このゲート信
号(/E1)とANDゲート35により切換え時のクロ
ックCK1を遮断している。
Here, the switch change detection unit 8 is shown in FIG.
As shown in FIG. 4, the external switch 1 can be constituted by an RC circuit for preventing chattering, a D latch, and a simple logic circuit such as an SR flip-flop. In this embodiment, the clocks CK1 and CK2 are in operation. However, there is a possibility that hazards may occur due to superposition when switching. Therefore, in the clock switch 3a of this embodiment, as shown in FIGS.
As shown in FIG.
The clock switching signal 5 is latched at the falling edge of (K0), and the Q output Q1 of the D latch 31 is provided on the clock CK1 side.
, The output Q2 of the D latches 32 and 33, and the E-OR gate 34 generate a gate signal (/ E1) (note that “/” means an inverted signal for convenience), and the gate signal (/ E1) is generated. / E1) and the AND gate 35 cut off the clock CK1 at the time of switching.

【0027】また、クロックCK2側ではDラッチ31
の(/Q)出力(/Q1)と、Dラッチ36、37の出
力Q3と、E−ORゲート38とによりゲート信号(/
E2)を生成し、このゲート信号(/E2)とANDゲ
ート39とにより切換え時のクロックCK2を遮断して
いる。したがって、図9に示すようにANDゲート3
5、39の各出力A1、A2が切換え時に重畳しなくな
り、ハザードを防止することができる。
On the clock CK2 side, the D latch 31
(/ Q) output (/ Q1), the output Q3 of the D latches 36 and 37, and the E-OR gate 38.
E2) is generated, and the gate signal (/ E2) and the AND gate 39 block the clock CK2 at the time of switching. Therefore, as shown in FIG.
The outputs A1 and A2 of Nos. 5 and 39 do not overlap at the time of switching, and a hazard can be prevented.

【0028】つぎに、第4の実施例を説明する。図10
は、第4の実施例の概略構成を示すブロック図、図11
は、第4の実施例における処理シーケンスを説明するた
めのフローチャートである。この第4の実施例では、第
3の実施例の機能に加えて、処理内容によって動作クロ
ックを切り換える必要が発生した場合に、内部動作によ
り切り換えるように構成されている。
Next, a fourth embodiment will be described. Figure 10
11 is a block diagram showing a schematic configuration of the fourth embodiment, FIG.
9 is a flowchart for explaining a processing sequence in the fourth embodiment. In addition to the function of the third embodiment, the fourth embodiment is configured to switch the operation clock by an internal operation when it is necessary to switch the operation clock depending on the processing content.

【0029】すなわち、図10に示す回路構成では、図
6に示す第3の実施例に対して、クロック切換え信号選
択部14においてIO制御部30からのクロック優先信
号12により、外部スイッチ1によるクロック切換え信
号13またはIO制御部30からのCPU(マイコン)
10のクロック切換え信号11が選択され、この選択さ
れたクロック切換え信号5が選択信号としてクロック切
換え器3aに印加される。
That is, in the circuit configuration shown in FIG. 10, in comparison with the third embodiment shown in FIG. 6, in the clock switching signal selection unit 14, the clock priority signal 12 from the IO control unit 30 causes the clock generated by the external switch 1 to operate. CPU (microcomputer) from switching signal 13 or IO control unit 30
The clock switching signal 11 of 10 is selected, and the selected clock switching signal 5 is applied to the clock switch 3a as a selection signal.

【0030】また、図11においてステップS11〜S
25に示す動作は、図7に示す第3の実施例と同一であ
り、ステップS31〜S39に示す処理がステップS1
8に示す動作中の処理として追加されている。すなわ
ち、ステップS31では動作中にソフトウエアに基づい
て動作クロック4を切り替えるか否かを判別し、切り換
える場合にステップS32以下に進む。
Further, in FIG. 11, steps S11 to S
The operation shown in 25 is the same as that of the third embodiment shown in FIG. 7, and the processing shown in steps S31 to S39 is step S1.
It is added as a process during operation shown in FIG. That is, in step S31, it is determined whether or not the operation clock 4 is switched based on the software during operation, and when it is switched, the process proceeds to step S32 and thereafter.

【0031】まず、CPU11は、期間TWを最大にす
るデータをTW制御レジスタ62に書き込み(ステップ
S32)、クロック切換え信号11を設定し(ステップ
S33)、ついでこのクロック切換え信号11を優先す
るクロック優先信号12を設定する(ステップS3
3)。そして、動作クロック4の状態を読み込み、この
状態に対応した期間TWを設定するためのデータをTW
制御部60のTW制御レジスタ62に書き込み(ステッ
プS35)、この新しい動作クロック4に基づいて通常
処理を行う(ステップS36)。
First, the CPU 11 writes data that maximizes the period TW into the TW control register 62 (step S32), sets the clock switching signal 11 (step S33), and then gives priority to the clock switching signal 11 to the clock priority signal. Set the signal 12 (step S3
3). Then, the state of the operation clock 4 is read, and the data for setting the period TW corresponding to this state is TW.
The data is written in the TW control register 62 of the control unit 60 (step S35), and normal processing is performed based on this new operation clock 4 (step S36).

【0032】ついで、通常処理中のソフトウエアに基づ
いて外部スイッチ1によるクロック切換え信号13を優
先するか否かを判別し(ステップ37)、クロック切換
え信号13を優先する場合に期間TWを最大にするデー
タをTW制御レジスタ62に書き込み(ステップS3
8)、クロック切換え信号13を設定する(ステップS
39)。そして、ステップS16に戻って動作クロック
4の状態を読み込み、この状態に対応した期間TWを設
定するためのデータをTW制御部60のTW制御レジス
タ62に書き込み(ステップS18)、この新しい動作
クロック4に基づいて通常処理を行う(ステップS3
6)。
Then, it is judged whether or not the clock switching signal 13 by the external switch 1 is prioritized based on the software under normal processing (step 37), and when the clock switching signal 13 is prioritized, the period TW is maximized. Data to be written in the TW control register 62 (step S3
8) Set the clock switching signal 13 (step S
39). Then, returning to step S16, the state of the operation clock 4 is read, and the data for setting the period TW corresponding to this state is written in the TW control register 62 of the TW control unit 60 (step S18). The normal processing is performed based on (step S3
6).

【0033】すなわち、この第4の実施例では、CPU
11がクロック切換え信号11を出力した後、この信号
11を優先するクロック優先信号12を発行することに
より信号11を優先している。なお、この信号11、1
2の発行タイミングは逆でもよいが、クロック4の切換
え動作が2回発生する可能性もあるので、図11に示す
順番が望ましい。
That is, in the fourth embodiment, the CPU
After outputting the clock switching signal 11, the signal 11 gives priority to the signal 11 by issuing the clock priority signal 12 that gives priority to the signal 11. The signals 11, 1
The issuing timing of 2 may be reversed, but the switching operation of the clock 4 may occur twice, so the order shown in FIG. 11 is preferable.

【0034】図12は、第4の実施例の変形例を示し、
処理内容によって動作クロックを切り換える必要が発生
した場合に、内部動作のみにより切り換えるように構成
され、外部スイッチ1により切り換える構成が除去され
ている。なお、この処理シーケンスの図面は省略されて
いるが、図11において外部スイッチ11により切り換
える動作とクロック優先信号12の発行動作を除去する
ことにより実現することができる。
FIG. 12 shows a modification of the fourth embodiment,
When it is necessary to switch the operation clock depending on the processing content, the operation clock is configured to be switched only by the internal operation, and the configuration for switching by the external switch 1 is eliminated. Although the drawing of this processing sequence is omitted, it can be realized by removing the switching operation by the external switch 11 and the issuing operation of the clock priority signal 12 in FIG.

【0035】[0035]

【発明の効果】以上説明したように、本発明は、少なく
とも情報処理部と、記憶部と、入出力制御部とを有し、
前記情報処理部と、記憶部と、入出力制御部との間で2
種類以上の周波数の動作クロックの1つに基づいてデー
タを転送する情報処理装置において、前記動作クロック
を切り換えるクロック切換え手段と、前記クロック切換
え手段により動作クロックが切り替えられた場合に、デ
ータ転送開始時に要するクロック数を可変に制御する制
御手段とを有するので、低い方の周波数の動作クロック
に切換えた場合に処理時間を短縮することができ、ま
た、消費電力を最大限に減少することができる。
As described above, the present invention has at least an information processing section, a storage section, and an input / output control section,
2 between the information processing unit, the storage unit, and the input / output control unit
In an information processing device that transfers data based on one of operation clocks of frequencies of different types or more, when the operation clock is switched by the clock switching means for switching the operation clock, and when the data transfer is started Since it has a control means for variably controlling the number of clocks required, it is possible to shorten the processing time when the operating clock is switched to the lower frequency, and it is possible to reduce the power consumption to the maximum.

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

【図1】本発明に係る情報処理装置の一実施例の概略構
成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an information processing apparatus according to the present invention.

【図2】図1に示す情報処理装置における処理シーケン
スを説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a processing sequence in the information processing device shown in FIG.

【図3】第2の実施例の概略構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a schematic configuration of a second embodiment.

【図4】第2の実施例における処理シーケンスを説明す
るためのフローチャートである。
FIG. 4 is a flowchart illustrating a processing sequence according to a second embodiment.

【図5】第3の実施例の概略構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing a schematic configuration of a third embodiment.

【図6】第3の実施例における処理シーケンスを説明す
るためのフローチャートである。
FIG. 6 is a flowchart illustrating a processing sequence according to a third embodiment.

【図7】図5のスイッチ切換え検出部の詳細な構成を示
すブロック図である。
FIG. 7 is a block diagram showing a detailed configuration of a switch change detection unit of FIG.

【図8】図5のクロック切換え器の詳細な構成を示すブ
ロック図である。
8 is a block diagram showing a detailed configuration of the clock switch shown in FIG.

【図9】図8のクロック切換え器における主要信号を示
すタイミングチャートである。
9 is a timing chart showing main signals in the clock switch of FIG.

【図10】第4の実施例の概略構成を示すブロック図で
ある。
FIG. 10 is a block diagram showing a schematic configuration of a fourth embodiment.

【図11】第4の実施例における処理シーケンスを説明
するためのフローチャートである。
FIG. 11 is a flowchart illustrating a processing sequence according to a fourth embodiment.

【図12】第4の実施例の変形例を示すブロック図であ
る。
FIG. 12 is a block diagram showing a modification of the fourth embodiment.

【図13】従来の情報処理装置における処理シーケンス
を説明するためのタイミングチャートである。
FIG. 13 is a timing chart for explaining a processing sequence in a conventional information processing device.

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

1 外部スイッチ 2 ラッチ 3,3a クロック切換え器 6,60 TW制御部 8 スイッチ切換え検出部 10 CPU 14 クロック切換え信号選択部 20 メモリ 30 IO制御部 1 External Switch 2 Latch 3,3a Clock Switcher 6,60 TW Control Section 8 Switch Switching Detection Section 10 CPU 14 Clock Switching Signal Selection Section 20 Memory 30 IO Control Section

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年2月23日[Submission date] February 23, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0004[Correction target item name] 0004

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0004】図1は一例として、日本電気株式会社の
Vシリーズマイコンにおいてマイコンがメモリからデー
タを取り出すメモリリードサイクルのタイミングチャー
トを示す。このリードサイクルの始まりであるクロック
の期間T1において、マイコンから読み出し時に必要な
アドレスがアドレスバス上に設定され、また、バスの状
態を規定する信号がバス制御バス上に設定される。
[0004] 1 4 an example figure shows a timing chart of the memory read cycle the microcomputer to fetch data from the memory in a V-series microcontrollers of NEC Corporation. In the clock period T1 which is the start of this read cycle, an address required for reading is set on the address bus from the microcomputer, and a signal for defining the bus state is set on the bus control bus.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0028[Correction target item name] 0028

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0028】つぎに、第4の実施例を説明する。図10
は、第4の実施例の概略構成を示すブロック図、図11
および図12は、第4の実施例における処理シーケンス
を説明するためのフローチャートである。この第4の実
施例では、第3の実施例の機能に加えて、処理内容によ
って動作クロックを切り換える必要が発生した場合に、
内部動作により切り換えるように構成されている。
Next, a fourth embodiment will be described. Figure 10
11 is a block diagram showing a schematic configuration of the fourth embodiment, FIG.
And FIG. 12 is a flow chart for explaining the processing sequence in the fourth embodiment. In the fourth embodiment, in addition to the functions of the third embodiment, when it is necessary to switch the operation clock depending on the processing content,
It is configured to be switched by an internal operation.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0030[Name of item to be corrected] 0030

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0030】また、図11においてステップS11〜S
25に示す動作は、図7に示す第3の実施例と同一であ
り、図12においてステップS31〜S39に示す処理
がステップS18に示す動作中の処理として追加されて
いる。すなわち、ステップS31では動作中にソフトウ
エアに基づいて動作クロック4を切り替えるか否かを判
別し、切り換える場合にステップS32以下に進む。
Further, in FIG. 11, steps S11 to S
The operation shown in 25 is the same as that of the third embodiment shown in FIG. 7, and the processing shown in steps S31 to S39 in FIG. 12 is added as the processing during the operation shown in step S18. That is, in step S31, it is determined whether or not the operation clock 4 is switched based on the software during operation, and when it is switched, the process proceeds to step S32 and thereafter.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0034[Correction target item name] 0034

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0034】図1は、第4の実施例の変形例を示し、
処理内容によって動作クロックを切り換える必要が発生
した場合に、内部動作のみにより切り換えるように構成
され、外部スイッチ1により切り換える構成が除去され
ている。なお、この処理シーケンスの図面は省略されて
いるが、図11において外部スイッチ11により切り換
える動作とクロック優先信号12の発行動作を除去する
ことにより実現することができる。
[0034] Figure 1 3 shows a modification of the fourth embodiment,
When it is necessary to switch the operation clock depending on the processing content, the operation clock is configured to be switched only by the internal operation, and the configuration for switching by the external switch 1 is eliminated. Although the drawing of this processing sequence is omitted, it can be realized by removing the switching operation by the external switch 11 and the issuing operation of the clock priority signal 12 in FIG.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief explanation of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】本発明に係る情報処理装置の一実施例の概略構
成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an information processing apparatus according to the present invention.

【図2】図1に示す情報処理装置における処理シーケン
スを説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a processing sequence in the information processing device shown in FIG.

【図3】第2の実施例の概略構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a schematic configuration of a second embodiment.

【図4】第2の実施例における処理シーケンスを説明す
るためのフローチャートである。
FIG. 4 is a flowchart illustrating a processing sequence according to a second embodiment.

【図5】第3の実施例の概略構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing a schematic configuration of a third embodiment.

【図6】第3の実施例における処理シーケンスを説明す
るためのフローチャートである。
FIG. 6 is a flowchart illustrating a processing sequence according to a third embodiment.

【図7】図5のスイッチ切換え検出部の詳細な構成を示
すブロック図である。
FIG. 7 is a block diagram showing a detailed configuration of a switch change detection unit of FIG.

【図8】図5のクロック切換え器の詳細な構成を示すブ
ロック図である。
8 is a block diagram showing a detailed configuration of the clock switch shown in FIG.

【図9】図8のクロック切換え器における主要信号を示
すタイミングチャートである。
9 is a timing chart showing main signals in the clock switch of FIG.

【図10】第4の実施例の概略構成を示すブロック図で
ある。
FIG. 10 is a block diagram showing a schematic configuration of a fourth embodiment.

【図11】第4の実施例における処理シーケンスを説明
するためのフローチャートである。
FIG. 11 is a flowchart illustrating a processing sequence according to a fourth embodiment.

【図12第4の実施例における処理シーケンスを説明
するためのフローチャートである。
FIG. 12 illustrates a processing sequence according to a fourth embodiment .
It is a flowchart for doing.

【図13】第4の実施例の変形例を示すブロック図であ
る。
FIG. 13 is a block diagram showing a modification of the fourth embodiment.

【図14】従来の情報処理装置における処理シーケンス
を説明するためのタイミングチャートである。
FIG. 14 is a timing chart for explaining a processing sequence in a conventional information processing device.

【符号の説明】 1 外部スイッチ 2 ラッチ 3,3a クロック切換え器 6,60 TW制御部 8 スイッチ切換え検出部 10 CPU 14 クロック切換え信号選択部 20 メモリ 30 IO制御部[Explanation of Codes] 1 External switch 2 Latch 3, 3a Clock switcher 6,60 TW control unit 8 Switch switching detection unit 10 CPU 14 Clock switching signal selection unit 20 Memory 30 IO control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも情報処理部と、記憶部と、入
出力制御部とを有し、前記情報処理部と、記憶部と、入
出力制御部との間で2種類以上の周波数の動作クロック
の1つに基づいてデータを転送する情報処理装置におい
て、 前記動作クロックを切り換えるクロック切換え手段と、 前記クロック切換え手段により動作クロックが切り替え
られた場合に、データ転送開始時に要するクロック数を
可変に制御する制御手段とを有することを特徴とする情
報処理装置。
1. An operation clock having at least two types of frequencies between the information processing unit, the storage unit, and the input / output control unit, the operating clock having at least an information processing unit, a storage unit, and an input / output control unit. In a data processing device for transferring data based on one of the above, a clock switching unit for switching the operation clock, and a variable number of clocks required at the start of data transfer when the operation clock is switched by the clock switching unit. An information processing apparatus, comprising:
JP04158643A 1992-05-26 1992-05-26 Information processing device Expired - Fee Related JP3142084B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04158643A JP3142084B2 (en) 1992-05-26 1992-05-26 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04158643A JP3142084B2 (en) 1992-05-26 1992-05-26 Information processing device

Publications (2)

Publication Number Publication Date
JPH05324119A true JPH05324119A (en) 1993-12-07
JP3142084B2 JP3142084B2 (en) 2001-03-07

Family

ID=15676195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04158643A Expired - Fee Related JP3142084B2 (en) 1992-05-26 1992-05-26 Information processing device

Country Status (1)

Country Link
JP (1) JP3142084B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050327A (en) * 2003-07-14 2005-02-24 Matsushita Electric Ind Co Ltd Clock signal switching device, clock signal switching method, data bus switching device, and data bus switching method
JP2010191976A (en) * 2003-07-14 2010-09-02 Panasonic Corp Signal switching device, signal switching method and data receiving device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050327A (en) * 2003-07-14 2005-02-24 Matsushita Electric Ind Co Ltd Clock signal switching device, clock signal switching method, data bus switching device, and data bus switching method
JP2010191976A (en) * 2003-07-14 2010-09-02 Panasonic Corp Signal switching device, signal switching method and data receiving device
US7816952B2 (en) 2003-07-14 2010-10-19 Panasonic Corporation Clock signal switching device, clock signal switching method, data bus switching device, and data bus switching method
US8026744B2 (en) 2003-07-14 2011-09-27 Panasonic Corporation Clock signal switching device, clock signal switching method, data bus switching device, and data bus switching method

Also Published As

Publication number Publication date
JP3142084B2 (en) 2001-03-07

Similar Documents

Publication Publication Date Title
US4644419A (en) Floppy disk unit
US5893135A (en) Flash memory array with two interfaces for responding to RAS and CAS signals
US5222218A (en) System with devices connected in sequence to receive information in a predetermined order
US7007181B2 (en) Microcontroller
JPH05324119A (en) Information processor
JPH0785571A (en) Floppy disk controller with stand-by function
US5163135A (en) Computer system and method for setting recovery time upon execution of an I/O command
JP2006110823A (en) Controller, image forming apparatus and electric power source controlling method
JPH0844622A (en) Information processor
JPH0337897A (en) Microcomputer
JP3951371B2 (en) Watchdog timer and microcomputer
JP4174835B2 (en) Microcontroller
JP3563223B2 (en) Register circuit
JPH04106793A (en) Memory interface circuit
JP2597156Y2 (en) Evaluation microcomputer
JPH09146662A (en) Suspend/resume method and computer system
JP2626112B2 (en) Microprocessor
JPH05334099A (en) Write circuit for state setting register
JPH05324117A (en) Information processor
JPH07191954A (en) Microcomputer system
JPH06259264A (en) Clock control circuit
JP2000207379A (en) Cpu and microcomputer system
JPH05165731A (en) Duplex storage device
JPH0651861A (en) Power consumption lowering circuit for microprocessor
JPH1173167A (en) Display control device

Legal Events

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees