JPH01288939A - Weight state generator for centeral processor unit - Google Patents

Weight state generator for centeral processor unit

Info

Publication number
JPH01288939A
JPH01288939A JP11870888A JP11870888A JPH01288939A JP H01288939 A JPH01288939 A JP H01288939A JP 11870888 A JP11870888 A JP 11870888A JP 11870888 A JP11870888 A JP 11870888A JP H01288939 A JPH01288939 A JP H01288939A
Authority
JP
Japan
Prior art keywords
signal
cpu
active
processor unit
memory
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
JP11870888A
Other languages
Japanese (ja)
Inventor
Kazuya Takahashi
一哉 高橋
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP11870888A priority Critical patent/JPH01288939A/en
Publication of JPH01288939A publication Critical patent/JPH01288939A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To suitably extend the memory read signal and write signal of a CPU by using a BUSY signal provided for the use of an option device, and inserting a weight state (WT) among the four states of the CPU. CONSTITUTION:A command receiving signal 1 receives a memory read signal 8 and a memory write signal 9, and makes a signal 5 active. An address selector means 2 judges an address, and selectively makes a signal 6 active. When the weight state (TW) is prohibited to be inserted in such a case as a DMA transfer, the signal 6 is not made active. A counting means 3 counts the clock of the CPU, controls a BUSY signal output means 4, and a BUSY signal 12 is made active by the signals 5 and 6. When the CPU passes through the TW at a prescribed number, the signal 12 is made nonactive again by a signal 7. Then, the CPU completes a read cycle or a write cycle, and the signal 12 is made into a high impedance again by the signal 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナル・コンピュータのCPUの動作ク
ロックにおいてT3ステートとT4ステートの間に所望
の数のウェイトステートを挿入するためのセントラル・
プロセッサ・ユニットのウェイトステート発生装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides a central processing system for inserting a desired number of wait states between T3 state and T4 state in the operating clock of a CPU of a personal computer.
The present invention relates to a wait state generator for a processor unit.

〔従来の技術〕[Conventional technology]

従来、パーソナルコンピューターに使用されている80
系CPUはTIT2T3T4の4つのステートを持つが
、動作の遅いオプション・デバイス(ハード・ディスク
、フロッピー・ディスク、プリンター等)をアクセスす
る際には、T3と′r4の間にウェイトステート(以下
、T Wという、)が挿入される。この操作によって、
CPUのリード・ライト信号が引き仲ばされ、CPUが
動作の遅いオプション・デバイスをアクセスすることが
可能となる。この操作は、オプション・デバイスがBU
SY信号を発することによって引き起こされる。オプシ
ョン・デバイス用コネクタには、オプション・デバイス
がCPUへBUSY信号を送るためのインターフェイス
が用意されている。
80, which is conventionally used in personal computers.
The system CPU has four states, TIT2T3T4, but when accessing slow-operating optional devices (hard disks, floppy disks, printers, etc.), a wait state (hereinafter TIT2T3T4) is inserted between T3 and 'r4. W) is inserted. With this operation,
The CPU's read/write signals are routed, allowing the CPU to access slow-operating optional devices. This operation is performed when the optional device is
Triggered by issuing the SY signal. The optional device connector is provided with an interface for the optional device to send a BUSY signal to the CPU.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

最近はパーソナルコンピューターの演算処理速度を上げ
るために、CPUの動作クロック周波数の高い機種が出
てきている。しかし、従来の動作クロック周波数のパー
ソナルコンピューター用に作られたアプリケーションソ
フトが、動作クロック周波数の高いパーソナルコンピュ
ーター上では走らないことがあるという問題が存在する
。この様な現象のひとつの原因としては、前記アプリケ
ーションソフト内でループ命令によってタイミングをと
っていた箇所が、動作クロックの高周波数化に伴って短
くなることが考えられる。そこで本発明は従来のこの裸
な問題点を解決するため、オプション・デバイス用に設
けられているBtJSY信号を使って、CPUが所定の
メモリをアクセスする際にもTWを発生させることによ
って、CPUの動作を部分的に遅くさせ、前記アプリケ
ーションソフトが走るようにするセントラル・プロセッ
サ・ユニットのウェイトステート発生装置を得ることを
目的としている。
Recently, in order to increase the processing speed of personal computers, models with higher CPU operating clock frequencies have been introduced. However, there is a problem in that application software created for personal computers with conventional operating clock frequencies may not run on personal computers with high operating clock frequencies. One possible cause of such a phenomenon is that the portion of the application software where timing is determined by a loop instruction becomes shorter as the frequency of the operating clock increases. Therefore, in order to solve this conventional problem, the present invention uses the BtJSY signal provided for the optional device to generate TW even when the CPU accesses a predetermined memory. The object of the present invention is to obtain a wait state generator for a central processor unit that partially slows down the operation of the central processor unit and allows the application software to run.

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

本発明のセントラル・プロセッサ・ユニットのウェイト
ステート発生装置は、第1図に示すように、CPUから
のリード・ライト信号を受は取るコマンド受信手段1と
、アドレス選択手段2と、CPUの動作クロックを計数
する計数手段3と、コマンド受信手段1とアドレス選択
手段2と計数手段3によって制御されBUSY信号を出
力するBUSY信号出力手Pi4からなる。
As shown in FIG. 1, the wait state generator for a central processor unit of the present invention comprises command receiving means 1 for receiving and receiving read/write signals from the CPU, address selection means 2, and a CPU operating clock. and a BUSY signal output hand Pi4 which is controlled by the command receiving means 1, address selection means 2, and counting means 3 and outputs a BUSY signal.

〔作 用〕[For production]

本発明のセントラル・プロセッサ・ユニットのウェイト
ステート発生装置を第1図に基づいて説明する。コマン
ド受信手段1は、パーソナルコンピューターのオプショ
ン・デバイス用コネクタを通してCPUからのメモリ・
リード信号8あるいはメモリ・ライト信号9を受信し信
号5をアクティブにする。アドレス選択手段2は、CP
Uのアクセスするアドレスを判断して選択的に信号6を
アクティブにする。アドレスは、アドレス・バス10を
通してアドレス選択手段2に伝えられる。
A wait state generator for a central processor unit according to the present invention will be explained based on FIG. The command receiving means 1 receives the memory from the CPU through the optional device connector of the personal computer.
It receives the read signal 8 or the memory write signal 9 and makes the signal 5 active. The address selection means 2 is the CP
The address to be accessed by U is determined and signal 6 is selectively activated. The address is communicated to the address selection means 2 via an address bus 10.

DMA転送など、CPUのステートにTWを挿入しては
いけない場合がある。DMA転送で使用されるメモリ領
域をアドレス選択手段2に設定して、このアドレスがア
クセスされたときは信号6がアクティブにならない、計
数手段3はCPUの動作クロックをかぞえて、信号7を
通してBUSY信号発生手段4を制御する。BUSY信
号発生手段4はBUSY信号12を出力する。BtJS
Y信号12は通常ハイ・インピーダンス状態であるが、
信号5.6によってBUSY信号はアクティブとなる。
There are cases, such as DMA transfer, where TW should not be inserted into the CPU state. The memory area used in DMA transfer is set in the address selection means 2, and when this address is accessed, the signal 6 will not become active.The counting means 3 counts the CPU operating clock and sends the BUSY signal through the signal 7. The generating means 4 is controlled. The BUSY signal generating means 4 outputs a BUSY signal 12. BtJS
The Y signal 12 is normally in a high impedance state,
The signal 5.6 makes the BUSY signal active.

CPUが所定の数のTWを経過した後、信号7によって
BUSY信号12は再びノン・アクティブとなる。する
とCPUはリード・サイクルあるいはライト・サイクル
を終了し、信号5によってBUSY信号12は再びハイ
・インピーダンス状態となる。
After the CPU has passed through a predetermined number of TWs, the signal 7 makes the BUSY signal 12 non-active again. Then, the CPU ends the read cycle or write cycle, and the signal 5 causes the BUSY signal 12 to go into a high impedance state again.

〔実 施 例〕〔Example〕

以下に、本発明のセントラル・プロセッサ・ユニットの
ウェイトステート発生装置を実施例に基づいて説明する
。第2図は本発明の実施例を示す図であり、ORゲート
13と、ANDゲート14と、デコーダ15と、3ステ
ートゲート17と、リード・ライト信号検出回路16と
、計数回路18と、初期値設定回路1つからなっている
。BUSY信鰺12と、メモリ・リード信号8と、メモ
リ・ライト信号9と、アドレス・バス10と、CPUの
動作クロック11はパーソナルコンピューターのオプシ
ョン・デバイス用コネクタに接続される。メモリ・リー
ド信号8と、メモリ・ライト信号9はORゲート13で
受信され、信号20を介してANDゲート14と、リー
ド・ライト信号検出回路16へ伝えられる。デコーダ1
5はアドレス・バスlOをデコードし1゛Wを挿入して
よいメモリ・アドレスがアクセスされているかどうかを
、信号21を介してANDゲート14に伝える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A wait state generator for a central processor unit according to the present invention will be described below based on an embodiment. FIG. 2 is a diagram showing an embodiment of the present invention, in which an OR gate 13, an AND gate 14, a decoder 15, a 3-state gate 17, a read/write signal detection circuit 16, a counting circuit 18, an initial Consists of one value setting circuit. The BUSY signal 12, memory read signal 8, memory write signal 9, address bus 10, and CPU operating clock 11 are connected to an optional device connector of the personal computer. Memory read signal 8 and memory write signal 9 are received by OR gate 13 and transmitted via signal 20 to AND gate 14 and read/write signal detection circuit 16. Decoder 1
5 decodes the address bus 1O and tells the AND gate 14 via signal 21 whether a memory address that is allowed to insert 1'W is being accessed.

ANDゲート14は信号22を介して3ステートゲート
17を制御する。3ステートゲート17は信号22に基
づいて、信号23とBUSY信号をつないだり切ったり
する。リード・ライト信号検出回路16は信号20がア
クティブになると同時に信号23をアクティブにし、信
号24を介して計数回路18を始動させる。計数回路1
8はCPUの動作クロック11をかぞえて、信号25を
介してリード・ライト信号検出回路16を制御し、信号
23をノン・アクティブにする。するとBUSY信号1
2もノン・アクティブとなり、CPUはメモリ・リード
サイクルあるいはメモリ・ライト・サイクルを終了し、
それに伴って信号20゜22もノン・アクティブとなり
、信号23とBUSY信号12は3ステートゲート17
によって切り離される。初期値設定回路19は計数回路
18の初期値を設定する。これによって挿入すべきTW
の数が決まる。なお、第1図のブロック図と第2図の回
路図の対応づけは、ORゲート13とANDゲート14
がコマンド受信手段であり、デコーダ15がアドレス選
択手段2であり、リード・ライト信号検出回路16と3
ステートゲート17がBUSY信号出力手段4であり、
計数回路18と初期値設定回路19が計数手段3である
AND gate 14 controls three-state gate 17 via signal 22. The three-state gate 17 connects or disconnects the signal 23 and the BUSY signal based on the signal 22. The read/write signal detection circuit 16 activates the signal 23 at the same time that the signal 20 becomes active and starts the counting circuit 18 via the signal 24. Counting circuit 1
8 counts the operating clock 11 of the CPU, controls the read/write signal detection circuit 16 via the signal 25, and makes the signal 23 non-active. Then BUSY signal 1
2 also becomes non-active, the CPU finishes the memory read cycle or memory write cycle,
Along with this, the signals 20 and 22 also become non-active, and the signals 23 and BUSY signal 12 become the 3-state gate 17.
separated by The initial value setting circuit 19 sets the initial value of the counting circuit 18. TW to be inserted by this
The number of is determined. The correspondence between the block diagram in FIG. 1 and the circuit diagram in FIG. 2 is that the OR gate 13 and the AND gate 14
is the command receiving means, the decoder 15 is the address selection means 2, and the read/write signal detection circuits 16 and 3
The state gate 17 is the BUSY signal output means 4,
The counting circuit 18 and the initial value setting circuit 19 constitute the counting means 3.

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

以上、説明したように本発明のセントラル・プロセッサ
・ユニットのウェイトステート発生装置はオプション・
デバイス用に設けられているBUSY信号を利用して、
CPUの4つのステートの間にTWを挿入させる。この
操作によって、CPUのメモリ・リード信号、メモリ・
ライト信号を適度に引き伸ばすことができる。この操作
によって、動作クロック周波数の高いパーソナルコンピ
ューター上において、ループ命令等によるソフトウェア
的タイマーが短くなることに起因してアブリゲーション
ソフトが正常に動作しないという問題点が解消される。
As explained above, the wait state generator for the central processor unit of the present invention has optional features.
Using the BUSY signal provided for the device,
A TW is inserted between the four states of the CPU. By this operation, the CPU memory read signal, memory
Light signals can be stretched appropriately. This operation solves the problem that aggregation software does not operate normally on a personal computer with a high operating clock frequency due to the software timer being shortened due to a loop command or the like.

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

第1図は本発明のセントラル・プロセッサ・ユニットの
ウェイトステート発生装置のブロック図。 第2図は本発明の実施例の回路図。 5・・・信号 6・・・信号 7・・・信号 20・・・信号 21・・・信号 22・・・信号 23・・・信号 24・・・信号 25・・・信号 以上 出願人  セイコーエプソン株式会社 代理人 弁理士 鈴 木 喜三部 (他1名)第1図
FIG. 1 is a block diagram of a wait state generator for a central processor unit of the present invention. FIG. 2 is a circuit diagram of an embodiment of the present invention. 5...Signal 6...Signal 7...Signal 20...Signal 21...Signal 22...Signal 23...Signal 24...Signal 25...Signal and above Applicant Seiko Epson Agent Co., Ltd. Patent attorney Kizobe Suzuki (and 1 other person) Figure 1

Claims (1)

【特許請求の範囲】[Claims] メモリ・リード信号及びメモリ・ライト信号を受信する
コマンド受信手段と、メモリのアドレスを選択するアド
レス選択手段と、セントラル・プロセッサ・ユニット(
以下、CPUという。)の動作クロックのクロック数を
かぞえる計数手段と、前記コマンド受信手段と前記アド
レス選択手段と前記計数手段によって制御されてBUS
Y信号を出力するBUSY信号出力手段からなり、BU
SY信号を出力することによって、CPUにウェイトス
テートを発生させることを特徴とするセントラル・プロ
セッサ・ユニットのウェイトステート発生装置。
A command receiving means for receiving a memory read signal and a memory write signal, an address selection means for selecting a memory address, and a central processor unit (
Hereinafter, it will be referred to as CPU. ), the command receiving means, the address selection means, and the counting means control the BUS.
It consists of a BUSY signal output means that outputs a Y signal, and the BU
A wait state generation device for a central processor unit, characterized in that it generates a wait state in a CPU by outputting a SY signal.
JP11870888A 1988-05-16 1988-05-16 Weight state generator for centeral processor unit Pending JPH01288939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11870888A JPH01288939A (en) 1988-05-16 1988-05-16 Weight state generator for centeral processor unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11870888A JPH01288939A (en) 1988-05-16 1988-05-16 Weight state generator for centeral processor unit

Publications (1)

Publication Number Publication Date
JPH01288939A true JPH01288939A (en) 1989-11-21

Family

ID=14743157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11870888A Pending JPH01288939A (en) 1988-05-16 1988-05-16 Weight state generator for centeral processor unit

Country Status (1)

Country Link
JP (1) JPH01288939A (en)

Similar Documents

Publication Publication Date Title
US5465360A (en) Method and apparatus for independently resetting processors and cache controllers in multiple processor systems
JPH07271721A (en) Computer system and its operating method
JPH01288939A (en) Weight state generator for centeral processor unit
JPH03122745A (en) Dma control system
JPH07129456A (en) Computer system
JP2580999B2 (en) DMA controller
JP3093374B2 (en) Interrupt controller
JP2722908B2 (en) Single chip microcomputer
JP2837698B2 (en) Direct memory access controller
JP3136681B2 (en) Data processing device
JPH023217B2 (en)
JP3489174B2 (en) Semiconductor integrated circuit
JPH069039B2 (en) Direct memory access circuit
JPH05334234A (en) High speed dma transferring device
JPS6214866B2 (en)
JPS59189433A (en) Data erasing system by direct memory access
JPH05298239A (en) Direct memory access control circuit
JPH06318184A (en) Bus arbitration device
JPS61286956A (en) Data processor
JPS61169923A (en) Data processing system
JPS6224497A (en) Memory circuit
JPH07334451A (en) Direct memory access controller system
JPH0619735A (en) Microprocesor
JPS58225421A (en) Data processor
JPH02157955A (en) Address data access method for processor