JPH02100750A - Controller for microprocessor - Google Patents

Controller for microprocessor

Info

Publication number
JPH02100750A
JPH02100750A JP25402088A JP25402088A JPH02100750A JP H02100750 A JPH02100750 A JP H02100750A JP 25402088 A JP25402088 A JP 25402088A JP 25402088 A JP25402088 A JP 25402088A JP H02100750 A JPH02100750 A JP H02100750A
Authority
JP
Japan
Prior art keywords
microprocessor
system clock
storage device
access
access time
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
Application number
JP25402088A
Other languages
Japanese (ja)
Inventor
Tetsuo Otsuka
大塚 鉄夫
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 JP25402088A priority Critical patent/JPH02100750A/en
Publication of JPH02100750A publication Critical patent/JPH02100750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To slow down the data read timing of the microprocessor to access a storage device and a peripheral device which are slow in access by slowing down a system clock upon occasion when the microprocessor accesses the storage device and peripheral device. CONSTITUTION:An equipment selecting device 4 decides a device which has a slow access time and outputs an equipment selection signal 8 to a voltage generating device 5 to vary a frequency variable voltage 11, thereby slowing down the system clock 9 outputted from a system clock varying device at need. Consequently, the data read timing of the microprocessor is slowed down to enable access to the storage device and peripheral device which are long in access time.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はワードプロセッサやパーソナルコンピュータ等
のOA機器に利用するマイクロプロセッサのバスサイク
ル制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a bus cycle control device for a microprocessor used in office automation equipment such as word processors and personal computers.

従来の技術 従来、この種のマイクロプロセッサ制御装置は記憶装置
、周辺装置、システムバスサイクル制御装置、DMA制
御装置等を備えており、システムバスサイクル制御装置
を制御することにより、システムバスのサイクル数を増
加させることにより、アクセスタイムの遅い記憶装置、
周辺装置、DMA制御装置等のアクセスを可能とするよ
うに構成されている。
Conventionally, this type of microprocessor control device has been equipped with a storage device, a peripheral device, a system bus cycle control device, a DMA control device, etc., and by controlling the system bus cycle control device, the number of cycles of the system bus can be controlled. By increasing the storage device with slow access time,
It is configured to allow access by peripheral devices, DMA control devices, and the like.

第3図は従来のマイクロプロセッサ制御装置の構成を示
している。
FIG. 3 shows the configuration of a conventional microprocessor control device.

第3図において、21はマイクロプロセッサ、22は記
憶装置、23は周辺装置、24はDMA制御装置、26
はバスサイクル制御装置である。26はこのマイクロプ
ロセッサ21により作られるシステムバスであり、記憶
装置22、周辺装置23、DMA制御装置24、バスサ
イクル制御装置26はシステムハス2θに直接接続され
ている。バスサイクル制御装置26は各装置22〜24
内のいずれかがアクセスされたかを選択判定してマイク
ロプロセッサに対して信号27を出力し、バスサイクル
を増加させる。
In FIG. 3, 21 is a microprocessor, 22 is a storage device, 23 is a peripheral device, 24 is a DMA control device, 26
is a bus cycle control device. 26 is a system bus created by this microprocessor 21, and the storage device 22, peripheral device 23, DMA control device 24, and bus cycle control device 26 are directly connected to the system bus 2θ. The bus cycle control device 26 is connected to each device 22 to 24.
A signal 27 is outputted to the microprocessor by selectively determining whether one of them has been accessed, thereby increasing the number of bus cycles.

次に、上記従来例の動作について説明する。Next, the operation of the above conventional example will be explained.

第3図において、マイクロプロセッサ21は第4図に示
すようなシステムクロックに同期して動作している。マ
イクロプロセッサ21は記憶装置22をアクセスすると
記憶装置22に対して記憶装置リード信号28を出力す
る。記憶装置22は前記信号28により動作を開始し、
アクセスタイムtaccを経過した後システムバスにデ
ータを出力する。
In FIG. 3, the microprocessor 21 operates in synchronization with a system clock as shown in FIG. When the microprocessor 21 accesses the storage device 22, it outputs a storage device read signal 28 to the storage device 22. The storage device 22 starts operating according to the signal 28,
After the access time tacc has elapsed, the data is output to the system bus.

マイクロプロセッサ21は第4図のD時点で記憶装置2
2からの出力データを読み取るが、一般のマイクロプロ
セッサはD時点よりセントアップタイムTsを確保する
必要がある。アクセスタイムtaccの遅い記憶装置を
用いた場合には、セットアツプタイムTsを確保するこ
とが困難になり、バスサイクル制御装置26によりどの
装置がアクセスされているかを判別し、必要に応じてバ
スサイクルを増加させるように、第4図に示すようなタ
イミングEでバスサイクル制御装置26よりマイクロプ
ロセッサ21に対して信号27を出力し、バスサイクル
を増加させる。この結果、マイクロプロセッサ21のデ
ータの読み取り時点はFに移動し、アクセスタイムta
ccは等測的に早くなったことになり、マイクロプロセ
ッサ21は余裕を持ってデータを読み取ることが出来る
The microprocessor 21 is connected to the storage device 2 at time D in FIG.
The output data from 2 is read, but a general microprocessor needs to ensure a cent up time Ts from point D. When a storage device with a slow access time tacc is used, it becomes difficult to secure the setup time Ts, so the bus cycle control device 26 determines which device is being accessed and adjusts the bus cycle as necessary. In order to increase the number of bus cycles, the bus cycle control device 26 outputs a signal 27 to the microprocessor 21 at timing E as shown in FIG. 4, thereby increasing the number of bus cycles. As a result, the data reading point of the microprocessor 21 moves to F, and the access time ta
This means that cc has become isometrically faster, and the microprocessor 21 can read the data with a margin.

このように、上記従来のマイクロプロセッサのバスサイ
クル制御装置でもバスサイクル制御装置が出力27を制
御することで遅いアクセスタイムの記憶装置の読み取り
を行うことができる。
In this way, even with the conventional microprocessor bus cycle control device described above, by controlling the output 27 by the bus cycle control device, reading from a storage device with a slow access time can be performed.

発明が解決しようとする課題 しかしながら、上記従来のマイクロプロセッサのバスサ
イクル制御装置では、アクセスタイムが僅かに不足した
ものでもバスサイクルが増加してしまうため、システム
の処理スピードが大幅に落ちてしまうという問題があっ
た。
Problems to be Solved by the Invention However, with the conventional microprocessor bus cycle control device described above, the number of bus cycles increases even if the access time is slightly short, resulting in a significant drop in system processing speed. There was a problem.

本発明はこのような従来の問題を解決するものであり、
バスサイクルを増加させることなくアクセスタイムの遅
い装置のデータの読み取りを可能にし、システムの処理
スピードを遅くすることのない優れたマイクロプロセッ
サのバスサイクル制御装置を提供することを目的とする
ものである。
The present invention solves these conventional problems,
The object of the present invention is to provide an excellent microprocessor bus cycle control device that enables data to be read from devices with slow access times without increasing bus cycles, and does not slow down system processing speed. .

課題を解決するための手段 本発明は上記目的を解決するために、マイクロプロセッ
サのシステムバス信号に接続する記憶装置および周辺装
置と、マイクロプロセッサのシステムクロックを可変さ
せるためのシステムクロック可変装置を設け、前記記憶
装置および周辺装置のアクセスタイムがマイクロプロセ
ッサの必要とするアクセスタイムより遅い場合に、前記
システムクロック可変装置によりシステムクロックを遅
らせ、記憶装置および周辺装置のアクセスタイムを確保
するようにしたものである・ 作用 従って、本発明によれば記憶装置および周辺装置に対し
てマイクロプロセッサがアクセスした場合、システムク
ロック可変装置により、システムクロックを必要に応じ
て遅らせることにより、マイクロプロセッサのデータ読
み取りタイミングを遅らせ、アクセスタイムの遅い記憶
装置および周辺装置へのアクセスを可能にするという効
果がある。
Means for Solving the Problems In order to solve the above objects, the present invention provides a storage device and a peripheral device connected to a system bus signal of a microprocessor, and a system clock variable device for varying the system clock of the microprocessor. , when the access time of the storage device and peripheral device is slower than the access time required by the microprocessor, the system clock variable device delays the system clock to secure the access time of the storage device and peripheral device. Therefore, according to the present invention, when a microprocessor accesses a storage device and a peripheral device, the system clock variable device delays the system clock as necessary to adjust the data reading timing of the microprocessor. This has the effect of making it possible to access storage devices and peripheral devices with slow access times.

実施例 第1図は本発明の一実施例の構成を示すものである。Example FIG. 1 shows the configuration of an embodiment of the present invention.

第1図において、1はマイクロプロセッサであり、記憶
装置2および周辺装置3、機器選択装置4はマイクロプ
ロセッサ1より作られるシステムバスに接続される。機
器選択装置4はマイクロプロセッサ1により、どの装置
が選択されたかを判別し、対応する機器にセレクト信号
を出力して知らせる。セレクト信号を受は取った機器は
これにより動作を開始する。
In FIG. 1, 1 is a microprocessor, and a storage device 2, a peripheral device 3, and a device selection device 4 are connected to a system bus created by the microprocessor 1. The device selection device 4 uses the microprocessor 1 to determine which device has been selected, and notifies the corresponding device by outputting a selection signal. The device that receives the select signal starts operating.

6は電圧発生装置であり、機器選択信号8により周波数
可変電圧11を変化させる。6はシステムクロック可変
装置であり、システムクロック9を発生すると同時に、
電圧発生装置5より出力される周波数可変電圧11によ
り、システムクロック9を可変してマイクロプロセッサ
1に出力する。
Reference numeral 6 denotes a voltage generator, which changes a frequency variable voltage 11 based on a device selection signal 8. 6 is a system clock variable device, which generates the system clock 9 and at the same time,
A system clock 9 is varied and outputted to the microprocessor 1 using a variable frequency voltage 11 outputted from the voltage generator 5 .

次に上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

上記実施例において、マイクロプロセッサ1が記憶装置
2をアクセスすると、機器選択装置4は記憶装置が選択
されたことを判別して、第2図のタイミングのように記
憶装置2に対して、記憶装置セレクト信号10を出力す
る。記憶装置2は信号10により読み取り動作を開始す
る。しかし、アクセスタイムtaccの遅い装置におい
ては、このままではセットアツプタイムTsを確保でき
ないことがある。
In the above embodiment, when the microprocessor 1 accesses the storage device 2, the device selection device 4 determines that the storage device has been selected, and selects the storage device from the storage device 2 at the timing shown in FIG. A select signal 10 is output. The storage device 2 starts a read operation by the signal 10. However, in a device with a slow access time tacc, it may not be possible to secure the setup time Ts as it is.

一方、機器選択装置4は予めアクセスタイムの不足して
いる装置のアドレスを設定してあり、記憶装置2のアク
セスタイムが不足している場合には、機器選択信号8を
電圧発生装置6に出力する。
On the other hand, the device selection device 4 has previously set the address of the device for which the access time is insufficient, and outputs the device selection signal 8 to the voltage generator 6 when the access time of the storage device 2 is insufficient. do.

電圧発生装置6は機器選択信号8に対応した周波数可変
電圧11をシステムクロック可変装置6に出力し、シス
テムクロック9を必要に応じて低下すせ、マイクロプロ
セッサ1に出力する。
The voltage generator 6 outputs a frequency variable voltage 11 corresponding to the device selection signal 8 to the system clock variable device 6, lowers the system clock 9 as necessary, and outputs it to the microprocessor 1.

すなわち、システムクロック9は機器選択信号8が出力
されている間パルス幅は TI(T2=T3=T4 の関係となり、記憶装置2のアクセスタイムの不足を補
う。マイクロプロセッサ1が記憶装置2のアクセスを終
えると、電圧発生装置5は機器選択信号8からの出力が
取り消され周波数可変電圧11を旧の電圧に復帰させ、
低下させていたシステムクロック9を元の周波数にして
、次の装置のアクセスサイクルに突入する。
That is, while the device selection signal 8 is being output, the system clock 9 has a pulse width of TI (T2=T3=T4) to compensate for the lack of access time to the storage device 2. When the voltage generation device 5 has finished, the output from the device selection signal 8 is canceled and the frequency variable voltage 11 is restored to the old voltage.
The system clock 9, which had been lowered, is returned to its original frequency and the next device access cycle begins.

こめときは。When it comes time.

TI  =T2=T3=T4 の関係となる。TI = T2 = T3 = T4 The relationship is

このように、上記実施例によれば機器選択装置4がアク
セスタイムの遅い装置を判別し、機器選択信号8を電圧
発生装置6に出力することにより、周波数可変電圧11
を変化させ、システムクロック可変装置から出力される
システムクロック9を必要に応じて遅らせることにより
、マイクロプロセッサのデータ読み取りタイミングを遅
らせ、アクセスタイムの遅い記憶装置および周辺装置へ
のアクセスを可能にすることができるという利点を有す
る。
In this way, according to the above embodiment, the device selection device 4 determines the device with slow access time and outputs the device selection signal 8 to the voltage generator 6, thereby increasing the frequency variable voltage 11.
By changing the system clock 9 and delaying the system clock 9 output from the system clock variable device as necessary, the data read timing of the microprocessor is delayed, and access to storage devices and peripheral devices with slow access times is made possible. It has the advantage of being able to

また、上記実施例によればマイクロプロセッサのバスサ
イクル数を増加することなくアクセスできるため、処理
スピードの低下を最少限にするという効果を有する。
Further, according to the embodiment described above, access can be made without increasing the number of bus cycles of the microprocessor, so it has the effect of minimizing a decrease in processing speed.

尚、システムクロックを変化させる手段としては、電圧
でなくとも本発明の目的を達成できることは明らかであ
る。
Note that it is clear that the object of the present invention can be achieved even if the means for changing the system clock is not a voltage.

発明の効果 本発明は上記実施例より明らかなように、以下に示す効
果を有する。
Effects of the Invention As is clear from the above embodiments, the present invention has the following effects.

(1)  マイクロプロセッサのシステムクロックを可
変させているので、アクセスタイムの遅い装置をアクセ
スする際に、バスサイクルの増加がなく、処理スピード
が低下しない。
(1) Since the system clock of the microprocessor is made variable, there is no increase in bus cycles and no reduction in processing speed when accessing devices with slow access times.

(2)  高速のマイクロプロセッサと、低速の記憶装
置等を組み合わせたシステムにおいても、マイクロプロ
セッサの処理スピードを低下させないシステムを構築で
きる。
(2) Even in a system that combines a high-speed microprocessor and a low-speed storage device, it is possible to construct a system that does not reduce the processing speed of the microprocessor.

(3)システムクロック可変装置に与える電圧の分解能
を向上させることにより、高速、低速を問わず接続され
る装置の性能を最大限引き出す事ができ、全体のシステ
ム性能の向上が計れる。
(3) By improving the resolution of the voltage applied to the system clock variable device, it is possible to maximize the performance of connected devices regardless of whether they are high speed or low speed, and the overall system performance can be improved.

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

第1図は本発明の一実施例におけろマイクロプロセッサ
システム装置の概略ブロック図、第2図は同装置の記憶
装置へのアクセスを示したタイミング図、第3図は従来
のマイクロプロセッサシステム装置の概略ブロック図、
第4図は従来の装置の記憶装置へのアクセスを示したタ
イミング図である0 1・・・マイクロプロセッサ、2・・・記憶装置、3・
・・周辺装置、4・・・機器選択装置、6・・・電圧発
生装置、6・・・システムクロック可変装R17・・・
システムハス、8・・・機器選択信号、9・・・システ
ムクロック、1o・・・記憶装置セレクト信号、11・
・・周波数可変電圧、21・・・マイクロプロセッサ、
22・・・記憶装置、・・周辺装置、 24・・・I)M前制御装置、 26・・す( スサイクル制御装置、 2e・・・システムバス、 27・・・ バスサイクル増加信号、 28・・・記憶装置リード信 号O 第 図
FIG. 1 is a schematic block diagram of a microprocessor system device according to an embodiment of the present invention, FIG. 2 is a timing diagram showing access to the storage device of the same device, and FIG. 3 is a conventional microprocessor system device. A schematic block diagram of
FIG. 4 is a timing diagram showing access to a storage device in a conventional device.0 1...microprocessor, 2...storage device, 3...
...Peripheral device, 4...Device selection device, 6...Voltage generator, 6...System clock variable device R17...
System hash, 8... Equipment selection signal, 9... System clock, 1o... Storage device selection signal, 11.
... Frequency variable voltage, 21... Microprocessor,
22...Storage device,...Peripheral device, 24...I)M pre-control device, 26...S cycle control device, 2e...System bus, 27...Bus cycle increase signal, 28 ...Storage device read signal O Fig.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサと、このマイクロプロセッサのシス
テムバス信号に接続する記憶装置および周辺装置と、上
記マイクロプロセッサのシステムクロックを可変させる
ためのシステムクロック可変装置と、このシステムクロ
ックを可変すべき装置を選択するための機器選択装置と
を備え、上記記憶装置および周辺装置のアクセスタイム
がマイクロプロセッサの必要とするアクセスタイムより
遅い場合に、上記機器選択装置よりシステムクロック可
変装置にシステムクロックに対応する可変信号を出力す
ることにより、上記システムクロック可変装置より出力
されるシステムクロックを可変させ、上記記憶装置およ
び周辺装置のアクセスタイムを確保するようにしたこと
を特徴とするマイクロプロセッサの制御装置。
A microprocessor, a storage device and a peripheral device connected to a system bus signal of the microprocessor, a system clock variable device for varying the system clock of the microprocessor, and a device for selecting a device whose system clock should be varied. and a device selection device, and when the access time of the storage device and peripheral device is slower than the access time required by the microprocessor, the device selection device outputs a variable signal corresponding to the system clock to the system clock variable device. A control device for a microprocessor, characterized in that the system clock output from the system clock variable device is varied to ensure access time for the storage device and peripheral devices.
JP25402088A 1988-10-07 1988-10-07 Controller for microprocessor Pending JPH02100750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25402088A JPH02100750A (en) 1988-10-07 1988-10-07 Controller for microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25402088A JPH02100750A (en) 1988-10-07 1988-10-07 Controller for microprocessor

Publications (1)

Publication Number Publication Date
JPH02100750A true JPH02100750A (en) 1990-04-12

Family

ID=17259135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25402088A Pending JPH02100750A (en) 1988-10-07 1988-10-07 Controller for microprocessor

Country Status (1)

Country Link
JP (1) JPH02100750A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5464941A (en) * 1977-11-01 1979-05-25 Fuji Electric Co Ltd Weight generator circuit
JPS55110324A (en) * 1979-02-16 1980-08-25 Nec Corp Unit control circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5464941A (en) * 1977-11-01 1979-05-25 Fuji Electric Co Ltd Weight generator circuit
JPS55110324A (en) * 1979-02-16 1980-08-25 Nec Corp Unit control circuit

Similar Documents

Publication Publication Date Title
US20010054135A1 (en) Memory control technique
JPH10283779A (en) Synchronous type semiconductor storage device
US7181638B2 (en) Method and apparatus for skewing data with respect to command on a DDR interface
JP2704113B2 (en) Data processing device
JP2658958B2 (en) DMA controller
JP2551338B2 (en) Information processing device
JPH02100750A (en) Controller for microprocessor
JPH05128060A (en) Information processor
JP2679471B2 (en) Clock switching circuit
JPH05334183A (en) Method for controlling memory access and memory controller
JPS6329854A (en) Access control circuit for dual port memory
JPH01265351A (en) Mpu system
JPH0635696A (en) Controller
JPH01293458A (en) Circuit for securing access cycle in computer system
JPH07200290A (en) Address generation circuit extending address
JPH0251724A (en) Disk controller
JP2626112B2 (en) Microprocessor
JPH04299752A (en) Microprocessor
JPS63259744A (en) Dynamic ram controller
JPH045292B2 (en)
JPH07325128A (en) Digital pattern generator
JPS63646A (en) Control circuit for memory access waiting
JPS623487A (en) Memory device
JPH04262435A (en) Memory control system
JPH0259551B2 (en)