JPS6336022B2 - - Google Patents
Info
- Publication number
- JPS6336022B2 JPS6336022B2 JP58054267A JP5426783A JPS6336022B2 JP S6336022 B2 JPS6336022 B2 JP S6336022B2 JP 58054267 A JP58054267 A JP 58054267A JP 5426783 A JP5426783 A JP 5426783A JP S6336022 B2 JPS6336022 B2 JP S6336022B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- address
- data
- slave
- master
- 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.)
- Expired
Links
Landscapes
- Bus Control (AREA)
- Information Transfer Systems (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】
発明の技術分野
本発明はマイクロプロセツサ等においてバス線
を延長しようとする際におけるバス延長方式に関
するものである。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a bus extension method used when extending a bus line in a microprocessor or the like.
従来技術と問題点
マイクロプロセツサ回路等において、プロセツ
サに接続されている共通バスに周辺回路を接続す
る際、バス線にはその規格によつて接続できる回
路数が定まつていて、一定数以上は接続すること
ができず、もしもそれ以上の接続数を必要とする
ときは、延長用アダプタを設けてこれに接続する
ようにする必要がある。Prior Art and Problems In microprocessor circuits, etc., when peripheral circuits are connected to a common bus connected to the processor, the number of circuits that can be connected to the bus line is determined by the standard, and the number of circuits that can be connected to the bus line is determined by the standard. cannot be connected, and if more connections are required, it is necessary to provide an extension adapter and connect to it.
第1図は従来のおよび本発明のバス延長方式が
適用されるシステムの構成例を示している。同図
において、プロセツサ(CPU)1はマスターバ
ス2を介してメモリ3、入出力装置(I/O)4
DMA方式のI/O5にアクセスすることができ
る。一方I/Oを増設する必要があるときは、延
長アダプタ6を介してスレーブバス7を接続し、
これに対して増設I/O8,9を接続する。 FIG. 1 shows an example of a system configuration to which the conventional bus extension method and the present invention bus extension method are applied. In the figure, a processor (CPU) 1 connects a memory 3 and an input/output device (I/O) 4 via a master bus 2.
DMA type I/O 5 can be accessed. On the other hand, when it is necessary to add I/O, connect the slave bus 7 via the extension adapter 6,
The additional I/Os 8 and 9 are connected to this.
このような延長アダプタを設けた場合には、そ
の長さや接続数によつて定まる容量が付加され、
これによつて伝送される信号に波形の鈍りを生じ
るため、バスを介して伝送されるデータおよびア
ドレスの前縁および後縁の保証を行う必要があ
る。 When such an extension adapter is installed, the capacity determined by its length and number of connections is added.
This causes the waveform of the transmitted signal to become blunt, so it is necessary to guarantee the leading and trailing edges of data and addresses transmitted via the bus.
第2図は、従来のバス延長時におけるデータ転
送方法を示し、ライト時におけるデータおよびア
ドレスの前縁および後縁保証を説明している。同
図に示すように、マスターバスからアドレスおよ
びデータを送出するとともに書込みを指示するコ
マンドであるサービスアウトライト*SVOWを
送出すると、これによつてバス延長アダプタを経
てスレーブバスにアドレスおよびデータが送出さ
れ、さらに*SVOWが送出される。スレーブバ
スに接続された回路から応答を示すサービスイン
*SVIが発生すると、この信号はバス延長アダプ
タを経てマスターバスを伝送されてプロセツサに
返送され、これによつてプロセツサはマスターバ
スの*SVOWを停止し、これに従つてスレーブ
バスの*SVOWが停止する。この際第1図に示
すように、スレーブバスにおけるアドレスおよび
データの前縁および後縁の保証は、スレーブバス
のコマンド*SVOWをアドレスおよびデータか
ら時間T1遅延させることによつて前縁の保証を
行い、アドレスおよびデータをスレーブバスのコ
マンドから時間T2遅れてデイセーブルすること
によつて後縁の保証を行つていた。 FIG. 2 shows a conventional data transfer method during bus extension, and explains guaranteeing leading and trailing edges of data and addresses during writing. As shown in the figure, when the master bus sends the address and data and also sends the service outwrite *SVOW, which is a command to instruct writing, the address and data are sent to the slave bus via the bus extension adapter. *SVOW is sent. When a service in *SVI is generated indicating a response from a circuit connected to the slave bus, this signal is transmitted through the master bus via a bus extension adapter and returned to the processor, which allows the processor to read the *SVOW of the master bus. *SVOW of the slave bus stops accordingly. At this time, as shown in Figure 1, the leading and trailing edges of the address and data on the slave bus are guaranteed by delaying the slave bus command *SVOW by a time T 1 from the address and data. The trailing edge guarantee was achieved by disabling the address and data after a time T 2 from the slave bus command.
このため、マスターバスのユニツトはスレーブ
バスの後縁保証を考慮した設計をしなければなら
ず、またこの条件で設計したユニツトは1回のサ
イクルタイムが長くなつているため、バスを延長
しないシステムで使用した場合にはデータ転送速
度の点で損をするという問題があつた。 For this reason, the master bus unit must be designed with consideration to guaranteeing the trailing edge of the slave bus, and since units designed under this condition have a longer cycle time, systems that do not extend the bus There was a problem in that data transfer speed was compromised when used in
発明の目的
本発明はこのような従来技術の問題点を解決し
ようとするものであつて、その目的は、バス線が
延長される場合でもスレーブバス上のアドレスお
よびデータの後縁保証について特別の考慮を必要
とすることなくユニツトの設計を行うことができ
る、バス延長方式を提供することにある。OBJECT OF THE INVENTION The present invention aims to solve the problems of the prior art, and its purpose is to provide special trailing edge guarantees for addresses and data on the slave bus even when the bus line is extended. The object of the present invention is to provide a bus extension method that allows the unit to be designed without any consideration.
発明の実施例
第3図は本発明のバス延長方式の一実施例の構
成を示している。同図において、11,12,1
3はドライバ、14はデータラツチ、15はアン
ド回路、16,17はナンド回路、18はオア回
路、19,20,21は遅延回路、22はフリツ
プフロツプ(FF)である。Embodiment of the Invention FIG. 3 shows the configuration of an embodiment of the bus extension system of the present invention. In the same figure, 11, 12, 1
3 is a driver, 14 is a data latch, 15 is an AND circuit, 16 and 17 are NAND circuits, 18 is an OR circuit, 19, 20, and 21 are delay circuits, and 22 is a flip-flop (FF).
また第4図および第5図は、本発明のバス延長
方式の一実施例における、バス延長時のデータ転
送方法を示したものである。第4図はリード時に
おける増設I/Oのアクセスタイミングを示し、
第5図はライト時におけるマスターバスI/Oの
アクセスタイミングを示している。 4 and 5 show a data transfer method during bus extension in one embodiment of the bus extension method of the present invention. Figure 4 shows the access timing of the additional I/O during reading,
FIG. 5 shows the master bus I/O access timing during writing.
以下これら各図に基づいて本発明のバス延長方
式の動作を説明する。増設I/Oに対するリード
時、第4図に示すごとくプロセツサ(CPU)か
らマスターバスに対してアドレス*AB00〜15が
送出されるとともに、I/Oリードコマンド*
IORCが“1”にされる。バス延長アダプタにお
いては、マスターバスの*IORC信号が“1”に
されたとき、ドライバ13を制御してスレーブバ
スのアドレス*AB00〜15をイネーブルし、遅延
回路20を介して50nS後にスレーブバスのコマ
ンド*IORC信号を“1”にする。遅延回路20
における50nSの遅延は、スレーブバスにおける
アドレスの前縁保証のためのものである。 The operation of the bus extension system of the present invention will be explained below based on these figures. When reading the expansion I/O, the processor (CPU) sends addresses *AB00 to 15 to the master bus as shown in Figure 4, and also sends an I/O read command *
IORC is set to “1”. In the bus extension adapter, when the *IORC signal of the master bus is set to "1", it controls the driver 13 to enable addresses *AB00 to *AB15 of the slave bus, and after 50nS via the delay circuit 20, the slave bus is Set the command *IORC signal to “1”. delay circuit 20
The 50nS delay in is for the leading edge guarantee of the address on the slave bus.
これによつてアドレスを指定された増設I/O
は、スレーブバスにデータ*DB00〜15を出力す
るとともに、応答信号*XACKを出力する。バ
ス延長アダプタは、スレーブバスの*XACK信
号を検出してデータラツチ14によつてデータを
ラツチするとともに、FF22を経てマスターバ
スに*XACK信号を出力する。この際遅延回路
21はデータのラツチをデータ入力に対して多少
遅らせることによつて、データラツチ14の動作
を確実にする。マスターバスの*XACK信号が
“1”になると、バス延長アダプタはスレーブバ
スの*IORC信号を“0”にする。一方、CPUは
マスターバスにおける*XACK信号を検出する
と、200nSに*IORC信号を“0”にしてリード
サイクルを終了する。バス延長アダプタは、マス
ターバス上の*IORC信号が“0”になると、ド
ライバ13を制御してスレーブバスのアドレス*
AB00〜15をデイセーブルする。この際における
200nSの遅延は、スレーブバスにおけるアドレス
の後縁保証のためのものである。 Expansion I/O whose address is specified by this
outputs data *DB00 to *DB15 to the slave bus, and also outputs a response signal *XACK. The bus extension adapter detects the *XACK signal of the slave bus, latches the data with the data latch 14, and outputs the *XACK signal to the master bus via the FF 22. At this time, the delay circuit 21 ensures the operation of the data latch 14 by delaying the data latch to some extent with respect to the data input. When the *XACK signal of the master bus becomes "1", the bus extension adapter changes the *IORC signal of the slave bus to "0". On the other hand, when the CPU detects the *XACK signal on the master bus, it sets the *IORC signal to "0" in 200nS and ends the read cycle. When the *IORC signal on the master bus becomes "0", the bus extension adapter controls the driver 13 to determine the address of the slave bus *
Disable AB00~15. At this time
The 200nS delay is for guaranteeing the trailing edge of the address on the slave bus.
マスターバスのI/Oに対するライト時、第5
図に示すごとくCPUからマスターバスに対して
アドレス*AB00〜15およびデータ*DB00〜15
が送出されるとともに、I/Oライトコマンド*
IOWCが“1”にされる。バス延長アダプタは、
マスターバスの*IOWC信号が“1”にされたと
き、ドライバ11と13を制御してスレーブバス
におけるアドレス*AB00〜15とデータ*DB00
〜15をイネーブルし、遅延回路19を介して
50nS後にスレーブバスの*IOWC信号を“1”に
する。 When writing to master bus I/O, the fifth
As shown in the figure, addresses *AB00~15 and data *DB00~15 are sent from the CPU to the master bus.
is sent, and an I/O write command*
IOWC is set to “1”. bus extension adapter
When the *IOWC signal on the master bus is set to “1”, it controls drivers 11 and 13 and sends addresses *AB00 to 15 and data *DB00 on the slave bus.
~15 and through delay circuit 19
Set the *IOWC signal on the slave bus to “1” after 50nS.
一方、アドレスを指定されたマスターバスにお
けるI/Oはデータ*DB00〜15を取込み、終了
したとき、マスターバスに応答信号*XACKを
出力する。マスターバスの*XACK信号が“1”
になると、バス延長アダプタはスレーブバスの*
IOWC信号を“0”にする。CPUはマスターバス
の*XACK信号を検出すると、200nS後にマスタ
ーバスの*IOWC信号を“0”にして、ライトサ
イクルを終了する。バス延長アダプタは、マスタ
ーバスにおける*IOWC信号が“0”になると、
ドライバ11,13を制御してスレーブバスのア
ドレスとデータをデイセーブルする。 On the other hand, the I/O on the master bus to which the address has been designated takes in data *DB00 to *DB15, and when finished, outputs a response signal *XACK to the master bus. Master bus *XACK signal is “1”
, the bus extension adapter is the * of the slave bus.
Set the IOWC signal to “0”. When the CPU detects the *XACK signal on the master bus, it sets the *IOWC signal on the master bus to "0" after 200nS and ends the write cycle. When the *IOWC signal on the master bus becomes “0”, the bus extension adapter
Controls drivers 11 and 13 to disable addresses and data on the slave bus.
この際における200nSの遅延は、スレーブバス
におけるアドレスの後縁保証のためのものであつ
て、これによつてマスターバスのアクセス時にお
いてスレーブバスのアドレスは正しく保たれ、ス
レーブバスのI/Oにおける誤動作が防止され
る。 The 200nS delay at this time is to ensure the trailing edge of the address on the slave bus, so that the slave bus address is maintained correctly when the master bus is accessed, and the slave bus I/O Malfunctions are prevented.
発明の効果
以上説明したように本発明のバス延長方式によ
れば、バス延長アダプタにおいて、プロセツサか
らアドレスとともに送出されたリードまたはライ
トコマンドが検出されたとき、所定時間後にスレ
ーブバス上のコマンドをオンにすることによつて
スレーブバスにおけるアドレスの前縁を保証し、
プロセツサのリードまたはライトコマンドに対す
る周辺回路の応答信号が検出されたときスレーブ
バス上のコマンドをオフにし、次にプロセツサが
所定の時間後にコマンドをオフにするタイミング
でスレーブバスのアドレスまたはデータをオフに
することによつてスレーブバス上のアドレスまた
はデータの後縁を保証するようにしたので、バス
線が延長される場合でもスレーブバス上のアドレ
スおよびデータの後縁保証について特別の考慮を
必要とすることなくユニツトの設計を行うことが
できる。Effects of the Invention As explained above, according to the bus extension method of the present invention, when a read or write command sent from the processor along with an address is detected in the bus extension adapter, the command on the slave bus is turned on after a predetermined time. Guarantee the leading edge of the address on the slave bus by
Turns off the command on the slave bus when a peripheral circuit response signal to a processor read or write command is detected, and then turns off the address or data on the slave bus when the processor turns off the command after a predetermined period of time. Since the trailing edge of the address or data on the slave bus is guaranteed by this, special consideration must be given to guaranteeing the trailing edge of the address or data on the slave bus even if the bus line is extended. You can design the unit without having to worry about it.
第1図は従来のおよび本発明のバス延長方式が
適用されるシステムの構成例を示す図、第2図は
従来のバス延長時におけるデータ転送方法を示す
図、第3図は本発明のバス延長方式の一実施例の
構成を示す図、第4図および第5図はそれぞれ本
発明のバス延長方式の一実施例におけるバス延長
時のデータ転送方式を示す図である。
1……プロセツサ(CPU)、2……マスターバ
ス、3……メモリ、4……入出力装置(I/O)、
5……DMA方式の入出力装置(I/O)、6…
…バス延長アダプタ、7……スレーブバス、8,
9……増設入出力装置(I/O)、11,12,
13……ドライバ、14……データラツチ、15
……アンド回路、16,17……ナンド回路、1
8……オア回路、19,20,21……遅延回
路、22……フリツプフロツプ(FF)。
FIG. 1 is a diagram showing a configuration example of a system to which the conventional bus extension method and the present invention are applied, FIG. 2 is a diagram showing a data transfer method when extending the conventional bus, and FIG. FIGS. 4 and 5 are diagrams illustrating the configuration of an embodiment of the extension method, respectively, and are diagrams showing a data transfer method during bus extension in an embodiment of the bus extension method of the present invention. 1... Processor (CPU), 2... Master bus, 3... Memory, 4... Input/output device (I/O),
5...DMA type input/output device (I/O), 6...
...Bus extension adapter, 7...Slave bus, 8,
9... Expansion input/output device (I/O), 11, 12,
13...Driver, 14...Data latch, 15
...AND circuit, 16,17...NAND circuit, 1
8...OR circuit, 19, 20, 21...delay circuit, 22...flip-flop (FF).
Claims (1)
対してバス延長アダプタ6を介してスレーブバス
7を接続し該スレーブバス7に接続された周辺回
路に対してプロセツサ1がアドレス(AB)を指
定してデータ(DB)のリードまたはライトを行
うバス延長方式において、 前記バス延長アダプタ6においてプロセツサ1
からアドレス(AB)とともに送出されたリード
またはライトコマンド(IORC、IOWC)が検出
されたとき、所定時間後にスレーブバス7上のコ
マンド(IORC、IOWC)をオンにすることによ
つてスレーブバス7におけるアドレス(AB)の
前縁を保証し、該コマンド(IORC、IOWC)に
対する周辺回路の応答信号(*XACK)が検出
されたときマスターバス2に該応答信号(*
XACK)を出力し、マスターバス1からの応答
信号(*XACK)が検出されたときスレーブバ
ス7上のコマンド(IORC、IOWC)をオフにし、
次にプロセツサ1が所定の時間後に前記コマンド
(IORC、IOWC)をオフにするタイミングでスレ
ーブバス7のアドレス(AB)またはデータ
(DB)をオフにすることによつてスレーブバス
7上のアドレス(AB)またはデータ(DB)の
後縁を保証することを特徴とするバス延長方式。[Scope of Claims] 1. A slave bus 7 is connected to a master bus 2 connected to the processor 1 via a bus extension adapter 6, and the processor 1 sends an address ( In the bus extension method of reading or writing data (DB) by specifying AB), the bus extension adapter 6
When a read or write command (IORC, IOWC) sent with an address (AB) from The leading edge of the address (AB) is guaranteed, and when the response signal (*XACK) of the peripheral circuit to the command (IORC, IOWC) is detected, the response signal (*XACK) is sent to the master bus 2.
XACK) is output, and when the response signal (*XACK) from master bus 1 is detected, the commands (IORC, IOWC) on slave bus 7 are turned off,
Next, the processor 1 turns off the address (AB) or data (DB) of the slave bus 7 at the same timing as when it turns off the commands (IORC, IOWC) after a predetermined period of time. A bus extension scheme characterized by guaranteeing the trailing edge of AB) or data (DB).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5426783A JPS59178518A (en) | 1983-03-30 | 1983-03-30 | Bus extending system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5426783A JPS59178518A (en) | 1983-03-30 | 1983-03-30 | Bus extending system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59178518A JPS59178518A (en) | 1984-10-09 |
| JPS6336022B2 true JPS6336022B2 (en) | 1988-07-18 |
Family
ID=12965793
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5426783A Granted JPS59178518A (en) | 1983-03-30 | 1983-03-30 | Bus extending system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59178518A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2507772B2 (en) * | 1988-03-16 | 1996-06-19 | 株式会社ピーエフユー | Bus timing control method |
| JPH0388059A (en) * | 1989-08-31 | 1991-04-12 | Yokogawa Electric Corp | Bus timing control circuit |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS524136A (en) * | 1975-06-30 | 1977-01-13 | Hitachi Ltd | Bus connection device |
| JPS559277A (en) * | 1978-07-05 | 1980-01-23 | Fujitsu Ltd | Information processor |
-
1983
- 1983-03-30 JP JP5426783A patent/JPS59178518A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59178518A (en) | 1984-10-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4271466A (en) | Direct memory access control system with byte/word control of data bus | |
| EP0242879B1 (en) | Data processor with wait control allowing high speed access | |
| JPS6336022B2 (en) | ||
| JPS581451B2 (en) | Data transfer method | |
| US6202117B1 (en) | Host adapter integrated circuit having autoaccess pause | |
| JPS63175962A (en) | Direct memory access control device and data transfer method within a multi-microcomputer system | |
| US5704048A (en) | Integrated microprocessor with internal bus and on-chip peripheral | |
| EP0803096B1 (en) | Implementation of timing between a microprocessor and its peripheral devices | |
| JPH029401Y2 (en) | ||
| KR940004578B1 (en) | Slave board control unit | |
| JPS59229662A (en) | Common memory control circuit | |
| JPH0330899B2 (en) | ||
| JP3028998B2 (en) | DMA transfer circuit | |
| JPS60201465A (en) | Data processing device | |
| JPS62125460A (en) | I/O access method | |
| JPH0476152B2 (en) | ||
| JPH05127974A (en) | Semaphore bit circuit | |
| JPS6411984B2 (en) | ||
| JPH04330549A (en) | Controller | |
| JPS5851333U (en) | Program processing device | |
| JPH036762A (en) | Image memory direct access method | |
| JPS6155764A (en) | Address setting control system | |
| JPS6040063B2 (en) | composite bus circuit | |
| JPS6113624B2 (en) | ||
| JPS62229457A (en) | Data transfer controller |