JPS63120355A - Bus interface circuit - Google Patents

Bus interface circuit

Info

Publication number
JPS63120355A
JPS63120355A JP26554886A JP26554886A JPS63120355A JP S63120355 A JPS63120355 A JP S63120355A JP 26554886 A JP26554886 A JP 26554886A JP 26554886 A JP26554886 A JP 26554886A JP S63120355 A JPS63120355 A JP S63120355A
Authority
JP
Japan
Prior art keywords
clock
circuit
bus
switching
synchronization
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
JP26554886A
Other languages
Japanese (ja)
Inventor
Kenji Akiyama
秋山 賢二
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP26554886A priority Critical patent/JPS63120355A/en
Publication of JPS63120355A publication Critical patent/JPS63120355A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/423Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with synchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the transfer time of data by switching the clock of a main circuit to a bus clock from a reference clock in case a synchronizing bus gives a request to the main circuit for transmission/reception of data. CONSTITUTION:When no request is received from a synchronizing bus 1 for transmission/reception of data, a main circuit 2 works synchronously with a reference clock (y). Thus a switch control circuit 44 outputs a switch signal (f) so that a switch circuit 43 selects the clock (y) as a main circuit clock (z). When a request is received from the bus for transmission/reception of data, the circuit 2 is actuated synchronously with a bus clock (x). Then the circuit 44 outputs the signal (f) so that the circuit 43 selects the clock (x) as the clock (z). Then the clock (z) is switched to the clock (x) from the clock (y). In this case, it is required to secure a period during which both clocks (x) and (y) are not selected so that no noise is produced to the clock (z). This period of time is set the value equal to a single clock pulse at the longest.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は同期式バスのバスインターフェース回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a bus interface circuit for a synchronous bus.

(従来の技術) この種のバスインターフェース回路の従来構成を第4図
に示す、この図において、1はバスクロックXに同期し
て動作する同期式バス、2は基準クロック発生器3の基
準クロックyに同期して動作する主回路で、バスインタ
ーフェース回路4は、この同期式バス1と主回路2間で
データ交換するために設けられる。従来、このバスイン
ターフェース回路4は、同期式バス1から出力されるデ
ータを主回路2側で使用するクロックyに同期させるた
めの同期化回路(1)41と、主回路2から出力される
データを同期式バス1側で使用するクロックXに同期さ
せるための同期化回路(2)42とから構成されている
(Prior Art) A conventional configuration of this type of bus interface circuit is shown in FIG. 4. In this figure, 1 is a synchronous bus that operates in synchronization with the bus clock A bus interface circuit 4 is provided to exchange data between the synchronous bus 1 and the main circuit 2. Conventionally, this bus interface circuit 4 includes a synchronization circuit (1) 41 for synchronizing the data output from the synchronous bus 1 with a clock y used on the main circuit 2 side, and a synchronization circuit (1) 41 for synchronizing the data output from the synchronous bus 1 with the clock y used on the main circuit 2 side. and a synchronization circuit (2) 42 for synchronizing the clock signal X with the clock X used on the synchronous bus 1 side.

この構成で、第5図のフローチャー1−に示すように、
バスクロックXに同期して同期式バス1から出力される
データ伝送要求信号aは、同期化回路(1)41により
、主回路クロックyの立ち下がりでサンプリングされ同
期化要求信%bに変換される。
With this configuration, as shown in flowchart 1- of FIG.
A data transmission request signal a output from the synchronous bus 1 in synchronization with the bus clock X is sampled by the synchronization circuit (1) 41 at the falling edge of the main circuit clock y and converted into a synchronization request signal %b. Ru.

同期化要求信号すを受けとった主回路2は、次の主回路
クロックyの立ち下がりでデータeを有効にできるとき
、応答信号Cを有効する。データeが有効になった後、
同期化回路(2)42はバスクロックXに同期した同期
化応答信号dを生成する。同期化応答信号dを受けとっ
た同期式バス1はデータeを受信し、要求信号aを非有
効にする。これにより。
The main circuit 2, which has received the synchronization request signal S, makes the response signal C valid when the data e can be made valid at the next falling edge of the main circuit clock y. After data e becomes valid,
The synchronization circuit (2) 42 generates a synchronization response signal d synchronized with the bus clock X. The synchronous bus 1 that has received the synchronization response signal d receives data e and disables the request signal a. Due to this.

同期化回路(1)41は基準グロックyに同期して同期
化要求信号すを非有効にする。主回路2は同期化要求(
ご号すが非有効になった後、応答信号Cを非有効にして
データeの送信を終了する。同期化回路(2)42は応
答信号Cが非有効となったことにより、同期化応答信%
dをパスクロックXに同期して非有効にする。同期式バ
ス1は、この同期化応答信号dが非有効になったことに
より、データの受信動作を完了する。
The synchronization circuit (1) 41 disables the synchronization request signal in synchronization with the reference clock y. Main circuit 2 requests synchronization (
After the signal becomes inactive, the response signal C is made inactive and the transmission of data e is completed. Since the response signal C has become ineffective, the synchronization circuit (2) 42 receives the synchronization response signal %.
d is disabled in synchronization with the path clock X. The synchronous bus 1 completes the data reception operation when the synchronization response signal d becomes inactive.

(発明が解決しようとする問題点) しかしながら、上記従来のバスインターフェース回路4
は、2つの同期化回路41.42を用いて構成されてい
るため、要求信号aからbへの変換、および、応答信号
Cからdへの変換に時間がかかりデータ転送時間が長く
なるという問題点があった。
(Problems to be Solved by the Invention) However, the above conventional bus interface circuit 4
Since it is configured using two synchronization circuits 41 and 42, there is a problem that it takes time to convert the request signal a to b and the response signal C to d, which increases the data transfer time. There was a point.

そこで本発明は、データ転送時間を短縮するバスインタ
ーフェース回路を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a bus interface circuit that reduces data transfer time.

[発明の構成] (問題点を解決するための手段) 本発明のバスインターフェース回路iよ、切替信号に応
じてパスクロックから基準クロックに切替える切替回路
と、同期バスから出力される送信要求信号に応じて上記
切替回路に上記切替信号を出力すると共に、その送信要
求信号を上記切替回路から出力されるクロックに同期さ
せて主回路に入力する切替制御回路とから構成される。
[Structure of the Invention] (Means for Solving the Problems) The bus interface circuit i of the present invention includes a switching circuit that switches from a pass clock to a reference clock in response to a switching signal, and a transmission request signal output from a synchronous bus. The switching control circuit outputs the switching signal to the switching circuit in response, and inputs the transmission request signal to the main circuit in synchronization with the clock output from the switching circuit.

(作用) 上記構成により、同期式バスからデータの送受信要求が
あったときは、主回路クロックが基準クロックからパス
クロックに切替えられることにより、要求信号および応
答信号の同期化処理が無くなり、データの転送時間を短
縮することができるようになる。
(Function) With the above configuration, when there is a data transmission/reception request from the synchronous bus, the main circuit clock is switched from the reference clock to the pass clock, eliminating the synchronization process of the request signal and response signal, and the data Transfer time can be shortened.

(実施例) 以下、図面に示した実施例に基づき本発明の詳細な説明
する。第1図は、本発明のバスインターフェース回路の
一実施例を示すもので、図中、第4図と同一符号は同一
または相当部分を示し、第4図の構成と異なる点は、主
回路クロック2をパスクロックXまたは基準クロックy
に切替える切替回路・13と、切替回路43の切替信号
fを発生する切替制御回路44を設けてバスインターフ
ェース回路4を構成した点である。
(Example) Hereinafter, the present invention will be described in detail based on the example shown in the drawings. FIG. 1 shows an embodiment of the bus interface circuit of the present invention. In the figure, the same reference numerals as in FIG. 4 indicate the same or corresponding parts, and the difference from the configuration in FIG. 2 as pass clock X or reference clock y
The bus interface circuit 4 is configured by providing a switching circuit 13 for switching to a switching circuit 13, and a switching control circuit 44 for generating a switching signal f for the switching circuit 43.

この構成で、第2図のタイムチャートで示す如く、同期
式バス1からデータの送受信要求がないときは、主回路
2を基準クロッグyに同期して動作させるため、切替制
御回路44は、切替回路43が主回路クロックZとして
基準クロックyを選択するような切替43号fを出力す
る。同期式バス1からデータの送信の要求信号aがあっ
たときは、主回路2をバスグロックXに同期して動作さ
せるため、切替制御回路44は、切替回路43が主回路
クロックZとしてパスクロックXを選択するような切替
信号fを出力する。
With this configuration, as shown in the time chart of FIG. 2, when there is no data transmission/reception request from the synchronous bus 1, the switching control circuit 44 operates the main circuit 2 in synchronization with the reference clock y. The circuit 43 outputs a switch 43 f that selects the reference clock y as the main circuit clock Z. When there is a data transmission request signal a from the synchronous bus 1, the switching control circuit 44 operates the main circuit 2 in synchronization with the bus clock X, so that the switching circuit 43 uses the pass clock as the main circuit clock Z. A switching signal f for selecting X is output.

主回路クロック2を基準クロックyからパスクロックX
に切替えるとき、主回路クロック2にノイズを発生させ
ないためには、−時的にどちらのクロックも選択されて
いない時間を設けなければならない、この時間はパスク
ロックXにして最大1クロック分を必要とする。
Pass clock X from main circuit clock 2 to reference clock y
In order not to generate noise in the main circuit clock 2 when switching to the main circuit clock 2, it is necessary to provide a time period in which neither clock is selected. This time requires a maximum of 1 clock as the path clock X. shall be.

また、同時に切替制御回路44は、データ送信の要求信
号aが有効になったとき、切替回路43から出力される
主回路クロック2に同期して要求信号b′を主回路2に
入力する。
At the same time, when the data transmission request signal a becomes valid, the switching control circuit 44 inputs a request signal b' to the main circuit 2 in synchronization with the main circuit clock 2 output from the switching circuit 43.

主回路2は送信すべきデータeを主回路クロック2の次
の立ち下がりで有効にできるとき応答信号Cを有効にす
る。応答信号Cはパスクロックスに同期した信号なので
直接同期式バス1に返される。同期式バス1はパスクロ
ックの立ち下がりでデータを受けとると共に、要求信号
aを非有効にする。
The main circuit 2 makes the response signal C valid when the data e to be transmitted can be made valid at the next falling edge of the main circuit clock 2. Since the response signal C is a signal synchronized with the path clock, it is directly returned to the synchronous bus 1. The synchronous bus 1 receives data at the falling edge of the pass clock and also disables the request signal a.

要求信号aが非有効になると、切替制御回路44は主回
路クロック2に同期して主回路の要求信号b′を非有効
にする。主回路2はこの要求信号b′が非有効になった
ことにより、応答信号Cを非有効にしてデータeの転送
を完了する。
When the request signal a becomes ineffective, the switching control circuit 44 disables the main circuit request signal b' in synchronization with the main circuit clock 2. Since the request signal b' becomes inactive, the main circuit 2 makes the response signal C inactive and completes the transfer of the data e.

次に、同期式バス1は応答信号Cが非有効になって、1
回目のデータ転送の完了を知ると、第2回目のデータの
転送を要求するため、再び要求信号aをバスクロックX
に同期して有効にする。しかし。
Next, the response signal C becomes inactive and the synchronous bus 1
When the completion of the first data transfer is known, in order to request the second data transfer, the request signal a is again sent to the bus clock
Sync and enable. but.

この時点でもしも要求信号aが非有効のままであれば、
データ転送はここで完全に終了したことになるので、切
替回路43は再び基準クロックyを選択して主回路クロ
ックZとして出力することになる。
If request signal a remains inactive at this point,
Since the data transfer is now completely completed, the switching circuit 43 selects the reference clock y again and outputs it as the main circuit clock Z.

要求信号aが有効になることにより、切替制御回路44
は主回路クロック2に同期して要求信号b′を主回路2
に出力し、以下、上述同様にして2回目のデータeを転
送する。
When the request signal a becomes valid, the switching control circuit 44
sends the request signal b' to the main circuit 2 in synchronization with the main circuit clock 2.
Thereafter, the second data e is transferred in the same manner as described above.

以上の記載から判るように、主回路クロック2が基準ク
ロックyからバスクロックXにノイズの発生なく切替わ
るためには、バスクロックXで最大1クロツクの時間が
かかる。従って、1回目のデータ転送時には、このクロ
ックの切替えに要する時間分だけデータ転送時間が長く
なったが、2回目以降のデータ転送時間は、この切替え
時間が無くなり、更に短縮される。
As can be seen from the above description, in order for the main circuit clock 2 to switch from the reference clock y to the bus clock X without generating noise, it takes at most one clock of the bus clock X. Therefore, during the first data transfer, the data transfer time is increased by the time required for this clock switching, but from the second time onwards, this switching time is eliminated and the data transfer time is further shortened.

このように本実施例によ九ば、従来のバスインターフェ
ース回路に必要であった要求信号および応答信号の同期
化に費される時間は殆ど必要なくなるので、データの転
送にかかる時間は殆どデータアクセス時間のみとなり、
データ転送時間を大幅に短縮できるようになる。
In this way, according to this embodiment, the time required for synchronizing the request signal and the response signal, which was necessary in the conventional bus interface circuit, is almost no longer required, so the time required for data transfer is reduced to data access. It will only be time,
Data transfer time can be significantly reduced.

第3図は本発明の他の実施例を示したものである0図中
、第1図と同一符号は同一または相当部分を示し、第1
図と異なる点は、主回路2をメモリ2′に、基準タロツ
ク発生器3をもう一つの同期式バスに置き換え、同期式
バス1を同期式バス11と12の2つ設けた点である。
3 shows another embodiment of the present invention. In FIG. 0, the same reference numerals as in FIG. 1 indicate the same or corresponding parts, and
The difference from the figure is that the main circuit 2 is replaced with a memory 2', the reference tarlock generator 3 is replaced with another synchronous bus, and the synchronous bus 1 is replaced with two synchronous buses 11 and 12.

また、バスインターフェース回路4はメモリクロック2
′を同期式バス(1)11のバスクロックX′または同
期式バス(202のバスクロックy′に切替える切替回
路43と、切替信号fを発生する切替制御回路44とを
具備する。
The bus interface circuit 4 also has a memory clock 2.
A switching circuit 43 for switching the bus clock X' of the synchronous bus (1) 11 or a bus clock y' for the synchronous bus (202), and a switching control circuit 44 for generating a switching signal f.

この構成で、同期式バス(1)11および同期式バス(
2)12からのアクセス要求信号a1およびa2に応じ
て切替制御回路44は、アクセス権が与えられたバスの
バスクロックをメモリクロックとして選択するように切
替回路43に切替制御信号fを出力する。2つのバスか
らのアクセス要求によるメモリの動作は、それぞれのバ
スクロックに同期しているので、アクセスの要求信号お
よび応答信号Cを同期化する時間がなくアクセス時間の
短縮が図れる。
In this configuration, synchronous bus (1) 11 and synchronous bus (
2) In response to access request signals a1 and a2 from 12, the switching control circuit 44 outputs a switching control signal f to the switching circuit 43 so as to select the bus clock of the bus to which access rights have been granted as the memory clock. Since the memory operations based on access requests from the two buses are synchronized with the respective bus clocks, there is no time to synchronize the access request signal and the response signal C, and the access time can be shortened.

[発明の効果] 以上説明したように本発明によれば、同期式バスと主回
路間で送受されるデータの同期化処理が殆ど不要となり
、データ転送時間を大幅に短縮できるようになる。
[Effects of the Invention] As described above, according to the present invention, synchronization processing of data sent and received between the synchronous bus and the main circuit is almost unnecessary, and data transfer time can be significantly shortened.

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

第1図は本発明の一実施例を示すバスインターフェース
回路のブロック構成図、第2図は第1図を説明するため
のタイミング図、第3図は本発明の他の実施例を示すバ
スインターフェース回路のブロック構成図、第4図は従
来のバスインターフェース回路のブロック構成図、第5
図は第3図を説明するためのタイミング図である。 1.11.12・・・同期式バス、2・・・主回路。 3・・・基準クロック発生器、4・・・バスインターフ
ェース回路、 41.42・・・同期化回路、43・・
・切替回路、44・・・切替制御回路。 ・′ \ 代理人 弁理士  紋 1) 誠・・′ )゛又−/ 第1図 Xrtl     >  ゝD u Φ   −N第3
図 第4図
FIG. 1 is a block configuration diagram of a bus interface circuit showing one embodiment of the present invention, FIG. 2 is a timing diagram for explaining FIG. 1, and FIG. 3 is a bus interface showing another embodiment of the present invention. A block diagram of the circuit, Figure 4 is a block diagram of a conventional bus interface circuit, and Figure 5 is a block diagram of the conventional bus interface circuit.
The figure is a timing diagram for explaining FIG. 3. 1.11.12...Synchronous bus, 2...Main circuit. 3... Reference clock generator, 4... Bus interface circuit, 41.42... Synchronization circuit, 43...
- Switching circuit, 44... switching control circuit.・' \ Agent Patent Attorney Crest 1) Makoto...' )゛Mata-/ Figure 1Xrtl > ゝD u Φ -N 3rd
Figure 4

Claims (1)

【特許請求の範囲】[Claims] 第1のクロックに同期して動作する同期式バスと、通常
の動作時には第2のクロックに同期して動作する主回路
との間のバスインターフェース回路において、切替信号
に応じて前記第1のクロックから前記第2のクロックに
切替える切替回路と、前記同期式バスから出力される送
信要求信号に応じて前記切替回路に前記切替信号を出力
すると共に、前記送信要求信号を前記切替回路から出力
されるクロックに同期させて前記主回路に入力する切替
制御回路とを備えていることを特徴とするバスインター
フェース回路。
In a bus interface circuit between a synchronous bus that operates in synchronization with a first clock and a main circuit that operates in synchronization with a second clock during normal operation, the first clock is switched in response to a switching signal. a switching circuit that switches from the synchronous bus to the second clock, and outputs the switching signal to the switching circuit in response to a transmission request signal output from the synchronous bus, and outputs the transmission request signal from the switching circuit. A bus interface circuit comprising: a switching control circuit that inputs data to the main circuit in synchronization with a clock.
JP26554886A 1986-11-10 1986-11-10 Bus interface circuit Pending JPS63120355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26554886A JPS63120355A (en) 1986-11-10 1986-11-10 Bus interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26554886A JPS63120355A (en) 1986-11-10 1986-11-10 Bus interface circuit

Publications (1)

Publication Number Publication Date
JPS63120355A true JPS63120355A (en) 1988-05-24

Family

ID=17418645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26554886A Pending JPS63120355A (en) 1986-11-10 1986-11-10 Bus interface circuit

Country Status (1)

Country Link
JP (1) JPS63120355A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002313316A (en) * 2001-04-11 2002-10-25 Matsushita Electric Ind Co Ltd Battery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002313316A (en) * 2001-04-11 2002-10-25 Matsushita Electric Ind Co Ltd Battery

Similar Documents

Publication Publication Date Title
JPH11205293A (en) Inner clock synchronizing method/circuit
JPS63120355A (en) Bus interface circuit
JPH0731530B2 (en) Synchronous control NC device
US6760798B1 (en) Interface mechanism and method for interfacing a real-time clock with a data processing circuit
JPH07168652A (en) Synchronous resetting circuit
US5459764A (en) Clock synchronization system
JP4190217B2 (en) Clock generation apparatus and audio data processing apparatus
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
JP2821091B2 (en) Remote monitoring control device and time synchronization device
US5969550A (en) Method and apparatus for mutual synchronization of ASIC devices
US6885714B1 (en) Independently roving range control
JPH01204169A (en) Bus transfer control system
JP3229993B2 (en) Frame pulse switching circuit
JPH10187275A (en) Clock supply system for bus circuit
JPH05341883A (en) Asynchronizing circuit reset system
JP2002351818A (en) Bus control system
JPS60254939A (en) Phase aligning circuit
JP2671670B2 (en) Microcomputer system bus expansion device
SU842825A1 (en) Device for synchronizing two-processor data-processing system
JP2556169B2 (en) Clock switching circuit
JPS6411980B2 (en)
JP2708061B2 (en) Synchronous circuit device
KR920005877B1 (en) Apparatus and method for synchonizing systems by frame signals
JPS6253530A (en) Control information generating circuit for tdma communication equipment
JPH1168726A (en) Clock changeover circuit