JPH02224103A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH02224103A JPH02224103A JP1046199A JP4619989A JPH02224103A JP H02224103 A JPH02224103 A JP H02224103A JP 1046199 A JP1046199 A JP 1046199A JP 4619989 A JP4619989 A JP 4619989A JP H02224103 A JPH02224103 A JP H02224103A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- reset
- operating
- memory
- information
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000002457 bidirectional effect Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000006386 memory function Effects 0.000 description 2
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、中央処理装置の動作クロックをメモリ内に
格納し、電源オンリセット或は手動リセットとともに動
作クロックが自動選択されるようにした情報処理装置に
関する。[Detailed Description of the Invention] [Field of Industrial Application] This invention stores information on the operating clock of a central processing unit in a memory so that the operating clock is automatically selected upon power-on reset or manual reset. It relates to a processing device.
[従来の技術]
第4図は、ごく一般に普及している情報処理装置lの基
本構成のうち、中央処理装置2とメモリ3の接続関係を
示すものである、以下、同図にもとづいて、電源オンリ
セットと手動リセットに関連して選択される動作クロッ
クについて、その選択の仕組みについて概略説明する。[Prior Art] FIG. 4 shows the connection relationship between the central processing unit 2 and the memory 3 in the basic configuration of a widely used information processing device 1. Hereinafter, based on this diagram, The selection mechanism for the operating clocks selected in connection with power-on reset and manual reset will be briefly explained.
中央処理装置2の動作クロックは、基準発振器4の16
MHz発振出力を、縦列接続された2個の2分周器5゜
6にて逐次分周することで得られ、ここで得られた2分
周出力と4分周出力は、いずれか一方がセレクタ回路7
により選択されて、中央処理装置2やリード/ライト制
御部8の各クロック入力端子に送り込まれる。The operating clock of the central processing unit 2 is 16 of the reference oscillator 4.
The MHz oscillation output is obtained by successively dividing the frequency using two cascade-connected 2-2 frequency dividers 5°6, and one of the 2-divided output and the 4-divided output obtained here is Selector circuit 7
and is sent to each clock input terminal of the central processing unit 2 and the read/write control section 8.
ところで、セレクタ回路7は、ラッチ回路9にラッチさ
れたクロック選択信号に従って動作クロックを選択する
構成であり、ラッチ回路9のデータ入力端子は、一端が
接地された開閉スイッチSと電源Vccに通ずる抵抗R
の接続点に接続しである。また、ラッチ回路9のクロッ
ク入力端子には、電源オンリセット信号と手動リセット
信号を受けるリセット制御部lOのリセット出力端子が
接続してあり、リセット制御回路lOが電源オンリセッ
ト信号又は手動リセット信号の後縁部を一定時間遅延す
ることで生成するリセット信号が、ラッチ回路9のクロ
ック入力端子に供給されたときに、データ入力端子のハ
イ/ロウに対応するクロック選択信号がラッチされ、セ
レクタ回路7に送り込まれる。By the way, the selector circuit 7 is configured to select an operating clock according to the clock selection signal latched by the latch circuit 9, and the data input terminal of the latch circuit 9 is connected to an open/close switch S whose one end is grounded and a resistor connected to the power supply Vcc. R
Connect to the connection point. Further, the clock input terminal of the latch circuit 9 is connected to the reset output terminal of the reset control unit 1O which receives the power-on reset signal and the manual reset signal, and the reset control circuit 1O receives the power-on reset signal or the manual reset signal. When the reset signal generated by delaying the trailing edge for a certain period of time is supplied to the clock input terminal of the latch circuit 9, the clock selection signal corresponding to high/low of the data input terminal is latched, and the selector circuit 7 sent to.
[発明が解決しようとする課題]
上記従来の情報処理装置lは、開閉スイッチSの開閉状
態に応じて8 M Hz又は4 M Hzの2種類のク
ロック信号を選択する構成であり、開閉スイッチSの開
と閉の各状態に対応するクロック情報は、ユーザ側で使
用するプログラムに合わせて自己管理する必要がある。[Problems to be Solved by the Invention] The conventional information processing device I described above is configured to select two types of clock signals, 8 MHz or 4 MHz, depending on the open/close state of the open/close switch S. It is necessary for the user to manage the clock information corresponding to each open and closed state according to the program used by the user.
これは、動作クロック情報がデイスプレィ装置等に画面
表示されないために、開閉スイッチSの開閉状態だけが
クロック周波数を知るための手掛かりになるからであり
、開閉スイッチSとクロック周波数の対応関係を失念し
てしまえば、プログラムの適正な運用が危ぶまれること
があり、さらにまた製造技術の進歩とともにクロック周
波数が高くなるほど、従前から使用されてきた低クロツ
ク周波数動作型プログラムとの互換性維持のため、3種
類以上のマルチクロック周波数化が要求される事態も予
想され、そうしたときに機械的なスイッチ操作により動
作クロックを選択していたのでは、余計混乱を招きやす
いといった課題を抱えていた。This is because the operating clock information is not displayed on the screen of a display device, etc., so the open/closed state of the open/close switch S is the only clue to knowing the clock frequency, and it is easy to forget the correspondence between the open/close switch S and the clock frequency. If this occurs, the proper operation of the program may be at risk.Furthermore, as manufacturing technology advances and clock frequencies increase, 3. It is anticipated that there will be situations in which multiple clock frequencies are required, and selecting the operating clock by operating a mechanical switch in such a situation would easily lead to further confusion.
[課題を解決するための手段]
この発明は、上記課題を解決したものであり、動作クロ
ックが2種類以上存在する中央処理装置と、この中央処
理装置の動作プログラムや処理データの外に、指定され
た動作クロツクに関するクロック情報を記憶する書き換
え可能なメモリと、電源オンリセット又は手動リセット
に続くリセット期間中に、前記メモリからクロック情報
を読み出すクロック情報読み出し手段と、このクロック
情報読み出し手段が読み出したクロック情報をラッチす
るラッチ手段と、このラッチ手段にラッチされたクロッ
ク情報に対応する動作クロックを選択し、前記中央処理
装置に供給する選択手段とを具備することを特徴とする
ものである。[Means for Solving the Problems] The present invention solves the above problems, and provides a central processing unit with two or more types of operating clocks, and a designated clock in addition to the operating program and processing data of this central processing unit. a rewritable memory for storing clock information regarding the operating clock that has been read out; clock information reading means for reading clock information from said memory during a reset period following a power-on reset or manual reset; The present invention is characterized by comprising a latch means for latching clock information, and a selection means for selecting an operating clock corresponding to the clock information latched by the latch means and supplying the selected operating clock to the central processing unit.
[作用コ
この発明は、動作クロックが2種類以上存在する中央処
理装置の動作クロックのうち、指定された動作クロック
に関するクロック情報を、書き換え可能なメモリに記憶
させ、電源オンリセット又は手動リセットに続くリセッ
ト期間中にメモリから読み出したクロック情報にもとづ
いて動作クロックが選択されるようにし、機械式スイッ
チによらないで動作クロックの選択を可能にする。[Operation] This invention stores clock information regarding a designated operating clock among the operating clocks of a central processing unit in which there are two or more types of operating clocks in a rewritable memory, and performs a power-on reset or manual reset. To enable selection of an operating clock without using a mechanical switch by selecting an operating clock based on clock information read from a memory during a reset period.
[実施例]
以下、この発明の実施例について、第1図ないし第3図
を参照して説明する。第1図は、この発明の情報処理装
置の一実施例を示す回路構成図、第2図は、第1図に示
した回路各部の信号波形図、第3図は、動作クロックの
切り替え手順を示すフローチャートである。[Example] Hereinafter, an example of the present invention will be described with reference to FIGS. 1 to 3. FIG. 1 is a circuit configuration diagram showing an embodiment of the information processing device of the present invention, FIG. 2 is a signal waveform diagram of each part of the circuit shown in FIG. 1, and FIG. 3 is a diagram showing the operation clock switching procedure. FIG.
第1図中、情報処理装置IIは、中央処理装置2の動作
プログラム或は処理データを記憶するメモリ3に、動作
クロックに関するクロック情報(この場合、周波数デー
タ)が書き込めるようにしたものであり、従来の開閉ス
イッチSの記憶機能をメモリ3に肩代わりさせるととも
に、動作クロック切り替え機能を周辺装置であるキーボ
ード装置(図示せず)に、また動作クロック表示機能を
デイスプレィ装置(図示せず)にそれぞれ分担させるよ
うにしたものである。実施例では、従来の情報処理装置
1に共通する回路構成部分もあるが、メモリ3にクロッ
ク情報を格納する関係で、中央処理装置2とメモリ3を
結ぶアドレスバスとデータバス及びコントロールバスに
、それぞれアドレス制御部12と双方向バッファ13及
びリード/ライト制御部8が必要である。すなわち、ア
ドレス制御部12に固定アドレスデータを与え、クロッ
ク情報の格納番地を指定したときに、リード/ライト制
御部8からのリード信号をもってメモリ3内のクロック
情報を読み出し、読み出したクロック情報を双方向バッ
ファの手前側で、後述するラッチ手段に送り出せるよう
にしである。In FIG. 1, the information processing device II is configured such that clock information (in this case, frequency data) regarding the operating clock can be written into the memory 3 that stores the operating program or processing data of the central processing unit 2. The memory function of the conventional open/close switch S is taken over by the memory 3, and the operating clock switching function is assigned to a keyboard device (not shown), which is a peripheral device, and the operating clock display function is assigned to a display device (not shown). It was designed so that In the embodiment, some circuit components are common to the conventional information processing device 1, but in order to store clock information in the memory 3, an address bus, a data bus, and a control bus connecting the central processing unit 2 and the memory 3 are provided. Each requires an address control section 12, a bidirectional buffer 13, and a read/write control section 8. That is, when fixed address data is given to the address control unit 12 and a storage address of clock information is specified, the clock information in the memory 3 is read out using a read signal from the read/write control unit 8, and the read clock information is read out from both sides. This is so that it can be sent to a latch means, which will be described later, on the front side of the buffer.
より具体的には、電源オンリセット時又は手動リセット
時にリセット制御部lOがT時遅延して出力するリセッ
ト信号を、インバータ■4にて反転し、これをアドレス
制御部12と双方向バッファ13及びリード/ライト制
御部8に対し同時供給することで、クロック情報がラッ
チされるようにしてあり、実施例の場合、リセット制御
部IOとインバータ14及びアドレス制御部12.双方
向バッファ13.リード/ライト制御部8等がクロック
情報読み出し手段を構成する。More specifically, at the time of power-on reset or manual reset, the reset signal outputted by the reset control unit 1O with a delay of time T is inverted by the inverter 4, and is sent to the address control unit 12, the bidirectional buffer 13, and Clock information is latched by simultaneously supplying it to the read/write control section 8, and in the case of the embodiment, the clock information is supplied to the reset control section IO, the inverter 14, and the address control section 12. Bidirectional buffer 13. The read/write control unit 8 and the like constitute clock information reading means.
一方、クロック情報をラッチするラッチ手段は、ラッチ
回路9の外に、ラッチクロックを生成するためのラッチ
回路15と2個のナントゲート回路16.17から構成
される。ラッチ回路9が、メモリ3内のクロック情報を
ラッチするラッチタイミングは、リセット期間中の適当
な時期に限定する必要があり、このためラッチクロック
の与え方には工夫が必要である。すなわち、実施例では
、インバータ14にて反転されたリセット信号と電源オ
ンリセット信号とを、ナントゲート回路I6にて論理積
否定し、第2図(E)に示すリセット期間指示信号を形
成する。さらに、このリセット期間指示信号を、2分周
器6の出力をクロックとする2段ラッチ型のラッチ回路
15初段のデータ入力とする。ラッチ回路15初段のI
Q小出力、さらに第2段のデータ入力とされ、初段のI
Q小出力第2段のQ出力をナントゲート回路!7にて論
理積否定することで、第2図(H)に示すラブチクロッ
クが得られる。On the other hand, the latch means for latching clock information includes, in addition to the latch circuit 9, a latch circuit 15 for generating a latch clock and two Nant gate circuits 16 and 17. The latch timing at which the latch circuit 9 latches the clock information in the memory 3 needs to be limited to an appropriate time during the reset period, and therefore it is necessary to devise a way to provide the latch clock. That is, in the embodiment, the reset signal inverted by the inverter 14 and the power-on reset signal are ANDed by the Nant gate circuit I6 to form the reset period instruction signal shown in FIG. 2(E). Furthermore, this reset period instruction signal is used as a data input to the first stage of a two-stage latch type latch circuit 15 which uses the output of the frequency divider 6 as a clock. latch circuit 15 first stage I
The Q small output is used as the second stage data input, and the first stage I
Q low output Q output of the second stage is a Nantes gate circuit! By negating the logical product at step 7, the Labchi clock shown in FIG. 2(H) is obtained.
従って、第2図(1)に示すように、電源オンリセット
信号の後縁部からリセット信号の後縁部までのリセット
期間Tにおいて、アドレス制御部12からクロック情報
の格納番地を指定するアドレスデータがメモリ3に供給
され、メモリ3から読み出されたクロック情報が、ラッ
チクロックの立ち上がりと同時にラッチ回路9にラッチ
される。Therefore, as shown in FIG. 2 (1), during the reset period T from the trailing edge of the power-on reset signal to the trailing edge of the reset signal, address data specifying the storage address of the clock information is sent from the address control section 12. is supplied to the memory 3, and the clock information read from the memory 3 is latched into the latch circuit 9 at the same time as the latch clock rises.
すなわち、従来必要とした開閉スイッチSがなくとも、
中央処理装置2がリセット解除されるまでの間に、セレ
クタ回路7による動作クロックの選択は完了する。In other words, even if there is no open/close switch S that was required in the past,
The selection of the operating clock by the selector circuit 7 is completed until the central processing unit 2 is released from reset.
ところで、動作クロックを知りたいとき又は動作クロッ
クを切り替えたいときは、第3図に示した手順に従うと
よい。まず、ステップ(101)においてメモリ3内か
らクロック情報を読み出し、続くステップ(102)に
おいてクロック周波数を判別する。そして、ステップ(
103)又はステップ(104)にて画面表示されるク
ロック周波数を見て判断し、周波数変更の用がない場合
は、ステップ(105)に続くステップ(106)にお
いて、終了キーを操作する。また、周波数変更の用があ
る場合は、ステップ(107)において、キー人力をも
って変更を指示する。その結果、ステップ(10B)に
おいて、メモリ3内に新たに選択された動作クロックに
関するクロック情報が書き込まれる。By the way, if you want to know the operating clock or switch the operating clock, it is best to follow the procedure shown in FIG. 3. First, in step (101), clock information is read from the memory 3, and in the following step (102), the clock frequency is determined. And step (
103) or step (104), the clock frequency displayed on the screen is checked, and if there is no need to change the frequency, the end key is operated in step (106) following step (105). If there is a need to change the frequency, in step (107), the user manually instructs the change. As a result, in step (10B), clock information regarding the newly selected operating clock is written into the memory 3.
ところが、ここではメモリ3内にクロック情報を書き込
んだだけでは、クロック周波数は未だ変更されず、続く
ステップ(109)に示したように、手動リセット操作
を行うことで、新たな動作クロックの選択が完了する。However, in this case, simply writing the clock information in the memory 3 does not change the clock frequency, and as shown in the following step (109), a new operating clock can be selected by performing a manual reset operation. Complete.
手動リセット時も、電源オンリセット時と同様、リセッ
ト制御部lOによって指定されるリセット期間中に、上
記手順に従って設定したクロック情報が、メモリ3内か
ら読み出され、ラッチクロックの立ち上がりをもってラ
ッチ回路9にラッチされる。During a manual reset, as well as during a power-on reset, the clock information set according to the above procedure is read out from the memory 3 during the reset period specified by the reset control unit IO, and the latch circuit 9 is read out at the rising edge of the latch clock. is latched to.
このように、上記情報処理装置IIは、従来の機械式ス
イッチSの記憶機能をメモリ3に肩代わりさせるととも
に、動作クロック切り替え機能と動作クロック表示機能
を、中央処理装置2の入・出力装置であるキーボード装
置やデイスプレィ装置に分担させることができ、電源オ
ンリセット時や手動リセット時における動作クロックの
自動選択は勿論、メモリ3に格納されるクロック情報を
自由に書き換え、その後に手動リセットを行うことで動
作クロックを変更したり、さらにはクロック情報の確認
も画面を使って随時可能であり、マルチクロック対応の
中央処理装置2を用いる場合等に特に好適である。In this way, the information processing device II replaces the storage function of the conventional mechanical switch S with the memory 3, and also performs the operation clock switching function and the operation clock display function as an input/output device of the central processing unit 2. It can be assigned to the keyboard device or display device, and not only can the operating clock be automatically selected at power-on reset or manual reset, but also the clock information stored in memory 3 can be freely rewritten and then manually reset. It is possible to change the operating clock and check clock information at any time using the screen, which is particularly suitable when using a central processing unit 2 that supports multiple clocks.
[発明の効果コ
以上説明したように、この発明は、動作クロックが2種
類以上存在する中央処理装置の動作クロックのうち、指
定された動作クロックに関するクロック情報を、書き換
え可能なメモリに記憶させ、電源オンリセット又は手動
リセットに続くリセット期間中に、メモリから読み出し
たクロック情報にもとづいて動作クロックが自動選択さ
れるよう構成したから、従来の機械式スイッチの記憶機
能をメモリに肩代わりさせるとともに、動作クロック切
り替え機能と動作クロック表示機能を、中央処理装置の
人・出力装置であるキーボード装置やデイスプレィ装置
に分担させることができ、電源オンリセット時や手動リ
セット時における動作クロックの自動選択は勿論、メモ
リに格納されるクロック情報を自由に書き換え、その後
に手動リセットを行うことで動作クロックを変更したり
、さらにはクロック情報の確認も画面を使って随時可能
であり、マルチクロック対応の中央処理装置を用いる場
合等に特に好適である等の優れた効果を奏する。[Effects of the Invention] As explained above, the present invention stores clock information regarding a designated operating clock among the operating clocks of a central processing unit in which there are two or more types of operating clocks in a rewritable memory; Since the operating clock is automatically selected based on the clock information read from the memory during the reset period following a power-on reset or manual reset, the memory function of a conventional mechanical switch is taken over by the memory, and the operating clock is The clock switching function and operating clock display function can be assigned to the central processing unit's human input and output devices such as the keyboard and display device. You can freely rewrite the clock information stored in the , then manually reset it to change the operating clock, and even check the clock information on the screen at any time. It has excellent effects such as being particularly suitable when used.
第1図は、この発明の情報処理装置の一実施例を示す回
路構成図、第2図は、第1図に示した回路各部の信号波
形図、第3図は、動作クロックの切り替え手順を示すフ
ローチャート、第4図は、従来の情報処理装置の一例を
示す回路構成図である。
211.中央処理装置、3.、、メモリ、7゜セレクタ
回路、8.、、リード/ライト制御部。
930.ラッチ回路、10.、、リセット制御部。
11、、、情報処理装置、12.、、アドレス制御部、
13.、、双方向バッファ、14.、、インバータ、1
5.、、ラッチ回路、16.17゜ナントゲート回路。FIG. 1 is a circuit configuration diagram showing an embodiment of the information processing device of the present invention, FIG. 2 is a signal waveform diagram of each part of the circuit shown in FIG. 1, and FIG. 3 is a diagram showing the operation clock switching procedure. The flowchart shown in FIG. 4 is a circuit configuration diagram showing an example of a conventional information processing device. 211. central processing unit, 3. , , memory, 7° selector circuit, 8. ,, Read/Write control section. 930. latch circuit, 10. ,,Reset control section. 11. Information processing device, 12. ,,address control section,
13. , , bidirectional buffer, 14. ,,inverter,1
5. ,, latch circuit, 16.17° nand gate circuit.
Claims (1)
の中央処理装置の動作プログラムや処理データの外に、
指定された動作クロックに関するクロック情報を記憶す
る書き換え可能なメモリと、電源オンリセット又は手動
リセットに続くリセット期間中に、前記メモリからクロ
ック情報を読み出すクロック情報読み出し手段と、この
クロック情報読み出し手段が読み出したクロック情報を
ラッチするラッチ手段と、このラッチ手段にラッチされ
たクロック情報に対応する動作クロックを選択し、前記
中央処理装置に供給する選択手段とを具備する情報処理
装置。In addition to the central processing unit that has two or more types of operating clocks, and the operating programs and processing data of this central processing unit,
a rewritable memory that stores clock information regarding a specified operating clock; a clock information reading means that reads clock information from the memory during a reset period following a power-on reset or a manual reset; An information processing device comprising: latch means for latching clock information latched; and selection means for selecting an operating clock corresponding to the clock information latched by the latch means and supplying the selected operating clock to the central processing unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1046199A JPH02224103A (en) | 1989-02-27 | 1989-02-27 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1046199A JPH02224103A (en) | 1989-02-27 | 1989-02-27 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02224103A true JPH02224103A (en) | 1990-09-06 |
Family
ID=12740409
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1046199A Pending JPH02224103A (en) | 1989-02-27 | 1989-02-27 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02224103A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001285971A (en) * | 2000-03-29 | 2001-10-12 | Matsushita Electric Ind Co Ltd | Semiconductor device |
-
1989
- 1989-02-27 JP JP1046199A patent/JPH02224103A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001285971A (en) * | 2000-03-29 | 2001-10-12 | Matsushita Electric Ind Co Ltd | Semiconductor device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR930008042B1 (en) | Microcontroller unit | |
| JP2621894B2 (en) | Microcomputer | |
| KR0147703B1 (en) | Layout circuit for plug/play in pci bus | |
| JPH02224103A (en) | Information processor | |
| KR20050059081A (en) | Reconfigurable electronic device having interconnected data storage devices | |
| KR200170061Y1 (en) | Flash memory with recovery capability | |
| JPH01290040A (en) | Digital signal switching circuit | |
| JPS623458B2 (en) | ||
| JPH01239485A (en) | Large-scale integrated circuit | |
| JP2798989B2 (en) | Programmable logic device | |
| JP3066063U (en) | Flash memory with recovery capability | |
| KR920003287B1 (en) | Double Shifter Logic Circuit | |
| JPH0317719A (en) | microcomputer | |
| JPH0520474A (en) | One chip microcomputer | |
| JPH01181146A (en) | Single-chip microcomputer | |
| JPH05101201A (en) | Option setting circuit | |
| JP3283505B2 (en) | Microcomputer | |
| JPH0212436A (en) | semiconductor equipment | |
| JPH07175748A (en) | Microcomputer system | |
| JPH03217988A (en) | 1 chip microcomputer | |
| JPH06259264A (en) | Clock control circuit | |
| JPH0612252A (en) | Microcomputer | |
| JPH0997176A (en) | Interrupt handling device for microcomputer | |
| KR19990071031A (en) | Memory switching device and control method for updating program memory | |
| JPH01199395A (en) | Writing and erasing time control circuit |