JP3700065B2 - Interface cables in computer systems - Google Patents

Interface cables in computer systems Download PDF

Info

Publication number
JP3700065B2
JP3700065B2 JP26986895A JP26986895A JP3700065B2 JP 3700065 B2 JP3700065 B2 JP 3700065B2 JP 26986895 A JP26986895 A JP 26986895A JP 26986895 A JP26986895 A JP 26986895A JP 3700065 B2 JP3700065 B2 JP 3700065B2
Authority
JP
Japan
Prior art keywords
selection
main body
signal
peripheral device
control circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26986895A
Other languages
Japanese (ja)
Other versions
JPH09114562A (en
Inventor
伸治 牛上
潤 山本
正明 原
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.)
IO Data Device Inc
Original Assignee
IO Data Device Inc
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 IO Data Device Inc filed Critical IO Data Device Inc
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

Images

Description

【0001】
【発明の属する技術分野】
この発明は、コンピュータシステム、殊に小形のパーソナルコンピュータシステムにおいて、単一の入出力ポートに複数の周辺機器を共用して接続する場合に、周辺機器の選択を簡単に切替制御することができるコンピュータシステムにおけるインタフェイスケーブルに関する。
【0002】
【従来の技術】
パーソナルコンピュータを含む小形のコンピュータシステムにおいて、単一の入出力ポートに複数の周辺機器を接続し、特定の1台を選択して使用する場合があり、かかる場合のインタフェイスとして、たとえばIDEインタフェイスが知られている。
【0003】
このものは、40ピンのコネクタを使用し、単一の入出力ポートに対して2台の周辺機器を接続することができ、各周辺機器は、互いにマスタ、スレーブの関係に設定されている。すなわち、各周辺機器には、設定スイッチが内蔵されており、一方をマスタに設定し、他方をスレーブに設定することにより、各周辺機器は、コンピュータ本体側から個別にアクセスすることができる。なお、周辺機器を1台のみしか接続しない場合は、これをマスタに設定しなければならない。電源投入に際し、各周辺機器は、リセット信号に対応して自己診断を実行するが、このときの診断結果は、マスタがスレーブの存在を確認した上、マスタを介してコンピュータ本体側に伝送するようになっているからである。
【0004】
【発明が解決しようとする課題】
かかる従来技術によるときは、電源投入とともにコンピュータ本体側から起動する周辺機器は、マスタ側に固定されているから、これをスレーブ側に変更するとすれば、周辺機器内の設定スイッチを設定し直す必要があり、設定操作が極めて厄介であるという問題が避けられない。また、このとき、双方の周辺機器をマスタまたはスレーブに誤設定すると、入出力データの衝突が生じ、致命的なデータ破壊事故を生じるおそれがある。
【0005】
そこで、この発明の目的は、かかる従来技術の問題に鑑み、インタフェイスケーブルのコネクタ間に簡単な制御回路を介装することによって、すべての周辺機器を一律にマスタに設定することができ、したがって、厄介な設定操作が不要であるばかりでなく、誤設定によるデータ破壊事故のおそれが全くないコンピュータシステムにおけるインタフェイスケーブルを提供することにある。
【0006】
【課題を解決するための手段】
かかる目的を達成するためのこの発明の構成は、コンピュータ本体に接続する本体側のコネクタと、複数の周辺機器のそれぞれに接続する機器側のコネクタと、本体側のコネクタ、機器側のコネクタ間に介装する制御回路とを備えてなり、制御回路は、パーソナルコンピュータの周辺機器装填用のスロットに挿入可能な基板に本体側のコネクタとともに搭載し、コンピュータ本体からの選択命令を検出記憶し、選択命令によって選択された周辺機器に対してコンピュータ本体からのチップセレクト信号を伝送し、選択された周辺機器からの割込要求信号をコンピュータ本体に伝送することをその要旨とする。
【0007】
なお、制御回路は、選択信号作成回路を備え、選択信号作成回路は、記憶された選択命令の内容に従い、チップセレクト信号の伝送先、割込要求信号の入力先を選択する選択回路を制御することができ、選択信号作成回路には、選択命令の内容を修正する手動の選択スイッチを付設することができる。
【0008】
また、制御回路は、データバス制御回路を備え、データバス制御回路は、記憶された選択命令の内容に従い、データバスの特定ビットの内容を制御することができる。
【0009】
【作用】
かかる発明の構成によるときは、制御回路は、コンピュータ本体からの選択命令を検出記憶し、選択された周辺機器に対してチップセレクト信号を伝送し、選択された周辺機器からの割込要求信号を伝送することによって、任意の周辺機器を実質的にコンピュータ本体に接続し、コンピュータ本体側から制御可能な状態に選択させることができる。すなわち、各周辺機器は、内蔵の設定スイッチが一律にマスタ側に設定されていても、コンピュータ本体側から任意のものを選択して作動させることができる。
【0010】
制御回路が選択信号作成回路を備えるときは、選択信号作成回路は、選択回路を介してチップセレクト信号の伝送先、割込要求信号の入力先を選択することにより、所定の周辺機器を選択して作動させることができる。
【0011】
選択信号作成回路に手動の選択スイッチを付設すれば、選択スイッチを操作することにより、選択信号作成回路の作動内容を切り替えることができるから、選択スイッチは、コンピュータ本体側からの選択命令の内容を修正し、選択命令によって実際に選択される周辺機器を任意に変更することが可能である。
【0012】
制御回路にデータバス制御回路を設けるときは、データバス制御回路は、データバスの特定ビットの内容を制御することができるから、たとえばIDEインタフェイスのように、データバスの特定ビットを周辺機器の選択動作に共用する場合であっても、支障なく対応することができる。
【0013】
【発明の実施の形態】
以下、図面を以って発明の実施の形態を説明する。
【0014】
コンピュータシステムにおけるインタフェイスケーブルは、本体側のコネクタ11と機器側のコネクタ12、12との間に制御回路20を介装してなる(図1)。
【0015】
本体側のコネクタ11は、コンピュータ本体C内の単一の入出力ポートCa に対応している。また、機器側のコネクタ12、12は、それぞれ、入出力ポートCa に共通に接続する2台の周辺機器D1 、D2 の一方に対応している。ただし、周辺機器D1 、D2 は、たとえばハードディスク装置、CDROM装置等を含む任意の情報入出力機器であってよい。
【0016】
コンピュータ本体Cからの選択命令信号S1 は、本体側のコネクタ11を介して制御回路20の検出回路21に入力されている。検出回路21の出力は、記憶回路22に接続され、記憶回路22の出力は、選択信号作成回路23に接続されている。選択信号作成回路23には、選択スイッチSWが付設されている。また、選択信号作成回路23からの選択信号S2 は、選択回路24に入力されている。
【0017】
コンピュータ本体Cからのチップセレクト信号S3 は、本体側のコネクタ11を介して選択回路24に入力されている。選択回路24の出力は、チップセレクト信号S31、S32として、機器側のコネクタ12、12を介し、周辺機器D1 、D2 に個別に入力されている。
【0018】
一方、周辺機器D1 、D2 からの割込要求信号S41、S42は、機器側のコネクタ12、12を介して選択回路24に入力されている。また、選択回路24の出力は、割込要求信号S4 として、本体側のコネクタ11を介してコンピュータ本体Cに入力されている。なお、コンピュータ本体C、周辺機器D1 、D2 間には、コネクタ11、12、12を介し、他の共通の制御信号、データ信号等(以下、単に制御信号という)S5 が一括して双方向に伝送されるようになっている。
【0019】
いま、コンピュータ本体Cから、周辺機器D1 、D2 の一方を選択するために選択命令信号S1 が出力されると、制御回路20の検出回路21は、選択命令信号S1 に含まれる選択命令を検出し、記憶回路22は、検出された選択命令の内容を記憶することができる。すなわち、記憶回路22は、選択命令によって選択される周辺機器Di (i=1、2)の別を記憶することができる。
【0020】
そこで、選択信号作成回路23は、記憶回路22によって記憶された選択命令の内容に従い、選択信号S2 を作成する。ただし、このときの選択信号作成回路23は、たとえば、選択スイッチSWが投入されているときは、記憶回路22に記憶されている周辺機器Di をそのまま指定する選択信号S2 を発生するが、選択スイッチSWが投入されていないときは、記憶回路22に記憶されている周辺機器Di と逆の周辺機器Dj (j=2、1)を指定する選択信号S2 を発生するものとする。すなわち、選択信号作成回路23は、選択スイッチSWの投入状態に従い、コンピュータ本体Cからの選択命令の内容に対して必要な修正を加えることができる。なお、選択スイッチSWは、操作員により、適宜手動操作するものとする。
【0021】
選択回路24は、選択信号作成回路23からの選択信号S2 に従い、選択された周辺機器Di (またはDj )に対して、コンピュータ本体Cからのチップセレクト信号S3 をチップセレクト信号S3i(またはS3j)として伝送し、選択された周辺機器Di (またはDj )からの割込要求信号S4i(またはS4j)を割込要求信号S4 としてコンピュータ本体Cに伝送する。すなわち、選択回路24は、選択信号S2 に従い、チップセレクト信号S3 の伝送先、割込要求信号S41、S42の入力先を選択することができる。
【0022】
たとえば、選択信号S2 が周辺機器D1 を指定するとき、選択回路24は、コンピュータ本体Cからのチップセレクト信号S3 をチップセレクト信号S31として周辺機器D1 に伝送し、周辺機器D1 からの割込要求信号S41を割込要求信号S4 としてコンピュータ本体Cに伝送する。また、選択信号S2 が周辺機器D2 を指定するとき、選択回路24は、コンピュータ本体Cからのチップセレクト信号S3 をチップセレクト信号S32として周辺機器D2 に伝送し、周辺機器D2 からの割込要求信号S42を割込要求信号S4 としてコンピュータ本体Cに伝送する。
【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によって利用することができる。
【0024】
なお、選択スイッチSWは、必ずしも必要なものではなく、これを省略することにより、選択信号作成回路23は、常に、記憶回路22に記憶されている周辺機器Di をそのまま現実にアクセス可能にすることができる。
【0025】
この発明をIDEインタフェイスに適用した場合の具体例を示せば、図2のとおりである。
【0026】
同図において、制御回路20の検出回路21は、2個のアンドゲートを縦続して構成されている。前段のアンドゲートには、アドレス信号DA0、DA1、DA2、チップセレクト信号CS0、CS1が入力されており、後段のアンドゲートには、ライトストローブ信号DIOWが入力されている。なお、各ゲートにおける白小丸は、信号レベルのローレベルに意味があることを示している。そこで、検出回路21は、各アンドゲートの出力として、周辺機器D1 、D2 に対するデバイスヘッドレジスタアクセス信号DHRW、デバイスヘッドレジスタライト信号DHWを出力することができる。IDEインタフェイスにおいて、アドレス信号DA0、DA1、DA2、チップセレクト信号CS0、CS1の信号レベルがロー、ハイ、ハイ、ロー、ハイの組合せは、デバイスヘッドレジスタへのアクセスを示しているからである。
【0027】
すなわち、図2の検出回路21は、コンピュータ本体Cからの選択命令を検出し、デバイスヘッドレジスタライト信号DHWを出力することができる。
【0028】
記憶回路22は、検出回路21からのデバイスヘッドレジスタライト信号DHWをクロック端子CKに入力するフリップフロップによって構成されている。フリップフロップのデータ端子Dには、データバスの4ビットDD4が接続され、クリア端子CLRには、リセット信号RESETが入力されている。そこで、記憶回路22は、デバイスヘッドレジスタライト信号DHWの立上りにおいてデータバスの4ビットDD4を記憶し、デバイス選択信号DSELとして、フリップフロップの出力端子Qに出力することができる。
【0029】
なお、デバイス選択信号DSELは、周辺機器D1 を選択するときは、ローレベルであり、周辺機器D2 を選択するときは、ハイレベルにセットされる。IDEインタフェイスにおいて、デバイスヘッドレジスタのライト動作に対応するデータバスの4ビットDD4は、ローレベルにおいてマスタ選択を意味し、ハイレベルにおいてスレーブ選択を意味するからである。ただし、記憶回路22は、電源投入と同時に、リセット信号RESETにより、デバイス選択信号DSELがローレベルにイニシャライズされるものとする。
【0030】
すなわち、記憶回路22は、検出回路21によってコンピュータ本体Cからの選択命令が検出されたとき、その内容を記憶し、デバイス選択信号DSELとして出力することができる。
【0031】
選択信号作成回路23は、デバイス選択信号DSELと、プルアップ抵抗を介して選択スイッチSWの投入状態信号SWSとを入力する2組の排他オアゲートからなっている、選択信号作成回路23は、各排他オアゲートの出力として、周辺機器D1 の選択を指示する第1選択信号DR1、周辺機器D2 の選択を指示する第2選択信号DR2を発生することができる。ただし、第1選択信号DR1は、選択スイッチSWが投入されていて、デバイス選択信号DSELが周辺機器D1 を選択するとき、または、選択スイッチSWが投入されておらず、デバイス選択信号DSELが周辺機器D2 を選択するときに有効である。また、第2選択信号DR2は、選択スイッチSWが投入されていて、デバイス選択信号DSELが周辺機器D2 を選択するとき、または、選択スイッチSWが投入されておらず、デバイス選択信号DSELが周辺機器D1 を選択するときに有効である。
【0032】
すなわち、選択信号作成回路23は、記憶回路22からのデバイス選択信号DSELに従い、第1選択信号DR1、第2選択信号DR2を出力することができる。
【0033】
選択回路24は、第1選択信号DR1、第2選択信号DR2を入力する各2組、計4組のアンドゲートを介し、第1選択信号DR1、第2選択信号DR2のいずれが有効であるかにより、チップセレクト信号CS0、CS1の伝送先を周辺機器D1 、D2 の一方に選択することができる。また、選択回路24は、2組のアンドゲートとオアゲートとを組み合わせることによって、第1選択信号DR1、第2選択信号DR2のいずれが有効であるかにより、割込要求信号INTRQの入力先を周辺機器D1 、D2 の一方に選択することができる。なお、各周辺機器D1 、D2 からの割込要求信号INTRQの信号ラインには、不使用時の信号レベルが不定になることを避けるために、プルダウン抵抗が挿入されている。
【0034】
図2の制御回路20には、データバスの4ビットDD4の信号ラインにデータバス制御回路25が付加されている。
【0035】
データバス制御回路25には、2台の増幅器が逆方向に含まれており、一方は、コンピュータ本体C側から周辺機器D1 、D2 側に信号を伝送し、他方は、周辺機器D1 、D2 側からコンピュータ本体C側に信号を伝送することができる。前者の増幅器は、ライトストローブ信号DIOWと、検出回路21からのデバイスヘッドレジスタライト信号DHWとを入力するアンドゲートを介して作動が制御されており、周辺機器D1 、D2 のデバイスヘッドレジスタ以外に対する書込命令に対応して作動するようになっている。なお、前者の増幅器の出力端には、プルダウン抵抗が挿入され、非作動時の信号レベルが不定になることを防止している。一方、後者の増幅器は、リードストローブ信号DIORによって作動が制御されており、すべての読込命令に対応して作動するようになっている。
【0036】
ただし、前者の増幅器の入力側は、直接コンピュータ本体Cに接続されているが、後者の増幅器の入力側には、オアゲートを介し、検出回路21からのデバイスヘッドレジスタアクセス信号DHRWによって開閉する2組のアンドゲートが並置されており、一方のアンドゲートには、周辺機器D1 、D2 からのデータバスの4ビットDD4が入力され、他方のアンドゲートには、記憶回路22からのデバイス選択信号DSELが入力されている。
【0037】
すなわち、データバス制御回路25は、周辺機器D1 、D2 のデバイスヘッドレジスタ以外に対する書込命令に対応して前者の増幅器を作動させることにより、データバスの4ビットDD4をコンピュータ本体C側から周辺機器D1 、D2 側に伝送することができる。また、データバス制御回路25は、読込命令に対して後者の増幅器を作動させるが、読込命令がデバイスヘッドレジスタを指定しているときは、記憶回路22からのデバイス選択信号DSELをコンピュータ本体C側に伝送し、読込命令がデバイスヘッドレジスタを指定していないときは、周辺機器D1 、D2 からのデータバスの4ビットDD4をそのままコンピュータ本体C側に伝送することができる。
【0038】
なお、このように、データバスの4ビットDD4の信号ラインにデータバス制御回路25を付加するのは、IDEインタフェイスが、データバスの4ビットDD4を一般のデータバスとして使用する他、マスタ、スレーブのいずれかに設定されている周辺機器D1 、D2 の一方を選択するためにも共用して使用するからである。そこで、データバスの特定ビットをこのような特殊な用途に使用することがないインタフェイスの場合は、データバス制御回路25を設ける必要がない。
【0039】
図1と図2とを対比すると、同符号の構成要素は互いに対応しており、後者のアドレス信号DA0、DA1、DA2、チップセレクト信号CS0、CS1、ライトストローブ信号DIOWは、一括して前者の選択命令信号S1 に対応している。また、後者の第1選択信号DR1、第2選択信号DR2は、一括して前者の選択信号S2 に対応している。さらに、後者におけるコンピュータ本体Cからのチップセレクト信号CS0、CS1は、選択回路24を介し、周辺機器D1 、D2 に対してチップセレクト信号CS0、CS1、CS0、CS1として伝送されており、これらは、前者におけるチップセレクト信号S3 、S31、S32に対応している。また、後者における周辺機器D1 、D2 からの割込要求信号INTRQ、INTRQは、選択回路24を介し、コンピュータ本体Cに対して割込要求信号INTRQとして伝送されており、これらは、前者における割込要求信号S41、S42、S4 に対応している。
【0040】
なお、図2において、コンピュータ本体Cと周辺機器D1 、D2 との間には、データバスの4ビットDD4以外のビットを含む無名の制御信号が双方向に伝送されており、これらは、図1における制御信号S5 に対応している。
【0041】
以上の説明において、周辺機器D1 、D2 は、n台(ただしn≧2)であってもよい。このとき、記憶回路22は、選択された周辺機器Di (i=1、2…n)を特定して記憶するために、2ビット以上のメモリとすればよく、選択信号作成回路23は、選択された周辺機器Di に応じて選択信号S2 を発生するものとする。また、選択回路24は、選択された周辺機器Di に対してコンピュータ本体Cからのチップセレクト信号S3 を伝送し、選択された周辺機器Di からの割込要求信号S4iをコンピュータ本体Cに伝送すればよい。
【0042】
かかるインタフェイスケーブルは、1枚の基板PBに対し、本体側のコネクタ11と、機器側のコネクタ12、12の一方と、制御回路20とを搭載し(図3)、機器側のコネクタ12、12の他方は、多芯のフラットケーブルFCを介して基板PBから引き出して構成することができる。一般に、ノート形のパーソナルコンピュータは、1台の周辺機器D1 のみしか内部に装填することができないから、かかる構成のインタフェイスケーブルは、周辺機器D1 をパーソナルコンピュータに装填し、他の周辺機器D2 を外付けにして増設する場合に便利に使用することができる。ただし、このときの基板PBは、パーソナルコンピュータに設けられている周辺機器D1 の装填用のスロットに挿入可能に形成して周辺機器D1 の前面に固定し、フラットケーブルFCは、周辺機器D1 に沿ってコネクタ12を外部にまで引出し可能な長さに形成するものとする。
【0043】
【発明の効果】
以上説明したように、この発明によれば、本体側のコネクタ、機器側のコネクタ間に制御回路を介装し、制御回路においてコンピュータ本体側からの選択命令を検出記憶することによって、各周辺機器は、設定スイッチを介してあらかじめマスタ、スレーブの別を設定しておく必要がなく、コンピュータ本体側から自在に選択することができるから、厄介な設定操作が不要であり、誤設定によるデータ破壊事故のおそれも全くないという優れた効果がある。
【図面の簡単な説明】
【図1】 全体ブロック系統図
【図2】 詳細ブロック系統図
【図3】 全体構成模式図
【符号の説明】
C…コンピュータ本体
D1 、D2 …周辺機器
SW…選択スイッチ
S3 、S31、S32、CS0、CS1…チップセレクト信号
S4 、S41、S42、INTRQ…割込要求信号
11、12…コネクタ
20…制御回路
23…選択信号作成回路
24…選択回路
25…データバス制御回路
[0001]
BACKGROUND OF THE INVENTION
The present invention provides a computer system, particularly a small personal computer system, in which when a plurality of peripheral devices are commonly connected to a single input / output port, the selection of the peripheral devices can be easily switched. It relates to an interface cable in the system.
[0002]
[Prior art]
In a small computer system including a personal computer, there are cases where a plurality of peripheral devices are connected to a single input / output port and a specific one is selected and used. As such an interface, for example, an IDE interface is used. It has been known.
[0003]
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. That is, each peripheral device has a built-in setting switch. By setting one as a master and the other as a slave, each peripheral device can be individually accessed from the computer body side. If only one peripheral device is connected, it must be set as the master. When the power is turned on, each peripheral device performs a self-diagnosis in response to the reset signal. At this time, the master confirms the existence of the slave and transmits the result to the computer main body via the master. Because it is.
[0004]
[Problems to be solved by the invention]
In such a conventional technique, the peripheral device that starts from the computer main body side when the power is turned on is fixed on the master side. Therefore, if this is changed to the slave side, it is necessary to reset the setting switch in the peripheral device. There is an unavoidable problem that the setting operation is extremely troublesome. At this time, if both peripheral devices are mistakenly set as a master or a slave, an input / output data collision occurs, which may cause a fatal data destruction accident.
[0005]
Therefore, in view of the problems of the prior art, an object of the present invention is to set all peripheral devices uniformly as a master by interposing a simple control circuit between the connectors of the interface cable. Another object of the present invention is to provide an interface cable in a computer system that does not require a troublesome setting operation and also has no risk of data destruction due to an incorrect setting.
[0006]
[Means for Solving the Problems]
In order to achieve this object, the configuration of the present invention includes a main body side connector connected to the computer main body, a device side connector connected to each of a plurality of peripheral devices, a main body side connector, and a device side connector The control circuit is mounted on a board that can be inserted into a slot for loading a peripheral device of a personal computer together with a connector on the main body side, detects and stores a selection command from the computer main body, and selects the control circuit. The gist is to transmit a chip select signal from the computer main body to the peripheral device selected by the instruction, and to transmit an interrupt request signal from the selected peripheral device to the computer main body.
[0007]
The control circuit includes a selection signal generation circuit, and the selection signal generation circuit controls the selection circuit that selects the transmission destination of the chip select signal and the input destination of the interrupt request signal according to the contents of the stored selection instruction. The selection signal generation circuit can be provided with a manual selection switch for correcting the content of the selection command.
[0008]
The control circuit also includes a data bus control circuit, and the data bus control circuit can control the contents of specific bits of the data bus in accordance with the contents of the stored selection instruction.
[0009]
[Action]
In such a configuration, the control circuit detects and stores a selection command from the computer body, transmits a chip select signal to the selected peripheral device, and receives an interrupt request signal from the selected peripheral device. By transmitting, an arbitrary peripheral device can be substantially connected to the computer main body and can be selected to be controllable from the computer main body side. That is, each peripheral device can be operated by selecting an arbitrary one from the computer main body side even if the built-in setting switch is uniformly set on the master side.
[0010]
When the control circuit includes a selection signal generation circuit, the selection signal generation circuit selects a predetermined peripheral device by selecting the transmission destination of the chip select signal and the input destination of the interrupt request signal via the selection circuit. Can be activated.
[0011]
If a manual selection switch is attached to the selection signal generation circuit, the operation content of the selection signal generation circuit can be switched by operating the selection switch. It is possible to modify and arbitrarily change the peripheral device actually selected by the selection command.
[0012]
When the data bus control circuit is provided in the control circuit, the data bus control circuit can control the contents of the specific bit of the data bus. Therefore, for example, the specific bit of the data bus is transmitted to the peripheral device like the IDE interface. Even when sharing the selection operation, it can be handled without any problem.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0014]
The interface cable in the computer system includes a control circuit 20 interposed between a connector 11 on the main body side and connectors 12 and 12 on the equipment side (FIG. 1).
[0015]
The connector 11 on the main body side corresponds to a single input / output port Ca in the computer main body C. The device-side connectors 12 and 12 respectively correspond to one of the two peripheral devices D1 and D2 that are commonly connected to the input / output port Ca. However, the peripheral devices D1 and D2 may be arbitrary information input / output devices including, for example, a hard disk device, a CDROM device, and the like.
[0016]
The selection command signal S1 from the computer main body C is input to the detection circuit 21 of the control circuit 20 through the connector 11 on the main body side. The output of the detection circuit 21 is connected to the storage circuit 22, and the output of the storage circuit 22 is connected to the selection signal creation circuit 23. The selection signal creation circuit 23 is provided with a selection switch SW. The selection signal S2 from the selection signal generation circuit 23 is input to the selection circuit 24.
[0017]
A chip select signal S3 from the computer main body C is input to the selection circuit 24 via the connector 11 on the main body side. The outputs of the selection circuit 24 are individually input to the peripheral devices D1 and D2 through the connectors 12 and 12 on the device side as chip select signals S31 and S32.
[0018]
On the other hand, interrupt request signals S41 and S42 from the peripheral devices D1 and D2 are input to the selection circuit 24 via the connectors 12 and 12 on the device side. The output of the selection circuit 24 is input to the computer main body C via the main body side connector 11 as the interrupt request signal S4. Note that other common control signals, data signals, etc. (hereinafter simply referred to as control signals) S5 are bidirectionally transmitted between the computer main body C and the peripheral devices D1 and D2 via the connectors 11, 12, and 12. It is supposed to be transmitted.
[0019]
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 detects the selection command included in the selection command signal S1. The storage circuit 22 can store the contents of the detected selection command. In other words, the storage circuit 22 can store different peripheral devices Di (i = 1, 2) selected by the selection command.
[0020]
Therefore, the selection signal creation circuit 23 creates the selection signal S2 in accordance with the contents of the selection command stored in the storage circuit 22. However, the selection signal generation circuit 23 at this time generates a selection signal S2 that directly designates the peripheral device Di stored in the storage circuit 22 when the selection switch SW is turned on. When SW is not turned on, a selection signal S2 for designating a peripheral device Dj (j = 2, 1) opposite to the peripheral device Di stored in the storage circuit 22 is generated. That is, the selection signal generation circuit 23 can make necessary corrections to the contents of the selection command from the computer main body C in accordance with the input state of the selection switch SW. Note that the selection switch SW is manually operated appropriately by an operator.
[0021]
The selection circuit 24 uses the chip select signal S3 from the computer main body C as the chip select signal S3i (or S3j) for the selected peripheral device Di (or Dj) according to the selection signal S2 from the selection signal generation circuit 23. The interrupt request signal S4i (or S4j) from the selected peripheral device Di (or Dj) 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 select signal S3 and the input destination of the interrupt request signals S41 and S42 according to the selection signal S2.
[0022]
For example, when the selection signal S2 designates the peripheral device D1, the selection circuit 24 transmits the chip select signal S3 from the computer main body C to the peripheral device D1 as the chip select signal S31, and the interrupt request signal from the peripheral device D1. S41 is transmitted to the computer main body C as an interrupt request signal S4. When the selection signal S2 designates the peripheral device D2, the selection circuit 24 transmits the chip select signal S3 from the computer main body C to the peripheral device D2 as the chip select signal S32, and the interrupt request signal from the peripheral device D2. S42 is transmitted to the computer main body C as an interrupt request signal S4.
[0023]
That is, when the computer main body C selects one of the peripheral devices D1 and D2 by outputting the selection command signal S1, the storage circuit 22 stores the peripheral device Di selected by the selection command signal S1, and selects the selection signal generation circuit. 23 can substantially connect the selected peripheral device Di or the opposite peripheral device Dj to the computer main body C via the selection circuit 24 in accordance with the input state of the selection switch SW. Therefore, thereafter, the computer main body C can freely access a predetermined peripheral device Di (or Dj). The control signal S5 is bi-directionally transmitted between both the peripheral devices D1 and D2 and the computer main body C, and if necessary, the peripheral device Di (on the side actually selected by the selection circuit 24). Alternatively, it can be used by the computer main body C or as information from the peripheral device Di (or Dj).
[0024]
Note that the selection switch SW is not always necessary. By omitting the selection switch SW, the selection signal generation circuit 23 always allows the peripheral device Di stored in the storage circuit 22 to be actually accessible as it is. Can do.
[0025]
A specific example when the present invention is applied to an IDE interface is shown in FIG.
[0026]
In the figure, the detection circuit 21 of the control circuit 20 is configured by cascading two AND gates. Address signals DA0, DA1, DA2 and chip select signals CS0, CS1 are input to the preceding AND gate, and a write strobe signal DIOW is input to the subsequent AND gate. The small white circles at each gate indicate that the signal level has a low level. Therefore, the detection circuit 21 can output the device head register access signal DHRW and the device head register write signal DHW for the peripheral devices D1 and D2 as outputs of the AND gates. This is because, in the IDE interface, the combination of the address signals DA0, DA1, DA2, and the chip select signals CS0, CS1 being low, high, high, low, high indicates an access to the device head register.
[0027]
That is, the detection circuit 21 in FIG. 2 can detect a selection command from the computer main body C and output the device head register write signal DHW.
[0028]
The storage circuit 22 includes a flip-flop that inputs the device head register write signal DHW from the detection circuit 21 to the clock terminal CK. The data terminal 4 of the data bus is connected to the data terminal D of the flip-flop, and the reset signal RESET is input to the clear terminal CLR. Therefore, the storage circuit 22 can store the 4-bit DD4 of the data bus at the rising edge of the device head register write signal DHW and output it as the device selection signal DSEL to the output terminal Q of the flip-flop.
[0029]
The device selection signal DSEL is at a low level when the peripheral device D1 is selected, and is set at a high level when the peripheral device D2 is selected. This is because, in the IDE interface, the 4-bit DD4 of the data bus corresponding to the write operation of the device head register means master selection at the low level and slave selection at the high level. However, it is assumed that the device selection signal DSEL is initialized to a low level by the reset signal RESET at the same time as the power is turned on.
[0030]
That is, when the selection circuit 21 detects a selection command from the computer main body C by the detection circuit 21, the storage circuit 22 can store the content and output it as a device selection signal DSEL.
[0031]
The selection signal generation circuit 23 includes two sets of exclusive OR gates that input the device selection signal DSEL and the ON state signal SWS of the selection switch SW via a pull-up resistor. As an output of the OR gate, a first selection signal DR1 for instructing selection of the peripheral device D1 and a second selection signal DR2 for instructing selection of the peripheral device D2 can be generated. 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 is set to the peripheral device. This is effective when D2 is selected. The second selection signal DR2 is selected when the selection switch SW is turned on and the device selection signal DSEL selects the peripheral device D2, or when the selection switch SW is not turned on and the device selection signal DSEL is turned on. This is effective when D1 is selected.
[0032]
That is, the selection signal generation circuit 23 can output the first selection signal DR1 and the second selection signal DR2 in accordance with the device selection signal DSEL from the storage circuit 22.
[0033]
Which of the first selection signal DR1 and the second selection signal DR2 is valid through the four sets of AND gates, each of which receives the first selection signal DR1 and the second selection signal DR2, respectively, in the selection circuit 24 Thus, the transmission destination of the chip select signals CS0 and CS1 can be selected as one of the peripheral devices D1 and D2. In addition, the selection circuit 24 combines the two AND gates and the OR gates to determine 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. One of the devices D1 and D2 can be selected. A pull-down resistor is inserted in the signal line of the interrupt request signal INTRQ from each of the peripheral devices D1 and D2 in order to prevent the signal level when not in use from becoming unstable.
[0034]
In the control circuit 20 of FIG. 2, a data bus control circuit 25 is added to the signal line of the 4-bit DD4 of the data bus.
[0035]
The data bus control circuit 25 includes two amplifiers in the opposite direction, one transmitting signals from the computer main body C side to the peripheral devices D1 and D2, and the other transmitting from the peripheral devices D1 and D2 side. To the computer main body C side. The operation of the former amplifier is controlled through an AND gate that inputs the write strobe signal DIOW and the device head register write signal DHW from the detection circuit 21, and writing to peripheral devices D1 and D2 other than the device head register is performed. It is designed to operate in response to a load instruction. A pull-down resistor is inserted at the output terminal of the former amplifier to prevent the signal level when it is not in operation from becoming unstable. On the other hand, the operation of the latter amplifier is controlled by the read strobe signal DIOR, and operates in response to all read commands.
[0036]
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 connected to two sets that are opened / closed by a device head register access signal DHRW from the detection circuit 21 via an OR gate. The AND gates are juxtaposed, and the 4-bit DD4 of the data bus from the peripheral devices D1 and D2 is input to one AND gate, and the device selection signal DSEL from the storage circuit 22 is input to the other AND gate. Have been entered.
[0037]
That is, the data bus control circuit 25 operates the former amplifier in response to a write command to the peripheral devices D1 and D2 other than the device head register, thereby transferring the 4-bit DD4 of the data bus from the computer main body C side to the peripheral device. It can be transmitted to the D1 and D2 sides. The data bus control circuit 25 activates the latter amplifier in response to the read command. When the read command designates the device head register, the device selection signal DSEL from the storage 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 transmitted to the computer main body C as it is.
[0038]
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 this way because the IDE interface uses the 4-bit DD4 of the data bus as a general data bus, This is because they are also used in common to select one of the peripheral devices D1 and D2 set as one of the slaves. 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]
Comparing FIG. 1 and FIG. 2, the components with the same reference numerals correspond to each other, and the latter address signals DA0, DA1, DA2, chip select signals CS0, CS1, and write strobe signal DIOW are collectively shown in the former. This corresponds to the selection command signal S1. The latter first selection signal DR1 and second selection signal DR2 correspond to the former selection signal S2 at once. Further, the chip select signals CS0 and CS1 from the computer main body C in the latter are transmitted as the chip select signals CS0, CS1, CS0 and CS1 to the peripheral devices D1 and D2 via the selection circuit 24. This corresponds to the former chip select signals S3, S31, and S32. Further, 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 via the selection circuit 24, and these are the interrupt requests in the former. This corresponds to the request signals S41, S42 and S4.
[0040]
In FIG. 2, an anonymous control signal including bits other than the 4-bit DD4 of the data bus is transmitted bidirectionally between the computer main body C and the peripheral devices D1 and D2. Corresponds to the control signal S5 in FIG.
[0041]
In the above description, the number of peripheral devices D1 and D2 may be n (where n ≧ 2). At this time, in order to specify and store the selected peripheral device Di (i = 1, 2,... N), the storage circuit 22 may be a memory of 2 bits or more. It is assumed that the selection signal S2 is generated according to the peripheral device Di that has been transmitted. The selection circuit 24 transmits the chip select signal S3 from the computer main body C to the selected peripheral device Di, and transmits the interrupt request signal S4i from the selected peripheral device Di to the computer main body C. Good.
[0042]
Such an interface cable is equipped with a connector 11 on the main body side, one of the equipment-side connectors 12 and 12 and a control circuit 20 on one board PB (FIG. 3). The other of 12 can be constituted by being pulled out from the substrate PB via a multi-core flat cable FC. In general, since a notebook personal computer can be loaded with only one peripheral device D1, 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 externally. However, the board PB at this time is formed so as to be insertable into a slot for loading the peripheral device D1 provided in the personal computer and fixed to the front surface of the peripheral device D1, and the flat cable FC extends along the peripheral device D1. The connector 12 is formed to a length that can be pulled out to the outside.
[0043]
【The invention's effect】
As described above, according to the present invention, a control circuit is interposed between a connector on the main body side and a connector on the device side, and a selection command from the computer main body side is detected and stored in the control circuit. Since there is no need to set the master and slave in advance via the setting switch, it can be freely selected from the computer body side, so there is no need for troublesome setting operations. There is an excellent effect that there is no fear of any.
[Brief description of the drawings]
[Fig. 1] Overall block diagram [Fig. 2] Detailed block diagram [Fig. 3] Schematic diagram of overall configuration [Explanation of symbols]
C: Computer main body D1, D2: Peripheral device SW: Selection switch S3, S31, S32, CS0, CS1 ... Chip select signals S4, S41, S42, INTRQ ... Interrupt request signals 11, 12 ... Connector 20 ... Control circuit 23 ... Selection signal generation circuit 24 ... selection circuit 25 ... data bus control circuit

Claims (4)

コンピュータ本体に接続する本体側のコネクタと、複数の周辺機器のそれぞれに接続する機器側のコネクタと、前記本体側のコネクタ、機器側のコネクタ間に介装する制御回路とを備えてなり、該制御回路は、パーソナルコンピュータの周辺機器装填用のスロットに挿入可能な基板に前記本体側のコネクタとともに搭載し、コンピュータ本体からの選択命令を検出記憶し、選択命令によって選択された周辺機器に対してコンピュータ本体からのチップセレクト信号を伝送し、選択された周辺機器からの割込要求信号をコンピュータ本体に伝送することを特徴とするコンピュータシステムにおけるインタフェイスケーブル。It comprises a main body of the connector for connecting to the computer, and the device-side connector to be connected to each of the plurality of peripheral devices, the main body of the connector, and a control circuit which is interposed between the device-side connector, the The control circuit is mounted on a board that can be inserted into a slot for loading a peripheral device of a personal computer together with the connector on the main body side, detects and stores a selection command from the computer main body , and for the peripheral device selected by the selection command An interface cable in a computer system for transmitting a chip select signal from a computer main body and transmitting an interrupt request signal from a selected peripheral device to the computer main body. 前記制御回路は、選択信号作成回路を備え、該選択信号作成回路は、記憶された選択命令の内容に従い、チップセレクト信号の伝送先、割込要求信号の入力先を選択する選択回路を制御することを特徴とする請求項1記載のコンピュータシステムにおけるインタフェイスケーブル。The control circuit includes a selection signal generation circuit, and the selection signal generation circuit controls a selection circuit that selects a transmission destination of a chip select signal and an input destination of an interrupt request signal in accordance with the contents of the stored selection instruction. The interface cable in a computer system according to claim 1. 前記選択信号作成回路には、選択命令の内容を修正する手動の選択スイッチを付設することを特徴とする請求項2記載のコンピュータシステムにおけるインタフェイスケーブル。3. The interface cable in a computer system according to claim 2, wherein the selection signal generation circuit is provided with a manual selection switch for correcting the content of the selection command . 前記制御回路は、データバス制御回路を備え、該データバス制御回路は、記憶された選択命令の内容に従い、データバスの特定ビットの内容を制御することを特徴とする請求項1ないし請求項3のいずれか記載のコンピュータシステムにおけるインタフェイスケーブル。4. The control circuit includes a data bus control circuit, and the data bus control circuit controls the contents of a specific bit of the data bus according to the contents of a stored selection instruction. An interface cable in the computer system according to any one of the above.
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 JPH09114562A (en) 1997-05-02
JP3700065B2 true 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
JPH09114562A (en) 1997-05-02

Similar Documents

Publication Publication Date Title
US4443846A (en) Dual port exchange memory between multiple microprocessors
US4396978A (en) Multiprocessor system with switchable address space
EP0518488A1 (en) Bus interface and processing system
KR930016885A (en) Arbitration method between computer system and input / output device and central processing unit
US4322794A (en) Bus connection system
CA1319199C (en) Bus data path control scheme
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
US5909560A (en) Target peripheral device detection in a multi-bus system
US4878173A (en) Controller burst multiplexor channel interface
JP3700065B2 (en) Interface cables in computer systems
US4539656A (en) Memory access selection circuit
US5261115A (en) Multi-board system with shift board selection
US5692161A (en) Method and apparatus for operating a microcomputer in an emulation mode to access an external peripheral
US5218683A (en) Method and apparatus for concealing the enablement of a device by modifying a status word
KR950008440B1 (en) Semiconductor memory circuit having bit clear and register initialize fonction
US6813671B1 (en) Controller for hot swapping of extended I/O device to computer body
JPS6184767A (en) Inter-system connecting method
US20020194405A1 (en) Disk array system with large storage capacity
KR890005994Y1 (en) Input-output control devices
KR0169622B1 (en) Interface circuit between host system and cdi system
JP2642132B2 (en) Image display system
JPH05173876A (en) Extended memory board
KR970007157Y1 (en) Interface apparatus between system bus and multiple parallel port
JPH041837A (en) Memory access circuit

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 or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110722

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110722

Year of fee payment: 6

FPAY Renewal fee payment (event 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