JPH07264218A - Bus matching method and device - Google Patents

Bus matching method and device

Info

Publication number
JPH07264218A
JPH07264218A JP4840194A JP4840194A JPH07264218A JP H07264218 A JPH07264218 A JP H07264218A JP 4840194 A JP4840194 A JP 4840194A JP 4840194 A JP4840194 A JP 4840194A JP H07264218 A JPH07264218 A JP H07264218A
Authority
JP
Japan
Prior art keywords
bus
impedance
connection state
function expansion
value
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.)
Withdrawn
Application number
JP4840194A
Other languages
Japanese (ja)
Inventor
Tetsuya Inoue
哲也 井上
Hiroshi Sakurai
博 桜井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4840194A priority Critical patent/JPH07264218A/en
Publication of JPH07264218A publication Critical patent/JPH07264218A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To match a bus optimizingly by storing in advance a matched impedance for each connection of a function extender and setting an impedance depending on the actual connection state based on the impedance. CONSTITUTION:In the device matching a bus to which plural function extenders 1 are connected, a storage device 7 stores in advance an impedance 2 in matching with a connection state of the function extender possibly connected to the bus. When the function extender 1 is connected to the bus, a detection means 6 detects the connection state and when the storage device 7 stores the connection state of the function extender 1 to be detected, the electric impedance 2 on the bus is set based on the stored impedance 2. When the detected connection state is not stored, data are transferred between the function extenders, transmission reception data are compared to retrieve the matched impedance and to set the impedance based on the result.

Description

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

【0001】[0001]

【産業上の利用分野】パソコン等の情報処理装置におい
て、ユーザによって機能拡張装置が接続可能なバスの整
合装置及び方法に関する。機能拡張装置が接続可能なバ
スにおいて、機能拡張装置が複数接続された場合、機能
拡張装置に対する負荷容量、即ち各機能拡張装置の入出
力容量及びバス容量等の総和が増大し、バス駆動時の立
ち上がり及び立ち下がり時間が大きくなる。また、終端
インピーダンスとバスの配線の特性インピーダンスとの
不整合及び機能拡張装置とバスの配線の特性インピーダ
ンスとの不整合により、信号の反射、波形の歪み、高速
のデータの転送時のデータ化け等の転送エラー、漏洩電
波の増大を引き起こし、高速のデータ転送が不可能であ
った。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus matching device and method capable of connecting a function expansion device by a user in an information processing device such as a personal computer. When a plurality of function expansion devices are connected in a bus to which the function expansion device can be connected, the load capacity to the function expansion device, that is, the sum of the input / output capacity and the bus capacity of each function expansion device increases, and The rise and fall times are longer. Also, due to the mismatch between the terminating impedance and the characteristic impedance of the wiring of the bus and the mismatch between the characteristic impedance of the function expansion device and the wiring of the bus, signal reflection, waveform distortion, garbled data during high speed data transfer, etc. However, it caused an error in transmission and an increase in leaked radio waves, making high-speed data transfer impossible.

【0002】[0002]

【従来の技術】従来では、上記のような弊害を防ぐた
め、設計時に予め、機能拡張装置の接続数、データの転
送速度や転送幅に制限を設け、バス上の電気的インピー
ダンスが最大の状態と最小の状態を設定し、そのどちら
の状態においても整合がとれるように終端インピーダン
スの値を設定していた。
2. Description of the Related Art Conventionally, in order to prevent the above-mentioned harmful effects, the number of function expansion devices connected, the data transfer speed and the transfer width are limited in advance at the time of designing, and the electrical impedance on the bus is at the maximum. And the minimum state was set, and the value of the terminating impedance was set so that matching could be achieved in either state.

【0003】[0003]

【発明が解決しようとする課題】従来技術においては、
接続数、転送速度、転送幅が限られていたため、機能の
追加や高速で大量のデータ転送が困難であった。また、
バス上の電気的インピーダンスが最大時と最小時のみに
おいて、整合がとれるインピーダンスを検索する方法を
用いていたので、適正な整合が行われているとはいえな
かった。
DISCLOSURE OF THE INVENTION In the prior art,
Since the number of connections, transfer speed, and transfer width were limited, it was difficult to add functions and transfer large amounts of data at high speed. Also,
Since a method of searching for a matching impedance was used only when the electrical impedance on the bus was maximum and minimum, it could not be said that proper matching was performed.

【0004】本発明は設計時にバスを整合する際の機能
拡張装置の接続枚数、転送速度、転送幅の制限を解消
し、バスの不整合による影響を最小限に留めることを目
的とする。
It is an object of the present invention to eliminate the restrictions on the number of function expansion devices to be connected, the transfer speed, and the transfer width when matching buses at the time of designing, and to minimize the influence of bus mismatch.

【0005】[0005]

【課題を解決するための手段】図1は本発明の原理フロ
ーチャートを示す図である。バスに接続される可能性の
ある機能拡張装置の接続状態毎に整合のとれるインピー
ダンスの値を記憶しておく。バスに機能拡張装置が接続
されると、その機能拡張装置の接続状態を検出する。
FIG. 1 is a diagram showing a principle flowchart of the present invention. The impedance value that is matched for each connection state of the function expansion device that may be connected to the bus is stored. When the function expansion device is connected to the bus, the connection state of the function expansion device is detected.

【0006】検出した機能拡張装置の接続状態が予め記
憶されていれば、記憶されているインピーダンス値に基
づいてバス上の電気的インピーダンス値を設定する。検
出した機能拡張装置の接続状態が予め記憶されていなけ
れば、機能拡張装置間でデータの転送を行い送信データ
と受信データとを比較しデータの正当性を検証して整合
のとれるインピーダンス値を検索し、検索した結果に基
づいてバス上の電気的インピーダンス値を設定する。
If the detected connection state of the function expansion device is stored in advance, the electrical impedance value on the bus is set based on the stored impedance value. If the detected connection status of the function expansion device is not stored in advance, data is transferred between the function expansion devices, the transmission data and the reception data are compared, the validity of the data is verified, and a matching impedance value is retrieved. Then, the electrical impedance value on the bus is set based on the retrieved result.

【0007】図2は本発明の原理構成を示す図であり、
バスに接続された機能拡張装置1の接続状態毎に、整合
のとれたバス上のインピーダンス2の値を記憶する記憶
装置7と、バスに接続された機能拡張装置1の接続状態
を検出する手段6と、検出した機能拡張装置1の接続状
態が該記憶装置7に記憶されていれば、記憶されている
インピーダンス2の値に基づいてバス上の電気的インピ
ーダンス2の値を設定する手段4を有する。
FIG. 2 is a diagram showing the principle configuration of the present invention.
A storage device 7 that stores the value of the impedance 2 on the matched bus for each connection state of the function expansion device 1 connected to the bus, and means for detecting the connection state of the function expansion device 1 connected to the bus. 6 and the detected connection state of the function expansion device 1 is stored in the storage device 7, a means 4 for setting the value of the electrical impedance 2 on the bus based on the stored value of the impedance 2 is provided. Have.

【0008】[0008]

【作用】即ち、本発明では、予めバスに接続される機能
拡張装置の接続状態毎に複数の整合のとれたインピーダ
ンス値を記憶しておき、実際にバスに接続された機能拡
張装置の接続状態に応じて記憶しておいたインピーダン
ス値に基づいてインピーダンス値を変更可能に設定する
ことにより、それぞれの接続状態に最適なバスの整合が
可能となる。
That is, in the present invention, a plurality of matched impedance values are stored in advance for each connection state of the function expansion device connected to the bus, and the connection state of the function expansion device actually connected to the bus is stored. By setting the impedance value to be changeable based on the impedance value stored in accordance with the above, optimum bus matching for each connection state becomes possible.

【0009】[0009]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図3は本発明の第1の実施例を示す図である。図
4は終端インピーダンスと終端インピーダンス制御部の
構成を示す図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 3 is a diagram showing a first embodiment of the present invention. FIG. 4 is a diagram showing the configuration of the termination impedance and the termination impedance control unit.

【0010】図5は本発明の第2の実施例を示す図であ
る。図6は終端インピーダンスと終端インピーダンス・
A/Dコンバータ制御部の構成を示す図である。図7は
本発明の実施例におけるカードの接続状態を記憶するま
でのフローチャートである。
FIG. 5 is a diagram showing a second embodiment of the present invention. Figure 6 shows termination impedance and termination impedance
It is a figure which shows the structure of an A / D converter control part. FIG. 7 is a flow chart for storing the card connection state in the embodiment of the present invention.

【0011】図8は本発明の第1の実施例のフローチャ
ートである。図9は本発明の第2の実施例のフローチャ
ートである。図10は不揮発性メモリにおけるメモリマ
ップを示す図である。図3及び図5において、2−1〜
2−7は終端インピーダンス(デジタル可変インピーダ
ンス)、8は送信部、9は受信部、7は不揮発性メモ
リ、5−1〜5−3はA/Dコンバータである。
FIG. 8 is a flow chart of the first embodiment of the present invention. FIG. 9 is a flowchart of the second embodiment of the present invention. FIG. 10 is a diagram showing a memory map in the nonvolatile memory. 3 and 5, in FIG.
Reference numeral 2-7 is a terminating impedance (digital variable impedance), 8 is a transmitting unit, 9 is a receiving unit, 7 is a non-volatile memory, and 5-1 to 5-3 are A / D converters.

【0012】本実施例においてはスロットは3−1〜3
−3の3つ設け、機能拡張装置としてCPUカード1−
1、画面制御用カード1−2、ハードディスク用のSC
SIカード1−3の3枚が用意されている。(スロット
数は3つに限らない。また、使用するカードの種類や枚
数は任意でよい。) 図4及び図6において、10はスイッチ制御部である。
終端インピーダンスにはそれぞれ任意の数の抵抗13及
びキャパシタンス14が備えられ、それぞれ並列に接続
されており、スイッチ制御部10が終端インピーダンス
のスイッチ15のオン/オフを制御してインピーダンス
値を決定する。
In this embodiment, the slots are 3-1 to 3
-3, and a CPU card 1 as a function expansion device 1-
1, screen control card 1-2, SC for hard disk
Three SI cards 1-3 are prepared. (The number of slots is not limited to three, and the type and number of cards used may be arbitrary.) In FIGS. 4 and 6, 10 is a switch control unit.
The terminating impedance includes an arbitrary number of resistors 13 and capacitances 14, which are connected in parallel, and the switch control unit 10 controls ON / OFF of the terminating impedance switch 15 to determine the impedance value.

【0013】11は波形値レジスタであり、A/Dコン
バータ5で変換されたデータ波形の任意の時間における
値が記憶される。16は読み出し指示線であり、CPU
8が波形値レジスタ11に波形値の送出指示を伝える線
である。17はデータ線であり、終端インピーダンスの
値や波形値レジスタ11の値を伝送する。
A waveform value register 11 stores the value of the data waveform converted by the A / D converter 5 at an arbitrary time. Reference numeral 16 is a read instruction line, which is a CPU
Reference numeral 8 is a line for transmitting a waveform value transmission instruction to the waveform value register 11. Reference numeral 17 is a data line for transmitting the value of the termination impedance and the value of the waveform value register 11.

【0014】18は書込み指示線であり、CPU6がス
イッチ制御部10へ終端インピーダンスの値の書込み指
示を伝える線である。19はアドレス線であり、終端イ
ンピーダンス2−1〜2−7及びA/Dコンバータ5−
1〜5−3に割り当てられたアドレスを伝送する。20
はアドレスデコーダであり、終端インピーダンス及び波
形値レジスタ11に割り当てられたアドレスを認識する
装置である。
Reference numeral 18 denotes a write instruction line, which is a line for the CPU 6 to transmit a write instruction of the value of the terminating impedance to the switch control unit 10. Reference numeral 19 is an address line, which has termination impedances 2-1 to 2-7 and an A / D converter 5-.
The addresses assigned to 1 to 5-3 are transmitted. 20
Is an address decoder, which is a device for recognizing the address assigned to the termination impedance and waveform value register 11.

【0015】21はスロット専用線であり、各スロット
間を接続するものである。図3と図4と図7を用いて、
本発明の実施例におけるカードの接続状態を記憶するま
でについて説明する。尚、カードの接続状態を記憶する
までは第1の実施例と第2の実施例に共通の事項であ
る。また101〜113はそれぞれ図7における101
〜113の処理に対応する。 101:スロット3−1〜3−3のいずれか1つのスロ
ットに、アドインカードの1つであるCPUカード1−
1を挿入する。図3においてはスロット3−3に挿入し
てある。そして、残りのスロット(スロット3−1、ス
ロット3−2)へ残ったアドインカードの挿入組合せを
行う。図3ではスロット3−1に画面制御用カード1−
2、スロット3−3にSCSIカード1−2を挿入して
いる。(少なくともCPUカード1−1だけがいずれか
のスロットに挿入されていればよく、空いているスロッ
トがある状態も設定できる。) 102:CPUカード1−1内のCPU6がデータ転送
区間を決定し、該当するカードに転送指示を送る。 103:指示されたカード間でデータ転送を行う。 104:カードの送信部8及び受信部9における波形を
観測する。また、この時、アドインカード未挿入のスロ
ットがあれば、そのスロットにおける波形は観測しなく
てよい。 105:波形から整合がとれているかどうか判断する。
整合されていないと判断したら106の処理を、整合し
ていれば110の処理を行う。 106:CPU6は終端インピーダンス2−1〜2−7
の設定値を検討する。 107:終端インピーダンス2−1〜2−7の設定情報
を終端インピーダンス制御部4へ送る。 108:スイッチ制御部10ではCPU6が設定したイ
ンピーダンス値になるように終端インピーダンス2−1
〜2−7のスイッチ15のオン/オフを制御する。 109:終端インピーダンス2−1〜2−7に値が設定
される。 110:現在のインピーダンス値が他の全ての区間にお
けるデータ転送についても整合をとることが確認されて
いれば処理111を、未確認の区間があれば処理102
を行う。 111:CPUがスロット3−1〜3−3及び終端イン
ピーダンス制御部4にアクセスし、装着されているカー
ドのIDと終端インピーダンス2−1〜2−7の値を読
込む。 112:カードのIDと終端インピーダンス2−1〜2
−7の値を不揮発性メモリ7に記憶する。
Reference numeral 21 is a slot-dedicated line, which connects between the slots. Using FIG. 3, FIG. 4 and FIG.
The process of storing the card connection state in the embodiment of the present invention will be described. It is to be noted that the matters up to storing the card connection state are common to the first and second embodiments. Further, 101 to 113 are 101 in FIG. 7, respectively.
Corresponding to the processing of ~ 113. 101: A CPU card 1 which is one of the add-in cards in one of the slots 3-1 to 3-3
Insert 1. In FIG. 3, it is inserted in the slot 3-3. Then, the remaining add-in cards are inserted and combined into the remaining slots (slot 3-1 and slot 3-2). In FIG. 3, the screen control card 1 is placed in the slot 3-1.
2, the SCSI card 1-2 is inserted into the slot 3-3. (At least only the CPU card 1-1 needs to be inserted into any of the slots, and it is possible to set a state in which there is an empty slot.) 102: The CPU 6 in the CPU card 1-1 determines the data transfer section. , Send a transfer instruction to the corresponding card. 103: Data is transferred between the designated cards. 104: Observe waveforms in the transmitting unit 8 and the receiving unit 9 of the card. At this time, if there is a slot in which the add-in card is not inserted, the waveform in that slot does not have to be observed. 105: Judge whether or not the waveform is matched.
If it is determined that they are not matched, the process of 106 is performed, and if they are matched, the process of 110 is performed. 106: CPU 6 has terminal impedances 2-1 to 2-7
Consider the setting value of. 107: Send the setting information of the termination impedances 2-1 to 2-7 to the termination impedance control unit 4. 108: In the switch control unit 10, the terminating impedance 2-1 is adjusted so that the impedance value set by the CPU 6 is obtained.
The on / off of the switch 15 of 2-7 is controlled. 109: Values are set to the termination impedances 2-1 to 2-7. 110: Process 111 is performed if it is confirmed that the current impedance value is consistent with data transfer in all other regions, and process 102 is performed if there is an unconfirmed region.
I do. 111: The CPU accesses the slots 3-1 to 3-3 and the termination impedance control unit 4, and reads the ID of the mounted card and the values of the termination impedances 2-1 to 2-7. 112: Card ID and termination impedance 2-1 to 2
The value of −7 is stored in the nonvolatile memory 7.

【0016】不揮発性メモリ7には図10のように、ス
ロット3−1〜3−3に格納されるカードの種類と終端
インピーダンス2−1〜2−7の値が対応する形式で格
納される。 113:カードと挿入先スロットの全ての組合せについ
て整合のとれる終端インピーダンス値を検索したら完
了、未検索の組合せがあれば、処理101へ戻る。
As shown in FIG. 10, the nonvolatile memory 7 stores the types of cards stored in the slots 3-1 to 3-3 and the values of the termination impedances 2-1 to 2-7 in a corresponding format. . 113: Completed after searching for matching terminating impedance values for all combinations of card and insertion destination slot. If there are unsearched combinations, the process returns to step 101.

【0017】以上のようにしてスロットに接続されるカ
ードの組合わせ別に整合がとれるインピーダンス値が記
憶される。次に、図3と図4と図8を用いて本発明の第
1の実施例について説明する。201〜229はそれぞ
れ図8における201〜229の処理に対応する。 201:電源投入時、ソフトウェアの指示に従って、C
PUカード1─1のCPU8がスロット専用線21を使
って3−1〜3−3にアクセスし、装着されているカー
ドのIDを送出するように指令を出す。 202:CPU8に各カードからIDが送られてくるこ
とで、CPU8はスロット3−1〜3−3に挿入された
カードの種類や接続位置を検出することができる。 203:CPUカード1−1上の不揮発性メモリ7を参
照し、読み取ったスロットとカードのIDの組合に対応
する終端インピーダンス2−1から2−7の値が記憶さ
れているか確認する。 204:記憶されていれば処理205を、記憶されてい
なければ処理209を行う。 205:終端インピーダンス2−1から2−7の値を不
揮発性メモリ7から読込む。 206:読込んだ値を終端インピーダンス制御部4へ送
出する。 207:スイッチ制御部10にて、終端インピーダンス
2−1〜2−7の値が送出されてきた値になるようにス
イッチ15のオン/オフ制御を行う。 208:終端インピーダンス2−1〜2−7の値が設定
され使用可能状態となる。 209:CPUカード1−1内のCPUがデータ転送区
間を決定し、該当するカードに転送指示を送る。 210:指示されたカード間でデータ転送を行う。 211:送信側のスロットの送信部8における送信デー
タと受信側のスロットの受信部9における受信データを
CPU6に送る。 212:CPU6で2つのデータのコンペア処理を行
う。 213:データコンペアエラーが発生した場合は処理2
14を、発生しなかった場合は処理221を行う。 214:コンペアエラーが発生したら、CPU6は終端
インピーダンス2−1〜2−7の値を変更する必要があ
り、設定値を検討する。 215:設定値には許容範囲があり、処理214にて検
討した設定値が許容範囲内に収まっているかどうか調
べ、許容範囲内であれば処理216を、許容範囲を外れ
ていれば処理219を行う。 216:CPU6は終端インピーダンス2−1〜2−7
の値の設定情報を終端インピーダンス制御部4へ送る。 217:終端インピーダンス制御部4内のスイッチ制御
部9ではCPU8が設定した値になるように終端インピ
ーダンス2−1〜2−7内のスイッチ15のオン/オフ
を制御する。 218:終端インピーダンス2−1〜2−7の値が設定
され、209へ戻る。 219:処理215においてCPU8が許容範囲内に適
当な設定値がないと判断した場合、転送速度を落とすよ
うにカードに指示を与える。 220:転送速度が遅くなり、処理209へ戻る。 221:現在設定されているインピーダンス値が、他の
区間におけるデータ転送時でも、コンペアエラーを発生
させないことが確認済であれば処理222へ、未確認の
区間があれば処理209を行う。 222:終端インピーダンス2−1〜2−7の値とスロ
ット3−1〜3−3に装着してあるカードのIDを読み
込む。 223:読み込んだデータと転送速度を不揮発性メモリ
7に記憶する。 224:設定情報に転送速度の制約がある場合は処理2
25を行い、なければ設定が完了する。 225:設定情報に転送速度の制約があるスロット間情
報とカードの挿入先スロットの位置の変更を依頼するメ
ッセージを表示する。 226:処理終了か継続かを問う。継続の場合は処理2
27を、終了の場合は処理228を行う。 227:スロット情報と警告をCRT21に表示し、使
用可能状態229となる。 228:スロット情報と最大転送速度をCRT21に表
示して以後の処理を中止する。
As described above, the impedance value that can be matched for each combination of the cards connected to the slots is stored. Next, a first embodiment of the present invention will be described with reference to FIGS. 3, 4, and 8. 201 to 229 respectively correspond to the processing of 201 to 229 in FIG. 201: When the power is turned on, C according to the software instruction
The CPU 8 of the PU card 1-1 uses the slot-dedicated line 21 to access 3-1 to 3-3 and issues a command to send out the ID of the installed card. 202: By sending the ID from each card to the CPU 8, the CPU 8 can detect the type and connection position of the card inserted in the slots 3-1 to 3-3. 203: The nonvolatile memory 7 on the CPU card 1-1 is referred to, and it is confirmed whether the values of the termination impedances 2-1 to 2-7 corresponding to the combination of the read slot and the ID of the card are stored. 204: If it is stored, the process 205 is performed, and if not stored, the process 209 is performed. 205: Read the values of the termination impedances 2-1 to 2-7 from the nonvolatile memory 7. 206: Send the read value to the termination impedance control unit 4. 207: The switch control unit 10 performs on / off control of the switch 15 so that the values of the termination impedances 2-1 to 2-7 become the sent values. 208: The values of the terminating impedances 2-1 to 2-7 are set and the state becomes usable. 209: The CPU in the CPU card 1-1 determines the data transfer section and sends a transfer instruction to the corresponding card. 210: Perform data transfer between designated cards. 211: Sends the transmission data in the transmission unit 8 of the transmission side slot and the reception data in the reception unit 9 of the reception side slot to the CPU 6. 212: The CPU 6 performs a compare process of two data. 213: Process 2 when a data compare error occurs
14 is performed, and if not generated, processing 221 is performed. 214: When a compare error occurs, the CPU 6 needs to change the values of the termination impedances 2-1 to 2-7, and considers the set values. 215: The set value has an allowable range, and it is checked whether the set value examined in the process 214 is within the allowable range. If it is within the allowable range, the process 216 is performed. If it is outside the allowable range, the process 219 is performed. To do. 216: CPU 6 has terminal impedances 2-1 to 2-7
The setting information of the value of is sent to the termination impedance control unit 4. 217: The switch control unit 9 in the terminating impedance control unit 4 controls on / off of the switches 15 in the terminating impedances 2-1 to 2-7 so that the value is set by the CPU 8. 218: The values of the termination impedances 2-1 to 2-7 are set, and the process returns to 209. 219: When the CPU 8 in the process 215 determines that there is no appropriate set value within the allowable range, it gives an instruction to the card to reduce the transfer speed. 220: The transfer speed slows down, and the process returns to the process 209. 221: If it is confirmed that the currently set impedance value does not cause a compare error even during data transfer in another section, the processing goes to processing 222, and if there is an unconfirmed area, processing 209 is performed. 222: The values of the termination impedances 2-1 to 2-7 and the IDs of the cards mounted in the slots 3-1 to 3-3 are read. 223: Store the read data and transfer rate in the non-volatile memory 7. 224: Process 2 when transfer speed is restricted in the setting information
25, and if not, the setting is completed. 225: A message for requesting a change in the slot information in which the transfer speed is restricted in the setting information and the position of the slot into which the card is inserted is displayed. 226: Inquire whether the processing is completed or continued. Process 2 if continued
27, and in the case of termination, processing 228 is performed. 227: The slot information and the warning are displayed on the CRT 21, and the usable state 229 is set. 228: The slot information and the maximum transfer rate are displayed on the CRT 21, and the subsequent processing is stopped.

【0018】最後に、図5と図6と図9を用いて、本発
明の第2の実施例について説明する。301〜329の
手順はそれぞれ図9における301〜329の処理に対
応する。 301:電源投入後、CPUカード1−1のCPU6が
スロット専用線を使ってスロット3−1〜3−3にアク
セスし、装着されているカードのIDを送出するように
指令を出す。 302:CPU8に各カードからIDが送られてくるこ
とで、CPU8はスロット3−1〜3−3に挿入された
カードの種類や接続位置を検出することができる。 303:CPUカード1−1上の不揮発性メモリ7を参
照し、読み取ったスロットとカードのIDの組合に対応
する終端インピーダンス2−1〜2−7の値が記憶され
ているか確認する。 304:記憶されていれば処理305を、記憶されてい
なければ処理309を行う。 305:終端インピーダンス2−1〜2−7の値を不揮
発性メモリ7から読込む。 306:読込んだ値を終端インピーダンス制御部4へ送
出する。 307:スイッチ制御部10にて、終端インピーダンス
2−1〜2−7の値が送出されてきた値になるように各
スイッチのオン/オフ制御を行う。 308:終端インピーダンス2−1〜2−7の値が設定
され使用可能状態となる。 309:処理304で記憶されていなかった場合は、C
PU6がデータ転送区間を決定し、該当するカードに転
送指示を送る。 310:指示されたカード間でデータ転送を行う。 311:送信側のスロットの送信部8における送信デー
タと受信側のスロットの受信部9における受信データを
A/Dコンバータで変換する。 312:変換されたデータ波形のある時間における値が
波形値レジスタ13に記憶する。 313:CPU6が波形値レジスタ13にアクセスし、
手順312で記憶した値を読み込む。 314:読み込んだ値が、予め設定した許容範囲内に収
まっているか調べる。 315:許容範囲から外れていれば、波形の歪み、オー
バーシュート/アンダーシュート等で整合がとれていな
いと判断し処理316へ、許容範囲内であれば処理32
1を行う。 316:終端インピーダンス2−1〜2−7の値を変更
する必要があるので、CPUは設定値を検討する。 317:検討の結果、設定値を変更しても整合がとれる
見込みはないと判断した場合は手順321の処理を行
う。見込みがあると判断した場合は手順318の処理を
行う。 318:CPU6は検討した設定値を終端インピーダン
ス・A/Dコンバータ制御部4’へ送る。 319:終端インピーダンス・A/Dコンバータ4’内
のスイッチ制御部10では、CPU6から送られてきた
設定値になるように、終端インピーダンス2─1〜2─
7内のスイッチ15のオン/オフを制御する。 320:終端インピーダンス2─1〜2─7の値が設定
され、手順309へ戻る。 321:現在設定されているインピーダンス値が、他の
区間におけるデータ転送時でも整合がとれるかどうか確
認していれば手順320へ、未確認の区間があれば手順
303を行う。 322:スロット3−1〜3−3及び終端インピーダン
ス・A/Dコンバータ制御部4’へアクセスし、装着し
てあるカードのIDと終端インピーダンス2−1〜2−
7の値を読み込む。 323:読み込んだデータを不揮発性メモリ7に記憶す
る。 324:送受信データの波形に異常がある区間がある場
合は処理325を行い、なければ設定が完了する。 325:送受信波形に異常が発生するスロット間情報と
カードの挿入先スロットの位置の変更を依頼するメッセ
ージを表示する。 326:処理終了か継続かを問う。継続の場合は処理3
27を、終了の場合は処理328を行う。 327:スロット情報と警告をCRT21に表示し、使
用可能状態329となる。 328:スロット情報及び波形情報をCRT21に表示
して以後の処理を中止する。
Finally, a second embodiment of the present invention will be described with reference to FIGS. 5, 6, and 9. The procedures of 301 to 329 correspond to the processing of 301 to 329 in FIG. 9, respectively. 301: After the power is turned on, the CPU 6 of the CPU card 1-1 accesses the slots 3-1 to 3-3 using the slot dedicated line and issues a command to send the ID of the inserted card. 302: By sending an ID from each card to the CPU 8, the CPU 8 can detect the type and connection position of the card inserted in the slots 3-1 to 3-3. 303: The non-volatile memory 7 on the CPU card 1-1 is referred to, and it is confirmed whether the values of the termination impedances 2-1 to 2-7 corresponding to the combination of the read slot and the card ID are stored. 304: If it is stored, process 305 is performed, and if not stored, process 309 is performed. 305: Read the values of the termination impedances 2-1 to 2-7 from the nonvolatile memory 7. 306: Send the read value to the termination impedance control unit 4. 307: The switch control unit 10 performs on / off control of each switch so that the values of the termination impedances 2-1 to 2-7 become the sent values. 308: The values of the termination impedances 2-1 to 2-7 are set and the state becomes usable. 309: C if not stored in the process 304
The PU 6 determines the data transfer section and sends a transfer instruction to the corresponding card. 310: Perform data transfer between designated cards. 311: The transmission data in the transmission unit 8 of the transmission side slot and the reception data in the reception unit 9 of the reception side slot are converted by the A / D converter. 312: The value of the converted data waveform at a certain time is stored in the waveform value register 13. 313: CPU 6 accesses the waveform value register 13,
The value stored in step 312 is read. 314: Check whether the read value is within the preset allowable range. 315: If it is out of the allowable range, it is determined that the matching is not achieved due to waveform distortion, overshoot / undershoot, etc., and the process proceeds to step 316.
Do 1. 316: Since it is necessary to change the values of the termination impedances 2-1 to 2-7, the CPU considers the set values. 317: As a result of the examination, if it is determined that there is no possibility of achieving consistency even if the setting value is changed, the process of step 321 is performed. When it is determined that there is a possibility, the process of step 318 is performed. 318: The CPU 6 sends the studied set value to the terminating impedance / A / D converter control unit 4 ′. 319: Termination impedance: In the switch control unit 10 in the A / D converter 4 ′, the termination impedances 2-1 to 2− are set so that the set value sent from the CPU 6 is reached.
The on / off of the switch 15 in 7 is controlled. 320: The values of the termination impedances 2-1 to 2-7 are set, and the process returns to step 309. 321: If it is confirmed whether or not the impedance value that is currently set can be matched even during data transfer in another section, go to step 320, and if there is an unconfirmed section, go to step 303. 322: Access to the slots 3-1 to 3-3 and the termination impedance / A / D converter control unit 4 ′, and the ID of the installed card and the termination impedances 2-1 to 2-
Read the value of 7. 323: Store the read data in the nonvolatile memory 7. 324: If there is a section in which the waveform of the transmitted / received data is abnormal, process 325 is performed. If not, the setting is completed. 325: Display information between slots in which an abnormality occurs in the transmission / reception waveform and a message requesting change of the position of the slot into which the card is inserted 326: Inquire whether the processing is completed or continued. In case of continuation, process 3
27, and if completed, process 328 is performed. 327: The slot information and the warning are displayed on the CRT 21, and the available state 329 is set. 328: The slot information and the waveform information are displayed on the CRT 21 and the subsequent processing is stopped.

【0019】[0019]

【発明の効果】機能拡張装置の負荷的変動があっても、
外部からの可変終端の形で整合がとれるため、機能拡張
装置が複数枚接続された場合でも、信号の反射の影響を
最小限に留めることができ、歪みの無い信号が得られ
る。また、高速のデータ転送時における波形歪み、クロ
ストーク、データ化け、漏洩電波等を抑えることが出来
る。
[Effect of the Invention] Even if there is a load fluctuation of the function expansion device
Since matching is achieved in the form of a variable termination from the outside, the influence of signal reflection can be minimized even when a plurality of function expansion devices are connected, and a signal without distortion can be obtained. Further, it is possible to suppress waveform distortion, crosstalk, garbled data, leaked radio waves, etc. during high-speed data transfer.

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

【図1】本発明の原理フローチャートを示す図である。FIG. 1 is a diagram showing a principle flowchart of the present invention.

【図2】本発明の原理構成を示す図である。FIG. 2 is a diagram showing a principle configuration of the present invention.

【図3】本発明の第1の実施例を示す図である。FIG. 3 is a diagram showing a first embodiment of the present invention.

【図4】終端インピーダンスと終端インピーダンス制御
部の構成を示す図である。
FIG. 4 is a diagram showing a configuration of a terminating impedance and a terminating impedance control unit.

【図5】本発明の第2の実施例を示す図である。FIG. 5 is a diagram showing a second embodiment of the present invention.

【図6】終端インピーダンスと終端インピーダンス・A
/Dコンバータ制御部の構成を示す図である。
[Fig. 6] Termination impedance and termination impedance A
It is a figure which shows the structure of a / D converter control part.

【図7】本発明の実施例におけるカードの接続状態を記
憶するまでのフローチャートである。
FIG. 7 is a flowchart for storing a card connection state according to the embodiment of the present invention.

【図8】本発明の第1の実施例のフローチャートであ
る。
FIG. 8 is a flowchart of the first embodiment of the present invention.

【図9】本発明の第2の実施例のフローチャートであ
る。
FIG. 9 is a flowchart of a second embodiment of the present invention.

【図10】不揮発性メモリにおけるメモリマップを示す
図である。
FIG. 10 is a diagram showing a memory map in a nonvolatile memory.

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

1・・・機能拡張装置 2・・・終端インピーダンス。 3・・・スロット 4,4’・・・終端インピーダンス制御部 5・・・A/Dコンバータ 6・・・CPU 7・・・不揮発性メモリ 8・・・送信部 9・・・受信部 10・・・スイッチ制御部 11・・・波形値レジスタ 12・・・ディスプレイ 13・・・抵抗 14・・・コンデンサ 15・・・スイッチ 16・・・読出線 17・・・データ線 18・・・書き込み線 19・・・アドレス線 20・・・アドレスデコーダ 21・・・スロット専用線 1 ... Function expansion device 2 ... Termination impedance. 3 ... Slot 4, 4 '... Termination impedance control unit 5 ... A / D converter 6 ... CPU 7 ... Non-volatile memory 8 ... Transmission unit 9 ... Reception unit 10. ..Switch control unit 11 ... Waveform value register 12 ... Display 13 ... Resistance 14 ... Capacitor 15 ... Switch 16 ... Read line 17 ... Data line 18 ... Write line 19 ... Address line 20 ... Address decoder 21 ... Slot dedicated line

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数の機能拡張装置が接続可能なバスの整
合方法において、 機能拡張装置の接続状態毎に、整合のとれた時のバス上
のインピーダンス値を予め記憶し、 バスに接続された機能拡張装置の接続状態を検出し、 検出した機能拡張装置の接続状態が予め記憶されていれ
ば、記憶されているインピーダンス値に基づいてバス上
の電気的インピーダンス値を設定することを特徴とする
バス整合方法。
1. A bus matching method to which a plurality of function expansion devices can be connected, wherein impedance values on the bus at the time of matching are stored in advance for each connection state of the function expansion devices, and the function expansion devices are connected to the bus. The connection state of the function expansion device is detected, and if the detected connection state of the function expansion device is stored in advance, the electrical impedance value on the bus is set based on the stored impedance value. Bus matching method.
【請求項2】請求項1において、検出した機能拡張装置
の接続状態が予め記憶されていなければ、機能拡張装置
間でデータ転送を行い送信データと受信データとを比較
してデータの正当性を検証することで、整合のとれるイ
ンピーダンス値を検索し、 検索した結果に基づいて整合のとれたバス上の電気的イ
ンピーダンス値を設定することを特徴とするバス整合方
法。
2. If the detected connection state of the function expanding device is not stored in advance in claim 1, data transfer is performed between the function expanding devices and the transmitted data and the received data are compared to verify the validity of the data. A bus matching method characterized in that a matching impedance value is searched for by verification, and an electric impedance value on the matched bus is set based on the searched result.
【請求項3】前記送信データと受信データの正当性を検
証する時にデータの波形から検証することを特徴とする
請求項2に記載のバス整合方法。
3. The bus matching method according to claim 2, wherein when verifying the legitimacy of the transmission data and the reception data, verification is performed from the waveform of the data.
【請求項4】複数の機能拡張装置が接続されるバスの整
合を行うバス整合装置において、 バスに接続された機能拡張装置(1)の接続状態毎に、
整合のとれたバス上のインピーダンス(2)の値を記憶
する記憶装置(7)と、 バスに接続された機能拡張装置(1)の接続状態を検出
する手段(6)と、 検出した機能拡張装置(1)の接続状態が該記憶装置
(7)に記憶されていれば、記憶されているインピーダ
ンス(2)の値に基づいてバス上の電気的インピーダン
ス(2)の値を設定する手段(4)とを有することを特
徴とするバス整合装置。
4. A bus matching device for matching a bus to which a plurality of function expansion devices are connected, wherein each function expansion device (1) connected to the bus has a connection state.
A storage device (7) for storing the value of the impedance (2) on the matched bus, a means (6) for detecting the connection state of the function expansion device (1) connected to the bus, and the detected function expansion. If the connection state of the device (1) is stored in the storage device (7), means for setting the value of the electrical impedance (2) on the bus based on the stored value of the impedance (2) ( 4) A bus matching device comprising:
JP4840194A 1994-03-18 1994-03-18 Bus matching method and device Withdrawn JPH07264218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4840194A JPH07264218A (en) 1994-03-18 1994-03-18 Bus matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4840194A JPH07264218A (en) 1994-03-18 1994-03-18 Bus matching method and device

Publications (1)

Publication Number Publication Date
JPH07264218A true JPH07264218A (en) 1995-10-13

Family

ID=12802292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4840194A Withdrawn JPH07264218A (en) 1994-03-18 1994-03-18 Bus matching method and device

Country Status (1)

Country Link
JP (1) JPH07264218A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009135644A (en) * 2007-11-29 2009-06-18 Elpida Memory Inc Signal transmission circuit and its method for adjusting characteristics, memory module, and method for producing circuit board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009135644A (en) * 2007-11-29 2009-06-18 Elpida Memory Inc Signal transmission circuit and its method for adjusting characteristics, memory module, and method for producing circuit board

Similar Documents

Publication Publication Date Title
US7058748B1 (en) ATA device control via a packet-based interface
US5649128A (en) Multiple bus interface adapter for connection to a plurality of computer bus architectures
US6233635B1 (en) Diagnostic/control system using a multi-level I2C bus
US10437772B2 (en) Addressing of slave devices on a single wire communications bus through register map address selection
JP3583931B2 (en) Apparatus, method, and computer-readable medium recording computer program for controlling access to a target device via a bus
US6779052B2 (en) Electronic apparatus, system and method for controlling communication among devices coupled through different interfaces
US4710893A (en) High speed instrument bus
US20030101309A1 (en) Memory access interface for a micro-controller system with address/data multiplexing bus
EP0525736B1 (en) Data storing system for a communication control circuit
JPH07264218A (en) Bus matching method and device
US6418479B1 (en) I/O pass through for a distributed computer system
US6466472B1 (en) Common module for DDR SDRAM and SDRAM
US7085939B2 (en) Method and apparatus for supplying power to a bus-controlled component of a computer
CN106815163A (en) Have the System on Chip/SoC and its PCI-E root port controllers of warm connection function
US6766383B1 (en) Packet-based direct memory access
CN113177014A (en) Serial port communication method based on inspection mode and serial port chip
US20050138236A1 (en) Direct memory access control device and method for automatically updating data transmisson size from peripheral
US6598111B1 (en) Backplane physical layer controller
US20050256990A1 (en) Integrated circuit having processor and bridging capabilities
WO1994016382A1 (en) Expansion bus
US6457083B1 (en) Communication on non-continuously sampled lines
CN116756078B (en) Notification method and device of pcie data packet and storage medium
US6487625B1 (en) Circuit and method for achieving hold time compatability between data-source devices coupled to a data-requesting device through a data bus
US7032054B1 (en) Method and apparatus for increasing the device count on a single ATA bus
KR100453827B1 (en) Apparatus for communicating between processors and method of the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010605