JPH04335458A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04335458A
JPH04335458A JP10598391A JP10598391A JPH04335458A JP H04335458 A JPH04335458 A JP H04335458A JP 10598391 A JP10598391 A JP 10598391A JP 10598391 A JP10598391 A JP 10598391A JP H04335458 A JPH04335458 A JP H04335458A
Authority
JP
Japan
Prior art keywords
signal
wait
lsi
chip enable
cpu
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
JP10598391A
Other languages
Japanese (ja)
Inventor
Ichiro Fukuoka
一郎 福岡
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP10598391A priority Critical patent/JPH04335458A/en
Publication of JPH04335458A publication Critical patent/JPH04335458A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To unitedly control the wait cycle to plural LSIs, and to eliminate the need of providing separately the wait cycle at every LSI. CONSTITUTION:When a CPU 1 leads out an address signal for selecting an LSI to an address 2, a chip enable signal corresponding to this address signal is generated from a decoder circuit 3. Based on a partial signal of this chip enable signal, a logic circuit 5 generates the number of waits peculiar to the selected LSI, and gives it to a counter 7 for executing a down-count operation. The counter 7 decreases the given number of waits, based on a clock signal phito the CPU 1. Subsequently, when a counting value is zero at the time when a clock is inputted, an acknowledge signal DTACK given to the CPU 1 from a borrow signal output terminal is inverted to a low level, and it is informed to the CPU 1 that the selected LSI becomes an operable state.

Description

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

【0001】0001

【産業上の利用分野】本発明は、たとえばホームコント
ローラなどのように、中央処理装置と複数の集積回路と
を有する情報処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device, such as a home controller, having a central processing unit and a plurality of integrated circuits.

【0002】0002

【従来の技術】従来から、家屋内外の各種の電気機器を
制御する機器制御機能、家屋内に配置した各種のセンサ
からの情報に基づいて各種の指令を発するモニタリング
機能、および家庭行事や家人毎のスケジュール等の記録
を行うスケジュール管理機能などのような複数の機能を
集中的に司るホームコントローラが用いられている。
[Background Art] Conventionally, equipment control functions that control various electrical devices inside and outside the house, monitoring functions that issue various commands based on information from various sensors placed inside the house, and A home controller is used that centrally manages multiple functions, such as a schedule management function that records schedules and the like.

【0003】このようなホームコントローラは、CPU
(中央処理装置)と個々の機能を担う複数の周辺LSI
(大規模集積回路)とを含む回路構成となっている。周
辺LSIには、たとえばRAM(ランダム・アクセス・
メモリ)、ROM(リード・オンリ・メモリ)、および
時計LSIなどがあり、ホームコントローラの多機能化
に伴って周辺LSIの個数も増大する。たとえば、三洋
電機株式会社製のホームコントローラ「グルメロボット
HAS−G200」(商品名)のメイン基板は、100
個以上の集積回路(LSIおよびMSI(中規模集積回
路)を含む。)で構成されており、大規模な回路構成と
なっている。
[0003] Such a home controller uses a CPU
(central processing unit) and multiple peripheral LSIs that handle individual functions
(large-scale integrated circuit). Peripheral LSIs include, for example, RAM (random access memory).
The number of peripheral LSIs is increasing as home controllers become more multifunctional. For example, the main board of the home controller "Gourmet Robot HAS-G200" (product name) manufactured by Sanyo Electric Co., Ltd. is 100
It is composed of more than one integrated circuit (including LSI and MSI (medium-scale integrated circuit)), and has a large-scale circuit configuration.

【0004】ところで、CPUが周辺LSIにアクセス
するときには、各LSIが動作可能状態となるまでの待
ち時間であるウエイトサイクルが生じ、このウエイトサ
イクルは各LSIに固有のものである。このため、従来
のホームコントローラでは、各LSI毎に、個別にウエ
イト回路を設け、それぞれの固有のウエイトサイクルを
確保するようにしている。
By the way, when a CPU accesses a peripheral LSI, a wait cycle occurs, which is a waiting time until each LSI becomes operational, and this wait cycle is unique to each LSI. For this reason, in the conventional home controller, a wait circuit is individually provided for each LSI to ensure a unique wait cycle for each LSI.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うに各LSI毎に個別にウエイト回路を設けることは、
部品点数を増加させ、回路構成を大規模化させるととも
に、コストの増大をも招来することとなる。そこで、本
発明の目的は、上述の技術的課題を解決し、複数の集積
回路のウエイトサイクルを統一的に取り扱うことができ
るようにして、部品点数を低減し、回路構成を小規模化
することができる情報処理装置を提供することである。
[Problem to be Solved by the Invention] However, providing a separate wait circuit for each LSI in this way
This results in an increase in the number of parts, an increase in the scale of the circuit configuration, and an increase in cost. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned technical problems, to make it possible to handle wait cycles of multiple integrated circuits in a unified manner, to reduce the number of parts, and to downsize the circuit configuration. The object of the present invention is to provide an information processing device that can perform the following functions.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めの本発明の情報処理装置は、中央処理装置と、この中
央処理装置により選択されて動作可能状態となる複数の
集積回路と、上記中央処理装置が選択した集積回路を動
作可能状態とするためのチップイネーブル信号を発生す
るチップイネーブル信号発生手段とを有する情報処理装
置において、上記チップイネーブル信号発生手段からの
チップイネーブル信号に応答して、このチップイネーブ
ル信号に対応する集積回路の固有のウエイト数を発生す
るウエイト数発生手段と、このウエイト数発生手段が発
生したウエイト数を、所定のクロック信号に基づいて計
数する計数手段と、この計数手段が上記ウエイト数を計
数し終える以前の期間をウエイトサイクルとする手段と
、上記計数手段が上記ウエイト数を計数し終えたときに
、次のマシンサイクルに備えてウエイトサイクルを解除
する解除手段とを含むものである。
[Means for Solving the Problems] To achieve the above object, an information processing device of the present invention includes a central processing unit, a plurality of integrated circuits selected by the central processing unit and made operable, and the above-mentioned integrated circuits. and chip enable signal generation means for generating a chip enable signal for enabling an integrated circuit selected by a central processing unit, in response to a chip enable signal from the chip enable signal generation means. , a wait number generating means for generating a unique wait number of the integrated circuit corresponding to the chip enable signal; a counting means for counting the number of waits generated by the wait number generating means based on a predetermined clock signal; means for setting a period before the counting means finishes counting the number of waits as a wait cycle; and canceling means for canceling the wait cycle in preparation for the next machine cycle when the counting means finishes counting the number of waits. This includes:

【0007】[0007]

【作用】上記の構成によれば、チップイネーブル信号に
より動作可能状態とされるべき集積回路に固有のウエイ
ト数が、ウエイト数発生手段から発生される。そして、
計数手段が所定のクロック信号に基づいて計数動作を行
うときに、この計数手段が上記ウエイト数を計数し終え
る以前の期間は、ウエイトサイクルとされる。また、こ
の計数手段が上記ウエイトサイクルを計数し終えると、
解除手段はウエイトサイクルを解除する。
According to the above structure, the wait number unique to the integrated circuit to be enabled by the chip enable signal is generated by the wait number generating means. and,
When the counting means performs a counting operation based on a predetermined clock signal, a period before the counting means finishes counting the wait number is defined as a wait cycle. Moreover, when this counting means finishes counting the above-mentioned weight cycles,
The canceling means cancels the wait cycle.

【0008】ウエイト数発生手段はチップイネーブル信
号に対応したウエイト数を発生するので、結果として、
複数の集積回路に対応するウエイトサイクルを統一的に
制御することができる。
Since the wait number generation means generates the wait number corresponding to the chip enable signal, as a result,
Wait cycles corresponding to a plurality of integrated circuits can be uniformly controlled.

【0009】[0009]

【実施例】以下実施例を示す添付図面によって詳細に説
明する。なお、添付図面中、信号を表す記号に付したオ
ーバーラインは、当該信号が負論理の信号であることを
表すものとし、明細書中ではオーバーラインの記載を省
略する。図1は、本発明の一実施例の情報処理装置であ
るホームコントローラの要部の基本的な構成を示すブロ
ック図である。このホームコントローラは、CPU(中
央処理装置)と、このCPUからの指令により各種の機
能を実現する複数の周辺LSIやMSIなどの集積回路
とを有しており、各集積回路に固有のウエイトサイクル
が統一的に制御される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples will be explained in detail below with reference to the accompanying drawings showing examples. Note that in the accompanying drawings, an overline attached to a symbol representing a signal indicates that the signal is a negative logic signal, and the description of the overline is omitted in the specification. FIG. 1 is a block diagram showing the basic configuration of main parts of a home controller, which is an information processing device according to an embodiment of the present invention. This home controller has a CPU (Central Processing Unit) and multiple integrated circuits such as peripheral LSIs and MSIs that implement various functions based on commands from the CPU, and each integrated circuit has a unique wait cycle. are uniformly controlled.

【0010】たとえばモトローラ社のMC68000な
どのCPU1は、アドレスバス2に導出するアドレス信
号によって、RAM(ランダム・アクセス・メモリ)、
ROM(リード・オンリ・メモリ)および時計LSIな
どの複数の周辺LSI(図示せず。)のうち、動作可能
状態とすべきLSIを選択する。本実施例では、たとえ
ば8種類のLSIのウエイトサイクルが制御され、LS
Iの選択は、アドレスバス2の一部の信号AB20,A
B21,AB22により行われる。この信号AB20,
AB21,AB22は、選択されたLSIを動作可能状
態とするためのチップイネーブル信号を生成するデコー
ダ回路3に与えられる。このデコーダ回路3は、CPU
1からのアドレス信号が確定したことを表す信号ASに
応答して、8本の出力端子Y0〜Y7のうちのいずれか
1つに論理「0」の信号を導出し、残余の端子には論理
「1」の信号を導出する。8本の出力端子Y0〜Y7は
、ライン4を介して各LSIのチップイネーブル信号入
力端子に接続されており、端子Y0〜Y7に導出された
チップイネーブル信号に対応するLSIのみが動作可能
状態となる。
[0010] For example, a CPU 1 such as Motorola's MC68000 uses a RAM (random access memory),
Among a plurality of peripheral LSIs (not shown) such as a ROM (read-only memory) and a clock LSI, an LSI to be enabled for operation is selected. In this embodiment, for example, the wait cycles of eight types of LSIs are controlled, and the LSI
The selection of I is based on some signals AB20 and A of the address bus 2.
This is performed by B21 and AB22. This signal AB20,
AB21 and AB22 are applied to the decoder circuit 3 which generates a chip enable signal to enable the selected LSI. This decoder circuit 3 is a CPU
In response to the signal AS indicating that the address signal from 1 has been determined, a logic "0" signal is derived from one of the eight output terminals Y0 to Y7, and a logic "0" signal is derived from the remaining terminals. Derive a signal of "1". The eight output terminals Y0 to Y7 are connected to the chip enable signal input terminal of each LSI via line 4, and only the LSI corresponding to the chip enable signal derived to the terminals Y0 to Y7 is in an operable state. Become.

【0011】デコーダ回路3の出力端子Y0〜Y7のう
ち、端子Y1,Y2,Y3からの信号はウエイト数発生
手段である論理回路5に与えられている。この論理回路
5は、4個のANDゲート11〜14と、ANDゲート
11,12の出力の論理和をとるORゲート21と、A
NDゲート13,14の出力の論理和をとるORゲート
22とを有している。出力端子Y1からのチップイネー
ブル信号は、ANDゲート11に反転して入力され、ま
たANDゲート12にはそのまま入力されている。また
、出力端子Y3からのチップイネーブル信号は、AND
ゲート11にそのまま与えられているとともに、AND
ゲート12には反転して入力されている。さらに、この
出力端子Y3からのチップイネーブル信号は、ANDゲ
ート13の一方の端子にそのまま入力され、ANDゲー
ト14の一方の端子に反転して入力されている。出力端
子Y2からのチップイネーブル信号は、ANDゲート1
3の他方の端子に反転して入力され、さらにANDゲー
ト14の他方の端子にそのまま与えられている。
Of the output terminals Y0 to Y7 of the decoder circuit 3, signals from terminals Y1, Y2, and Y3 are applied to a logic circuit 5, which is a wait number generating means. This logic circuit 5 includes four AND gates 11 to 14, an OR gate 21 that takes the logical sum of the outputs of the AND gates 11 and 12, and an
It has an OR gate 22 that takes the logical sum of the outputs of the ND gates 13 and 14. The chip enable signal from the output terminal Y1 is inverted and input to the AND gate 11, and is input to the AND gate 12 as is. Also, the chip enable signal from output terminal Y3 is AND
It is given as is to gate 11, and AND
The signal is inverted and inputted to the gate 12. Furthermore, the chip enable signal from this output terminal Y3 is input as is to one terminal of the AND gate 13, and is inverted and input to one terminal of the AND gate 14. The chip enable signal from output terminal Y2 is applied to AND gate 1.
The signal is inverted and inputted to the other terminal of the AND gate 14, and is further applied as is to the other terminal of the AND gate 14.

【0012】出力端子Y0〜Y7からのチップイネーブ
ル信号は、いずれか1つだけが論理「0」となるから、
端子Y1,Y3のいずれか一方に論理「0」の信号が導
出されればORゲート21の出力は論理「1」となる。 また、端子Y2,Y3のいずれか一方に論理「0」の信
号が導出されれば、ORゲート22の出力は論理「1」
となる。
Since only one of the chip enable signals from the output terminals Y0 to Y7 becomes logic "0",
If a logic "0" signal is derived from either terminal Y1 or Y3, the output of the OR gate 21 becomes logic "1". Furthermore, if a logic "0" signal is derived from either terminal Y2 or Y3, the output of the OR gate 22 becomes a logic "1".
becomes.

【0013】論理回路5は、ORゲート21,22の出
力を、2ビットで表されたウエイト数とするものであり
、このウエイト数は、ライン6から、計数手段および解
除手段として機能するカウンタ7に与えられる。一方、
デコーダ回路3の出力端子Y0〜Y7からのチップイネ
ーブル信号はNORゲート8に与えられている。このN
ORゲート8の出力は、反転回路で構成した遅延回路9
を介して、データ書込信号としてカウンタ7に入力され
ている。このカウンタ7は、データ書込信号の立ち下が
りに同期してライン6からのウエイト数を端子D0,D
1に取り込む。そして、クロック入力端子CLKに与え
られるクロック信号φの立ち上がりに同期してダウンカ
ウント動作を行い、上記端子D0,D1から与えられた
ウエイト数を1ずつ減少させる。
The logic circuit 5 converts the outputs of the OR gates 21 and 22 into a wait number expressed in two bits, and this wait number is sent from a line 6 to a counter 7 which functions as a counting means and a canceling means. given to. on the other hand,
Chip enable signals from output terminals Y0 to Y7 of the decoder circuit 3 are applied to a NOR gate 8. This N
The output of the OR gate 8 is sent to a delay circuit 9 composed of an inverting circuit.
The signal is inputted to the counter 7 as a data write signal via. This counter 7 calculates the wait number from line 6 at terminals D0 and D in synchronization with the falling edge of the data write signal.
Incorporate into 1. Then, a down-count operation is performed in synchronization with the rise of the clock signal φ applied to the clock input terminal CLK, and the wait number applied from the terminals D0 and D1 is decreased by one.

【0014】クロック信号φは、CPU1に対するクロ
ックであるので、その基本サイクルた対応している。し
たがって、カウンタ7が最初にダウンカウント動作を行
ってから、このカウンタ7の計数値が零の状態を経て、
さらに次のクロックが入力されるまでの時間は、選択さ
れたLSIに固有のウエイトサイクルに対応する。カウ
ンタ7のボロー信号出力端子Borrowに導出される
信号は、アクノレッジ(応答)信号DACKとしてCP
U1に与えられている。すなわち、このボロー信号出力
端子Borrowに導出される信号は、カウンタ7に零
以上の値が保持されているときにはハイレベルとなって
おり、クロック信号φが立ち上がるときにカウンタ7の
計数値が零となっている場合にローレベルに反転する。 したがって、ボロー信号出力端子Borrowにローレ
ベルの信号が導出されるときには、CPU1が選択した
周辺LSIに固有のウエイトサイクルが経過した後であ
るので、上記LSIは動作可能状態となっている。した
がって、ボロー信号出力端子Borrowからの信号を
CPU1にアクノレッジ信号として与えれば、CPU1
を、選択されたLSIに必要な時間だけ待ち状態とする
ことができる。
Since the clock signal φ is a clock for the CPU 1, it corresponds to its basic cycle. Therefore, after the counter 7 first performs a down-count operation, the count value of the counter 7 passes through a state of zero, and then
Furthermore, the time until the next clock is input corresponds to a wait cycle specific to the selected LSI. The signal derived from the borrow signal output terminal Borrow of the counter 7 is outputted to the CP as an acknowledge (response) signal DACK.
It is given to U1. That is, the signal derived from this borrow signal output terminal Borrow is at a high level when the counter 7 holds a value of zero or more, and when the clock signal φ rises, the count value of the counter 7 becomes zero. is inverted to low level. Therefore, when a low level signal is derived from the borrow signal output terminal Borrow, the LSI is in an operable state because the wait cycle specific to the peripheral LSI selected by the CPU 1 has elapsed. Therefore, if the signal from the borrow signal output terminal Borrow is given to CPU1 as an acknowledge signal, CPU1
can be kept in a waiting state for only the time necessary for the selected LSI.

【0015】カウンタ7は、NORゲート8からボロー
クリア端子Borrow Clearに与えられる信号
がハイレベルのときにはクリア状態に保たれ、この信号
がローレベルとなると端子D0,D1からのウエイト数
のラッチおよび計数動作が許容される。したがって、ラ
イン4に導出されるチップイネーブル信号のすべてが論
理「0」であれば、カウンタ7はクリア状態となる。そ
して、遅延回路4からデータ書込信号が与えられる直前
に、ラッチおよび計数が許容される状態となる。
The counter 7 is kept in a clear state when the signal applied from the NOR gate 8 to the borrow clear terminal Borrow Clear is at high level, and when this signal becomes low level, it latches and counts the wait number from terminals D0 and D1. Operation is allowed. Therefore, if all of the chip enable signals derived on line 4 are logic "0", counter 7 will be in a clear state. Immediately before the data write signal is applied from the delay circuit 4, latching and counting are allowed.

【0016】下記表1には、CPU1により選択される
べき8種類のLSI■〜■のウエイト数と、これらの周
辺LSIが選択されるときのデコーダ回路3の出力端子
Y0〜Y7に導出される信号と、カウンタ5のデータ端
子D0,D1に与えられるウエイト数を表す2ビットの
信号と、デコーダ回路3との関係を示す真理値表である
。この例では、LSI■のウエイト数は「0」とされ、
LSI■のウエイト数は「1」とされ、LSI■のウエ
イト数は「2」とされ、LSI■のウエイト数は「3」
とされ、残余のLSI■〜■のウエイト数はいずれも「
0」とされている。
Table 1 below shows the wait numbers of the eight types of LSIs ■ to ■ to be selected by the CPU 1, and the wait numbers derived to the output terminals Y0 to Y7 of the decoder circuit 3 when these peripheral LSIs are selected. 2 is a truth table showing the relationship between a signal, a 2-bit signal representing the number of waits given to data terminals D0 and D1 of a counter 5, and a decoder circuit 3. In this example, the wait number of LSI ■ is "0",
The weight number of LSI■ is "1", the weight number of LSI■ is "2", and the weight number of LSI■ is "3".
, and the weight numbers of the remaining LSIs ■~■ are all ``
0".

【0017】[0017]

【表1】[Table 1]

【0018】この表1から、チップイネーブル信号に対
応するLSIのウエイト数が論理回路5から生成されて
、カウンタ7に与えられることが理解される。なお、論
理回路5は、各LSIにおいて必要となるウエイト数に
応じて適宜変更すればよいことは言うまでもない。図2
は、動作を説明するためのタイミングチャートであり、
LSI■を動作させる場合、すなわちウエイト数が「2
」の場合の動作が示されている。図2(a)はクロック
信号φを示し、図2(b) はアドレスバス2に導出さ
れるアドレス信号を示し、図2(c) はアドレスが確
定したことを示す信号ASを示している。さら、図2(
d) はデコーダ回路3においてLSI■に対応して論
理「0」の信号が導出される端子Y2からの出力信号を
示し、図2(e) はNORゲート8からカウンタ7の
ボロークリア端子Borrow Clearに与えられ
るクリア信号を示し、図2(f)は端子D0,D1に与
えられるウエイト数を示し、図2(g) は遅延回路4
からカウンタ7のデータロード端子DATA Load
 に与えられるデータ書込信号を示し、図2(h) は
ボロー信号出力端子BorrowからCPU1に与えら
れるアクノレッジ信号DTACKを示す。
It is understood from Table 1 that the LSI wait number corresponding to the chip enable signal is generated from the logic circuit 5 and given to the counter 7. It goes without saying that the logic circuit 5 may be changed as appropriate depending on the number of waits required in each LSI. Figure 2
is a timing chart to explain the operation,
When operating LSI ■, that is, the number of waits is "2".
” is shown. 2(a) shows the clock signal φ, FIG. 2(b) shows the address signal derived to the address bus 2, and FIG. 2(c) shows the signal AS indicating that the address has been determined. Furthermore, Figure 2 (
d) shows the output signal from the terminal Y2 from which a logic "0" signal is derived corresponding to LSI ■ in the decoder circuit 3, and FIG. 2(e) shows the output signal from the NOR gate 8 to the borrow clear terminal of the counter 7. 2(f) shows the number of waits given to the terminals D0 and D1, and FIG. 2(g) shows the clear signal given to the delay circuit 4.
From the data load terminal of counter 7 DATA Load
FIG. 2(h) shows the acknowledge signal DTACK given to the CPU 1 from the borrow signal output terminal Borrow.

【0019】CPU1の基本命令は8つのステートS0
〜S8からなっており、図2中SW0,SW1がウエイ
トサイクルである。時刻t1からの期間に、CPU1は
LSI■に対応したアドレス信号をアドレスバス2に導
出し、さらに時刻t2には信号ASをローレベルとして
、デコーダ回路3にアドレスが確定したことを通知する
。これに応答して、デコーダ回路3は、参照符号A1で
示すように、LSI■に対応した端子Y2に論理「0」
の信号を導出し、残余の端子Y0,Y1,Y3〜Y7に
は論理「1」の信号を導出する。これにより、NORゲ
ート8の出力がローレベルとなり、このNORゲート8
の出力がクリア信号としてカウンタ7のボロークリア端
子Borrow Clearに与えられることによって
、当該カウンタ7は端子D0,D1からのデータのラッ
チおよび計数動作が可能な状態となる。
The basic instructions of CPU1 are eight states S0.
- S8, and SW0 and SW1 in FIG. 2 are wait cycles. During the period from time t1, the CPU 1 derives an address signal corresponding to LSI ■ to the address bus 2, and further, at time t2, sets the signal AS to a low level to notify the decoder circuit 3 that the address has been determined. In response to this, the decoder circuit 3 outputs a logic "0" to the terminal Y2 corresponding to the LSI ■, as indicated by the reference symbol A1.
A signal of logic "1" is derived from the remaining terminals Y0, Y1, Y3 to Y7. As a result, the output of the NOR gate 8 becomes low level, and this NOR gate 8
By applying the output as a clear signal to the borrow clear terminal Borrow Clear of the counter 7, the counter 7 becomes capable of latching and counting data from the terminals D0 and D1.

【0020】一方、デコーダ回路3の端子Y1,Y2,
Y3からの信号が与えられる論理回路5は、ライン6を
介して、カウンタ7の端子D1,D2にそれぞれ論理「
0」,「1」の信号を入力する。ボロークリア端子Bo
rrow Clearへの入力信号がローレベルとなっ
てから遅延回路9における遅延時間が経過した後の時刻
t3には、カウンタ7のデータロード端子DATA L
oad への入力信号が立ち下がることになる。これに
同期して、カウンタ7は、データ入力端子D0,D1か
らのウエイト数(今の例では「2」)を内部に取り込む
On the other hand, the terminals Y1, Y2,
The logic circuit 5, to which the signal from Y3 is applied, outputs logic signals to the terminals D1 and D2 of the counter 7 via the line 6, respectively.
Input the signals of "0" and "1". Borrow clear terminal Bo
At time t3, after the delay time in the delay circuit 9 has elapsed since the input signal to rrow Clear became low level, the data load terminal DATA L of the counter 7
The input signal to oad will fall. In synchronization with this, the counter 7 internally takes in the wait number ("2" in the present example) from the data input terminals D0 and D1.

【0021】この状態から、カウンタ7は、クロック信
号φが立ち上がる時刻t4,t5,t6においてそれぞ
れ、計数値を減じる。この結果、時刻t6には、ボロー
信号出力端子Borrowに導出されるアクノレッジ信
号DTACKが立ち下がり、CPU1にLSI■が動作
可能状態であることが通知される。CPU1では、ステ
ートS4の終期におけるクロック信号φの立ち下がりの
時点(時刻t10)で、アクノレッジ信号DTACKが
判定される。すなわち、時刻t10では、アクノレッジ
信号DTACKがハイレベルであるので、CPU1は待
ち状態となる(ウエイトサイクルSW0)。そして、次
にクロック信号φが立ち下がる時刻t11でも同様の判
定が行われ、この時点でもアクノレッジ信号DTACK
はハイレベルであるから、引き続きCPU1は待ち状態
に保たれる(ウエイトサイクルSW1)。
From this state, the counter 7 decrements the count at times t4, t5, and t6 when the clock signal φ rises. As a result, at time t6, the acknowledge signal DTACK derived from the borrow signal output terminal Borrow falls, and the CPU 1 is notified that the LSI ■ is in an operable state. In the CPU 1, the acknowledge signal DTACK is determined at the falling edge of the clock signal φ (time t10) at the end of the state S4. That is, at time t10, the acknowledge signal DTACK is at a high level, so the CPU 1 enters a wait state (wait cycle SW0). Then, a similar determination is made at the next time t11 when the clock signal φ falls, and even at this time, the acknowledge signal DTACK is
Since is at a high level, the CPU 1 continues to be kept in a waiting state (wait cycle SW1).

【0022】ウエイトサイクルSW1の終期においてク
ロック信号φが立ち下がる時刻t12には、アクノレッ
ジ信号DTACKはローレベルとなっているため、この
時点で、次のマシンサイクルに備えてウエイトサイクル
が解除されて、次のステートS5となる。このようにし
て、時刻t10〜t12までのクロック信号φの2周期
分のウエイトサイクルSW0,SW1を確保できる。
At time t12 when the clock signal φ falls at the end of the wait cycle SW1, the acknowledge signal DTACK is at a low level, so at this point the wait cycle is canceled in preparation for the next machine cycle. The next state is S5. In this way, wait cycles SW0 and SW1 for two periods of the clock signal φ from time t10 to time t12 can be secured.

【0023】以上のように本実施例の構成によれば、デ
コーダ回路3から生成されるチップイネーブル信号に対
応して、選択されたLSIの固有のウエイト数が論理回
路5から発生される。このウエイト数はダウンカウント
動作を行うカウンタ7に与えられる。そして、カウンタ
7の計数値が零となった後にクロック信号φが立ち下が
った時点で、そのボロー信号出力端子Borrowに導
出されるアクノレッジ信号DTACKがローレベルに反
転し、選択されたLSIが動作可能状態であることがC
PU1に通知される。このようにして、各LSIに固有
のウエイトサイクルを、各LSI毎に個別にウエイト回
路を設けることなく統一的に発生させることができる。 この結果、ホームコントローラの部品点数を格段に削減
して回路構成を小規模化することができるとともに、回
路構成を簡素化してコストを大幅に低減することができ
るようになる。
As described above, according to the configuration of this embodiment, the logic circuit 5 generates a unique wait number for the selected LSI in response to the chip enable signal generated from the decoder circuit 3. This wait number is given to a counter 7 that performs a down-count operation. Then, at the point when the clock signal φ falls after the count value of the counter 7 becomes zero, the acknowledge signal DTACK derived from the borrow signal output terminal Borrow is inverted to low level, and the selected LSI becomes operational. Being in a state is C
PU1 is notified. In this way, a wait cycle specific to each LSI can be generated uniformly without providing a separate wait circuit for each LSI. As a result, the number of parts of the home controller can be significantly reduced and the circuit configuration can be downsized, and the circuit configuration can be simplified and costs can be significantly reduced.

【0024】なお、本発明は上記の実施例に限定される
ものではない。たとえば、上記の実施例では、ホームコ
ントローラを例にとったが、本発明は中央処理装置と、
複数の集積回路とを含み、集積回路を選択的に動作可能
状態とするようにした情報処理装置に対して広く実施す
ることができるものである。その他、本発明の要旨を変
更しない範囲で種々の設計変更を施すことが可能である
It should be noted that the present invention is not limited to the above embodiments. For example, in the above embodiment, a home controller was taken as an example, but the present invention also includes a central processing unit,
The present invention can be widely implemented in information processing apparatuses that include a plurality of integrated circuits and selectively enable the integrated circuits. In addition, various design changes can be made without changing the gist of the present invention.

【0025】[0025]

【発明の効果】以上のように本発明の情報処理装置によ
れば、複数の集積回路に対応するウエイトサイクルを統
一的に制御することができる。これにより、集積回路毎
に個別にウエイト回路を設ける必要がなくなるので、情
報処理装置の部品点数を大幅に削減して、回路構成を小
規模化することができる。この結果、構成が簡単になり
、コトスの低減にも寄与することができる。
As described above, according to the information processing apparatus of the present invention, wait cycles corresponding to a plurality of integrated circuits can be uniformly controlled. This eliminates the need to provide a separate wait circuit for each integrated circuit, so the number of parts of the information processing device can be significantly reduced and the circuit configuration can be made smaller. As a result, the configuration becomes simple and can also contribute to reducing costs.

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

【図1】本発明の情報処理装置の一実施例であるホーム
コントローラの要部の基本的な構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing the basic configuration of main parts of a home controller that is an embodiment of an information processing device of the present invention.

【図2】動作を説明するためのタイミングチャートであ
る。
FIG. 2 is a timing chart for explaining the operation.

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

1    CPU(中央処理装置) 1 CPU (Central Processing Unit)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置と、この中央処理装置により
選択されて動作可能状態となる複数の集積回路と、上記
中央処理装置が選択した集積回路を動作可能状態とする
ためのチップイネーブル信号を発生するチップイネーブ
ル信号発生手段とを有する情報処理装置において、上記
チップイネーブル信号発生手段からのチップイネーブル
信号に応答して、このチップイネーブル信号に対応する
集積回路の固有のウエイト数を発生するウエイト数発生
手段と、このウエイト数発生手段が発生したウエイト数
を、所定のクロック信号に基づいて計数する計数手段と
、この計数手段が上記ウエイト数を計数し終える以前の
期間をウエイトサイクルとする手段と、上記計数手段が
上記ウエイト数を計数し終えたときに、次のマシンサイ
クルに備えてウエイトサイクルを解除する解除手段とを
含むことを特徴とする情報処理装置。
Claims: 1. A central processing unit, a plurality of integrated circuits selected by the central processing unit to be enabled, and a chip enable signal for enabling the integrated circuits selected by the central processing unit to be enabled. In an information processing apparatus having a chip enable signal generating means for generating a chip enable signal, in response to a chip enable signal from the chip enable signal generating means, a wait number that generates a unique wait number of an integrated circuit corresponding to the chip enable signal. generating means; counting means for counting the number of waits generated by the wait number generating means based on a predetermined clock signal; and means for defining a period before the counting means finishes counting the number of waits as a wait cycle. and a canceling unit for canceling the wait cycle in preparation for the next machine cycle when the counting unit finishes counting the number of waits.
JP10598391A 1991-05-10 1991-05-10 Information processor Pending JPH04335458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10598391A JPH04335458A (en) 1991-05-10 1991-05-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10598391A JPH04335458A (en) 1991-05-10 1991-05-10 Information processor

Publications (1)

Publication Number Publication Date
JPH04335458A true JPH04335458A (en) 1992-11-24

Family

ID=14421982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10598391A Pending JPH04335458A (en) 1991-05-10 1991-05-10 Information processor

Country Status (1)

Country Link
JP (1) JPH04335458A (en)

Similar Documents

Publication Publication Date Title
US5555413A (en) Computer system and method with integrated level and edge interrupt requests at the same interrupt priority
US4631670A (en) Interrupt level sharing
JPH02293959A (en) Interface apparatus
JPH04233059A (en) Information processing apparatus
JP2004118252A (en) Semiconductor data processor
JPH04335458A (en) Information processor
US5539916A (en) DMA control for continuing transfer to input/output device in a cycle steal mode
US4180855A (en) Direct memory access expander unit for use with a microprocessor
JP3431025B2 (en) Data transfer system
WO1993012486A1 (en) Direct memory access interface for buses of different width
JPH04192056A (en) Arbitration system
JPH10320349A (en) Processor and data transfer system using the processor
JPH03263158A (en) Common bus arbitration control system
KR940003320B1 (en) Method and device for stabilizing an operation in micro-processor
JP3093374B2 (en) Interrupt controller
US7065669B2 (en) System and method for providing a write strobe signal to a receiving element before both an address and data signal
JPH07182271A (en) Data processing system and method for cycling of long-word address
JP3483312B2 (en) Bus arbitration equipment
JPH10149311A (en) Memory controller
JP2792141B2 (en) Misalignment control device
JP4097377B2 (en) Microcomputer
JPH023217B2 (en)
KR0164128B1 (en) Multi-waiting state for low speed peripheral equipment
JPH01150958A (en) Device for arbitrating bus
JPH04102955A (en) Interruption controller