JPH0566988A - Access controller for computer system - Google Patents

Access controller for computer system

Info

Publication number
JPH0566988A
JPH0566988A JP22743491A JP22743491A JPH0566988A JP H0566988 A JPH0566988 A JP H0566988A JP 22743491 A JP22743491 A JP 22743491A JP 22743491 A JP22743491 A JP 22743491A JP H0566988 A JPH0566988 A JP H0566988A
Authority
JP
Japan
Prior art keywords
recovery period
signal
access
circuit member
circuit
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
JP22743491A
Other languages
Japanese (ja)
Inventor
Yuuhei Iwasaki
有平 岩崎
Yukio Uesugi
幸雄 上杉
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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP22743491A priority Critical patent/JPH0566988A/en
Publication of JPH0566988A publication Critical patent/JPH0566988A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To change the continuous time of each select signal each time an access request is generated, to omit the secure of a useless recovery period, to shorten average required access time and to improve the throughput of an entire system by detecting whether a relevant circuit member is under the recovery period or not for each circuit member. CONSTITUTION:A recovery period detecting circuit 11 is provided to detect whether respective relevant circuit members 7 and 8 are under the recovery period or not for the respective circuit members 7 and 8 and to output an under- recovery period signal when the members are under the recovery period. Further, a control logic circuit is provided to inhibit the outputs of select signals to the relevant circuit members 7 and 8 when this under-recovery period signal is under an output period. When access is generated to the same circuit member, the control logic circuit is operated so as to prevent the select signal of the next access from being inputted to the relevant circuit members 7 and 8 during the recovery period. Since the select signal of the next access is immediately inputted to the relevant circuit members just after the preceding access is completed, in this case, it is not necessary to wait for the lapse of the recovery period.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は例えばCPU(中央処理
装置)等のプロセッサを用いた計算機システムに係わ
り、特にこの計算機システムに組込まれた例えば周辺L
SI等の回路部材に対するアクセスを能率的に実行でき
るようにした計算機システムのアクセス制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system using a processor such as a CPU (central processing unit), and more particularly to a peripheral L incorporated in this computer system.
The present invention relates to an access control device for a computer system capable of efficiently executing access to a circuit member such as SI.

【0002】[0002]

【従来の技術】一般にCPUが組込まれたマイクロコン
ピュータやパーソナルコンピュータ等の比較的規模の小
さい計算機システムにおいては、図6に示すように、C
PU1に対して、例えば制御プログラム等の固定データ
を記憶するROM2や各種可変データを一時記憶するR
AM3がアドレスバス4,データバス5および制御バス
6を介して接続されている。また、外部からデータを入
力したり、外部へ演算結果を出力するための例えば入出
力インタフェース等や表示装置や外部記憶装置に対する
データの入出力を行うための入出力ポート等の複数の回
路部材7,8が接続されている。そして、一般にこれら
の回路部材7,8はLSI(大規模集積回路)で形成さ
れ、一般に周辺LSIと呼ばれている。
2. Description of the Related Art Generally, in a computer system of a relatively small scale such as a microcomputer or a personal computer in which a CPU is incorporated, as shown in FIG.
For the PU1, for example, a ROM 2 that stores fixed data such as a control program and an R that temporarily stores various variable data.
The AM 3 is connected via the address bus 4, the data bus 5 and the control bus 6. Further, a plurality of circuit members 7 such as an input / output interface for inputting data from the outside or outputting a calculation result to the outside and an input / output port for inputting / outputting data to / from a display device or an external storage device. , 8 are connected. In general, these circuit members 7 and 8 are formed of an LSI (Large Scale Integrated Circuit) and are generally called peripheral LSIs.

【0003】また、アドレスデコーダ9は、CPU1が
アクセスすべき各電子部品2,3,7,8を指定する各
選択信号(チップセレクタ信号)CSRO,CSRA,CS
A ,CSBR,CSBWを出力する。なお、回路部材8はこ
の回路部材8に対してデータを書込む場合の選択信号C
BWとデータを読出す場合の選択信号CSBRとはそれぞ
れ独立に出力される。
The address decoder 9 also selects signals (chip selector signals) CS RO , CS RA , CS for designating the electronic components 2, 3, 7, 8 which the CPU 1 should access.
Outputs A , CS BR , and CS BW . The circuit member 8 selects the signal C for writing data to the circuit member 8.
S BW and the selection signal CS BR for reading data are output independently.

【0004】このような計算機システムにおいて、CP
U1が出力する例えば16ビットや32ビットからなる
複数ビットのアドレス信号と制御信号でもって各電子部
品2,3,7,8が特定できる。すなわち、CPU1が
例えば回路部材7に対するアクセスを実行する場合は、
該当回路部材7を特定するアドレス信号ADA をアドレ
スバス4へ出力し、制御信号を制御バス6に出力する。
すると、アドレスデコーダ9から出力される選択信号C
A のみが動作状態(Lレベル)となる。したがって、
CPU1が制御バス6を介して読出信号RDを出力する
と、回路部材7からデータバス5にデータが出力され、
CPU1はこのデータを読取ることができる。
In such a computer system, the CP
Each electronic component 2, 3, 7, 8 can be specified by an address signal and a control signal of a plurality of bits such as 16 bits or 32 bits output from U1. That is, when the CPU 1 executes access to the circuit member 7, for example,
An address signal AD A specifying the corresponding circuit member 7 is output to the address bus 4 and a control signal is output to the control bus 6.
Then, the selection signal C output from the address decoder 9
Only S A is in the operating state (L level). Therefore,
When the CPU 1 outputs the read signal RD via the control bus 6, data is output from the circuit member 7 to the data bus 5,
The CPU 1 can read this data.

【0005】また、CPU1が例えば特定の回路部材7
に対してデータを書き込む場合も、アドレスデコーダ9
から対象の回路部材7に対して選択信号CSA を出力し
た状態で書込信号WRを制御バス6へ出力し、かつデー
タをデータバス5へ出力すると、該当データが回路部材
7へ書込まれる。
Further, the CPU 1 uses, for example, a specific circuit member 7
When writing data to the address decoder 9
When the write signal WR is output to the control bus 6 and the data is output to the data bus 5 while the selection signal CS A is output from the target circuit member 7 to the target circuit member 7, the corresponding data is written to the circuit member 7. ..

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
たような手順でもってLSIで構成された各回路部材
7,8に対するアクセスを実行する計算機システムにお
いてもまだ改良すべき次のような課題があった。
However, there are still the following problems to be improved in the computer system which executes the access to the circuit members 7 and 8 formed of the LSI by the above-mentioned procedure. ..

【0007】すなわち、図7(a)に示すように、対象
となる回路部材7,8に対する選択信号CSが動作状態
(Lレベル)期間T1 内において実際のアクセス処理が
実施される。
That is, as shown in FIG. 7 (a), the actual access processing is performed within the operation state (L level) period T 1 of the selection signal CS for the target circuit members 7, 8.

【0008】しかし、一般に市販されている前述した入
出力インタフェースや入出力ポート,各種変換器等の周
辺LSIからなる回路部材7,8においては、図7
(a)に示すように、実際のアクセス処理が終了した時
刻から、この回路部材7,8が元のアクセス受入可能状
態に回復する時刻までに所定の回復時間が予め設定され
ている。この回復に要する時間を通常リカバリ期間T2
という。
However, in the circuit members 7 and 8 composed of peripheral LSI such as the above-mentioned input / output interface, input / output port, and various converters which are generally commercially available, FIG.
As shown in (a), a predetermined recovery time is set in advance from the time when the actual access processing is completed to the time when the circuit members 7 and 8 are restored to the original access acceptable state. The time required for this recovery is the normal recovery period T 2
That.

【0009】そして、このリカバリ期間T2 内において
は、アクセス処理を実行することが禁止されている。一
方、同一回路部材に対して連続してアクセスする場合、
該当回路部材に対する選択信号CSは前回のアクセス処
理終了後直ちに復旧しているので、CPU1が直ちに次
のアクセスに対する選択信号CSを出力する。すると、
先のアクセスに対するリカバリ期間T2 が終了していな
い状態では次のアクセスを実行することができない。
Then, during the recovery period T 2 , execution of access processing is prohibited. On the other hand, when accessing the same circuit member continuously,
Since the selection signal CS for the relevant circuit member has been restored immediately after the end of the previous access processing, the CPU 1 immediately outputs the selection signal CS for the next access. Then,
The next access cannot be executed when the recovery period T 2 for the previous access is not completed.

【0010】このようなリカバリタイム違反を予め防止
するために、図7(b)に示すように、実際のアクセス
処理が終了して直ちに選択信号CSを元に復旧しても、
ダミーサイクルを実行して、リカバリ期間T2 経過後に
アクセス処理を復旧させる手法が採用されている。した
がって、この場合は、同一回路部材7に対して連続して
アクセス要求が発生したとしても、アクセス処理がリカ
バリ期間T2 に重なることはない。
In order to prevent such a recovery time violation in advance, as shown in FIG. 7B, even if the actual access processing is finished and the selection signal CS is immediately restored,
A method is adopted in which the dummy cycle is executed to restore the access processing after the recovery period T 2 has elapsed. Therefore, in this case, even if access requests are successively issued to the same circuit member 7, the access processing does not overlap the recovery period T 2 .

【0011】なお、1個の回路部材に対するアクセス処
理を元のアクセス時間に対応する時間T1 からリカバリ
期間T2 を加算した時間T0 に延ばす手法としては、プ
ログラムを用いたソフト的手段と、アドレスデコーダ9
内に例えばカウンタを設けてハード的に延ばす手法が採
用されている。
As a method of extending the access processing for one circuit member to the time T 0 obtained by adding the recovery period T 2 from the time T 1 corresponding to the original access time, a software means using a program, Address decoder 9
For example, a method of providing a counter therein and extending it by hardware is adopted.

【0012】しかし、1個の回路部材に対するアクセス
処理を一律にリカバリ期間T2 だけ遅らせると次の問題
が生じる。例えば図7(c)に示すように、異なる回路
部材7,8に対して連続してアクセス要求が発生した場
合には、二つのアクセス処理がたとえ接近していたとし
ても、互いのリカバリ期間T2 は十分確保されている。
したがって、このような場合は各回路部材に対するアク
セス処理時間を図7(a)に示すアクセス時間に対応し
た時間T1 にすることができる筈である。
However, if the access process for one circuit member is uniformly delayed by the recovery period T 2 , the following problem occurs. For example, as shown in FIG. 7C, when access requests are successively issued to different circuit members 7 and 8, even if the two access processes are close to each other, the recovery period T of each other is reduced. 2 is sufficiently secured.
Therefore, in such a case, the access processing time for each circuit member should be set to the time T 1 corresponding to the access time shown in FIG.

【0013】しかし、前述したように、1個の回路部材
に対するアクセス処理を一律にリカバリ期間T2 だけ遅
らせると、1回のアクセスに要する時間が長くなり、計
算機システム全体の処理速度が低下する問題が生じる。
However, as described above, if the access processing to one circuit member is uniformly delayed by the recovery period T 2 , the time required for one access becomes long, and the processing speed of the entire computer system decreases. Occurs.

【0014】本発明はこのような事情に鑑みてなされた
ものであり、各回路部材毎に該当回路部材がリカバリ期
間中であるか否かを検出することによって、各アクセス
要求発生毎に各選択信号の継続時間を変更でき、無駄な
リカバリ期間の確保を省略でき、平均アクセス所要時間
を短縮でき、システム全体の処理能率を向上できる計算
機システムのアクセス制御装置を提供することを目的と
する。
The present invention has been made in view of such circumstances, and each detection is made for each circuit member by detecting whether or not the corresponding circuit member is in the recovery period. An object of the present invention is to provide an access control device for a computer system, which can change the signal duration, omit unnecessary recovery periods, shorten the average access time, and improve the processing efficiency of the entire system.

【0015】[0015]

【課題を解決するための手段】上記課題を解消するため
に本発明のアクセス制御装置は、CPUにバスラインを
介してLSIで構成された複数の回路部材を接続し、C
PUから出力されるアドレス信号をデコーダで各回路部
材毎に該当回路部材が選択されたか否かを示す選択信号
に変換し、この各選択信号が各回路部材へ出力された状
態で、CPUが選択信号にて指定された回路部材に対す
るアクセスを実行する計算機システムにおいて、各回路
部材毎に設けられ、各回路部材に対するアクセス終了か
ら所定のリカバリ所要時間経過するまでの期間、リカバ
リ期間中信号を出力する複数のリカバリ期間検出回路
と、各回路部材に対する選択信号の信号路に介挿され、
該当回路部材がリカバリ期間中、選択信号の該当回路部
材に対する出力を禁止する複数の制御論理回路とを備え
たものである。
In order to solve the above problems, an access control device of the present invention connects a plurality of circuit members composed of LSI to a CPU via a bus line, and
The address signal output from the PU is converted into a selection signal indicating whether or not the corresponding circuit member is selected for each circuit member by the decoder, and the CPU selects the selection signal while the selection signal is output to each circuit member. In a computer system that executes access to a circuit member specified by a signal, it is provided for each circuit member and outputs a signal during the recovery period from the end of access to each circuit member until the lapse of a predetermined recovery required time A plurality of recovery period detection circuits, and is inserted in the signal path of the selection signal for each circuit member,
The corresponding circuit member is provided with a plurality of control logic circuits that prohibit the output of the selection signal to the corresponding circuit member during the recovery period.

【0016】[0016]

【作用】このように構成された計算機システムのアクセ
ス制御装置であれば、各回路部材毎に設けられたリカバ
リ期間検出回路から、該当回路部材に対するアクセス終
了後のリカバリ期間中、リカバリ期間中信号が出力され
る。このリカバリ期間中信号は該当回路部材へ入力され
るデコーダからの選択信号の信号路に介挿された制御論
理回路へ入力される。制御論理回路はリカバリ期間中に
入力された選択信号を回路部材へ出力するのを禁止す
る。
According to the access control device of the computer system configured as described above, the recovery period detection circuit provided for each circuit member outputs a signal during the recovery period after the end of access to the corresponding circuit member during the recovery period. Is output. The signal during this recovery period is input to the control logic circuit inserted in the signal path of the selection signal from the decoder which is input to the corresponding circuit member. The control logic circuit prohibits the selection signal input during the recovery period from being output to the circuit member.

【0017】このように、同一の回路部材に対する連続
したアクセス要求が発生した場合には制御論理回路が作
動して、リカバリ期間内に次のアクセスの選択信号が該
当回路部材に入力することはない。一方、異なる回路部
材に対する連続したアクセス要求が発生した場合には、
先のアクセスが終了した直後においては、このアクセス
要求の回路部材に対応する制御論理回路にはリカバリ期
間中信号が入力されている。しかし、後のアクセスの対
象とする回路部材の制御論理回路には、リカバリ期間中
信号が入力されることはない。したがって、先のアクセ
スが終了すると直ちに次のアクセスに対する選択信号が
該当回路部材に入力される。よって、この場合、リカバ
リ期間が経過するのを待つ必要がない。
As described above, when consecutive access requests to the same circuit member are generated, the control logic circuit operates and the selection signal for the next access is not input to the corresponding circuit member within the recovery period. .. On the other hand, when consecutive access requests to different circuit members occur,
Immediately after the previous access is completed, a signal during the recovery period is input to the control logic circuit corresponding to the circuit member of the access request. However, no signal is input during the recovery period to the control logic circuit of the circuit member to be accessed later. Therefore, as soon as the previous access is completed, the selection signal for the next access is input to the corresponding circuit member. Therefore, in this case, it is not necessary to wait for the recovery period to elapse.

【0018】[0018]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0019】図1は実施例のアクセス制御装置が組込ま
れた計算機システム全体を示すブロック図である。図6
と同一部分には同一符号を付して重複する部分の詳細説
明を省略する。
FIG. 1 is a block diagram showing the entire computer system in which the access control device of the embodiment is incorporated. Figure 6
The same parts as those in FIG.

【0020】この実施例においては、CPU1と、RO
M2,RAM3,それぞれLSIで構成された各回路部
材7,8とは、それぞれアドレスバス4,データバス
5,制御バス6で接続されている。
In this embodiment, the CPU 1 and the RO
M2, RAM3, and circuit members 7, 8 each composed of an LSI are connected by an address bus 4, a data bus 5, and a control bus 6, respectively.

【0021】また、CPU1に接続されているアドレス
バス4および制御バス6はアドレスデコーダ部10に入
力される。また、制御バス6はリカバリ期間検出回部1
1にも入力される。さらに、前記CPU1,アドレスデ
コーダ部10およびリカバリ期間検出回部11にはクロ
ック信号CLKが印加されている。
The address bus 4 and the control bus 6 connected to the CPU 1 are input to the address decoder section 10. Further, the control bus 6 is the recovery period detection circuit 1
It is also input to 1. Further, a clock signal CLK is applied to the CPU 1, the address decoder section 10 and the recovery period detection circuit section 11.

【0022】アドレスデコーダ部10は図2に示すよう
に構成されている。すなわち、外部からアドレスバス4
を介して入力されたアドレス信号ADおよび制御バス6
を介して入力される制御信号は、各電子部品2,3,
7,8に専用のデコーダ12a〜12dへ入力される。
The address decoder section 10 is constructed as shown in FIG. That is, from outside the address bus 4
Address signal AD and control bus 6 input via
The control signal input via the
Input to decoders 12a-12d dedicated to 7 and 8.

【0023】ROM用デコーダ12aは、アドレス信号
ADと制御信号が予めROM2に対して設定された論理
値に一致するとLレベルの選択信号CSROをROM2の
CS端子へ印加する。同様に、RAM用デコーダ12b
はアドレス信号ADと制御信号が予めRAM3に設定さ
れた論理値に一致するとLレベルの選択信号CSRAをR
AM3のCS端子へ印加する。
The ROM decoder 12a applies an L level selection signal CS RO to the CS terminal of the ROM 2 when the address signal AD and the control signal match the logical values set in advance for the ROM 2. Similarly, the RAM decoder 12b
When the address signal AD and the control signal match the logical values set in the RAM 3 in advance, the L level selection signal CS RA is changed to R
Apply to the CS terminal of AM3.

【0024】また、LSIA用デコーダ12cは、アド
レス信号ADと制御信号が予め回路部材7に設定された
論理値に一致するとHレベルの選択信号を制御論理回路
としてのアンドゲート13aの一方の入力端へ送出す
る。アンドケード13aの他方の入力端にはリカバリ期
間検出部11から出力されたリカバリ期間中信号RCA
が入力される。アンドゲート13aは、リカバリ期間中
信号RCA がHレベル期間、すなわちリカバリ期間でな
い期間にHレベルの選択信号が入力すると、アンドケー
ド13aからLレベルの選択信号CSA が回路部材7の
CS端子へ入力される。
Further, when the address signal AD and the control signal coincide with the logical value set in the circuit member 7 in advance, the LSIA decoder 12c sends the H level selection signal to one input terminal of the AND gate 13a as the control logic circuit. Send to. At the other input end of the ANDCADE 13a, a recovery period signal RC A output from the recovery period detection unit 11
Is entered. When the selection signal of H level is input to the AND gate 13a during the recovery period when the signal RC A is in the H level period, that is, in the period other than the recovery period, the AND gate 13a outputs the selection signal CS A of L level to the CS terminal of the circuit member 7. Is entered.

【0025】さらに、LSIB読出用デコーダ12d
は、アドレス信号ADと制御信号が予め回路部材8の読
出動作に設定された論理値に一致するとHレベルの選択
信号を制御論理回路としてのアンドゲート13bの一方
の入力端へ送出する。アンドケード13bの他方の入力
端にはリカバリ期間検出部11から出力されたリカバリ
期間中信号RCB が入力される。アンドゲート13b
は、リカバリ期間中信号RCB がHレベル期間にHレベ
ルの選択信号が入力すると、選択信号をD型のフリップ
フロップ15aの入力端子Dへ送出する。そして、この
選択信号はインバータ16を介して入力されたクロック
信号CLKの次の立下りに同期してフリップフロップ1
5aの反転出力端子からLレベルの選択信号CSBRとし
て出力され、回路部材8の読出用のCS端子へ印加され
る。
Further, the LSIB reading decoder 12d
Sends an H level selection signal to one input terminal of an AND gate 13b as a control logic circuit when the address signal AD and the control signal match the logic value set in advance for the read operation of the circuit member 8. The recovery period signal RC B output from the recovery period detection unit 11 is input to the other input terminal of the ANDCADE 13b. AND gate 13b
When the signal RC B during the recovery period receives the H-level selection signal during the H-level period, outputs the selection signal to the input terminal D of the D-type flip-flop 15a. Then, this selection signal is synchronized with the next falling edge of the clock signal CLK input through the inverter 16 and the flip-flop 1
It is output as an L level selection signal CS BR from the inverting output terminal of 5a and applied to the reading CS terminal of the circuit member 8.

【0026】同様に、LSIB書込用デコーダ12e
は、アドレス信号ADと制御信号が予め回路部材8の書
込動作に設定された論理値に一致するとHレベルの選択
信号を制御論理回路としてのアンドゲート13cの一方
の入力端へ送出する。アンドケード13cの他方の入力
端には前記リカバリ期間中信号RCB が入力される。リ
カバリ期間中信号RCB がHレベル期間に前記選択信号
が入力すると、アンドケード13bから選択信号がフリ
ップフロップ15bの入力端子Dへ入力され、クロック
信号CLKの次の立下りに同期して反転出力端子からL
レベルの選択信号CSBWが回路部材8の書込用のCS端
子へ印加される。
Similarly, an LSIB writing decoder 12e
Sends an H level selection signal to one input terminal of the AND gate 13c as a control logic circuit when the address signal AD and the control signal match the logic value set in advance for the writing operation of the circuit member 8. The signal RC B during the recovery period is input to the other input terminal of the ANDCADE 13c. When the selection signal is input while the signal RC B is in the H level during the recovery period, the selection signal is input from the ANDCADE 13b to the input terminal D of the flip-flop 15b and is inverted and output in synchronization with the next falling edge of the clock signal CLK. From terminal to L
The level selection signal CS BW is applied to the writing CS terminal of the circuit member 8.

【0027】また、フリップフロップ15a,15bの
各クリア端子Cには計算機システムの電源投入時等にお
いて制御バス6を介してシステムリセット信号RESが
印加される。
A system reset signal RES is applied to each clear terminal C of the flip-flops 15a and 15b via the control bus 6 when the computer system is powered on.

【0028】図3はリカバリ期間検出部11の詳細回路
図である。このリカバリ期間検出部11は、大きく分け
て回路部材7に対するアクセス終了からこの回路部材7
の仕様にて定まる所定のリカバリ期間中であることを示
すリカバリ期間中信号RCA を出力するリカバリ期間検
出回路11aと、同じく回路部材8に対するリカバリ期
間中であることを示すリカバリ期間中信号RCB を出力
するリカバリ期間検出回路11bとで構成されている。
FIG. 3 is a detailed circuit diagram of the recovery period detector 11. The recovery period detector 11 is roughly divided into the circuit member 7 from the end of access to the circuit member 7.
Recovery period detection circuit 11a that outputs a recovery period signal RC A that indicates that a predetermined recovery period that is determined by the specifications of No. 1 and a recovery period signal RC B that indicates that the recovery period for the circuit member 8 is also being recovered. And a recovery period detection circuit 11b that outputs

【0029】リカバリ期間検出回路11aにおいて、ア
ドレスデコーダ部10から入力された選択信号CSA
ノアゲート17の一方の入力端へ入力される。このノア
ゲート17の他方の入力端には制御バス6を介してアド
レスストローブ信号STBが印加されている。ノアゲー
ト17の出力信号は6個のD型のフリップフロップ18
a〜18fからなる遅延回路へ入力される。遅延回路の
最終段のフリップフロップ18fの反転出力端子から出
力される選択信号CSA はオアゲート19へ入力され
る。このオアゲート19の他方の入力端にはノアゲート
17の出力信号が印加されている。オアゲート19の出
力信号はリカバリ期間中信号RCA として前記アドレス
デコーダ部10へ送出される。
In the recovery period detection circuit 11a, the selection signal CS A input from the address decoder unit 10 is input to one input terminal of the NOR gate 17. An address strobe signal STB is applied to the other input end of the NOR gate 17 via the control bus 6. The output signal of the NOR gate 17 is six D-type flip-flops 18.
It is input to the delay circuit composed of a to 18f. The selection signal CS A output from the inverting output terminal of the final stage flip-flop 18 f of the delay circuit is input to the OR gate 19. The output signal of the NOR gate 17 is applied to the other input terminal of the OR gate 19. The output signal of the OR gate 19 is sent to the address decoder unit 10 as a signal RC A during the recovery period.

【0030】このようなリカバリ期間検出回路11aに
おいて、最初の時点では各フリップフロップ18a〜1
8fはクリア状態であるので、最終段のフリップフロッ
プ18fの反転出力端子の出力信号はHレベル状態であ
る。よって、このリカバリ期間検出回路11aから出力
されるリカバリ期間中信号RCA もHレベル状態であ
る。この状態において、アドレスストローブ信号STB
がLレベル状態で選択信号CSA がLレベルへ変化する
と、ノアゲート17の出力信号がHレベルへ立上がる
が、オアゲート19の出力はLレベルを維持するので、
リカバリ期間中信号RCA はHレベル状態を維持する。
In such a recovery period detecting circuit 11a, each flip-flop 18a-1
Since 8f is in the clear state, the output signal of the inverting output terminal of the final stage flip-flop 18f is in the H level state. Therefore, the recovery period signal RC A output from the recovery period detection circuit 11a is also in the H level state. In this state, the address strobe signal STB
There when the selection signal CS A in L level state changes to the L level, the output signal of the NOR gate 17 but rises to H level, the output of the OR gate 19 maintains the L level,
The signal RC A maintains the H level state during the recovery period.

【0031】そして、ノアゲート17の出力信号のHレ
ベルへの立上がり動作は、遅延回路を構成する各フリッ
プフロップ18a〜18fをインバータ20を介して入
力されたクロック信号CLKに同期して順次伝達され
る。
The rising operation of the output signal of the NOR gate 17 to the H level is sequentially transmitted in synchronization with the clock signal CLK input through the inverter 20 to the flip-flops 18a to 18f forming the delay circuit. ..

【0032】アクセス動作が終了して選択信号CSA
よびアドレスストローブ信号STBがHレベルへ立上が
ると、ノアゲート17の出力信号がLレベルへ立下が
る。また、この時点で、先の出力信号のHレベルへの立
上がり動作が最終のフリップフロップ18fに達すれ
ば、オアゲート19の出力かLレベレルへ変化し、リカ
バリ期間中信号RCA はLレベル状態へ変化する。この
Lレベル状態は、アドレストーブ信号又は選択信号CS
A の立上り動作が遅延回路の最終段のフリップフロップ
18fに達する間での期間継続する。
When the access operation is completed and selection signal CS A and address strobe signal STB rise to H level, the output signal of NOR gate 17 falls to L level. Further, at this point, if the previous rising operation of the output signal to the H level reaches the final flip-flop 18f, the output of the OR gate 19 changes to the L level, and the signal RC A during the recovery period changes to the L level state. To do. This L level state is an address tove signal or a selection signal CS.
The rising operation of A continues for a period while reaching the flip-flop 18f at the final stage of the delay circuit.

【0033】したがって、このリカバリ期間検出回路1
1aは、回路部材7に対するアクセス動作終了から所定
のリカバリ期間だけLレベルを維持するリカバリ期間中
信号RCA を出力する。
Therefore, this recovery period detection circuit 1
1a outputs a signal RC A during the recovery period in which the L level is maintained for a predetermined recovery period from the end of the access operation to the circuit member 7.

【0034】他方の回路部材8に対するリカバリ期間検
出回路11bも、上述した回路部材7に対するリカバリ
期間検出回路11aに準じた構成および動作を有してい
る。すなわち、アドレスデコーダ部10から入力された
各選択信号CSBR,CSBWはナンドゲート21へ入力さ
れる。このナンドゲート21の出力信号は5個のフリッ
プフロップ22a〜22eで構成された遅延回路を介し
てオアゲート23へ入力されるととともに、直接このオ
アゲート23へ入力さる。オアゲート23の出力信号は
リカバリ期間中信号RCB としてアドレスデコーダ部1
0へ送出される。
The recovery period detection circuit 11b for the other circuit member 8 also has the structure and operation according to the recovery period detection circuit 11a for the circuit member 7 described above. That is, the selection signals CS BR and CS BW input from the address decoder unit 10 are input to the NAND gate 21. The output signal of the NAND gate 21 is input to the OR gate 23 via the delay circuit composed of five flip-flops 22a to 22e, and is also directly input to the OR gate 23. The output signal of the OR gate 23 is the address decoder unit 1 as the signal RC B during the recovery period.
Sent to 0.

【0035】このようなリカバリ期間検出回路11bに
おいても、CPU1が該当回路部材8をアクセスする過
程で、いずれか一方の選択信号CSBR,CSBWがLレベ
ルに変化し、アクセス終了後にHレベルへ復帰した場合
には、アクセス終了から所定のリカバリ期間だけLレベ
ルとなるリカバリ期間中信号RCB が出力される。
Also in the recovery period detection circuit 11b, one of the selection signals CS BR and CS BW changes to the L level in the process of the CPU 1 accessing the corresponding circuit member 8 and goes to the H level after the access is completed. When returning, the signal RC B during the recovery period which is at the L level for a predetermined recovery period from the end of access is output.

【0036】次に、このように構成されたアクセス制御
装置が組込まれた計算機システム全体の動作を図4およ
び図5のタイムチャートを用いて説明する。
Next, the operation of the entire computer system in which the access control device thus constructed is incorporated will be described with reference to the time charts of FIGS. 4 and 5.

【0037】先ず、同一回路部材8に対して連続してア
クセスを実行した場合を図4に示す。CPU1は時刻t
1 にて回路部材8に対する読出アクセスを行うためにア
ドレスバス4に該当回路部材8に対応する読出を指定す
るアドレス信号ADBRおよび制御信号を出力するととと
もに、アドレスストローブ信号STBをLレベルへ変更
する。すると、クロック信号CLKの次の立下り時刻t
2 にて、LSIB読出用デコーダ12dから選択信号が
出力される。そして、アンドゲート13bでリカバリ期
間検出回路11bからのリカバリ期間中信号RCB がH
レベル状態であること、および、アドレスストローブ信
号STBがレベル状態であることが確認されると、アド
レスデコーダ部10から回路部材8に対してLレベルの
選択信号CSBRが出力される。
First, FIG. 4 shows a case where the same circuit member 8 is continuously accessed. CPU1 is time t
In order to perform read access to the circuit member 8 at 1, the address signal AD BR and the control signal designating the read corresponding to the corresponding circuit member 8 are output to the address bus 4 and the address strobe signal STB is changed to the L level. .. Then, the next falling time t of the clock signal CLK
At 2 , the LSIB reading decoder 12d outputs a selection signal. Then, the signal RC B during the recovery period from the recovery period detection circuit 11b is H level at the AND gate 13b.
When it is confirmed that the address strobe signal STB is in the level state and the address strobe signal STB is in the level state, the address decoder unit 10 outputs the selection signal CS BR at the L level to the circuit member 8.

【0038】しかして、CPU1はデータバス5を介し
て回路部材8のデータを読取る。データ読取りのアクセ
ス処理が終了すると、時刻t3 にてアドレスストローブ
信号STBがHレベルに解除され、選択信号CSBRも解
除される。
Thus, the CPU 1 reads the data of the circuit member 8 via the data bus 5. When the data read access processing is completed, the address strobe signal STB is released to H level at time t 3 , and the selection signal CS BR is also released.

【0039】そこで、CPU1は続いて同一回路部材8
に対する読出のアクセスを実行するために、時刻t4
て前述と同一のアドレス信号ADBRおよび制御信号を出
力する。同時にアドレスストローブ信号STBをLレベ
ルへ変更する。しかし、今回は、前述したように、同一
回路部材8のリカバリー期間中信号RCB がLレベルに
変化している状態であるので、時刻t5 においては、ア
ンドゲート13bは成立しないので、LSIB読出用デ
コーダ12dから出力された選択信号はアンドゲート1
3bで遮断される。その結果、回路部材8に対する選択
信号CSBRは出力されない。よって、CPU1は回路部
材8に対するアクセスを実行できない。
Therefore, the CPU 1 subsequently continues to the same circuit member 8
In order to execute a read access to the memory cell, the same address signal AD BR and control signal as described above are output at time t 4 . At the same time, the address strobe signal STB is changed to L level. However, this time, as described above, since the signal RC B is changing to the L level during the recovery period of the same circuit member 8, the AND gate 13b is not established at the time t 5 , so the LSI B reading is performed. The selection signal output from the decoder 12d for AND gate 1
It is cut off at 3b. As a result, the selection signal CS BR for the circuit member 8 is not output. Therefore, the CPU 1 cannot access the circuit member 8.

【0040】アクセス処理が終了しないので、アドレス
信号ADBRおよびアドレスストロープ信号STBは出力
状態を維持する。そして、時刻t6 でリカバリ期間中信
号RCB が解除されると、クロック信号CLKの次の立
下がり時刻t7 にてアンドゲート13bが成立して、選
択信号CSBRが回路部材8へ印加される。
Since the access processing is not completed, the address signal AD BR and the address strobe signal STB maintain the output state. Then, when the signal RC B is released during the recovery period at time t 6 , the AND gate 13b is established at the next falling time t 7 of the clock signal CLK and the selection signal CS BR is applied to the circuit member 8. It

【0041】次に、異なる回路部材8,7に対して連続
してアクセスを実行した場合を図5を用いて説明する。
Next, a case in which different circuit members 8 and 7 are continuously accessed will be described with reference to FIG.

【0042】CPU1は時刻t1 にて回路部材8に対応
するアドレス信号ADBRおよび制御信号を出力し、アド
レスストローブ信号STBをLレベルにすると、図4と
同様に、時刻t2 にて該当回路部材8に対する選択信号
CSBRがLレベルへ変化し、CPU1はデータの読取ア
クセスを実行する。そして、アクセスが終了し、時刻t
3 にて、アドレスストローブ信号STBおよび選択信号
CSBRがHレベルへ復帰する。
When the CPU 1 outputs the address signal AD BR and the control signal corresponding to the circuit member 8 at the time t 1 and sets the address strobe signal STB to the L level, the circuit at the time t 2 is the same as in FIG. The selection signal CS BR for the member 8 changes to the L level, and the CPU 1 executes the data read access. Then, the access ends, and the time t
At 3 , the address strobe signal STB and the selection signal CS BR return to H level.

【0043】次に、CPU1は時刻t4 にて、他方の回
路部材7に対応するアドレスADA および制御信号を出
力し、アドレスストローブ信号STBをLレベルにす
る。すると、この時点においては、回路部材7のリカバ
リ期間中信号RCA はHレベル状態であるので、時刻t
5 にてアンドゲート13aが成立して、該当回路部材7
に対する選択信号CSA がLレベルへ変化し、CPU1
はデータの読取アクセスを実行する。そして、アクセス
が終了し、時刻t6 にて、アドレスストローブ信号ST
Bおよび選択信号CSA がHレベルへ復帰する。
Next, at time t 4 , the CPU 1 outputs the address AD A and the control signal corresponding to the other circuit member 7 and sets the address strobe signal STB to L level. Then, at this time, since the signal RC A during the recovery period of the circuit member 7 is in the H level state, the time t
The AND gate 13a is established at 5, and the corresponding circuit member 7
Selection signal CS A for changes to L level, and CPU1
Performs a read access to the data. Then, the access is completed, and at time t 6 , the address strobe signal ST
B and the selection signal CS A are returned to the H level.

【0044】このように、同一回路部材に対する連続し
たアクセスを実行する場合は、図4に示すように、アク
セス動作期間相互間に強制的にリカバリー期間が挿入さ
れる。また、異なる回路部材に対する連続したアクセス
を実行する場合は、図5に示す用に、リカバリー期間は
排除されている。
As described above, when consecutive accesses are made to the same circuit member, as shown in FIG. 4, a recovery period is forcibly inserted between the access operation periods. Further, when performing continuous access to different circuit members, the recovery period is excluded as shown in FIG.

【0045】一般に、同一回路部材に連続してアクセス
を実行する確率は小さいので、結果として、CPU1が
実行する平均的なアクセス所要時間が、一律にリカバリ
期間を強制的に加算した場合に比較して大幅に短縮され
る。よって、計算機システム全体としての処理能率が向
上する。
In general, the probability of continuously accessing the same circuit member is small, and as a result, the average access time required by the CPU 1 is compared with the case where the recovery period is forcibly added uniformly. Is greatly shortened. Therefore, the processing efficiency of the computer system as a whole is improved.

【0046】[0046]

【発明の効果】以上説明したように本発明の計算機シス
テムによれば、各回路部材毎に該当回路部材がリカバリ
期間中であるか否かを検出してリカバリ期間中の場合は
リカバリ期間中信号を出力し、このリカバリ期間中信号
が出力期間中は該当回路部材への選択信号出力を禁止し
ている。したがって、各アクセス要求発生毎に各選択信
号の継続時間を変更でき、無駄なリカバリ期間の確保を
省略でき、平均アクセス所要時間を短縮できる。その結
果、計算機システム全体の処理能率を向上できる。
As described above, according to the computer system of the present invention, it is detected for each circuit member whether or not the corresponding circuit member is in the recovery period, and if it is in the recovery period, the recovery period signal is output. During the recovery period, the selection signal output to the corresponding circuit member is prohibited during the output period. Therefore, the duration of each selection signal can be changed each time an access request is generated, unnecessary recovery period can be omitted, and the average access time can be shortened. As a result, the processing efficiency of the entire computer system can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の一実施例に係わるアクセス制御装置
が組込まれた計算機システム全体を示すブロック図、
FIG. 1 is a block diagram showing an entire computer system incorporating an access control device according to an embodiment of the present invention,

【図2】 同実施例装置のアドレスデコーダ部を示すブ
ロック図、
FIG. 2 is a block diagram showing an address decoder section of the apparatus of the embodiment.

【図3】 同実施例装置のリカバリ期間検出部を示すブ
ロック図、
FIG. 3 is a block diagram showing a recovery period detection unit of the apparatus of the embodiment.

【図4】 同実施例装置の動作を示すタイムチャート、FIG. 4 is a time chart showing the operation of the apparatus of the embodiment.

【図5】 同じく同実施例装置の動作を示すタイムチャ
ート、
FIG. 5 is a time chart showing the operation of the apparatus of the same embodiment,

【図6】 一般的な計算機システムを示すブロック図、FIG. 6 is a block diagram showing a general computer system,

【図7】 同一般的な計算機システムにおける選択信号
とリカバリ期間との関係を説明するための図。
FIG. 7 is a diagram for explaining a relationship between a selection signal and a recovery period in the same general computer system.

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

1…CPU、2…ROM、3…RAM、4…アドレスバ
ス、5…データバス、6…制御バス、7,8…回路部
材、10…アドレスデコーダ部、11…リカバリ期間検
出部、11a,11b…リカバリ期間検出回路、12c
…LSIA用デコーダ、12d…LSIB読取用デコー
ダ、12e…LSIB書込用デコーダ、13a,13
b,13c…アンドゲート(制御論理回路)、18a〜
18f,22a〜22e…フリップフロップ。
1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Address bus, 5 ... Data bus, 6 ... Control bus, 7, 8 ... Circuit member, 10 ... Address decoder section, 11 ... Recovery period detection section, 11a, 11b ... Recovery period detection circuit, 12c
... LSIA decoder, 12d ... LSIB reading decoder, 12e ... LSIB writing decoder, 13a, 13
b, 13c ... AND gate (control logic circuit), 18a ...
18f, 22a-22e ... Flip-flops.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CPU(1) にバスライン(4,5,6) を介し
てLSIで構成された複数の回路部材(7,8) を接続し、
前記CPUから出力されるアドレス信号をデコーダ(12
c,12d,12e) で前記各回路部材毎に該当回路部材が選択
されたか否かを示す選択信号に変換し、この各選択信号
が前記各回路部材へ出力された状態で、前記CPUが前
記選択信号にて指定された回路部材に対するアクセスを
実行する計算機システムにおいて、 前記各回路部材毎に設けられ、各回路部材に対するアク
セス終了から所定のリカバリ所要時間経過するまでの期
間、リカバリ期間中信号を出力する複数のリカバリ期間
検出回路(11a,11b) と、前記各回路部材に対する選択信
号の信号路に介挿され、該当回路部材が前記リカバリ期
間中、前記選択信号の該当回路部材に対する出力を禁止
する複数の制御論理回路(13a,13b,13c) とを備えた計算
機システムのアクセス制御装置。
1. A plurality of circuit members (7, 8) composed of LSI are connected to a CPU (1) via bus lines (4,5, 6),
The address signal output from the CPU is decoded by the decoder (12
c, 12d, 12e) is converted into a selection signal indicating whether or not the corresponding circuit member is selected for each of the circuit members, and the CPU outputs the selection signal to each of the circuit members. In a computer system that executes an access to a circuit member specified by a selection signal, a signal is provided for each circuit member, a period from the end of access to each circuit member until a predetermined recovery required time elapses, and a recovery period signal. Outputting a plurality of recovery period detection circuits (11a, 11b) and the signal path of the selection signal for each circuit member, the corresponding circuit member prohibits the output of the selection signal to the corresponding circuit member during the recovery period. An access control device for a computer system including a plurality of control logic circuits (13a, 13b, 13c) that perform
JP22743491A 1991-09-06 1991-09-06 Access controller for computer system Pending JPH0566988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22743491A JPH0566988A (en) 1991-09-06 1991-09-06 Access controller for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22743491A JPH0566988A (en) 1991-09-06 1991-09-06 Access controller for computer system

Publications (1)

Publication Number Publication Date
JPH0566988A true JPH0566988A (en) 1993-03-19

Family

ID=16860803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22743491A Pending JPH0566988A (en) 1991-09-06 1991-09-06 Access controller for computer system

Country Status (1)

Country Link
JP (1) JPH0566988A (en)

Similar Documents

Publication Publication Date Title
KR940001273B1 (en) Micro-system and method controlling bus-cycle
US5265231A (en) Refresh control arrangement and a method for refreshing a plurality of random access memory banks in a memory system
US6484244B1 (en) Method and system for storing and processing multiple memory commands
US6918016B1 (en) Method and apparatus for preventing data corruption during a memory access command postamble
JP2000132430A (en) Signal processor
JP2002365338A (en) Semiconductor device, testing method of the semiconductor device, and semiconductor device testing system
US5673419A (en) Parity bit emulator with write parity bit checking
JPH0566988A (en) Access controller for computer system
JP2600376B2 (en) Memory controller
JPH09311812A (en) Microcomputer
JP3169878B2 (en) Memory control circuit
KR0176075B1 (en) Peripheral component interconnect bus responding apparatus
JPH10198524A (en) Hard disk controller
JP3537786B2 (en) Data processing system
JP2839311B2 (en) Memory control circuit
US20030110335A1 (en) Bus transaction between devices in a system
JPH02105241A (en) Memory fault detection circuit
JP2004185060A (en) Microcomputer
JP3036590B2 (en) External device control circuit
JPH05274253A (en) System bus controller
JPH0528055A (en) Memory write data error detector
JP2546002B2 (en) Parity circuit
KR940001432B1 (en) Peripheral system access method by meaus of td-bus
JPH1049489A (en) Signal generating device
JPS60129866A (en) Control system of processor