JPH03211655A - Multistage wait control central processing unit - Google Patents
Multistage wait control central processing unitInfo
- Publication number
- JPH03211655A JPH03211655A JP879990A JP879990A JPH03211655A JP H03211655 A JPH03211655 A JP H03211655A JP 879990 A JP879990 A JP 879990A JP 879990 A JP879990 A JP 879990A JP H03211655 A JPH03211655 A JP H03211655A
- Authority
- JP
- Japan
- Prior art keywords
- wait
- weight
- control circuit
- control
- central processing
- 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
- 230000002093 peripheral effect Effects 0.000 claims abstract description 38
- 238000004260 weight control Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は多段ウェイト制御中央処理装置に関し、特に周
辺装置のデータの書込制御、読出制御時のウェイト制御
を行う中央処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multistage weight control central processing unit, and more particularly to a central processing unit that performs weight control during data write control and read control of peripheral devices.
従来の中央処理装置では、周辺装置を構成する周辺LS
I等のデータ処理速度に合わせるため、ライト信号、リ
ード信号のアクティブな部分にだけウェイトを挿入して
いた。In the conventional central processing unit, the peripheral LS that constitutes the peripheral device
In order to match the data processing speed of I, etc., weights were inserted only into the active parts of the write and read signals.
上述した周辺LSIには、データを書込む場合、ライト
信号がアクティブからインアクティブになるときにデー
タを取込むものや、データを読、出す場合、リード信号
がアクティブになるとデータ出力を開始しインアクティ
ブになるとデータ出力を停止するものがある。When writing data to the peripheral LSI mentioned above, there are those that take in the data when the write signal goes from active to inactive, and when reading and outputting data, when the read signal becomes active, data output starts and the input takes place. Some stop data output when activated.
低速な中央処理装置用に開発されたこのような周辺LS
Iを高速な中央処理装置を用いて制御する場合に、例え
ば、中央処理装置から周辺LSIにデータを書込むとき
、ライト信号がインアクティブになってからのデータの
保持時間が周辺LSIが必要とする時間より短かく、書
込操作を正常に行うことができない場合がある。また、
これとは逆に中央処理装置が周辺LSIからデータを読
出すとき、リード信号がインアクティブになってから周
辺LSIのデータ出力が停止するまでの時間が長く、中
央処理装置の次のバスサイクルの処理を妨害する場合が
ある。This type of peripheral LS developed for low-speed central processing units
When controlling I using a high-speed central processing unit, for example, when writing data from the central processing unit to a peripheral LSI, the peripheral LSI needs to hold the data after the write signal becomes inactive. In some cases, the write operation may not be able to be performed normally. Also,
On the other hand, when the central processing unit reads data from the peripheral LSI, the time from when the read signal becomes inactive until the data output of the peripheral LSI stops is long, and the central processing unit cannot wait until the next bus cycle. It may interfere with processing.
これらの場合に、高速な中央処理装置用の周辺LSIを
開発し直すか、または中央処理装置と周辺LSIとの間
に、書込データを保持する回路やバスサイクルを停止さ
せる回路かあるいはライト信号及びリード信号のインア
クティブを早めた信号を作成する回路を設けなければな
らなし)とし1う欠点がある。In these cases, it is necessary to re-develop a peripheral LSI for the high-speed central processing unit, or to install a circuit that holds write data, a circuit that stops the bus cycle, or a write signal between the central processing unit and the peripheral LSI. This method has two disadvantages: (1) it is necessary to provide a circuit for creating a signal that accelerates the inactivity of the read signal;
本発明の目的は、外部にタイミング調整用の回路を設け
ることなく、速度の遅い周辺LSIから構成される装置
ウェイト制御中央処理装置を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a device weight control central processing unit comprised of slow peripheral LSIs without providing an external timing adjustment circuit.
本発明の多段ウェイト制御中央処理装置は、周辺装置の
データの書込制御,読出制御時のウェイトM御を行う中
央処理装置において、前記周辺装置へのライト信号及び
リード信号のアクティブ部分に対するウェイト時間に対
応するウェイト値を格納する第1のウェイト値格納手段
と、前記ライト信号及び前記リード信号のインアクティ
ブ部分に対するウェイト時間に対応するウェイト値を格
納する第2のウェイト値格納手段と、前記第1及び第2
のウェイト値格納手段に格納されたウェイト値のそれぞ
れに対応する時間のウェイトを、前記ライト信号並びに
前記リード信号のアクティブ部分及びインアクティブ部
分にそれぞれ挿入するウェイト制御手段とを備えている
。The multi-stage wait control central processing unit of the present invention is a central processing unit that performs weight M control during write control and read control of data in a peripheral device. a first weight value storage means for storing a weight value corresponding to the inactive portion of the write signal and the read signal; a second weight value storage means for storing a weight value corresponding to the wait time for the inactive portion of the write signal and the read signal; 1st and 2nd
and weight control means for inserting time weights corresponding to each of the weight values stored in the weight value storage means into the active portion and the inactive portion of the write signal and the read signal, respectively.
次に図面を参照して本発明を詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。本
実施例の多段ウェイト制御中央処理装置1は、全体を制
御する制御回路2と、制御回路2のウェイトを制御する
ウェイト制御回路3と、周辺LSIで構成された入出力
装置やメモリ装置等の周辺装置6とバスラを介して接続
されるバスインタフェース回路4とを備えている。FIG. 1 is a block diagram showing one embodiment of the present invention. The multi-stage weight control central processing unit 1 of this embodiment includes a control circuit 2 that controls the entire system, a weight control circuit 3 that controls the weight of the control circuit 2, and input/output devices and memory devices configured with peripheral LSIs. It includes a peripheral device 6 and a bus interface circuit 4 connected via a bus router.
ウェイト制御回路3は、ライト信号,リード信号のアク
ティブな部分に対する周辺装置6(周辺LSI)の種類
ごとのウェイト値(ウェイトするクロック数)を格納す
るアクティブ用ウェイトレジスタ31と、同様にインア
クティブな部分に対する周辺装置6の種類ごとのウェイ
ト値を格納するインアクティブ用ウェイトレジスタ32
と、ウェイト値の減算カウントをするウェイトカウンタ
33とを有しているや
次に動作を説明する。The wait control circuit 3 includes an active wait register 31 that stores a weight value (the number of clocks to wait) for each type of peripheral device 6 (peripheral LSI) for the active portion of the write signal and read signal, and an active wait register 31 that stores the wait value (number of clocks to wait) for the active portion of the write signal and read signal. Inactive weight register 32 that stores weight values for each type of peripheral device 6 for the part
and a weight counter 33 for subtracting and counting the weight value.The operation will be explained next.
あらかじめ、制御回路2により、ウェイト制御回路3の
アクティブ用ウェイトレジスタ31,インアクティブ用
ウェイトレジスタ32に周辺装置6の種類ごとの必要と
するウェイト時間に対応するウェイト値(タロツク数)
を格納しておく。The control circuit 2 sets the wait value (number of taroks) corresponding to the required wait time for each type of peripheral device 6 in the active wait register 31 and inactive wait register 32 of the wait control circuit 3 in advance.
Store it.
制御回路2は、バスインタフェース回路4を介して周辺
袋W6に対しデータの書込制御.読出制御を行なうとき
、現在行われているバスサイクルの種別(周辺装置6の
種類)をウェイト制御回路3に通知する.ウェイト制御
回路3は、ウェイト開始する時刻になると、制御回路2
にホールドの指示を出し、ウェイトカウンタ33に対応
するアクティブ用ウェイトレジスタ31またはインアク
ティブ用ウェイトレジスタ32のウェイト値をウェイト
カウンタ33に書写す.そしてクロックごとにウェイト
カウンタ33のウェイト値を“1″ずつ減算し、“0“
になると、制御回路2へのホールドの指示を止める.制
御回路2はホールドの指示が出されている間、処理を一
時停止する。The control circuit 2 controls data writing to the peripheral bag W6 via the bus interface circuit 4. When performing read control, the wait control circuit 3 is notified of the type of bus cycle currently being performed (type of peripheral device 6). The wait control circuit 3 controls the control circuit 2 at the time to start the wait.
A hold instruction is issued to the wait counter 33, and the weight value of the active weight register 31 or the inactive weight register 32 corresponding to the wait counter 33 is written to the wait counter 33. Then, the weight value of the weight counter 33 is decremented by "1" every clock, and "0" is obtained.
When this happens, the hold instruction to control circuit 2 is stopped. The control circuit 2 temporarily suspends processing while the hold instruction is issued.
第2図はライト信号.リード信号がインアクティブにな
った後にウェイトを挿入する場合のタイミングの一例を
示す図である。Figure 2 shows the light signal. FIG. 7 is a diagram illustrating an example of timing when a wait is inserted after a read signal becomes inactive.
第2図に従って書込制御時の各部信号の動作タイミング
を説明する.多段ウェイト制御中央処理装置1のバスイ
ンタフェース回路4からバスラ上に、周辺装置6を指定
するアドレス信号(T1)とアドレスラッチイネーブル
信号(T2)と力τ出力され、170ツク(TO)遅れ
てデータ(T3)とライト信号(T4)とが出力される
。指定された周辺装置6の周辺LSIは書込みを行う場
合、T5で示されるように、ライト信号(T4)がイン
アクティブになって(時刻tO)力)ら時刻L2までの
間入力データが保持されて1)る必要力(あり、ここで
ウェイトを挿入しないと、時刻tl&こデータ(T3)
が消滅してしまり)正常な書込み力くできなくなる。そ
のため、時刻tl以前番二ウェイトを170ツク分挿入
すると、データ(T3)力(時刻t3まで延長されるの
で、周辺LSIへの正常な書込みができる。The operation timing of each part signal during write control will be explained according to Fig. 2. An address signal (T1) specifying the peripheral device 6, an address latch enable signal (T2), and a signal τ are outputted from the bus interface circuit 4 of the multi-stage wait control central processing unit 1 onto the bus controller, and the data is output with a delay of 170 times (TO). (T3) and a write signal (T4) are output. When writing to the peripheral LSI of the specified peripheral device 6, the input data is held from when the write signal (T4) becomes inactive (time tO) until time L2, as shown by T5. 1) Necessary force (Yes, if you do not insert a weight here, the time tl & this data (T3)
(disappears), and normal writing power is no longer possible. Therefore, if 170 waits before time tl are inserted, the data (T3) force is extended until time t3, allowing normal writing to the peripheral LSI.
次に、上記と同様に第2図に従って読出I制御時の各部
信号の動作タイミングを説明する。多段ウェイト制御中
央処理装置1の)(スインタフエース回路4からバスラ
上に、周辺装置6を指定するアドレス信号(T1)とア
ドレスラ・yチイネーブlし信号(T2)とが出力され
、170・ツク(TO)遅れてリード信号(上記ライト
信号と同じ<74で示される)が出力される。指定され
た周辺装置6の周辺LSIは読出しを行う場合、リード
信号(T4)がアクティブになってからデータ(上記入
力データと同じ<T5で示される)を出力し、インアク
ティブになって(時刻tO)から出力を停止する(時刻
t2)。ここで、ウェイトを挿入しないと、次のバスサ
イクルが時刻L1から始まり周辺LSIのデータ(T5
)がそのバスサイクルの動作を妨害する。そこで、時刻
L1以前にウェイトを1クロック分挿入すると、次のバ
スサイクルの開始が時刻し3まで延長されるので、デー
タ(T5)に妨害されずに正常な動作を行うことができ
る。Next, the operation timing of each part signal during read I control will be explained with reference to FIG. 2 in the same manner as above. An address signal (T1) specifying the peripheral device 6 and an address signal enable signal (T2) are output from the interface circuit 4 of the multi-stage wait control central processing unit 1 to the bus controller. A read signal (indicated by <74, which is the same as the above write signal) is output with a delay of TO.When reading from the peripheral LSI of the specified peripheral device 6, the read signal (T4) becomes active. It outputs data (indicated by <T5, which is the same as the input data above), becomes inactive (time tO), and then stops outputting (time t2).Here, if a wait is not inserted, the next bus cycle starts from time L1 and peripheral LSI data (T5
) interferes with the operation of that bus cycle. Therefore, if a wait is inserted for one clock before time L1, the start of the next bus cycle is extended to time 3, so normal operation can be performed without being disturbed by data (T5).
以上説明したように本発明は、ライト信号、リード信号
のインアクティブな部分にもウェイトを挿入することに
より、外部にタイミング調整用の回路を設けることなく
、速度の遅い周辺LSIから構成される装置
いう効果がある。As explained above, the present invention enables a device constructed from slow peripheral LSIs without providing an external timing adjustment circuit by inserting weights into the inactive portions of write signals and read signals. There is an effect.
第1図は本発明の一実施例を示すブロック図、第2図は
ライト信号,リード信号がインアクティブになった後に
ウェイトを挿入する場合のタイミングの一例を示す図で
ある。
1・・・多段ウェイト制御中央処理装置、2・・・制御
回路、3・・・ウェイト制御回路、4・・・バスインタ
フェース回路、5・・・バス、6・・・周辺装置、
31・・・アクティブ用ウェイトレジスタ、32・・・
インアクティブ用ウェイトレジスタ、33・・・ウェイ
トカウンタ。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the timing when a wait is inserted after the write signal and read signal become inactive. DESCRIPTION OF SYMBOLS 1... Multistage weight control central processing unit, 2... Control circuit, 3... Wait control circuit, 4... Bus interface circuit, 5... Bus, 6... Peripheral device, 31...・Active weight register, 32...
Inactive wait register, 33...wait counter.
Claims (1)
御を行う中央処理装置において、前記周辺装置へのライ
ト信号及びリード信号のアクティブ部分に対するウェイ
ト時間に対応するウェイト値を格納する第1のウェイト
値格納手段と、前記ライト信号及び前記リード信号のイ
ンアクティブ部分に対するウェイト時間に対応するウェ
イト値を格納する第2のウェイト値格納手段と、前記第
1及び第2のウェイト値格納手段に格納されたウェイト
値のそれぞれに対応する時間のウェイトを、前記ライト
信号並びに前記リード信号のアクティブ部分及びインア
クティブ部分にそれぞれ挿入するウェイト制御手段とを
備えていることを特徴とする多段ウェイト制御中央処理
装置。In a central processing unit that performs wait control during write control and read control of data in a peripheral device, a first weight that stores a wait value corresponding to a wait time for an active portion of a write signal and a read signal to the peripheral device. a value storage means, a second weight value storage means for storing a weight value corresponding to a wait time for an inactive portion of the write signal and the read signal, and a weight value stored in the first and second weight value storage means. a multi-stage weight control central processing unit, comprising weight control means for inserting time weights corresponding to respective weight values into active and inactive parts of the write signal and the read signal, respectively. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP879990A JPH03211655A (en) | 1990-01-17 | 1990-01-17 | Multistage wait control central processing unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP879990A JPH03211655A (en) | 1990-01-17 | 1990-01-17 | Multistage wait control central processing unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03211655A true JPH03211655A (en) | 1991-09-17 |
Family
ID=11702909
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP879990A Pending JPH03211655A (en) | 1990-01-17 | 1990-01-17 | Multistage wait control central processing unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03211655A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH086896A (en) * | 1994-06-16 | 1996-01-12 | Nec Corp | Data processor |
-
1990
- 1990-01-17 JP JP879990A patent/JPH03211655A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH086896A (en) * | 1994-06-16 | 1996-01-12 | Nec Corp | Data processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0821011B2 (en) | Bus expansion control method | |
| JPH03211655A (en) | Multistage wait control central processing unit | |
| JPS60205760A (en) | Memory controller | |
| JPH04323755A (en) | Dma device | |
| JPH0143392B2 (en) | ||
| JPS6055916B2 (en) | timing circuit | |
| JPH0425958A (en) | Address counter control system | |
| JPH06103026A (en) | Memory system | |
| JPH11338712A (en) | Interruption sequence saving circuit | |
| JPS63311553A (en) | Synchronous control microprocessor peripheral circuit | |
| JPS60189053A (en) | data transfer control device | |
| JP2625573B2 (en) | Direct memory access controller | |
| JPS61224063A (en) | Data transfer controller | |
| JP2570900B2 (en) | Access control device and access control method | |
| JPH03228163A (en) | Data transfer equipment | |
| JPS5999522A (en) | Input and output control system | |
| JPH05173936A (en) | Data transfer processing device | |
| JPS61183764A (en) | Direct memory access controlling system | |
| JPS6054050A (en) | Information processing device | |
| JPS61117651A (en) | Interface device | |
| JPH023822A (en) | data processing equipment | |
| JPS62150453A (en) | Standby control system for microcontroller | |
| JPH01109425A (en) | Fifo memory | |
| JP2001022691A (en) | Data exchange device | |
| JPH04287421A (en) | Start circuit for a/d converter or d/a converter |