JPH04195209A - Arithmetic processor - Google Patents

Arithmetic processor

Info

Publication number
JPH04195209A
JPH04195209A JP2320329A JP32032990A JPH04195209A JP H04195209 A JPH04195209 A JP H04195209A JP 2320329 A JP2320329 A JP 2320329A JP 32032990 A JP32032990 A JP 32032990A JP H04195209 A JPH04195209 A JP H04195209A
Authority
JP
Japan
Prior art keywords
system clock
clock
timing
flip
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2320329A
Other languages
Japanese (ja)
Other versions
JP2683295B2 (en
Inventor
Satoshi Tanaka
聡 田中
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2320329A priority Critical patent/JP2683295B2/en
Publication of JPH04195209A publication Critical patent/JPH04195209A/en
Application granted granted Critical
Publication of JP2683295B2 publication Critical patent/JP2683295B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain an access to a low speed peripheral equipment and at the same time to prevent the deterioration of the high speed access performance by providing a system clock timing extending means to keep the count value of a timing generating counter at a constant level for a prescribed time. CONSTITUTION:The timing generating FF 1 and 2 count the original oscillation clocks CK and have a set terminal (s) and a reset terminal (r) respectively in order to extend a period of H for system clocks S0 and S2. When the terminal (s) is set at L, the output Q is set at H. Then the output Q is set at L when the terminal. (r) is set at H. In such a period, the input of the clock CK is invalidated. The H periods of the clocks S0 and S2 are extended by the wait signals S0WAIT and S2WAIT respectively. The counters 4 and 5 are used for extension of the H periods of clocks S0 and S2 respectively. Furthermorean FF 6 controls the start/stop of the counter 4, and an FF 7 fixes the outputs of the FF 1 and 2 and also fixes the output S0 of a system clock decoder 3 in an H state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、外部にROM、RAMに代表される記憶装
置を周辺装置として拡張することかできる演算処理装置
に関するもので、特に演算処理装置のシステムクロック
発生回路に係る。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an arithmetic processing device that can be expanded with external storage devices such as ROM and RAM as a peripheral device. Related to system clock generation circuit.

〔従来の技術〕[Conventional technology]

演算処理装置は高速化が望まれている。しかし、マイク
ロコンピュータに代表される演算処理装置を使用したシ
ステムを構成する場合、いくら高速の演算処理装置を用
いても、周辺機能か低速ならば、システム全体としては
、一番低速の周辺装置によって速度が規定され、演算処
理装置自体の高速性を無駄にしてしまう。一方、システ
ムのコストを考慮したとき、低速の周辺装置を使用しな
ければならない場合も考えられる。
Processing devices are desired to be faster. However, when configuring a system using an arithmetic processing unit such as a microcomputer, no matter how fast the arithmetic processing unit is used, if some of the peripheral functions are slow, the system as a whole will depend on the slowest peripheral. The speed is specified, and the high speed of the arithmetic processing device itself is wasted. On the other hand, when considering the cost of the system, there may be cases where low-speed peripheral devices must be used.

代表的な記憶装置であるROMおよびRAMを周辺装置
として拡張するとき、ROMもしくはRAMが、マイク
ロコンピュータに対して速度が遅く、処理が間に合わな
い場合、単にシステムクロックの速度を遅くするという
方法が考えられる。
When expanding ROM and RAM, which are typical storage devices, as peripheral devices, if the ROM or RAM is slow compared to the microcomputer and processing cannot be done in time, it may be a good idea to simply slow down the system clock speed. It will be done.

また、マイクロコンピュータの機能として、外部から必
要なタイミングでクロックを停止させる機能を付加する
ことにより、その間に低速の周辺装置の処理を行おうと
する方法かある。
Another method is to add a function to the microcomputer to stop the clock from the outside at a necessary timing, so that processing of low-speed peripheral devices can be performed during that time.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

マイクロコンピュータに代表される演算処理装置に対し
、ROMおよびRAM等の記憶装置を周辺装置として拡
張する場合において、周辺装置の速度か遅い場合、演算
処理装置の速度を落とさなければならない。しかし、処
理実行サイクル中で周辺装置とのやりとりをするタイミ
ングは決まっているので、単に速度を落とすだけでは、
それ以外も延ばしてしまい、演算処理装置の高速性を無
駄にする。
When extending storage devices such as ROM and RAM as peripheral devices to an arithmetic processing device, typified by a microcomputer, if the speed of the peripheral device is slow, the speed of the arithmetic processing device must be reduced. However, since the timing of interaction with peripheral devices during the processing execution cycle is fixed, simply reducing the speed will not work.
Other processes are also delayed, and the high-speed performance of the arithmetic processing unit is wasted.

また、マイクロコンピュータの機能として、外部から周
辺装置のやりとりに必要なタイミングでクロックを停止
させることにより、その間に低速の周辺装置の処理を行
う方法では、外部に、タイミングを考慮した回路を追加
する必要かある。コストの問題から低速の周辺装置を使
用することが多いため、余分な外付は回路を付けること
は、コスト軽減に対して矛盾する。
In addition, as a function of a microcomputer, by stopping the clock at the timing required for external peripheral device exchange, the method of processing low-speed peripheral devices during that time requires adding an external circuit that takes timing into consideration. Is it necessary? Because low-speed peripheral devices are often used due to cost considerations, adding extra external circuitry is inconsistent with cost reduction.

〔課題を解決するだめの手段〕[Failure to solve the problem]

この発明の演算処理装置は、周辺装置として外部に記憶
装置を拡張可能な演算処理装置である。
The arithmetic processing device of the present invention is an arithmetic processing device that can be expanded with an external storage device as a peripheral device.

そして、この演算処理装置は、つぎのような構成のシス
テムクロック発生回路を備えてしする。このシステムク
ロック発生回路は、原発振クロ・ツクをカウントするタ
イミング生成用カウンタと、このタイミング生成用カウ
ンタのカウント出力をデコートすることにより複数相の
システムクロ、りを生成するシステムクロックデコーダ
と、複数相のシステムクロックの中の周辺装置との間の
やりとりに用いるシステムクロックの立ち上かりに応答
してタイミング生成用カウンタにおける原発振クロック
のカウントを一時的に無効にしてタイミング生成用カウ
ンタのカウント値を所定期間一定に保つシステムクロッ
クタイミング延長手段とを有する。
This arithmetic processing device includes a system clock generation circuit having the following configuration. This system clock generation circuit includes a timing generation counter that counts the original oscillation clock, a system clock decoder that generates multiple phase system clocks by decoding the count output of this timing generation counter, and multiple In response to the rising edge of the system clock used for communication with peripheral devices in the phase system clock, the count value of the timing generation counter is temporarily disabled by temporarily disabling the count of the original oscillation clock in the timing generation counter. and system clock timing extension means for keeping the system clock timing constant for a predetermined period.

〔作用〕[Effect]

この発明の構成によれば、システムクロ・ツクタイミン
グ延長手段によって、周辺装置との間のやりとりに用い
るシステムクロックの立ち上かりに応答してタイミング
生成用カウンタにおける原発振クロックのカウントを一
時的に無効にしてタイミング生成用カウンタのカウント
値を所定期間−定に保つので、その期間周辺装置との間
のやりとりに用いるシステムクロックの立ち下かりのタ
イミングを延長することができる。この際、システムク
ロックタイミング延長手段が原発振クロックのカウント
を一時的に無効にする期間は命令によって任意に設定す
ることができる。
According to the configuration of the present invention, the system clock timing extension means temporarily disables counting of the original oscillation clock in the timing generation counter in response to the rising edge of the system clock used for communication with peripheral devices. Since the count value of the timing generation counter is kept constant for a predetermined period of time, the fall timing of the system clock used for communication with peripheral devices can be extended during that period. At this time, the period during which the system clock timing extension means temporarily invalidates the count of the original oscillation clock can be arbitrarily set by a command.

以上のように、周辺装置とのやりとりに用いるシステム
クロックの立ち上がりから立ち下がりまでの時間、つま
り周辺装置とのやりとりに必要なタイミングの待ち時間
を命令によって任意に設定できるため、高速性を失うこ
となく、低速の周辺装置も使用できる。
As mentioned above, since the time from the rise to the fall of the system clock used for communication with peripheral devices, that is, the waiting time of the timing necessary for communication with peripheral devices, can be set arbitrarily by command, there is no need to lose high speed. It also allows the use of slower peripherals.

〔実施例〕〔Example〕

以下、この発明の実施例を第1図および第2図を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to FIGS. 1 and 2.

実施例として、演算処理装置に備えられるシステムクロ
ック発生回路の回路図を第1図に示し、システムクロッ
ク発生回路の各部の実行タイミングを第2図に示す。1
回の処理実行サイクルには、SO,Sl、S2.S3の
4相のシステムクロックかあり、システムクロックSO
のハイ期間かROMに対する読み込みタイミングで、シ
ステムクロックS2のハイ期間かRAM1:対する読み
書きタイミングである演算処理装置を例として説明する
。外部にROMもしくはRAMを周辺装置として拡張す
る場合、周辺装置の仕様に合わせて最適な処理時間で、
システムクロックSO,S2のハイ期間の長さを変更で
きることか望まれる。これを実現するために演算処理装
置の中のシステムクロック発生回路を第1図のような構
成とする。
As an example, a circuit diagram of a system clock generation circuit provided in an arithmetic processing device is shown in FIG. 1, and the execution timing of each part of the system clock generation circuit is shown in FIG. 1
The processing execution cycles include SO, Sl, S2. There is a 4-phase system clock for S3, and the system clock is SO.
An example of an arithmetic processing device will be explained in which the read timing for the ROM is the high period of the system clock S2, and the read/write timing for the RAM1 is the high period of the system clock S2. When expanding external ROM or RAM as a peripheral device, the processing time is optimized according to the specifications of the peripheral device.
It is desirable to be able to change the length of the high period of the system clocks SO, S2. In order to realize this, the system clock generation circuit in the arithmetic processing device is configured as shown in FIG.

第1図において、1. 2はそれぞれタイミング生成用
のフリップフロップで、これらは原発振クロックCKを
カウントするタイミング生成用カウンタを構成する。な
お、フリップフロップlは原発振クロックCKの立ち上
がりをカウントし、フリップフロップ2は原発振クロッ
クCKの立ち下かりをカウントする。また、フリップフ
ロップl。
In FIG. 1, 1. Reference numerals 2 denote flip-flops for timing generation, and these constitute a timing generation counter that counts the original oscillation clock CK. Note that the flip-flop 1 counts the rising edge of the original oscillation clock CK, and the flip-flop 2 counts the falling edge of the original oscillation clock CK. Also, flip-flops.

2はともにシステムクロックSO,S2かハイの期間を
延ばすために、セット端子Sおよびリセット端子rを有
し、セット端子Sかローのときに出力Qかハイ(“1“
)となり、リセット端子rかハイのときに出力Qかロー
(“0”)となり、各々この期間の原発振クロックGK
の入力は無効となる。通常のシステムクロック発生回路
では、フリップフロップ1. 2およびシステムクロッ
クデコーダ3のみの回路で4相のシステムクロックを生
成しているため、特定の期間のみを延長することはでき
ないか、フリップフロップ1. 2に上記のようなセッ
トリセットの機能を追加することによって、これに与え
る信号を制御することで延長することができるのである
。このリセットのための信号つまりシステムクロックS
Oのハイの期間を延長する信号かウェイト信号5OWA
ITであり、セットのための信号つまりシステムクロッ
クS2のハイの期間を延長する信号かウェイト信号52
WAITである。
2 has a set terminal S and a reset terminal r in order to extend the high period of the system clocks SO and S2, and when the set terminal S is low, the output Q is high (“1”).
), and when the reset terminal r is high, the output Q becomes low (“0”), and the original oscillation clock GK during this period.
The input will be invalid. In a normal system clock generation circuit, flip-flops 1. Since a four-phase system clock is generated using only a circuit consisting of flip-flops 1 and 2 and system clock decoder 3, it is not possible to extend only a specific period. By adding the above-mentioned set-reset function to 2, it is possible to extend the time by controlling the signal given to this function. The signal for this reset, that is, the system clock S
A signal that extends the high period of O or a wait signal 5OWA
A signal for setting, that is, a signal for extending the high period of the system clock S2 or a wait signal 52
WAIT.

3は4個のANDゲートからなるシステムクロックデコ
ーダであり、タイミング生成用カウンタであるフリップ
フロップ1,2のカウント出力をデコートすることによ
り複数相、この例では4相のシステムクロックSo、S
l、S2.S3を生成する。
Reference numeral 3 denotes a system clock decoder consisting of four AND gates, which decodes the count outputs of flip-flops 1 and 2, which are timing generation counters, to generate multiple phases, in this example, four-phase system clocks So and S.
l, S2. Generate S3.

4はシステムクロックSOのノ1イ期間の延長用のカウ
ンタ、5はシステムクロックS2のノ\イ期間の延長用
のカウンタ、6はカウンタ4のスタート/ストップを制
御するフリ・ンプフロ・ノブ、7はフリップフロップ1
,2の出力を固定してシステムクロックデコーダ3の出
力をシステムクロ・ツクSOをハイの状態に固定するフ
リ・ンプフロ・ノブ、8はフリップフロップ1.2の出
力を固定してシステムクロックデコーダ3の出力をシス
テムクロックS2がハイの状態に固定するフリップフロ
・ノブ、9はカウンタ5のスタート/ストップを制御す
るフリップフロップであり、これらは4相のシステムク
ロックSO,Sl、S2.S3の中の周辺装置(ROM
、RAM)との間のやりとりに用いるシステムクロック
SO,S2の立ち上かりに応答してフリップフロップ1
,2における原発振クロックCKのカウントを一時的に
無効にしてフリップフロップ1,2のカウント値を所定
期間−定に保つシステムクロックタイミング延長手段を
構成する。
4 is a counter for extending the period of the system clock SO; 5 is a counter for extending the period of the system clock S2; 6 is a flip-flop knob for controlling the start/stop of the counter 4; 7; is flip-flop 1
, 2 is a flip-flop knob that fixes the output of the system clock decoder 3 by fixing the output of the system clock decoder 3. 8 fixes the output of the flip-flop 1.2 and fixes the output of the system clock decoder 3. A flip-flop knob 9 fixes the output of the system clock S2 to a high state, and a flip-flop 9 controls the start/stop of the counter 5, which are connected to the four-phase system clocks SO, Sl, S2. Peripheral devices (ROM) in S3
, RAM) in response to the rising edge of the system clock SO, S2 used for communication with the flip-flop 1.
.

上記のフリップフロップ6は、システムクロックS3の
立ち上かりて出力信号であるリロード信号5ORELO
ADヲハイにし、システムクロックSlの立ち上がりで
リロート信号5ORELOADをローにする。
The above flip-flop 6 receives a reload signal 5ORELO which is an output signal at the rising edge of the system clock S3.
AD is set high, and the reload signal 5ORELOAD is set low at the rising edge of the system clock Sl.

フリップフロップ7は、システムクロックSOの立ち上
がりで出力信号であるウェイト信号5OWAITをハイ
にし、カウンタ4からのオーバーフロー信号5Oove
rf lowの立ち上かりでウェイト信号5OWAIT
をローにする。フリップフロップ8は、システムクロッ
クS2の立ち上がりで出力信号であるウェイト信号52
WAITをハイにし、カウンタ5からのオーバーフロー
信号52overf lowの立ち上がりでウェイト信
号52WAITをローにする。フリップフロップ9は、
システムクロックS1の立ち上かりて出力であるリロー
ド信号52RELOADを/’tイにし、システムクロ
ックS3の立ち上かりてリロート信号52RELOAD
をローにする。
The flip-flop 7 makes the output signal, the wait signal 5OWAIT, high at the rising edge of the system clock SO, and outputs the overflow signal 5Oove from the counter 4.
Wait signal 5OWAIT at the rising edge of rf low
set to low. The flip-flop 8 outputs a wait signal 52 which is an output signal at the rising edge of the system clock S2.
WAIT is set high, and at the rising edge of the overflow signal 52overf low from the counter 5, the wait signal 52WAIT is set low. Flip-flop 9 is
At the rising edge of the system clock S1, the reload signal 52RELOAD, which is output, is set to /'t, and at the rising edge of the system clock S3, the reload signal 52RELOAD is output.
set to low.

カウンタ4は、内蔵のレジスタにデータをバスBUSを
介した命令によって任意に設定することかでき、フリッ
プフロップ6からのりロード信号5ORELOADかロ
ーの期間に内蔵のレジスタのデータがカウンタ自体にリ
ロードされ、リロード信号5ORELOADかハイの期
間原発振クロックCKによってにカウントダウンし、0
になった時点てシステムクロックSOのハイの期間を延
長するウェイト信号5OWA[Tを解除するためのオー
バーフロー信号5Ooverf lowをハイにする。
The counter 4 can arbitrarily set data in the built-in register by a command via the bus BUS, and the data in the built-in register is reloaded into the counter itself while the load signal 5ORELOAD from the flip-flop 6 is low. Counts down to 0 according to the original oscillation clock CK while the reload signal 5ORELOAD is high.
At the point in time, the overflow signal 5Ooverf low for canceling the wait signal 5OWA[T, which extends the high period of the system clock SO, is made high.

カウンタ5は、同様に内蔵のレジスタにデータをバスB
USを介した命令によって任意に設定することができ、
フリップフロップ9からのりロード信号52RELOA
Dがローの期間に内蔵のレジスタのデータがカウンタ自
体にリロードされ、リロート信号52RELOADがハ
イの期間原発振クロックCKによってカウントダウンし
、0になった時点てシステムクロックS2のハイの期間
を延長するウェイト信号52WArTを解除するための
オーバーフロー信号52overf lowをハイにす
る。
Counter 5 similarly sends data to the built-in register on bus B.
Can be set arbitrarily by command via US,
Glue load signal 52RELOA from flip-flop 9
While D is low, the data in the built-in register is reloaded into the counter itself, and while the reload signal 52RELOAD is high, it is counted down by the original oscillation clock CK, and when it reaches 0, it is a wait that extends the high period of the system clock S2. The overflow signal 52overf low for canceling the signal 52WArT is set high.

つまり、リロード信号5ORELOAD、 52REL
OADかアクティブの状態では、レジスタの値が常にカ
ウンタ4,5にそれぞれ与えられ、カウンタ4,5は原
発振クロックCKによって動作しない。これを利用して
、リロード信号5ORELOAD、 52RELOAD
のタイミングによって、カウンタ4,5のスタート2ス
トツプの制御か行われる。
That is, reload signals 5ORELOAD, 52REL
When OAD is active, the register values are always given to counters 4 and 5, respectively, and counters 4 and 5 do not operate based on the original oscillation clock CK. Using this, reload signals 5ORELOAD, 52RELOAD
The start and stop of the counters 4 and 5 are controlled depending on the timing.

なお、上記カウンタ4,5は各々内蔵のレジスタの設定
値を読み出すことも可能である。
Note that each of the counters 4 and 5 can also read the set value of a built-in register.

フリップフロップ1,2は、原発振クロックCKおよび
フリップフロップ7.8からのウェイ) 信号5OWA
IT、 52WJITf:よッテ出力を(0,0)、(
0,l)、(1,1)、(1,0)の何れかに変化させ
る。システムクロックデコーダ3は、フリップフロップ
1.2の出力が(0,O)でかつシステムクロックS3
かローのときにシステムクロックSOをハイにし、フリ
ップフロップ1. 2の出力か(0,1)でかつシステ
ムクロックSOかローのときにシステムクロックS1を
ハイにし、フリップフロップ1.2の出力か(1,1)
でかつシステムクロックS+かローのときにシステムク
ロックS2をハイにし、フリップフロップl。
Flip-flops 1 and 2 receive the original oscillation clock CK and the way from flip-flop 7.8) Signal 5OWA
IT, 52WJITf: Yotte output (0,0), (
0,l), (1,1), or (1,0). The system clock decoder 3 is configured such that the output of the flip-flop 1.2 is (0, O) and the system clock S3 is
is low, the system clock SO is set high, and flip-flop 1. When the output of 2 is (0, 1) and the system clock SO is low, the system clock S1 is set high, and the output of flip-flop 1.2 is (1, 1).
and when the system clock S+ is low, the system clock S2 is set high, and the flip-flop l is set high.

2の出力か(1,0)でかつシステムクロックS2かロ
ーのときにシステムクロックS3をハイにする。
When the output of 2 is (1, 0) and the system clock S2 is low, the system clock S3 is set high.

ここで、フリップフロップIt  2を制御するウェイ
ト信号5OWAIT、 52WAITおよびカウンタ4
,5のスタート、ストップを制御するりロード信号5O
RELOAD、 52RELOADのタイミングについ
て第2図を参照しながら説明する。
Here, the wait signals 5OWAIT, 52WAIT controlling the flip-flop It2 and the counter 4
, 5 to control the start and stop of the load signal 5O
The timing of RELOAD and 52 RELOAD will be explained with reference to FIG.

第2図(a)〜…は第1図の各部のタイミング図を示す
。第2図では、システムクロックSOのハイ期間を5倍
に、システムクロックS2のハイ期間を3倍に延ばした
時の、原発振クロックCKと、システムクロック5O−
33と、リロード信号5ORELOADと、ウェイト信
号5OWAITと、リロード信号52RELOADと、
ウェイト信号52WAITと、カウンタ4のカウント値
5OCOUNTと、オーバーフロー信号5Ooverf
 lowと、カウンタ5のカウント値32COLINT
と、オーバーフロー信号52overf lowとをそ
れぞれ示している。
FIGS. 2(a) to 2(a) show timing diagrams of each part of FIG. 1. In FIG. 2, the original oscillation clock CK and the system clock 50-
33, a reload signal 5ORELOAD, a wait signal 5OWAIT, a reload signal 52RELOAD,
Wait signal 52WAIT, count value 5OCOUNT of counter 4, and overflow signal 5Ooverf
low and the count value of counter 5 32COLINT
and an overflow signal 52overf low, respectively.

フリップフロップI、  2を制御するウェイト信号5
OWA■T、 52WAITのタイミングは、同じクロ
ックが2度出たり、他のシステムクロックに影響しない
ように注意して、システムクロックデコーダ3が自分自
身で発生させたシステムフクロツクs。
Wait signal 5 controlling flip-flops I and 2
The timings of OWA■T and 52WAIT are system clocks generated by the system clock decoder 3 by itself, taking care not to cause the same clock to appear twice or to affect other system clocks.

の立ち上がりによってフリップフロップ7にセットし、
ウェイト信号5OWAITをアクティブにする。
Set the flip-flop 7 by the rise of
Activate wait signal 5OWAIT.

同じく、システムクロックデコーダ3が自分自身で発生
させたシステムクロックs2の立ち上がりによってフリ
ップフロップ8にセットし、ウェイト信号52WArT
をアクティブにする。ウェイト信号5OWAITがアク
ティブになっているときにおいて、カウンタ4は、スタ
ート状態で設定された値を原発振クロックCKによって
カウントした後、オーバーフロー信号5Ooverf 
lowを発生してフリップフロップ7をリセットし、ウ
ェイト信号5OWA[Tをノンアクティブにする。また
、ウェイト信号52WAITかアクティブになっている
ときにおいて、カウンタ5は、スタート状態で設定され
た値を原発振クロックCKによってカウントした後、オ
ーバーフロー信号52overf lowを発生してフ
リップフロップ8をリセットし、ウェイト信号52WA
ITをノンアクティブにする。
Similarly, the system clock decoder 3 sets the flip-flop 8 at the rising edge of the system clock s2 generated by itself, and outputs the wait signal 52WArT.
Activate. When the wait signal 5OWAIT is active, the counter 4 counts the value set in the start state using the original oscillation clock CK, and then outputs the overflow signal 5Ooverf.
A low signal is generated to reset the flip-flop 7, and the wait signal 5OWA[T is made inactive. Further, when the wait signal 52WAIT is active, the counter 5 counts the value set in the start state using the original oscillation clock CK, and then generates an overflow signal 52overf low to reset the flip-flop 8. Wait signal 52WA
Make IT inactive.

つぎに、カウンタ4,5のスタート、ストップtJJ御
t 61J ロー ト?r号5ORELOAD、 52
RELOADノタイミングについては、リロード信号5
ORELOADは、前サイクルのシステクロックs3の
立ち上がりでフリップフロップ6をセットし、スタート
状態とする。また、次サイクルのシステムクロックSl
の立ち上がりでフリップフロップ6をリセットし、スト
ップ状態とする。また、リロード信号52RELOAD
は、前サイクルのシステムクロックslの立ち上がりで
フリップフロップ9をセットし、スタート状態とする。
Next, start and stop counters 4 and 5. r No. 5ORELOAD, 52
Regarding RELOAD timing, reload signal 5
ORELOAD sets the flip-flop 6 at the rising edge of the system clock s3 of the previous cycle to bring it into a start state. Also, the system clock Sl of the next cycle
At the rising edge of , the flip-flop 6 is reset and brought to a stop state. In addition, the reload signal 52RELOAD
At the rising edge of the system clock sl in the previous cycle, the flip-flop 9 is set to enter the start state.

また、次サイクルのシステムクロックS3の立ち上かり
てフリップフ口ツブ9をリセットし、ストップ状態とす
る。
Further, at the rising edge of the system clock S3 in the next cycle, the flip-flop tab 9 is reset to a stop state.

なお、カウンタ4,5は、原発振クロックCKの立ち下
かりのみで動作するのて、カウンタ4゜5に設定する値
は、SO側には2を、S2側にはlを設定することによ
って、設定値の2倍に1を加えた長さだけ延長すること
ができる。
Note that counters 4 and 5 operate only at the falling edge of the original oscillation clock CK, so the values set in counters 4 and 5 can be determined by setting 2 on the SO side and l on the S2 side. , can be extended by a length equal to twice the set value plus 1.

〔発明の効果〕〔Effect of the invention〕

この発明の演算処理装置によれば、ROMおよびRAM
に代表される記憶装置を周辺装置として外部に拡張した
とき、その周辺装置の速度にあわせて、周辺装置とのや
りとりに用いるシステムクロックの立ち上がりから立ち
下がりまでの長さをのみを命令によって任意に設定する
ことかでき、ROM、RAM等の記憶装置にアクセスす
るタイミングのみを延長して低速の周辺装置のアクセス
を可能とし、かつ高速アクセス性能を損なうことかない
According to the arithmetic processing device of this invention, ROM and RAM
When a storage device such as the It is possible to extend only the timing of accessing storage devices such as ROM and RAM to enable access by low-speed peripheral devices without impairing high-speed access performance.

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

第1図はこの発明の実施例のシステムクロック生成回路
を示す回路図、第2図はシステムクロック生成回路の各
部のタイミング図である。 1.2・・・フリップフロップ(タイミング生成用カウ
ンタ)、3・・・システムクロックデコーダ、4゜5・
・・カウンタ(システムクロックタイミング延長手段)
、6〜9・・・フリップフロップ(システムクロックタ
イミング延長手段)
FIG. 1 is a circuit diagram showing a system clock generation circuit according to an embodiment of the present invention, and FIG. 2 is a timing diagram of each part of the system clock generation circuit. 1.2...Flip-flop (timing generation counter), 3...System clock decoder, 4°5.
・Counter (system clock timing extension means)
, 6 to 9...Flip-flop (system clock timing extension means)

Claims (1)

【特許請求の範囲】 周辺装置として外部に記憶装置を拡張可能な演算処理装
置であって、 原発振クロックをカウントするタイミング生成用カウン
タと、このタイミング生成用カウンタのカウント出力を
デコードすることにより複数相のシステムクロックを生
成するシステムクロックデコーダと、前記複数相のシス
テムクロックの中の前記周辺装置との間のやりとりに用
いるシステムクロックの立ち上がりに応答して前記タイ
ミング生成用カウンタにおける原発振クロックのカウン
トを一時的に無効にして前記タイミング生成用カウンタ
のカウント値を所定期間一定に保つシステムクロックタ
イミング延長手段とを有するシステムクロック発生回路
を備えた演算処理装置。
[Scope of Claims] An arithmetic processing device capable of expanding a storage device externally as a peripheral device, comprising: a timing generation counter that counts an original oscillation clock; and a timing generation counter that counts an original oscillation clock; counting the original oscillation clock in the timing generation counter in response to a rising edge of a system clock used for communication between a system clock decoder that generates a phase system clock and the peripheral device among the plurality of phase system clocks; and a system clock timing extension means for temporarily disabling the timing generation counter to keep the count value of the timing generation counter constant for a predetermined period of time.
JP2320329A 1990-11-22 1990-11-22 Arithmetic processing unit Expired - Fee Related JP2683295B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2320329A JP2683295B2 (en) 1990-11-22 1990-11-22 Arithmetic processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2320329A JP2683295B2 (en) 1990-11-22 1990-11-22 Arithmetic processing unit

Publications (2)

Publication Number Publication Date
JPH04195209A true JPH04195209A (en) 1992-07-15
JP2683295B2 JP2683295B2 (en) 1997-11-26

Family

ID=18120267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2320329A Expired - Fee Related JP2683295B2 (en) 1990-11-22 1990-11-22 Arithmetic processing unit

Country Status (1)

Country Link
JP (1) JP2683295B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5244131A (en) * 1975-10-06 1977-04-06 Hitachi Ltd Timing pulse generator equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5244131A (en) * 1975-10-06 1977-04-06 Hitachi Ltd Timing pulse generator equipment

Also Published As

Publication number Publication date
JP2683295B2 (en) 1997-11-26

Similar Documents

Publication Publication Date Title
JP2661222B2 (en) Pulse output device
JPH07281782A (en) Clock control circuit
JPH04195209A (en) Arithmetic processor
JPH0683712A (en) Microprocessor
JPS6055916B2 (en) timing circuit
JPH11306074A (en) Information processor
JP3093374B2 (en) Interrupt controller
JP4064516B2 (en) Integrated circuit device with built-in memory
JP2684813B2 (en) Microcomputer
JPH0756774A (en) Watching timer
JP3062513B2 (en) Microprocessor
JP4079653B2 (en) Clock control method and clock control circuit
JPH04365110A (en) Clock stop circuit
US6154820A (en) Arrangement for storing program instructions and data in a memory device and method therefor
JPS5933524A (en) Overload control system
JP2738159B2 (en) Clock signal control circuit
JPH01211013A (en) Stand-by circuit for microprocessor
JPH0454615A (en) Peripheral controller
JPH02137009A (en) External device controller
JP2765837B2 (en) Single chip microcomputer
JPH047773A (en) Dma controller
JP3489174B2 (en) Semiconductor integrated circuit
JPH0452713A (en) Clock controller
JPH08212159A (en) Microcontroller system and microcontroller
JPH0588774A (en) Personal computer

Legal Events

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