JPH04256053A - Computer device - Google Patents

Computer device

Info

Publication number
JPH04256053A
JPH04256053A JP1626491A JP1626491A JPH04256053A JP H04256053 A JPH04256053 A JP H04256053A JP 1626491 A JP1626491 A JP 1626491A JP 1626491 A JP1626491 A JP 1626491A JP H04256053 A JPH04256053 A JP H04256053A
Authority
JP
Japan
Prior art keywords
signal
processing unit
central processing
peripheral input
output device
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
JP1626491A
Other languages
Japanese (ja)
Inventor
Kazuya Matsukawa
松川 和哉
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1626491A priority Critical patent/JPH04256053A/en
Publication of JPH04256053A publication Critical patent/JPH04256053A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make the change of software unnecessary in the case that a central control device selects a peripheral input/output device necessitating recovery time by providing a circuit to renounce the bus control right of the central control device for a definite period. CONSTITUTION:At the time when a CPU 1 accesses the peripheral input/output device 4, an address signal 5 and signals 8,9 are outputted. A decoder 3 decodes the address signal 5, and in the case of coincidence, it outputs the signal 13, and a control circuit 2 receives the signals 8, 9, 13, and outputs a hold signal 6 to the CPU 1, and counts a clock 15 by a counter in it. The hold signal is held until the counter counts a definite number. Since the control circuit 2 to hold the CPU 1 for a definite period so as to secure the peripheral input/ output device 4 in this way is provided, the recovery time need not be considered in the software.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は中央処理装置と周辺入出
力装置を有するコンピュータ装置に関し、特に中央処理
装置がポーズ期間(以下、リカバリータイムと称す)の
必要な周辺入出力装置をアクセスするときの制御手段を
備えたコンピュータ装置に関する。
[Field of Industrial Application] The present invention relates to a computer device having a central processing unit and peripheral input/output devices, and particularly when the central processing unit accesses peripheral input/output devices that require a pause period (hereinafter referred to as recovery time). The present invention relates to a computer device equipped with a control means.

【0002】0002

【従来の技術】従来のかかるコンピュータ装置について
図7乃至図9を参照して説明する。
2. Description of the Related Art A conventional computer device will be described with reference to FIGS. 7 to 9.

【0003】図7は従来の一例を示すコンピュータ装置
のブロック図である。図7に示すように、従来のコンピ
ュータ装置は中央処理装置(CPU)1と、中央処理装
置1に接続されたアドレスバス5からのADDR信号を
デコードするデコーダ3と、中央処理装置1に接続され
たデータバス12との間でDATA信号をやり取りする
周辺入出力装置4とを有している。この中央処理装置1
はバスの制御権を放棄させるバス・ホールド機能を有し
、ホールド機能を有効にするHLDRQ反転信号6の入
力端子と、ホールド機能が動作中であることを示すHL
DAK反転信号7の出力端子と、バス・サイクルの始ま
りを示すBCYST反転信号8の出力端子と、中央処理
装置1のアドレスであるADDR信号5の出力端子とを
備えている。また、この中央処理装置1のバス・サイク
ルはT1サイクル,T2サイクルの2クロック・サイク
ルであり、加えて中央処理装置1は周辺入出力装置4に
対するアクセスかメモリ装置に対するアクセスかを区別
するMRQ反転信号9の出力端子と、起動しているバス
・サイクルがリード・サイクルであるかライト・サイク
ルであるかを区別するR/W反転信号10の出力端子と
、入出力するデータが有効になったことを示すDA反転
信号11の出力端子と、実際にデータの入出力を行うD
ATA信号12の入出力端子と、中央処理装置1が動作
するための基準クロックCLK信号15の入力端子とを
有している。一方、周辺入出力装置4は選択されたこと
を認識するIOSEL反転信号13の入力端子と、周辺
入出力装置4に要求されている動作がリード動作かライ
ト動作かを認識するR/W反転信号10の入力端子と、
データ・バス12がアクティブになっていることを認識
するDA反転信号11の入力端子とを有し、リカバリ・
タイムが必要である。更に、デコーダ3は中央処理装置
1の出力するADDR信号5をもとに周辺入出力装置4
を選択するIOSEL反転信号13を出力する機能を備
え、MRQ反転信号9よりインバータ31を介してデコ
ード動作の許可・不許可を制御するDECEN反転信号
14の入力端子を有している。
FIG. 7 is a block diagram of a conventional computer device. As shown in FIG. 7, a conventional computer device includes a central processing unit (CPU) 1, a decoder 3 that decodes an ADDR signal from an address bus 5 connected to the central processing unit 1, and a decoder 3 connected to the central processing unit 1. It has a peripheral input/output device 4 that exchanges DATA signals with a data bus 12. This central processing unit 1
has a bus hold function that relinquishes control of the bus, and has an input terminal for the HLDRQ inverted signal 6 that enables the hold function, and an HL signal that indicates that the hold function is in operation.
It has an output terminal for a DAK inversion signal 7, an output terminal for a BCYST inversion signal 8 indicating the start of a bus cycle, and an output terminal for an ADDR signal 5 which is the address of the central processing unit 1. The bus cycle of the central processing unit 1 is two clock cycles, the T1 cycle and the T2 cycle. The output terminal of signal 9 and the output terminal of R/W inversion signal 10, which distinguishes whether the activated bus cycle is a read cycle or a write cycle, and the data to be input/output have become valid. The output terminal of the DA inverted signal 11 indicating that the
It has an input/output terminal for an ATA signal 12 and an input terminal for a reference clock CLK signal 15 for operating the central processing unit 1. On the other hand, the peripheral input/output device 4 receives an input terminal of an IOSEL inverted signal 13 that recognizes that it has been selected, and an R/W inverted signal that recognizes whether the operation requested of the peripheral input/output device 4 is a read operation or a write operation. 10 input terminals,
It has an input terminal for the DA inverted signal 11 that recognizes that the data bus 12 is active, and has a recovery terminal.
Time is needed. Furthermore, the decoder 3 uses the ADDR signal 5 output from the central processing unit 1 to
It has a function of outputting an IOSEL inverted signal 13 for selecting the MRQ inverted signal 9, and has an input terminal for a DECEN inverted signal 14 that controls permission/disapproval of the decoding operation from the MRQ inverted signal 9 via an inverter 31.

【0004】図8は図7における装置各部のタイミング
図である。図8に示すように、ADDR信号5はT1サ
イクルおよびT2サイクルの間、中央処理装置1から出
力されるので、BCYST反転信号8がT1サイクルの
間アクティブになる。また、MRQ反転信号9は中央処
理装置1が周辺入出力装置4をアクセスするときにイン
・アクティブになり、メモリ装置をアクセスするときに
はアクティブになり、T1サイクルおよびT2サイクル
の期間出力される。更に、R/W反転信号10は中央処
理装置1がリード動作を行うときには“H”になり、ラ
イト動作を行うときには“L”になり、T1サイクルお
よびT2サイクルの期間出力される。また、DA反転信
号11はデータ信号13が有効になったときにアクティ
ブになり、T2サイクルの期間出力される。一方、DA
TA信号12は中央処理装置1がリード動作を行うとき
にはT2サイクルの次のサイクルの立ち上がりでサンプ
リングされ、ライト動作を行うときにはT1サイクルの
クロックの立ち下がりに同期して出力される。
FIG. 8 is a timing diagram of each part of the apparatus in FIG. As shown in FIG. 8, the ADDR signal 5 is output from the central processing unit 1 during the T1 cycle and the T2 cycle, so the BCYST inversion signal 8 becomes active during the T1 cycle. Further, the MRQ inversion signal 9 becomes inactive when the central processing unit 1 accesses the peripheral input/output device 4, becomes active when accessing the memory device, and is output during the T1 cycle and the T2 cycle. Furthermore, the R/W inversion signal 10 becomes "H" when the central processing unit 1 performs a read operation, becomes "L" when the central processing unit 1 performs a write operation, and is output during the T1 cycle and the T2 cycle. Further, the DA inversion signal 11 becomes active when the data signal 13 becomes valid, and is output during the T2 cycle. On the other hand, D.A.
The TA signal 12 is sampled at the rising edge of the cycle following the T2 cycle when the central processing unit 1 performs a read operation, and is output in synchronization with the falling edge of the clock in the T1 cycle when the central processing unit 1 performs a write operation.

【0005】図9は図7に示すCPUの動作を説明する
ための動作フロー図である。図9に示すように、中央処
理装置1がリカバリ・タイムの必要な周辺入出力装置4
をアクセスするとき、最初に中央処理装置1はIN命令
を実行することによりMRQ反転信号9をイン・アクテ
ィブにし、周辺入出力装置4のアドレスをADDR信号
5端子より出力すると、デコーダ3のIOSEL反転信
号13は周辺入出力装置4を選択し、中央処理装置1が
周辺入出力装置4をアクセスする。次に、中央処理装置
1はその直後にNOP命令を実行し、バスをNOP命令
の命令フェッチに占有させ、MRQ反転信号9をアクテ
ィブに制御してデコーダ3が出力するIOSEL反転信
号13をイン・アクティブにする。要するに、従来のコ
ンピュータ装置は、このIOSEL反転信号13がイン
・アクティブな期間を周辺入出力装置4のリカバリ・タ
イムとして確保している。
FIG. 9 is an operational flow diagram for explaining the operation of the CPU shown in FIG. As shown in FIG. 9, the central processing unit 1 uses peripheral input/output devices 4 that require recovery time.
When accessing , the central processing unit 1 first makes the MRQ inversion signal 9 inactive by executing the IN command, and outputs the address of the peripheral input/output device 4 from the ADDR signal 5 terminal, then the IOSEL of the decoder 3 is inverted. The signal 13 selects the peripheral input/output device 4, and the central processing unit 1 accesses the peripheral input/output device 4. Next, the central processing unit 1 immediately executes the NOP instruction, occupies the bus for fetching the NOP instruction, controls the MRQ inversion signal 9 to active, and inputs the IOSEL inversion signal 13 output by the decoder 3. Activate. In short, the conventional computer system secures the period during which the IOSEL inversion signal 13 is inactive as the recovery time of the peripheral input/output device 4.

【0006】[0006]

【発明が解決しようとする課題】上述した従来のコンピ
ュータ装置は、中央処理装置のソフトウェア命令により
周辺入出力装置のリカバリ・タイムを確保している。そ
れ故、中央処理装置の性能、特に中央処理装置の動作ク
ロック周波数を高めることによりコンピュータ装置全体
の性能を上げようとするときには、1命令サイクルの時
間が短くなる。従って、従来の命令ステップ数では十分
に周辺入出力装置のリカバリ・タイムを確保できなくな
り、ソフトウェア資産の再利用ができなくなるという欠
点がある。
The conventional computer system described above secures the recovery time of peripheral input/output devices by software instructions of the central processing unit. Therefore, when trying to improve the performance of the entire computer system by increasing the performance of the central processing unit, particularly by increasing the operating clock frequency of the central processing unit, the time for one instruction cycle becomes shorter. Therefore, with the conventional number of instruction steps, sufficient recovery time for peripheral input/output devices cannot be ensured, and software assets cannot be reused.

【0007】例えば、中央処理装置が10MHzのクロ
ック信号で動作している場合、周辺入力装置に必要なリ
カバリ・タイムが400nSであれば、図9に示すフロ
ーのプログラムを動作させたとき、NOP命令2つ分の
バス・サイクルが起動され、リカバリ・タイムが確保で
きる。しかしながら、中央処理装置の動作クロックを2
0MHzに高めた場合、従来の制御方式ではNOP命令
2つ分のバス・サイクルに要する時間は200nSとな
り、その結果周辺入出力装置のリカバリ・タイムを確保
できなくなり、ソフトウェアを変更してNOP命令を2
つ付け加えなければならない。
For example, if the central processing unit operates with a 10 MHz clock signal and the recovery time required for the peripheral input device is 400 nS, when the program with the flow shown in FIG. Two bus cycles are activated to ensure recovery time. However, the operating clock of the central processing unit is
When increasing the frequency to 0 MHz, the time required for a bus cycle for two NOP instructions using the conventional control method would be 200 nS, and as a result, recovery time for peripheral input/output devices could not be secured, so the software had to be changed to replace the NOP instructions. 2
I have to add one thing.

【0008】本発明の目的は、かかるソフトウェアを変
更することなく、過去のソフトウェア資産を再利用する
ことの可能なコンピュータ装置を提供することにある。
An object of the present invention is to provide a computer device that can reuse past software assets without changing the software.

【0009】[0009]

【課題を解決するための手段】本発明のコンピュータ装
置は、バスの制御権を放棄するためのバス・ホールド機
能およびアドレス信号の出力機能を有し且つ前記ホール
ド機能を有効にするホールド要求信号の入力端子と前記
ホールド機能が動作していることを示すホールド・アク
ノリッジ信号の出力端子を備えた中央処理装置と、一度
アクセスすると一定の時間だけアクセスすることのでき
ないポーズ期間としてのリカバリ・タイムを必要とする
周辺入出力装置と、前記中央処理装置が一度前記周辺入
出力装置をアクセスすると前記中央処理装置のバス制御
権を放棄させるように制御して前記周辺入出力装置に必
要なリカバリ・タイムを自動的に確保し且つ連続して前
記中央処理装置から前記周辺入出力装置にアクセスでき
ないようにする制御回路とを有して構成される。
[Means for Solving the Problems] A computer device of the present invention has a bus hold function for relinquishing control of a bus and an address signal output function, and has a hold request signal output function for enabling the hold function. Requires a central processing unit equipped with an input terminal and an output terminal for a hold acknowledge signal indicating that the hold function is operating, and a recovery time as a pause period in which access is not possible for a certain period of time once accessed. A peripheral input/output device having a peripheral input/output device, and a control device such that once the central processing unit accesses the peripheral input/output device, the central processing unit relinquishes the bus control right to reduce the recovery time necessary for the peripheral input/output device. and a control circuit that automatically secures and continuously prevents the central processing unit from accessing the peripheral input/output devices.

【0010】0010

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0011】図1は本発明の第一の実施例を示すコンピ
ュータ装置のブロック図であり、図2は図1に示す制御
回路の構成図、図3は図1における装置各部の信号のタ
イミング図である。図1乃至図3に示すように、本実施
例は中央処理装置(CPU)1と、アドレスバス5に接
続されたデコーダ3と、CPU1およびデコーダ3から
の信号に基づきデータバス12との間でデータのやり取
りを行う周辺入出力装置4と、CPU1に接続され且つ
デコーダ3を制御する制御回路2とを有する。このうち
、中央処理装置1および周辺入出力装置4は前述した従
来例で説明した各装置と同じものである。本実施例が従
来例と異なる制御回路2は、HLDAK反転信号7と、
BCYST反転信号8と、MRQ反転信号9と、IOS
EL反転信号13とを入力することにより、HLDRQ
反転信号6とDECEN反転信号14とを作成しCPU
1とデコーダ3を制御し、周辺入出力装置4のリカバリ
・タイムを確保する。このHLDRQ反転信号6はCP
U1によりT2サイクルのクロックの立ち上がりでサン
プリングされ、ホールド機能がアクティブになりTHサ
イクルが実行される。また、HLDAK反転信号7は最
初のTHサイクルのクロックの立ち下がりでアクティブ
になる。更に、HLDRQ反転信号6はその後もTHサ
イクルのクロックの立ち上がりでサンプリングされ、イ
ン・アクティブであるとそのTHサイクルのクロックの
立ち下がりでLDAK反転信号7はイン・アクティブに
なる。
FIG. 1 is a block diagram of a computer device showing a first embodiment of the present invention, FIG. 2 is a block diagram of a control circuit shown in FIG. 1, and FIG. 3 is a timing diagram of signals of various parts of the device in FIG. It is. As shown in FIGS. 1 to 3, in this embodiment, a central processing unit (CPU) 1, a decoder 3 connected to an address bus 5, and a data bus 12 based on signals from the CPU 1 and the decoder 3 are connected. It has a peripheral input/output device 4 that exchanges data, and a control circuit 2 that is connected to the CPU 1 and controls the decoder 3. Of these, the central processing unit 1 and the peripheral input/output device 4 are the same as those described in the prior art example. The control circuit 2 in this embodiment differs from the conventional example in that the HLDAK inverted signal 7 and
BCYST inversion signal 8, MRQ inversion signal 9, IOS
By inputting the EL inverted signal 13, the HLDRQ
Creates an inverted signal 6 and a DECEN inverted signal 14 and sends it to the CPU.
1 and decoder 3 to ensure recovery time for peripheral input/output device 4. This HLDRQ inverted signal 6 is CP
It is sampled by U1 at the rising edge of the clock in the T2 cycle, the hold function is activated, and the TH cycle is executed. Further, the HLDAK inversion signal 7 becomes active at the falling edge of the clock of the first TH cycle. Further, the HLDRQ inverted signal 6 is sampled at the rising edge of the clock in the TH cycle, and if it is inactive, the LDAK inverted signal 7 becomes inactive at the falling edge of the clock in the TH cycle.

【0012】次に、CPU1が周辺入出力装置4をアク
セスするときには、まずADDR信号5,BCYST反
転信号8およびMRQ反転信号9が出力される。これに
より、制御回路2は内部のNANDゲート22にMRQ
反転信号9を入力しデコーダ3をイネーブルにするため
のDECEN反転信号14をアクティブにする。尚、こ
のときホールド機能は動作していないので、HLDAK
反転信号7は“H”である。一方、デコーダ3はCPU
1の出力するADDR信号5をデコードし、デコード条
件に合致していればIOSEL反転信号13をアクティ
ブにし、周辺入出力装置4に伝えるとともに制御回路2
にも伝える。制御回路2は、このIOSEL反転信号1
3をNORゲート21に入力し、BCYST反転信号8
がアクティブの期間にRSフリップ・フロップ(F/F
)17をリセットする信号を作成する。このリセット信
号によりCPU1に対してホールド動作を要求するHL
DRQ反転信号6がRSF/F17より出力される。 CPU1はこのHLDRQ反転信号6をT2サイクルの
立ち上がりでサンプリングし、アクティブになっていれ
ばバス・ホールド機能を動作させ、次のTHサイクルの
クロックの立ち上がりに同期してバスの制御権を放棄し
、クロックの立ち下がりに同期してHLDAK反転信号
7を出力する。
Next, when the CPU 1 accesses the peripheral input/output device 4, the ADDR signal 5, the BCYST inverted signal 8, and the MRQ inverted signal 9 are first output. As a result, the control circuit 2 outputs the MRQ to the internal NAND gate 22.
The inverted signal 9 is input and the DECEN inverted signal 14 for enabling the decoder 3 is activated. In addition, since the hold function is not operating at this time, HLDAK
The inverted signal 7 is "H". On the other hand, decoder 3 is a CPU
The ADDR signal 5 outputted by the circuit 1 is decoded, and if the decoding conditions are met, the IOSEL inversion signal 13 is activated and transmitted to the peripheral input/output device 4, and the control circuit 2
I will also tell you. The control circuit 2 receives this IOSEL inverted signal 1.
3 to the NOR gate 21, and the BCYST inverted signal 8
The RS flip-flop (F/F
) Create a signal to reset 17. HL requests the CPU1 to perform a hold operation using this reset signal.
DRQ inversion signal 6 is output from RSF/F17. The CPU 1 samples this HLDRQ inverted signal 6 at the rising edge of the T2 cycle, operates the bus hold function if it is active, and relinquishes control of the bus in synchronization with the rising edge of the next TH cycle clock. The HLDAK inverted signal 7 is output in synchronization with the falling edge of the clock.

【0013】また、HLDRQ反転信号6がアクティブ
になると、RSF/F17のQ反転出力24は、カウン
ト・オバーフローしたときのOVF信号23をアクティ
ブにする機能を有するカウンタ16のクロック入力を制
御するANDゲート18に入力され、カウンタ16への
カウント・クロック入力がイネーブルになる。カウンタ
16は周辺入出力装置4に必要なリカバリ・タイム分だ
けのカウントが終了すると、OVF信号23をアクティ
ブにする。このOVF信号23とHLDAK反転信号7
をインバータ20で反転させた出力とをANDゲート1
9に入力し、RSF/F17をセットする信号を作成し
、HLDRQ反転信号6をイン・アクティブにする。 以上述べたように、中央処理装置(CPU)1をある一
定の時間ホールドさせることにより、IOSEL反転信
号13が必ずイン・アクティブになる期間を設け、これ
により周辺入出力装置4のリカバリ・タイムを確保して
いる。
Furthermore, when the HLDRQ inversion signal 6 becomes active, the Q inversion output 24 of the RSF/F 17 is connected to an AND gate that controls the clock input of the counter 16, which has the function of activating the OVF signal 23 when the count overflows. 18 and enables the count clock input to counter 16. When the counter 16 finishes counting for the recovery time required for the peripheral input/output device 4, it activates the OVF signal 23. This OVF signal 23 and HLDAK inversion signal 7
is inverted by the inverter 20 and the AND gate 1
9, creates a signal to set RSF/F17, and makes the HLDRQ inversion signal 6 inactive. As described above, by holding the central processing unit (CPU) 1 for a certain period of time, a period is established in which the IOSEL inversion signal 13 is always inactive, thereby reducing the recovery time of the peripheral input/output device 4. It is secured.

【0014】図4は本発明の第二の実施例を示すコンピ
ュータ装置のブロック図であり、図5は図4に示す制御
回路の構成図、図6は図4における装置各部の信号タイ
ミング図である。図4乃至図6に示すように、本実施例
は前述した第一の実施例と比較して制御回路2を変更し
、エンコーダ28およびプリセッタブルカウンタ27を
有する制御回路25を設けたことにある。まず、制御回
路25は、図1の制御回路2に対しリカバリ・タイムを
プログラマブルに設定できるS0〜Sn信号26の入力
端子を有している。エンコーダ28はこれらS0〜Sn
信号26を入力すると、入力値に対して一定の値が決ま
る回路である。一方、プリセッタブル・カウンタ27は
プリセット・データをロードするLOAD信号29の入
力端子を有し、エンコーダ28のエンコード信号30を
入力する端子を有する。また、制御回路25におけるS
0〜Sn信号26の入力端子により周辺入出力装置4に
必要なリカバリ・タイムに相当するカウント値が設定さ
れると、エンコーダ28によりエンコードされ、プリセ
ッタブル・カウンタ27にプリセットするカウント値を
得る。エンコーダ28により得られたカウント値はOV
F信号23とHLDAK反転信号7をインバータ20で
反転させた出力とをANDゲート19に入力し、RSF
/F17をセットする。また、このセット信号はLOA
D信号29としてプリセッタブル・カウンタ27に転送
される。このプリセットされた値が周辺入出力装置4の
リカバリ・タイムとして確保される。本実施例ではリカ
バリ・タイムを外部端子にて設定できるので、リカバリ
・タイムの異なる周辺入出力装置4に対しても柔軟に対
応することができ、且つCLK15信号の周波数の変更
に対しても柔軟に対応することができるという利点があ
る。
FIG. 4 is a block diagram of a computer device showing a second embodiment of the present invention, FIG. 5 is a block diagram of the control circuit shown in FIG. 4, and FIG. 6 is a signal timing diagram of each part of the device in FIG. be. As shown in FIGS. 4 to 6, the present embodiment differs from the first embodiment in that the control circuit 2 is changed and a control circuit 25 having an encoder 28 and a presettable counter 27 is provided. . First, the control circuit 25 has input terminals for S0 to Sn signals 26 that can programmably set the recovery time for the control circuit 2 of FIG. The encoder 28 encodes these S0 to Sn
This is a circuit in which when a signal 26 is input, a constant value is determined for the input value. On the other hand, the presettable counter 27 has an input terminal for a LOAD signal 29 for loading preset data, and a terminal for inputting an encode signal 30 from the encoder 28. Further, S in the control circuit 25
When a count value corresponding to the recovery time required for the peripheral input/output device 4 is set by the input terminal of the 0 to Sn signal 26, it is encoded by the encoder 28 to obtain a count value to be preset in the presettable counter 27. The count value obtained by the encoder 28 is OV
The F signal 23 and the output obtained by inverting the HLDAK inverted signal 7 by the inverter 20 are input to the AND gate 19, and the RSF
/F17 is set. Also, this set signal is LOA
It is transferred to the presettable counter 27 as a D signal 29. This preset value is secured as the recovery time of the peripheral input/output device 4. In this embodiment, since the recovery time can be set using an external terminal, it is possible to flexibly respond to peripheral input/output devices 4 having different recovery times, and also to change the frequency of the CLK15 signal. It has the advantage of being able to respond to

【0015】[0015]

【発明の効果】以上説明したように、本発明のコンピュ
ータ装置は、周辺入出力装置のリカバリ・タイムを確保
するための制御回路を有することにより、ソフトウェア
で周辺入出力装置のリカバリ・タイムを考慮する必要が
ないという効果がある。また、本発明は中央処理装置の
性能、特に中央処理装置の動作クロック周波数を高めて
装置全体の性能を上げようとするときでも、ソフトウェ
アを変更することなく、過去の資産(ソフトウェア)の
再利用が可能になるという効果がある。
[Effects of the Invention] As explained above, the computer device of the present invention has a control circuit for ensuring the recovery time of the peripheral input/output device, so that the recovery time of the peripheral input/output device can be taken into account in software. The effect is that there is no need to do so. Furthermore, even when trying to improve the performance of the central processing unit, especially the operating clock frequency of the central processing unit to improve the performance of the entire device, the present invention can reuse past assets (software) without changing the software. This has the effect of making it possible.

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

【図1】本発明の第一の実施例を示すコンピュータ装置
のブロック図である。
FIG. 1 is a block diagram of a computer device showing a first embodiment of the present invention.

【図2】図1に示す制御回路の構成図である。FIG. 2 is a configuration diagram of the control circuit shown in FIG. 1.

【図3】図1における装置各部の信号のタイミング図で
ある。
FIG. 3 is a timing diagram of signals of various parts of the device in FIG. 1;

【図4】本発明の第二の実施例を示すコンピュータ装置
のブロック図である。
FIG. 4 is a block diagram of a computer device showing a second embodiment of the present invention.

【図5】図4に示す制御回路の構成図である。FIG. 5 is a configuration diagram of the control circuit shown in FIG. 4;

【図6】図4における装置各部の信号のタイミング図で
ある。
FIG. 6 is a timing diagram of signals of various parts of the device in FIG. 4;

【図7】従来の一例を示すコンピュータ装置のブロック
図である。
FIG. 7 is a block diagram of a computer device showing a conventional example.

【図8】図7における装置各部の信号のタイミング図で
ある。
FIG. 8 is a timing diagram of signals of various parts of the device in FIG. 7;

【図9】図7に示すCPUの動作を説明するための動作
フロー図である。
9 is an operation flow diagram for explaining the operation of the CPU shown in FIG. 7. FIG.

【符号の説明】[Explanation of symbols]

1    中央処理装置(CPU) 2,25    制御回路 3    デコーダ 4    周辺入出力装置 5    ADDR信号(アドレスバス)6    H
LDRQ反転信号 7    HLDAK反転信号 8    BCYST反転信号 9    MRQ反転信号 10    R/W反転信号 11    DA反転信号 12    DATA信号(データバス)13    
IOSEL反転信号 14    DECEN反転信号 15    CLK信号 16    カウンタ 17    RSフリップ・フロップ(RS・F/F)
18,19    ANDゲート 20    インバータ 21    NORゲート 22    NANDゲート 23    OVF信号 24    Q反転出力 26    S0〜Sn信号 27    プリセッタブル・カウンタ28    エ
ンコーダ 29    LOAD信号 30    エンコード信号
1 Central processing unit (CPU) 2, 25 Control circuit 3 Decoder 4 Peripheral input/output device 5 ADDR signal (address bus) 6 H
LDRQ inverted signal 7 HLDAK inverted signal 8 BCYST inverted signal 9 MRQ inverted signal 10 R/W inverted signal 11 DA inverted signal 12 DATA signal (data bus) 13
IOSEL inverted signal 14 DECEN inverted signal 15 CLK signal 16 Counter 17 RS flip-flop (RS F/F)
18, 19 AND gate 20 Inverter 21 NOR gate 22 NAND gate 23 OVF signal 24 Q inverted output 26 S0 to Sn signal 27 Presettable counter 28 Encoder 29 LOAD signal 30 Encode signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  バスの制御権を放棄するためのバス・
ホールド機能およびアドレス信号の出力機能を有し且つ
前記ホールド機能を有効にするホールド要求信号の入力
端子と前記ホールド機能が動作していることを示すホー
ルド・アクノリッジ信号の出力端子を備えた中央処理装
置と、一度アクセスすると一定の時間だけアクセスする
ことのできないポーズ期間としてのリカバリ・タイムを
必要とする周辺入出力装置と、前記中央処理装置が一度
前記周辺入出力装置をアクセスすると前記中央処理装置
のバス制御権を放棄させるように制御して前記周辺入出
力装置に必要なリカバリ・タイムを自動的に確保し且つ
連続して前記中央処理装置から前記周辺入出力装置にア
クセスできないようにする制御回路とを有することを特
徴とするコンピュータ装置。
[Claim 1] Bus control for relinquishing control of the bus.
A central processing unit that has a hold function and an address signal output function, and includes an input terminal for a hold request signal that enables the hold function, and an output terminal for a hold acknowledge signal that indicates that the hold function is operating. a peripheral input/output device that cannot be accessed for a certain period of time once accessed and requires a recovery time as a pause period; and once the central processing unit accesses the peripheral input/output device, the central processing unit A control circuit that automatically secures a necessary recovery time for the peripheral input/output device by controlling the bus control right to be relinquished, and prevents the central processing unit from continuously accessing the peripheral input/output device. A computer device comprising:
JP1626491A 1991-02-07 1991-02-07 Computer device Pending JPH04256053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1626491A JPH04256053A (en) 1991-02-07 1991-02-07 Computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1626491A JPH04256053A (en) 1991-02-07 1991-02-07 Computer device

Publications (1)

Publication Number Publication Date
JPH04256053A true JPH04256053A (en) 1992-09-10

Family

ID=11911699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1626491A Pending JPH04256053A (en) 1991-02-07 1991-02-07 Computer device

Country Status (1)

Country Link
JP (1) JPH04256053A (en)

Similar Documents

Publication Publication Date Title
KR100588790B1 (en) Method and apparatus for acting on subsequent command processing in data processor
JP3226055B2 (en) Information processing device
JPH0543151B2 (en)
JPH07129413A (en) Interruption processor
JP2773471B2 (en) Information processing device
KR100321745B1 (en) A micro controller unit for external memory access
JPH04256053A (en) Computer device
JP2694948B2 (en) Micro program processor
JPS63245547A (en) Data processor
JPS62174832A (en) Information processor
JP2544015B2 (en) Micro program processor
JPH06180681A (en) Central processing unit
JPH03262052A (en) Information processor
JPS61118840A (en) Control system of electronic computer
JPH05242008A (en) Data processor
JPS60193046A (en) Detecting system for instruction exception
JPH06139076A (en) Interruption processor
JPH047739A (en) Controlling system for instruction executing time
JP2000148511A (en) Interruption processor for microcomputer and its interruption processing method
JPH0481939A (en) Control system for microcomputer
JPH03164945A (en) Data processor
JPH01316847A (en) Memory interface system
JPH03137753A (en) Access controller
JPH05165759A (en) Input/output decoder device
JPH02191034A (en) Microprogram controller