JPH09114562A - Interface cable in computer system - Google Patents

Interface cable in computer system

Info

Publication number
JPH09114562A
JPH09114562A JP26986895A JP26986895A JPH09114562A JP H09114562 A JPH09114562 A JP H09114562A JP 26986895 A JP26986895 A JP 26986895A JP 26986895 A JP26986895 A JP 26986895A JP H09114562 A JPH09114562 A JP H09114562A
Authority
JP
Japan
Prior art keywords
selection
signal
main body
circuit
computer main
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.)
Granted
Application number
JP26986895A
Other languages
Japanese (ja)
Other versions
JP3700065B2 (en
Inventor
Shinji Ushigami
伸治 牛上
Jun Yamamoto
潤 山本
Masaaki Hara
正明 原
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.)
I O DATA KIKI KK
Original Assignee
I O DATA KIKI KK
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 I O DATA KIKI KK filed Critical I O DATA KIKI KK
Priority to JP26986895A priority Critical patent/JP3700065B2/en
Publication of JPH09114562A publication Critical patent/JPH09114562A/en
Application granted granted Critical
Publication of JP3700065B2 publication Critical patent/JP3700065B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To uniformly set all the peripheral equipments to a master by detect- storing a selection instruction from a computer main body, transmitting a chip select signal from the computer main body to a selected peripheral equipment and transmitting an interruption request signal from the peripheral equipment to the computer main body. SOLUTION: In accordance with the contents of the selection instruction stored by a storing circuit 22, a selection signal preparing circuit 23 prepares a selection signal S2. When the selection signal S2 specifies a peripheral equipment D1, e.g. a selection circuit 24 transmits the chip select signal S3 from the computer main body C to the peripheral equipment D1 as a chip select signal S31 and transmits the interruption request signal S41 from the peripheral equipment to the computer main body C as an interruption request signal S4. In addition when the selection signal S2 specifies a peripheral equipment D2, a selection circuit 24 transmits the chip select signal S3 from the computer main body C to the peripheral equipment D2 as a signal S32 and to the computer C as the interruption signal S4.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、コンピュータシ
ステム、殊に小形のパーソナルコンピュータシステムに
おいて、単一の入出力ポートに複数の周辺機器を共用し
て接続する場合に、周辺機器の選択を簡単に切替制御す
ることができるコンピュータシステムにおけるインタフ
ェイスケーブルに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system, particularly a small personal computer system, which facilitates selection of peripheral devices when a plurality of peripheral devices are commonly connected to a single input / output port. The present invention relates to an interface cable in a computer system capable of switching control.

【0002】[0002]

【従来の技術】パーソナルコンピュータを含む小形のコ
ンピュータシステムにおいて、単一の入出力ポートに複
数の周辺機器を接続し、特定の1台を選択して使用する
場合があり、かかる場合のインタフェイスとして、たと
えばIDEインタフェイスが知られている。
2. Description of the Related Art In a small computer system including a personal computer, a plurality of peripheral devices may be connected to a single input / output port and a specific one may be selected and used. , For example IDE interfaces are known.

【0003】このものは、40ピンのコネクタを使用
し、単一の入出力ポートに対して2台の周辺機器を接続
することができ、各周辺機器は、互いにマスタ、スレー
ブの関係に設定されている。すなわち、各周辺機器に
は、設定スイッチが内蔵されており、一方をマスタに設
定し、他方をスレーブに設定することにより、各周辺機
器は、コンピュータ本体側から個別にアクセスすること
ができる。なお、周辺機器を1台のみしか接続しない場
合は、これをマスタに設定しなければならない。電源投
入に際し、各周辺機器は、リセット信号に対応して自己
診断を実行するが、このときの診断結果は、マスタがス
レーブの存在を確認した上、マスタを介してコンピュー
タ本体側に伝送するようになっているからである。
This device uses a 40-pin connector and can connect two peripheral devices to a single input / output port. Each peripheral device is set in a master / slave relationship with each other. ing. That is, each peripheral device has a built-in setting switch, and by setting one as a master and the other as a slave, each peripheral device can be individually accessed from the computer main body side. If only one peripheral device is connected, this must be set as the master. When the power is turned on, each peripheral device executes self-diagnosis in response to the reset signal, and the diagnosis result at this time is transmitted to the computer main body side through the master after confirming the existence of the slave. Because it is.

【0004】[0004]

【発明が解決しようとする課題】かかる従来技術による
ときは、電源投入とともにコンピュータ本体側から起動
する周辺機器は、マスタ側に固定されているから、これ
をスレーブ側に変更するとすれば、周辺機器内の設定ス
イッチを設定し直す必要があり、設定操作が極めて厄介
であるという問題が避けられない。また、このとき、双
方の周辺機器をマスタまたはスレーブに誤設定すると、
入出力データの衝突が生じ、致命的なデータ破壊事故を
生じるおそれがある。
In the prior art, since the peripheral device which is started from the computer main body when the power is turned on is fixed to the master side, if it is changed to the slave side, the peripheral device is changed. It is necessary to reset the setting switch inside, and the problem that the setting operation is extremely troublesome is inevitable. Also, at this time, if both peripheral devices are mistakenly set as master or slave,
Input and output data may collide, resulting in a fatal data destruction accident.

【0005】そこで、この発明の目的は、かかる従来技
術の問題に鑑み、インタフェイスケーブルのコネクタ間
に簡単な制御回路を介装することによって、すべての周
辺機器を一律にマスタに設定することができ、したがっ
て、厄介な設定操作が不要であるばかりでなく、誤設定
によるデータ破壊事故のおそれが全くないコンピュータ
システムにおけるインタフェイスケーブルを提供するこ
とにある。
Therefore, in view of the problems of the prior art, an object of the present invention is to uniformly set all peripheral devices as masters by interposing a simple control circuit between the connectors of the interface cable. Therefore, it is an object of the present invention to provide an interface cable in a computer system that not only does not require a troublesome setting operation but also has no risk of a data destruction accident due to an erroneous setting.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
めのこの発明の構成は、コンピュータ本体に接続する本
体側のコネクタと、複数の周辺機器のそれぞれに接続す
る機器側のコネクタと、コネクタ間に介装する制御回路
とからなり、制御回路は、コンピュータ本体からの選択
命令を検出記憶し、選択された周辺機器に対してコンピ
ュータ本体からのチップセレクト信号を伝送し、選択さ
れた周辺機器からの割込要求信号をコンピュータ本体に
伝送することをその要旨とする。
SUMMARY OF THE INVENTION To achieve the above object, the structure of the present invention comprises a main body side connector connected to a computer main body, a device side connector connected to each of a plurality of peripheral devices, and an inter-connector connector. The control circuit detects and stores a selection command from the computer main body, transmits a chip select signal from the computer main body to the selected peripheral device, and transmits the chip select signal from the selected peripheral device. The main point is to transmit the interrupt request signal to the computer main body.

【0007】なお、制御回路は、選択信号作成回路を備
え、選択信号作成回路は、記憶された選択命令の内容に
従い、チップセレクト信号の伝送先、割込要求信号の入
力先を選択する選択回路を制御することができ、選択信
号作成回路には、手動の選択スイッチを付設することが
できる。
The control circuit includes a selection signal generation circuit, and the selection signal generation circuit selects the transmission destination of the chip selection signal and the input destination of the interrupt request signal according to the contents of the stored selection command. Can be controlled, and a manual selection switch can be attached to the selection signal generating circuit.

【0008】また、制御回路は、データバス制御回路を
備え、データバス制御回路は、記憶された選択命令の内
容に従い、データバスの特定ビットの内容を制御するこ
とができる。
Further, the control circuit includes a data bus control circuit, and the data bus control circuit can control the content of a specific bit of the data bus according to the content of the stored selection instruction.

【0009】[0009]

【作用】かかる発明の構成によるときは、制御回路は、
コンピュータ本体からの選択命令を検出記憶し、選択さ
れた周辺機器に対してチップセレクト信号を伝送し、選
択された周辺機器からの割込要求信号を伝送することに
よって、任意の周辺機器を実質的にコンピュータ本体に
接続し、コンピュータ本体側から制御可能な状態に選択
させることができる。すなわち、各周辺機器は、内蔵の
設定スイッチが一律にマスタ側に設定されていても、コ
ンピュータ本体側から任意のものを選択して作動させる
ことができる。
According to the structure of the invention, the control circuit is
By detecting and storing a selection command from the computer main unit, transmitting a chip select signal to the selected peripheral device, and transmitting an interrupt request signal from the selected peripheral device It can be connected to the computer main body and can be selected to be controllable from the computer main body side. That is, even if the built-in setting switch is uniformly set to the master side, each peripheral device can be operated by selecting any one from the computer main body side.

【0010】制御回路が選択信号作成回路を備えるとき
は、選択信号作成回路は、選択回路を介してチップセレ
クト信号の伝送先、割込要求信号の入力先を選択するこ
とにより、所定の周辺機器を選択して作動させることが
できる。
When the control circuit includes a selection signal generating circuit, the selection signal generating circuit selects a transmission destination of the chip select signal and an input destination of the interrupt request signal via the selection circuit, thereby providing a predetermined peripheral device. Can be selected and activated.

【0011】選択信号作成回路に手動の選択スイッチを
付設すれば、選択スイッチを操作することにより、選択
信号作成回路の作動内容を切り替えることができるか
ら、選択スイッチは、コンピュータ本体側からの選択命
令の内容を修正し、選択命令によって実際に選択される
周辺機器を任意に変更することが可能である。
If a manual selection switch is attached to the selection signal generating circuit, the operation contents of the selection signal generating circuit can be switched by operating the selection switch. Therefore, the selection switch is a selection command from the computer main body side. It is possible to modify the contents of and to arbitrarily change the peripheral device actually selected by the selection command.

【0012】制御回路にデータバス制御回路を設けると
きは、データバス制御回路は、データバスの特定ビット
の内容を制御することができるから、たとえばIDEイ
ンタフェイスのように、データバスの特定ビットを周辺
機器の選択動作に共用する場合であっても、支障なく対
応することができる。
When the data bus control circuit is provided in the control circuit, the data bus control circuit can control the content of the specific bit of the data bus. Therefore, for example, an IDE interface, the specific bit of the data bus is controlled. Even when it is shared with the peripheral device selection operation, it can be handled without any trouble.

【0013】[0013]

【発明の実施の形態】以下、図面を以って発明の実施の
形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】コンピュータシステムにおけるインタフェ
イスケーブルは、本体側のコネクタ11と機器側のコネ
クタ12、12との間に制御回路20を介装してなる
(図1)。
The interface cable in the computer system has a control circuit 20 interposed between the connector 11 on the main body side and the connectors 12, 12 on the device side (FIG. 1).

【0015】本体側のコネクタ11は、コンピュータ本
体C内の単一の入出力ポートCa に対応している。ま
た、機器側のコネクタ12、12は、それぞれ、入出力
ポートCa に共通に接続する2台の周辺機器D1 、D2
の一方に対応している。ただし、周辺機器D1 、D2
は、たとえばハードディスク装置、CDROM装置等を
含む任意の情報入出力機器であってよい。
The connector 11 on the main body side corresponds to a single input / output port Ca in the main body C of the computer. Further, the connectors 12 on the device side are respectively connected to two peripheral devices D1 and D2 commonly connected to the input / output port Ca.
It corresponds to one of. However, peripheral devices D1 and D2
May be any information input / output device including, for example, a hard disk device, a CDROM device, or the like.

【0016】コンピュータ本体Cからの選択命令信号S
1 は、本体側のコネクタ11を介して制御回路20の検
出回路21に入力されている。検出回路21の出力は、
記憶回路22に接続され、記憶回路22の出力は、選択
信号作成回路23に接続されている。選択信号作成回路
23には、選択スイッチSWが付設されている。また、
選択信号作成回路23からの選択信号S2 は、選択回路
24に入力されている。
A selection command signal S from the computer main body C
1 is input to the detection circuit 21 of the control circuit 20 via the connector 11 on the main body side. The output of the detection circuit 21 is
It is connected to the memory circuit 22, and the output of the memory circuit 22 is connected to the selection signal creating circuit 23. A selection switch SW is attached to the selection signal creation circuit 23. Also,
The selection signal S2 from the selection signal creation circuit 23 is input to the selection circuit 24.

【0017】コンピュータ本体Cからのチップセレクト
信号S3 は、本体側のコネクタ11を介して選択回路2
4に入力されている。選択回路24の出力は、チップセ
レクト信号S31、S32として、機器側のコネクタ12、
12を介し、周辺機器D1 、D2 に個別に入力されてい
る。
The chip select signal S3 from the computer main body C is sent to the selection circuit 2 via the connector 11 on the main body side.
4 has been entered. The output of the selection circuit 24 is output as chip select signals S31 and S32 to the connector 12 on the device side.
It is individually input to the peripheral devices D1 and D2 via 12.

【0018】一方、周辺機器D1 、D2 からの割込要求
信号S41、S42は、機器側のコネクタ12、12を介し
て選択回路24に入力されている。また、選択回路24
の出力は、割込要求信号S4 として、本体側のコネクタ
11を介してコンピュータ本体Cに入力されている。な
お、コンピュータ本体C、周辺機器D1 、D2 間には、
コネクタ11、12、12を介し、他の共通の制御信
号、データ信号等(以下、単に制御信号という)S5 が
一括して双方向に伝送されるようになっている。
On the other hand, the interrupt request signals S41 and S42 from the peripheral devices D1 and D2 are input to the selection circuit 24 through the connectors 12 on the device side. In addition, the selection circuit 24
Is output as an interrupt request signal S4 to the computer main body C via the connector 11 on the main body side. In addition, between the computer main body C and the peripheral devices D1 and D2,
Other common control signals, data signals, etc. (hereinafter simply referred to as control signals) S5 are collectively and bidirectionally transmitted via the connectors 11, 12, 12.

【0019】いま、コンピュータ本体Cから、周辺機器
D1 、D2 の一方を選択するために選択命令信号S1 が
出力されると、制御回路20の検出回路21は、選択命
令信号S1 に含まれる選択命令を検出し、記憶回路22
は、検出された選択命令の内容を記憶することができ
る。すなわち、記憶回路22は、選択命令によって選択
される周辺機器Di (i=1、2)の別を記憶すること
ができる。
Now, when the selection command signal S1 is output from the computer main body C to select one of the peripheral devices D1 and D2, the detection circuit 21 of the control circuit 20 causes the selection command included in the selection command signal S1. Is detected and the memory circuit 22
Can store the content of the detected selection instruction. In other words, the storage circuit 22 can store another peripheral device Di (i = 1, 2) selected by the selection command.

【0020】そこで、選択信号作成回路23は、記憶回
路22によって記憶された選択命令の内容に従い、選択
信号S2 を作成する。ただし、このときの選択信号作成
回路23は、たとえば、選択スイッチSWが投入されて
いるときは、記憶回路22に記憶されている周辺機器D
i をそのまま指定する選択信号S2 を発生するが、選択
スイッチSWが投入されていないときは、記憶回路22
に記憶されている周辺機器Di と逆の周辺機器Dj (j
=2、1)を指定する選択信号S2 を発生するものとす
る。すなわち、選択信号作成回路23は、選択スイッチ
SWの投入状態に従い、コンピュータ本体Cからの選択
命令の内容に対して必要な修正を加えることができる。
なお、選択スイッチSWは、操作員により、適宜手動操
作するものとする。
Therefore, the selection signal creating circuit 23 creates the selection signal S2 in accordance with the content of the selection command stored in the storage circuit 22. However, the selection signal generating circuit 23 at this time is, for example, the peripheral device D stored in the storage circuit 22 when the selection switch SW is turned on.
A selection signal S2 for directly designating i is generated, but when the selection switch SW is not turned on, the memory circuit 22
Peripheral device Dj (j
It is assumed that a selection signal S2 designating = 2, 1) is generated. That is, the selection signal creation circuit 23 can make necessary corrections to the content of the selection command from the computer main body C according to the closing state of the selection switch SW.
The selection switch SW is manually operated by an operator as appropriate.

【0021】選択回路24は、選択信号作成回路23か
らの選択信号S2 に従い、選択された周辺機器Di (ま
たはDj )に対して、コンピュータ本体Cからのチップ
セレクト信号S3 をチップセレクト信号S3i(またはS
3j)として伝送し、選択された周辺機器Di (またはD
j )からの割込要求信号S4i(またはS4j)を割込要求
信号S4 としてコンピュータ本体Cに伝送する。すなわ
ち、選択回路24は、選択信号S2 に従い、チップセレ
クト信号S3 の伝送先、割込要求信号S41、S42の入力
先を選択することができる。
According to the selection signal S2 from the selection signal generating circuit 23, the selection circuit 24 sends the chip selection signal S3 from the computer C to the selected peripheral device Di (or Dj) as the chip selection signal S3i (or S
3j) and select peripheral device Di (or D)
The interrupt request signal S4i (or S4j) from j) is transmitted to the computer main body C as the interrupt request signal S4. That is, the selection circuit 24 can select the transmission destination of the chip selection signal S3 and the input destination of the interrupt request signals S41 and S42 according to the selection signal S2.

【0022】たとえば、選択信号S2 が周辺機器D1 を
指定するとき、選択回路24は、コンピュータ本体Cか
らのチップセレクト信号S3 をチップセレクト信号S31
として周辺機器D1 に伝送し、周辺機器D1 からの割込
要求信号S41を割込要求信号S4 としてコンピュータ本
体Cに伝送する。また、選択信号S2 が周辺機器D2を
指定するとき、選択回路24は、コンピュータ本体Cか
らのチップセレクト信号S3 をチップセレクト信号S32
として周辺機器D2 に伝送し、周辺機器D2 からの割込
要求信号S42を割込要求信号S4 としてコンピュータ本
体Cに伝送する。
For example, when the selection signal S2 designates the peripheral device D1, the selection circuit 24 changes the chip select signal S3 from the computer main body C to the chip select signal S31.
As an interrupt request signal S4 from the peripheral device D1 to the computer C as an interrupt request signal S4. When the selection signal S2 designates the peripheral device D2, the selection circuit 24 changes the chip select signal S3 from the computer main body C to the chip select signal S32.
As an interrupt request signal S4 from the peripheral device D2 to the computer C as an interrupt request signal S4.

【0023】すなわち、コンピュータ本体Cが選択命令
信号S1 を出力することによって周辺機器D1 、D2 の
一方を選択すると、記憶回路22は、選択命令信号S1
によって選択された周辺機器Di を記憶し、選択信号作
成回路23は、選択スイッチSWの投入状態に従って、
選択回路24を介し、選択された周辺機器Di 、また
は、それと逆の周辺機器Dj を実質的にコンピュータ本
体Cに接続することができる。そこで、以後、コンピュ
ータ本体Cは、所定の周辺機器Di (またはDj)に対
して自在にアクセスすることができる。なお、制御信号
S5 は、周辺機器D1 、D2 の双方とコンピュータ本体
Cとの間に双方向に伝送されており、必要に応じて、選
択回路24によって現実に選択された側の周辺機器Di
(またはDj )によって利用し、または、その周辺機器
Di (またはDj )からの情報として、コンピュータ本
体Cによって利用することができる。
That is, when the computer main unit C selects one of the peripheral devices D1 and D2 by outputting the selection command signal S1, the memory circuit 22 causes the memory circuit 22 to select the selection command signal S1.
The peripheral device Di selected by is stored, and the selection signal creating circuit 23 determines whether or not the selection switch SW is turned on.
Through the selection circuit 24, the selected peripheral device Di or the peripheral device Dj opposite thereto can be connected to the computer main body C substantially. Therefore, thereafter, the computer main body C can freely access the predetermined peripheral device Di (or Dj). Note that the control signal S5 is bidirectionally transmitted between both the peripheral devices D1 and D2 and the computer main body C, and if necessary, the peripheral device Di actually selected by the selection circuit 24.
(Or Dj) or as information from its peripheral Di (or Dj).

【0024】なお、選択スイッチSWは、必ずしも必要
なものではなく、これを省略することにより、選択信号
作成回路23は、常に、記憶回路22に記憶されている
周辺機器Di をそのまま現実にアクセス可能にすること
ができる。
The selection switch SW is not always necessary, and by omitting it, the selection signal creating circuit 23 can always access the peripheral device Di stored in the storage circuit 22 as it is. Can be

【0025】この発明をIDEインタフェイスに適用し
た場合の具体例を示せば、図2のとおりである。
A concrete example of the case where the present invention is applied to an IDE interface is shown in FIG.

【0026】同図において、制御回路20の検出回路2
1は、2個のアンドゲートを縦続して構成されている。
前段のアンドゲートには、アドレス信号DA0、DA
1、DA2、チップセレクト信号CS0、CS1が入力
されており、後段のアンドゲートには、ライトストロー
ブ信号DIOWが入力されている。なお、各ゲートにお
ける白小丸は、信号レベルのローレベルに意味があるこ
とを示している。そこで、検出回路21は、各アンドゲ
ートの出力として、周辺機器D1 、D2 に対するデバイ
スヘッドレジスタアクセス信号DHRW、デバイスヘッ
ドレジスタライト信号DHWを出力することができる。
IDEインタフェイスにおいて、アドレス信号DA0、
DA1、DA2、チップセレクト信号CS0、CS1の
信号レベルがロー、ハイ、ハイ、ロー、ハイの組合せ
は、デバイスヘッドレジスタへのアクセスを示している
からである。
In the figure, the detection circuit 2 of the control circuit 20
1 is configured by connecting two AND gates in cascade.
Address signals DA0, DA are provided to the AND gate in the preceding stage.
1, DA2, chip select signals CS0, CS1 are input, and the write strobe signal DIOW is input to the AND gate in the subsequent stage. The white small circles in each gate indicate that the low level of the signal level is significant. Therefore, the detection circuit 21 can output the device head register access signal DHRW and the device head register write signal DHW to the peripheral devices D1 and D2 as the outputs of the AND gates.
In the IDE interface, the address signal DA0,
This is because a combination of DA1, DA2 and chip select signals CS0, CS1 of low, high, high, low, high indicates access to the device head register.

【0027】すなわち、図2の検出回路21は、コンピ
ュータ本体Cからの選択命令を検出し、デバイスヘッド
レジスタライト信号DHWを出力することができる。
That is, the detection circuit 21 shown in FIG. 2 can detect the selection command from the computer main body C and output the device head register write signal DHW.

【0028】記憶回路22は、検出回路21からのデバ
イスヘッドレジスタライト信号DHWをクロック端子C
Kに入力するフリップフロップによって構成されてい
る。フリップフロップのデータ端子Dには、データバス
の4ビットDD4が接続され、クリア端子CLRには、
リセット信号RESETが入力されている。そこで、記
憶回路22は、デバイスヘッドレジスタライト信号DH
Wの立上りにおいてデータバスの4ビットDD4を記憶
し、デバイス選択信号DSELとして、フリップフロッ
プの出力端子Qに出力することができる。
The memory circuit 22 receives the device head register write signal DHW from the detection circuit 21 at the clock terminal C.
It is composed of a flip-flop input to K. The 4-bit DD4 of the data bus is connected to the data terminal D of the flip-flop, and the clear terminal CLR is
The reset signal RESET is input. Therefore, the memory circuit 22 outputs the device head register write signal DH.
At the rising edge of W, 4-bit DD4 of the data bus can be stored and output to the output terminal Q of the flip-flop as the device selection signal DSEL.

【0029】なお、デバイス選択信号DSELは、周辺
機器D1 を選択するときは、ローレベルであり、周辺機
器D2 を選択するときは、ハイレベルにセットされる。
IDEインタフェイスにおいて、デバイスヘッドレジス
タのライト動作に対応するデータバスの4ビットDD4
は、ローレベルにおいてマスタ選択を意味し、ハイレベ
ルにおいてスレーブ選択を意味するからである。ただ
し、記憶回路22は、電源投入と同時に、リセット信号
RESETにより、デバイス選択信号DSELがローレ
ベルにイニシャライズされるものとする。
The device selection signal DSEL is set to a low level when the peripheral device D1 is selected, and is set to a high level when the peripheral device D2 is selected.
4-bit DD4 of the data bus corresponding to the write operation of the device head register in the IDE interface
Is a master selection at a low level and a slave selection at a high level. However, in the memory circuit 22, the device selection signal DSEL is initialized to a low level by the reset signal RESET at the same time when the power is turned on.

【0030】すなわち、記憶回路22は、検出回路21
によってコンピュータ本体Cからの選択命令が検出され
たとき、その内容を記憶し、デバイス選択信号DSEL
として出力することができる。
That is, the memory circuit 22 is the detection circuit 21.
When the selection command from the computer main body C is detected by the, the contents are stored and the device selection signal DSEL
Can be output as

【0031】選択信号作成回路23は、デバイス選択信
号DSELと、プルアップ抵抗を介して選択スイッチS
Wの投入状態信号SWSとを入力する2組の排他オアゲ
ートからなっている、選択信号作成回路23は、各排他
オアゲートの出力として、周辺機器D1 の選択を指示す
る第1選択信号DR1、周辺機器D2 の選択を指示する
第2選択信号DR2を発生することができる。ただし、
第1選択信号DR1は、選択スイッチSWが投入されて
いて、デバイス選択信号DSELが周辺機器D1 を選択
するとき、または、選択スイッチSWが投入されておら
ず、デバイス選択信号DSELが周辺機器D2 を選択す
るときに有効である。また、第2選択信号DR2は、選
択スイッチSWが投入されていて、デバイス選択信号D
SELが周辺機器D2 を選択するとき、または、選択ス
イッチSWが投入されておらず、デバイス選択信号DS
ELが周辺機器D1 を選択するときに有効である。
The selection signal generating circuit 23 receives the device selection signal DSEL and the selection switch S via the pull-up resistor.
The selection signal creation circuit 23, which is composed of two sets of exclusive OR gates for inputting the input state signal SWS of W, has a first selection signal DR1 for instructing the selection of the peripheral device D1 as an output of each exclusive OR gate, and a peripheral device. It is possible to generate the second selection signal DR2 instructing the selection of D2. However,
The first selection signal DR1 is selected when the selection switch SW is turned on and the device selection signal DSEL selects the peripheral device D1, or when the selection switch SW is not turned on and the device selection signal DSEL changes the peripheral device D2. Effective when selecting. The second selection signal DR2 has the selection switch SW turned on and the device selection signal D2.
When the SEL selects the peripheral device D2, or when the selection switch SW is not turned on, the device selection signal DS
This is effective when EL selects the peripheral device D1.

【0032】すなわち、選択信号作成回路23は、記憶
回路22からのデバイス選択信号DSELに従い、第1
選択信号DR1、第2選択信号DR2を出力することが
できる。
That is, the selection signal creating circuit 23 is responsive to the device selection signal DSEL from the memory circuit 22 to generate the first signal.
The selection signal DR1 and the second selection signal DR2 can be output.

【0033】選択回路24は、第1選択信号DR1、第
2選択信号DR2を入力する各2組、計4組のアンドゲ
ートを介し、第1選択信号DR1、第2選択信号DR2
のいずれが有効であるかにより、チップセレクト信号C
S0、CS1の伝送先を周辺機器D1 、D2 の一方に選
択することができる。また、選択回路24は、2組のア
ンドゲートとオアゲートとを組み合わせることによっ
て、第1選択信号DR1、第2選択信号DR2のいずれ
が有効であるかにより、割込要求信号INTRQの入力
先を周辺機器D1 、D2 の一方に選択することができ
る。なお、各周辺機器D1 、D2 からの割込要求信号I
NTRQの信号ラインには、不使用時の信号レベルが不
定になることを避けるために、プルダウン抵抗が挿入さ
れている。
The selection circuit 24 receives a first selection signal DR1 and a second selection signal DR2, and two sets each of which receives a first selection signal DR1 and a second selection signal DR2.
Chip select signal C depending on which one is effective
The transmission destinations of S0 and CS1 can be selected as one of the peripheral devices D1 and D2. In addition, the selection circuit 24 combines the two sets of AND gates and OR gates to determine the peripheral of the input destination of the interrupt request signal INTRQ depending on which of the first selection signal DR1 and the second selection signal DR2 is valid. It is possible to select one of the devices D1 and D2. The interrupt request signal I from each peripheral device D1 and D2
A pull-down resistor is inserted in the signal line of the NTRQ in order to prevent the signal level when not in use from becoming indefinite.

【0034】図2の制御回路20には、データバスの4
ビットDD4の信号ラインにデータバス制御回路25が
付加されている。
The control circuit 20 of FIG.
The data bus control circuit 25 is added to the signal line of the bit DD4.

【0035】データバス制御回路25には、2台の増幅
器が逆方向に含まれており、一方は、コンピュータ本体
C側から周辺機器D1 、D2 側に信号を伝送し、他方
は、周辺機器D1 、D2 側からコンピュータ本体C側に
信号を伝送することができる。前者の増幅器は、ライト
ストローブ信号DIOWと、検出回路21からのデバイ
スヘッドレジスタライト信号DHWとを入力するアンド
ゲートを介して作動が制御されており、周辺機器D1 、
D2 のデバイスヘッドレジスタ以外に対する書込命令に
対応して作動するようになっている。なお、前者の増幅
器の出力端には、プルダウン抵抗が挿入され、非作動時
の信号レベルが不定になることを防止している。一方、
後者の増幅器は、リードストローブ信号DIORによっ
て作動が制御されており、すべての読込命令に対応して
作動するようになっている。
The data bus control circuit 25 includes two amplifiers in the reverse direction, one for transmitting signals from the computer main body C side to the peripheral devices D1 and D2, and the other for the other peripheral device D1. , D2 side can transmit signals to the computer main body C side. The operation of the former amplifier is controlled through an AND gate for inputting the write strobe signal DIOW and the device head register write signal DHW from the detection circuit 21, and the peripheral device D1,
It operates in response to a write command for a device other than the device head register of D2. A pull-down resistor is inserted at the output terminal of the former amplifier to prevent the signal level when it is not operating from becoming indefinite. on the other hand,
The operation of the latter amplifier is controlled by the read strobe signal DIOR so that it operates in response to all read commands.

【0036】ただし、前者の増幅器の入力側は、直接コ
ンピュータ本体Cに接続されているが、後者の増幅器の
入力側には、オアゲートを介し、検出回路21からのデ
バイスヘッドレジスタアクセス信号DHRWによって開
閉する2組のアンドゲートが並置されており、一方のア
ンドゲートには、周辺機器D1 、D2 からのデータバス
の4ビットDD4が入力され、他方のアンドゲートに
は、記憶回路22からのデバイス選択信号DSELが入
力されている。
However, although the input side of the former amplifier is directly connected to the computer main body C, the input side of the latter amplifier is opened / closed by a device head register access signal DHRW from the detection circuit 21 via an OR gate. 2 sets of AND gates are arranged side by side. One AND gate receives the 4-bit DD4 of the data bus from the peripheral devices D1 and D2, and the other AND gate selects the device from the memory circuit 22. The signal DSEL is input.

【0037】すなわち、データバス制御回路25は、周
辺機器D1 、D2 のデバイスヘッドレジスタ以外に対す
る書込命令に対応して前者の増幅器を作動させることに
より、データバスの4ビットDD4をコンピュータ本体
C側から周辺機器D1 、D2側に伝送することができ
る。また、データバス制御回路25は、読込命令に対し
て後者の増幅器を作動させるが、読込命令がデバイスヘ
ッドレジスタを指定しているときは、記憶回路22から
のデバイス選択信号DSELをコンピュータ本体C側に
伝送し、読込命令がデバイスヘッドレジスタを指定して
いないときは、周辺機器D1 、D2 からのデータバスの
4ビットDD4をそのままコンピュータ本体C側に伝送
することができる。
In other words, the data bus control circuit 25 activates the former amplifier in response to a write command to the peripheral devices D1 and D2 other than the device head registers, so that the 4-bit DD4 of the data bus is transferred to the computer main body C side. Can be transmitted to the peripheral devices D1 and D2. The data bus control circuit 25 operates the latter amplifier in response to the read command, but when the read command specifies the device head register, the device selection signal DSEL from the memory circuit 22 is sent to the computer main body C side. When the read command does not specify the device head register, the 4-bit DD4 of the data bus from the peripheral devices D1 and D2 can be directly transmitted to the computer main body C side.

【0038】なお、このように、データバスの4ビット
DD4の信号ラインにデータバス制御回路25を付加す
るのは、IDEインタフェイスが、データバスの4ビッ
トDD4を一般のデータバスとして使用する他、マス
タ、スレーブのいずれかに設定されている周辺機器D1
、D2 の一方を選択するためにも共用して使用するか
らである。そこで、データバスの特定ビットをこのよう
な特殊な用途に使用することがないインタフェイスの場
合は、データバス制御回路25を設ける必要がない。
In this way, the data bus control circuit 25 is added to the signal line of the 4-bit DD4 of the data bus in addition to the fact that the IDE interface uses the 4-bit DD4 of the data bus as a general data bus. Peripheral device D1 set as master, master, or slave
, D2 are also used in common to select one of them. Therefore, in the case of an interface in which a specific bit of the data bus is not used for such a special purpose, it is not necessary to provide the data bus control circuit 25.

【0039】図1と図2とを対比すると、同符号の構成
要素は互いに対応しており、後者のアドレス信号DA
0、DA1、DA2、チップセレクト信号CS0、CS
1、ライトストローブ信号DIOWは、一括して前者の
選択命令信号S1 に対応している。また、後者の第1選
択信号DR1、第2選択信号DR2は、一括して前者の
選択信号S2 に対応している。さらに、後者におけるコ
ンピュータ本体Cからのチップセレクト信号CS0、C
S1は、選択回路24を介し、周辺機器D1 、D2 に対
してチップセレクト信号CS0、CS1、CS0、CS
1として伝送されており、これらは、前者におけるチッ
プセレクト信号S3 、S31、S32に対応している。ま
た、後者における周辺機器D1 、D2 からの割込要求信
号INTRQ、INTRQは、選択回路24を介し、コ
ンピュータ本体Cに対して割込要求信号INTRQとし
て伝送されており、これらは、前者における割込要求信
号S41、S42、S4 に対応している。
Comparing FIG. 1 and FIG. 2, the components having the same reference numerals correspond to each other, and the latter address signal DA.
0, DA1, DA2, chip select signals CS0, CS
1. The write strobe signal DIOW collectively corresponds to the former selection command signal S1. The latter first selection signal DR1 and second selection signal DR2 collectively correspond to the former selection signal S2. Furthermore, in the latter case, chip select signals CS0, C from the computer main body C
S1 is a chip select signal CS0, CS1, CS0, CS for the peripheral devices D1, D2 via the selection circuit 24.
1, which correspond to the chip select signals S3, S31, and S32 in the former case. Also, the interrupt request signals INTRQ and INTRQ from the peripheral devices D1 and D2 in the latter are transmitted as the interrupt request signal INTRQ to the computer main body C through the selection circuit 24, and these are the interrupts in the former case. It corresponds to the request signals S41, S42, S4.

【0040】なお、図2において、コンピュータ本体C
と周辺機器D1 、D2 との間には、データバスの4ビッ
トDD4以外のビットを含む無名の制御信号が双方向に
伝送されており、これらは、図1における制御信号S5
に対応している。
In FIG. 2, the computer main body C
Anonymous control signals including bits other than the 4-bit DD4 of the data bus are bidirectionally transmitted between the peripheral devices D1 and D2 and the peripheral devices D1 and D2.
It corresponds to.

【0041】以上の説明において、周辺機器D1 、D2
は、n台(ただしn≧2)であってもよい。このとき、
記憶回路22は、選択された周辺機器Di (i=1、2
…n)を特定して記憶するために、2ビット以上のメモ
リとすればよく、選択信号作成回路23は、選択された
周辺機器Di に応じて選択信号S2 を発生するものとす
る。また、選択回路24は、選択された周辺機器Di に
対してコンピュータ本体Cからのチップセレクト信号S
3 を伝送し、選択された周辺機器Di からの割込要求信
号S4iをコンピュータ本体Cに伝送すればよい。
In the above description, the peripheral devices D1 and D2
May be n (where n ≧ 2). At this time,
The memory circuit 22 stores the selected peripheral device Di (i = 1, 2
.. n) is specified and stored, a memory of 2 bits or more may be used, and the selection signal creating circuit 23 is assumed to generate the selection signal S2 in accordance with the selected peripheral device Di. Further, the selection circuit 24 sends a chip select signal S from the computer main body C to the selected peripheral device Di.
3 and the interrupt request signal S4i from the selected peripheral device Di may be transmitted to the computer main body C.

【0042】かかるインタフェイスケーブルは、1枚の
基板PBに対し、本体側のコネクタ11と、機器側のコ
ネクタ12、12の一方と、制御回路20とを搭載し
(図3)、機器側のコネクタ12、12の他方は、多芯
のフラットケーブルFCを介して基板PBから引き出し
て構成することができる。一般に、ノート形のパーソナ
ルコンピュータは、1台の周辺機器D1 のみしか内部に
装填することができないから、かかる構成のインタフェ
イスケーブルは、周辺機器D1 をパーソナルコンピュー
タに装填し、他の周辺機器D2 を外付けにして増設する
場合に便利に使用することができる。ただし、このとき
の基板PBは、パーソナルコンピュータに設けられてい
る周辺機器D1 の装填用のスロットに挿入可能に形成し
て周辺機器D1 の前面に固定し、フラットケーブルFC
は、周辺機器D1 に沿ってコネクタ12を外部にまで引
出し可能な長さに形成するものとする。
Such an interface cable is equipped with a connector 11 on the main body side, one of the connectors 12 and 12 on the device side, and a control circuit 20 on one board PB (FIG. 3). The other of the connectors 12 and 12 can be configured by being pulled out from the substrate PB via a multi-core flat cable FC. Generally, since only one peripheral device D1 can be loaded inside the notebook personal computer, the interface cable having such a configuration loads the peripheral device D1 into the personal computer and loads the other peripheral device D2. It can be conveniently used when adding it externally. However, the board PB at this time is formed so that it can be inserted into the loading slot of the peripheral device D1 provided in the personal computer, and is fixed to the front surface of the peripheral device D1.
Shall have a length such that the connector 12 can be pulled out to the outside along the peripheral device D1.

【0043】[0043]

【発明の効果】以上説明したように、この発明によれ
ば、本体側のコネクタ、機器側のコネクタ間に制御回路
を介装し、制御回路においてコンピュータ本体側からの
選択命令を検出記憶することによって、各周辺機器は、
設定スイッチを介してあらかじめマスタ、スレーブの別
を設定しておく必要がなく、コンピュータ本体側から自
在に選択することができるから、厄介な設定操作が不要
であり、誤設定によるデータ破壊事故のおそれも全くな
いという優れた効果がある。
As described above, according to the present invention, the control circuit is interposed between the connector on the main body side and the connector on the device side, and the control circuit detects and stores the selection command from the computer main body side. Depending on each peripheral,
There is no need to set the master or slave in advance via the setting switch, and you can freely select from the computer side, so there is no need for troublesome setting operations, and there is a risk of data destruction accidents due to incorrect settings. There is an excellent effect that there is no.

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

【図1】 全体ブロック系統図Fig. 1 Overall block system diagram

【図2】 詳細ブロック系統図[Fig. 2] Detailed block system diagram

【図3】 全体構成模式図[Fig. 3] Overall configuration schematic diagram

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

C…コンピュータ本体 D1 、D2 …周辺機器 SW…選択スイッチ S3 、S31、S32、CS0、CS1…チップセレクト信
号 S4 、S41、S42、INTRQ…割込要求信号 11、12…コネクタ 20…制御回路 23…選択信号作成回路 24…選択回路 25…データバス制御回路
C ... Computer main body D1, D2 ... Peripheral device SW ... Selection switch S3, S31, S32, CS0, CS1 ... Chip select signal S4, S41, S42, INTRQ ... Interrupt request signal 11, 12 ... Connector 20 ... Control circuit 23 ... Selection signal generation circuit 24 ... Selection circuit 25 ... Data bus control circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータ本体に接続する本体側のコ
ネクタと、複数の周辺機器のそれぞれに接続する機器側
のコネクタと、前記コネクタ間に介装する制御回路とか
らなり、該制御回路は、コンピュータ本体からの選択命
令を検出記憶し、選択された周辺機器に対してコンピュ
ータ本体からのチップセレクト信号を伝送し、選択され
た周辺機器からの割込要求信号をコンピュータ本体に伝
送することを特徴とするコンピュータシステムにおける
インタフェイスケーブル。
1. A main body side connector connected to a computer main body, a device side connector connected to each of a plurality of peripheral devices, and a control circuit interposed between the connectors, the control circuit comprising a computer. It is characterized by detecting and storing a selection command from the main body, transmitting a chip select signal from the computer main body to the selected peripheral equipment, and transmitting an interrupt request signal from the selected peripheral equipment to the computer main body. Interface cable in a computer system that works.
【請求項2】 前記制御回路は、選択信号作成回路を備
え、該選択信号作成回路は、記憶された選択命令の内容
に従い、チップセレクト信号の伝送先、割込要求信号の
入力先を選択する選択回路を制御することを特徴とする
請求項1記載のコンピュータシステムにおけるインタフ
ェイスケーブル。
2. The control circuit includes a selection signal creating circuit, and the selection signal creating circuit selects a transmission destination of a chip select signal and an input destination of an interrupt request signal according to the contents of a stored selection command. The interface cable in a computer system according to claim 1, wherein the interface cable controls a selection circuit.
【請求項3】 前記選択信号作成回路には、手動の選択
スイッチを付設することを特徴とする請求項2記載のコ
ンピュータシステムにおけるインタフェイスケーブル。
3. The interface cable in a computer system according to claim 2, wherein the selection signal generating circuit is provided with a manual selection switch.
【請求項4】 前記制御回路は、データバス制御回路を
備え、該データバス制御回路は、記憶された選択命令の
内容に従い、データバスの特定ビットの内容を制御する
ことを特徴とする請求項1ないし請求項3のいずれか記
載のコンピュータシステムにおけるインタフェイスケー
ブル。
4. The control circuit includes a data bus control circuit, and the data bus control circuit controls the content of a specific bit of the data bus in accordance with the content of the stored selection command. An interface cable in a computer system according to any one of claims 1 to 3.
JP26986895A 1995-10-18 1995-10-18 Interface cables in computer systems Expired - Fee Related JP3700065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26986895A JP3700065B2 (en) 1995-10-18 1995-10-18 Interface cables in computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26986895A JP3700065B2 (en) 1995-10-18 1995-10-18 Interface cables in computer systems

Publications (2)

Publication Number Publication Date
JPH09114562A true JPH09114562A (en) 1997-05-02
JP3700065B2 JP3700065B2 (en) 2005-09-28

Family

ID=17478335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26986895A Expired - Fee Related JP3700065B2 (en) 1995-10-18 1995-10-18 Interface cables in computer systems

Country Status (1)

Country Link
JP (1) JP3700065B2 (en)

Also Published As

Publication number Publication date
JP3700065B2 (en) 2005-09-28

Similar Documents

Publication Publication Date Title
US4443846A (en) Dual port exchange memory between multiple microprocessors
US5335352A (en) Reconfigurable, multi-function data storage system controller selectively operable as an input channel adapter and a data storage unit adapter
KR970004523B1 (en) Personal computer system
JPH05204820A (en) Microcessor, processing system and bus interface
HU201165B (en) Device for connecting modules of 8 and 16 bit to a system of microprocessor of 16 bit
EP0205943A2 (en) Composite data-processing system using multiple standalone processing systems
US4188662A (en) Address converter in a data processing apparatus
US5278958A (en) Method and apparatus for selecting a keyboard on a computer system
KR900015008A (en) Data processor
KR100450680B1 (en) Memory controller for increasing bus bandwidth, data transmitting method and computer system having the same
US6381675B1 (en) Switching mechanism and disk array apparatus having the switching mechanism
US4539656A (en) Memory access selection circuit
JPH09114562A (en) Interface cable in computer system
US5692161A (en) Method and apparatus for operating a microcomputer in an emulation mode to access an external peripheral
US4718003A (en) Method and apparatus for exchanging data between data processing units
US5517613A (en) Environment sensing/control circuit
KR890005994Y1 (en) Input-output control devices
JP2580962B2 (en) Collective panel device
KR0169622B1 (en) Interface circuit between host system and cdi system
EP0012016A1 (en) Memory access control
EP0325079A1 (en) Device for controlling the channel adapters in a data processing system remotely
KR890008696A (en) Port Expansion Circuit for Input / Output Interfaces for Peripherals
JPH0143328B2 (en)
JPH05173876A (en) Extended memory board
JP2643803B2 (en) Microcomputer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050401

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050628

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110722

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110722

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees