JP3401221B2 - Storage device - Google Patents

Storage device

Info

Publication number
JP3401221B2
JP3401221B2 JP37049899A JP37049899A JP3401221B2 JP 3401221 B2 JP3401221 B2 JP 3401221B2 JP 37049899 A JP37049899 A JP 37049899A JP 37049899 A JP37049899 A JP 37049899A JP 3401221 B2 JP3401221 B2 JP 3401221B2
Authority
JP
Japan
Prior art keywords
block
sleep
bus
scsi
power consumption
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 - Lifetime
Application number
JP37049899A
Other languages
Japanese (ja)
Other versions
JP2000227893A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP37049899A priority Critical patent/JP3401221B2/en
Publication of JP2000227893A publication Critical patent/JP2000227893A/en
Application granted granted Critical
Publication of JP3401221B2 publication Critical patent/JP3401221B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワークステーション,
パーソナルコンピュータ等の記憶装置、特に記憶装置
低消費電力化のための構成に関する。
The present invention relates to a workstation,
The present invention relates to a storage device such as a personal computer, and particularly to a configuration for reducing the power consumption of the storage device .

【0002】[0002]

【従来の技術】従来、ワークステーション、パーソナル
コンピュータ等の周辺装置、これを制御する周辺制御用
のLSI(Large Scale Integrated)の低消費電力化に
ついて種々の検討がなされている。
2. Description of the Related Art Conventionally, various studies have been made to reduce the power consumption of peripheral devices such as workstations and personal computers and peripheral control LSIs (Large Scale Integrated) for controlling them.

【0003】例えば、周辺制御用LSIでは低消費電力
モード指定の専用の入力端子を有し、外部マイクロプロ
セッサや低消費電力コントローラからの出力信号によっ
て、指示された期間、低消費電力モードを保つよう構成
される。これによって、周辺制御用LSIの内部の、例
えば基準クロックで動作するディジタル回路において
は、その一部又は全部のクロックを上述した指定期間停
止させることにより、低消費電力化を図っていた。又、
周辺制御用LSIの内部のアナログ回路においても、指
定期間中、電流源回路の一部又は全てをカットオフさせ
ることで低消費電力化を図っていた。
For example, a peripheral control LSI has a dedicated input terminal for designating a low power consumption mode, and is kept in the low power consumption mode for a period instructed by an output signal from an external microprocessor or a low power consumption controller. Composed. As a result, in a peripheral control LSI, for example, in a digital circuit that operates with a reference clock, some or all of the clocks are stopped for the specified period to reduce power consumption. or,
Also in the analog circuit inside the peripheral control LSI, the power consumption is reduced by cutting off part or all of the current source circuit during the designated period.

【0004】又、他の従来例として、ハードディスク、
CDROM(Compact Disk Read Only Memory)、フロッ
ピーディスクなどの周辺装置においては、アルプス電気
株式会社発行の、小型ハードディスク装置、DRR04
0C製品仕様書(第1版)に記載のように、システムの
小型軽量化のために、ホストコンピュータを構成するマ
イクロプロセッサ等から、コマンドを受け取り、実行し
ているとき以外、消費電力を抑える構造となっている。
Further, as another conventional example, a hard disk,
For peripheral devices such as CDROM (Compact Disk Read Only Memory) and floppy disk, a small hard disk device, DRR04, issued by Alps Electric Co., Ltd.
As described in the 0C product specification (1st edition), in order to reduce the size and weight of the system, a structure that suppresses power consumption except when a command is received from a microprocessor or the like constituting a host computer and is executed Has become.

【0005】図20にDRR040Cの構成概略図を示
す。このDRR040Cは、磁性体よりなる円板180
1および該円板1801に記録された磁気情報を読み取
るヘッド1802、該ヘッド1802を前記円板180
1上の目的の位置まで動かすヘッドアクチュエータ18
03、前記円板1801を回転させるスピンドルモータ
ー1804、前記ヘッドアクチュエータ1803の動作
を制御するアクチュエータ制御回路1805、DRR0
40C全体の動作を制御するCPU(CentralProcessin
g Unit)1806、該CPU1806からの制御信号に
より前記スピンドルモータ1804を制御するスピンド
ルモータ制御回路1807、前記CPU1806からの
デジタル情報をアナログ情報にかえ前記アクチュエータ
制御回路1805に渡すD/Aコンバータ1808、前
記ヘッド1802から読み取られた信号を、波形整形
し、パルス列に変換するREAD/WRITE回路18
10、該READ/WRITE回路1810によって作
られたパルス列をパラレルデータに変換するハードディ
スクコントローラ1811、前記READ/WRITE
回路1810により検出された、ヘッド位置決めなどの
アナログ情報をデジタル情報に変え前記CPU1806
に渡すA/Dコンバータ1809、円板1801より読
み取られた信号またはATバス1812から与えられた
信号を一時的に保存し、ATバス1812と円板180
1の読み取りの速度差を調整するバッファ1813、C
PU1806により制御されATバス1812を制御す
るATバス制御回路1814から構成される。
FIG. 20 shows a schematic diagram of the structure of the DRR040C. This DRR040C is a disk 180 made of a magnetic material.
1 and a head 1802 for reading the magnetic information recorded on the disk 1801, and the head 1802 for the disk 180
Head actuator 18 for moving to a desired position on
03, a spindle motor 1804 for rotating the disc 1801, an actuator control circuit 1805 for controlling the operation of the head actuator 1803, and DRR0.
CPU (Central Processin) that controls the operation of the entire 40C
g Unit) 1806, a spindle motor control circuit 1807 which controls the spindle motor 1804 by a control signal from the CPU 1806, a D / A converter 1808 which converts digital information from the CPU 1806 to analog information and passes it to the actuator control circuit 1805, A READ / WRITE circuit 18 that shapes the waveform of the signal read from the head 1802 and converts it into a pulse train.
10, a hard disk controller 1811 for converting the pulse train generated by the READ / WRITE circuit 1810 into parallel data, the READ / WRITE
The CPU 1806 converts analog information such as head positioning detected by the circuit 1810 into digital information.
The signal read from the A / D converter 1809, the disc 1801 or the signal given from the AT bus 1812 is temporarily stored in the AT bus 1812 and the disc 180.
A buffer 1813, C for adjusting the speed difference of reading 1
The AT bus control circuit 1814 is controlled by the PU 1806 and controls the AT bus 1812.

【0006】なお、ここでATバスとはPC/AT(こ
れは、米国 IBM社の登録商標である。)のインタフ
ェースを有するバスを意味する。
Here, the AT bus means a bus having a PC / AT (this is a registered trademark of IBM Corporation in the United States) interface.

【0007】DRR040Cは、ATバスからコマンド
を受け取り実行していないとき、以下のように制御し消
費電力を抑える。
When the DRR040C receives a command from the AT bus and is not executing the command, the DRR040C controls as follows to suppress power consumption.

【0008】1.ATバスから受け取ったコマンドがす
べて完了したとき、DRR040Cは、アイドルモード
(1)にはいる。アイドルモート(1)の状態にあると
き、DRR040C内のCPU1806は前記ハードデ
ィスクコントローラ1811を停止させ、前記READ
/WRITE回路1810の電源を切断する。
1. When all commands received from the AT bus are complete, the DRR040C enters idle mode (1). When in the idle mote (1) state, the CPU 1806 in the DRR040C stops the hard disk controller 1811, and the READ
The power of the / WRITE circuit 1810 is cut off.

【0009】2.アイドルモード(1)にはいってから
更に5秒間ATバスからアクセスされなかったとき、D
RR040Cは、アイドルモード(2)にはいる。アイ
ドルモード(2)の状態にあるとき、DRR040C内
のCPU1806は、前記アクチュエータ制御回路18
05、D/Aコンバータ1808、A/Dコンバータ1
809の電源を切断する。
2. If the AT bus is not accessed for 5 seconds after entering the idle mode (1), D
The RR040C enters idle mode (2). When in the idle mode (2) state, the CPU 1806 in the DRR040C causes the actuator control circuit 18
05, D / A converter 1808, A / D converter 1
The power of 809 is cut off.

【0010】3.アイドルモード(2)にはいってから
一定時間(デフォルトは3分)ATバスからアクセスさ
れなかったとき、DRR040Cはスタンバイモードに
はいる。スタンバイモードの状態にあるとき、DRR0
40C内のCPU1806は、前記スピンドルモータ制
御回路1807およびスピンドルモータ1804の電源
を切断する。また、CPU1806もスリープ状態にな
る。
3. The DRR040C enters the standby mode when it is not accessed from the AT bus for a certain period of time (default is 3 minutes) after entering the idle mode (2). When in the standby mode, DRR0
The CPU 1806 in 40C turns off the power supplies of the spindle motor control circuit 1807 and the spindle motor 1804. Further, the CPU 1806 also enters a sleep state.

【0011】4.ATバスからのスリープコマンドの受
信により、DRR040Cは、完全な低消費電力モード
であるスリープモードにはいる。スリープモードの状態
にあるとき、DRR040Cはスタンバイモードの状態
から更に、ATバス制御回路1814をスリープ状態に
する。スリープモードにあるとき、DRR040CはA
Tバスからのコマンドを受け付けず、RESETによっ
てのみ、ドライブを起動することが出来る。DRR04
0Cは、上記のように動作することにより、ホストコン
ピュータから、コマンドを受け取り実行していないとき
消費電力を抑えることが出来る。
4. Upon receiving the sleep command from the AT bus, the DRR040C enters the sleep mode, which is a completely low power consumption mode. When in the sleep mode, the DRR040C further puts the AT bus control circuit 1814 in the sleep state from the standby mode. DRR040C is A when in sleep mode
The drive can be started only by RESET without receiving a command from the T bus. DRR04
By operating as described above, 0C can reduce power consumption when a command is received from the host computer and is not being executed.

【0012】[0012]

【発明が解決しようとする課題】上述した従来技術のう
ち、前者においては、低消費電力化モードを周辺制御用
LSIの外部のマイクロプロセッサやコントローラが指
示している。そのため、最大限の低消費電力化を実現す
るためには、外部のマイクロプロセッサ等が、多数回低
消費電力モード指命を出す必要があり、外部のマイクロ
プロセッサ等の負担が大き過ぎるという問題があった。
Among the above-mentioned conventional techniques, in the former case, a microprocessor or controller external to the peripheral control LSI instructs the low power consumption mode. Therefore, in order to realize the maximum reduction in power consumption, an external microprocessor or the like needs to give instructions in a low power consumption mode many times, which causes a problem that the load of the external microprocessor or the like is too large. there were.

【0013】又、外部のマイクロプロセッサ等は、低消
費電力化を指示する周辺制御用LSI内部の動作状態を
正確に把握できないため、きめ細かく低消費電力化のた
めの制御を実行できず、最大限の低消費電力化を実現で
きないという問題点があった。
Further, since the external microprocessor or the like cannot accurately grasp the operation state inside the peripheral control LSI which instructs the power consumption reduction, it is not possible to perform the control for the power consumption reduction in detail and the maximum. However, there is a problem that the low power consumption cannot be realized.

【0014】一方、後者の従来例においては、スタンバ
イモードでは、ATバス制御回路14にて消費される電
流については考慮されておらず、消費電力が大きくなる
という点で問題があった。又、完全な低消費電力モード
であるスリープモードでは、コマンドを全く受け付け
ず、ホストコンピュータ等からのリセットによってのみ
起動可能であり、応答性の点の考慮されておらず、ホス
トコンピュータのオーバーヘッドが大きくなるという問
題があった。
On the other hand, in the latter conventional example, in the standby mode, the current consumed in the AT bus control circuit 14 is not taken into consideration, and there is a problem in that the power consumption increases. In the sleep mode, which is a completely low power consumption mode, commands are not accepted at all and can be activated only by a reset from the host computer, etc., and the responsiveness is not taken into consideration, and the overhead of the host computer is large. There was a problem of becoming.

【0015】本発明の目的は、周辺装置、周辺機器制御
装置の低消費電力化の構成を提供することにある。
An object of the present invention is to provide a configuration for reducing power consumption of peripheral devices and peripheral device control devices.

【0016】本発明の他の目的は、外部のプロセッサ等
の負担を軽減しながら、消費電力を最大限に低減するこ
とができる記憶装置を提供することにある。
Another object of the present invention is to provide a storage device capable of reducing power consumption to the maximum while reducing the load on an external processor or the like.

【0017】本発明の更なる目的は、外部のプロセッサ
等からのコマンド待ち状態における、消費電力を削除で
きる記憶装置を提供することにある。
A further object of the present invention is to provide a storage device capable of eliminating power consumption while waiting for a command from an external processor or the like.

【0018】本発明の更なる他の目的は、外部のプロセ
ッサ等からのコマンド待ち状態における消費電力を削減
しても、応答性の良い記憶装置を提供することにある。
Still another object of the present invention is to provide a storage device having good responsiveness even when the power consumption in a command waiting state from an external processor or the like is reduced.

【0019】本発明の他の更なる目的は、SCSI(Sm
all Computer System Interface)システムの消費電流の
削減を容易に行なうことが可能である記憶装置を提供す
ることにある。
Another further object of the present invention is to use SCSI (Sm
All computer system interface) It is an object of the present invention to provide a storage device that can easily reduce the current consumption of the system.

【0020】[0020]

【課題を解決するための手段】上記目的を達成するた
め、本発明においては、プロセッサ等の外部処理手段が
接続されているバスに接続された周辺制御装置であっ
て、外部処理手段からのアクセス開始を検出する活性化
開始検出手段と、アクセス動作の終了を検出する活性化
終了検出手段と、消費電力制御手段とを有し、活性化開
始検出手段の出力により、消費電力制御手段が低消費電
力モードの解除を行ない、活性化終了検出手段の出力に
より、消費電力制御手段が低消費電力モードに復帰する
よう制御を行なう構成とする。
In order to achieve the above object, according to the present invention, there is provided a peripheral control device connected to a bus to which external processing means such as a processor is connected, the access from the external processing means. It has an activation start detection means for detecting the start, an activation end detection means for detecting the end of the access operation, and a power consumption control means. The output of the activation start detection means reduces the power consumption control means. The power mode is released, and the output of the activation end detecting means controls the power consumption control means to return to the low power consumption mode.

【0021】外部処理手段による周辺制御装置のアクセ
スは、外部処理手段から周辺制御装置に対するコマンド
設定の際や、外部処理手段による周辺制御装置のステー
タス検出の際に開始される。
The access of the peripheral control device by the external processing means is started when the command is set from the external processing means to the peripheral control device or when the status of the peripheral control device is detected by the external processing means.

【0022】更に、本発明においては、ホストコンピュ
ータやメインCPUと周辺機器を接続するバスがSCS
Iバスで構成されたSCSIシステムにおいて、ホスト
コンピュータ等による周辺機器制御装置や周辺制御用L
SIのアクセス開始となるセレクションフェーズの際の
SCSI用IDを検出するID認識手段を上述した活性
化開始検出手段とする構成とする。
Further, in the present invention, the bus connecting the host computer and the main CPU to the peripheral equipment is SCS.
In a SCSI system composed of I-bus, a peripheral device control device by a host computer or L for peripheral control
The ID recognition means for detecting the SCSI ID during the selection phase, which is the start of SI access, is the activation start detection means described above.

【0023】[0023]

【作用】本発明においては、周辺制御装置や周辺制御用
LSIが外部のマイクロプロセッサ等のホストコンピュ
ータからのコマンド待ちなどの状態において、低消費電
力モードにしておき、ホストコンピュータからのコマン
ド設定/ステータス検出などのアクセス開始時に、低消
費電力モードを解除する。これにより、装置やLSI内
部における累積的な、無駄な消費電力の損失を削減さ
せ、徹底した低消費電力化を実現することができる。
According to the present invention, when the peripheral control device or the peripheral control LSI is waiting for a command from the host computer such as an external microprocessor, the low power consumption mode is set and the command setting / status from the host computer is set. When access such as detection is started, the low power consumption mode is released. As a result, it is possible to reduce cumulative and useless power consumption loss inside the device or the LSI, and realize thorough power consumption reduction.

【0024】上述した、活性化開始検出手段、活性化終
了検出手段、及び消費電力制御手段は周辺機器制御装置
や周辺制御LSIの内部に位置する。周辺機器制御装置
とは、メインCPUに対する周辺機器の制御装置であ
り、例えば、ファイルコントローラ、表示コントロー
ラ、キーボードコントローラ、プリンタコントローラ、
通信コントローラを意味し、周辺制御LSIとはそれら
の半導体集積回路をいう。
The activation start detecting means, the activation end detecting means, and the power consumption controlling means described above are located inside the peripheral device control device and the peripheral control LSI. The peripheral device control device is a control device for peripheral devices with respect to the main CPU, and includes, for example, a file controller, a display controller, a keyboard controller, a printer controller,
It means a communication controller, and the peripheral control LSI means those semiconductor integrated circuits.

【0025】本発明において、消費電力制御手段は、低
消費電力モードであるスリープモードにおいて、装置や
LSI内部の主要部分のディジタル回路のクロック源、
又はアナログ回路の電源をカットすることにより、装置
やLSIの主要部分の動作を停止させ、低消費電力状態
を維持する。そして、ホストコンピュータやメインCP
Uからのコマンド設定やステータス検出などによるアク
セスが開始されると、常時動作している活性化開始検出
手段がそのアクセス開始を検出し、この検出に基づき、
消費電力制御手段が低消費電力モードを解除する。更
に、このアクセス開始にともなう動作の終了を活性化終
了検出手段が検出すると、消費電力制御手段は再度低消
費電力モードを設定する。
In the present invention, the power consumption control means, in the sleep mode which is a low power consumption mode, is a clock source of a digital circuit of a main part inside the device or LSI,
Alternatively, by cutting off the power supply of the analog circuit, the operation of the main part of the device or LSI is stopped and the low power consumption state is maintained. And the host computer and main CP
When access is started by command setting or status detection from U, the activation start detection means that is always operating detects the start of access, and based on this detection,
The power consumption control means releases the low power consumption mode. Further, when the activation end detection means detects the end of the operation accompanying the start of access, the power consumption control means sets the low power consumption mode again.

【0026】本発明によるSCSIシステムにおいて
は、SCSIのID認識手段を他の機能ブロックと分離
し、コマンド待ち状態などにおいて、この他の機能ブロ
ックをスリープモードに設定しておくことにより、SC
SIシステムの消費電力の削減を容易に行うことができ
る。
In the SCSI system according to the present invention, the SCSI ID recognition means is separated from other functional blocks, and the other functional blocks are set in the sleep mode in a command waiting state or the like.
It is possible to easily reduce the power consumption of the SI system.

【0027】以上、本発明の概略を説明したが本発明は
これらの記載に限定されるものでない。又、本発明の他
の側面は以下に説明する本発明の実施例から明らかにな
ろう。
The outline of the present invention has been described above, but the present invention is not limited to these descriptions. Other aspects of the present invention will be apparent from the embodiments of the present invention described below.

【0028】[0028]

【実施例】以下、本発明の実施例を図面を用いて詳述す
る。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0029】図3に、本発明の周辺機器制御装置又は周
辺制御用LSIが用いられる情報処理装置の構成例を示
す。この情報処理装置は、ワークステーションやパーソ
ナルコンピュータ等の基本構成であり、メインCPU1
4,ROM15,RAM16がバス50に接続されてい
る。このバス50には、ファイルコントローラ17、表
示コントローラ18、キーボードコントローラ19、プ
リンタコントローラ20、通信コントローラ21等が接
続されている。又、これらのコントローラには、それぞ
れファイル装置22、液晶やCRTディスプレイ23、
キーボード24、プリンタ25、通信路が接続されてい
る。
FIG. 3 shows an example of the configuration of an information processing device in which the peripheral device control device or peripheral control LSI of the present invention is used. This information processing apparatus has a basic configuration such as a workstation and a personal computer, and has a main CPU 1
4, ROM 15 and RAM 16 are connected to the bus 50. A file controller 17, a display controller 18, a keyboard controller 19, a printer controller 20, a communication controller 21 and the like are connected to the bus 50. In addition, these controllers include a file device 22, a liquid crystal display, a CRT display 23, and
A keyboard 24, a printer 25, and a communication path are connected.

【0030】本発明の周辺制御装置又は周辺制御用LS
Iとは、このような情報処理装置において、ファイルコ
ントローラ17、表示コントローラ18、キーボードコ
ントローラ19、プリンタコントローラ20、通信コン
トローラ21等を意味する。
Peripheral control device or peripheral control LS of the present invention
I means a file controller 17, a display controller 18, a keyboard controller 19, a printer controller 20, a communication controller 21, and the like in such an information processing apparatus.

【0031】図1は、本発明の一実施例である周辺制御
装置又は一チップ構成の周辺制御用LSIを示す図であ
る。同図の消費電力制御回路2は、同図の装置又はLS
Iが、バス50を介してメインCPU14からのコマン
ド設定又はコマンド以外のアクセスを受けていない時
は、内部クロックを停止させ、レジスタ群8〜10、I
/O制御回路11〜13の動作を停止させ、スリープモ
ードとして消費電力の損失を防ぐ消費電力制御手段であ
り、活性化検出手段の機能をも有する。このとき、消費
電力制御回路2、アドレスラッチ3、ラッチ6、アドレ
スデコーダ4、ゲート5は常時動作状態になっている。
FIG. 1 is a diagram showing a peripheral control device or a one-chip peripheral control LSI according to an embodiment of the present invention. The power consumption control circuit 2 shown in FIG.
When I is not receiving command settings or accesses other than commands from the main CPU 14 via the bus 50, the internal clock is stopped and the register groups 8-10, I
It is a power consumption control unit that stops the operations of the / O control circuits 11 to 13 and sets the sleep mode to prevent the loss of power consumption, and also has a function of an activation detection unit. At this time, the power consumption control circuit 2, the address latch 3, the latch 6, the address decoder 4, and the gate 5 are always operating.

【0032】その後、メインCPU1806からのコマ
ンド設定が発生すると、消費電力制御回路2は、メイン
CPU14からのチップセレクト、ライトストローブ
等、およびアドレスコーダ4、ゲート5の出力により、
コマンド設定開始、すなわち、活性化を検出し、内部ク
ロックをレジスタ群8〜10及びI/O制御回路11〜
13に供給する。
After that, when a command is set from the main CPU 1806, the power consumption control circuit 2 causes the main CPU 14 to perform chip select, write strobe, etc., and the output of the address coder 4 and the gate 5.
Command setting start, that is, activation is detected and the internal clock is set to the register groups 8 to 10 and the I / O control circuits 11 to 11.
Supply to 13.

【0033】これにより、レジスタ群8〜10、I/O
制御回路11〜13は動作可能な状態になり、ラッチ6
に保持されていたコマンドが各レジスタ群8〜10内の
コマンドレジスタに移される。このため、メインCPU
1806からのコマンドの実行状態になる。このコマン
ド処理が終了すると、I/O制御回路11〜13は、活
性化終了検出手段としてのNORゲート1に対しコマン
ド終了信号を出力し、これらのNORゲート1出力が消
費電力制御回路2に入力される。消費電力制御回路2
は、これにより再び内部クロック出力を停止させ低消費
電力モードに戻る。
As a result, the register groups 8 to 10 and I / O
The control circuits 11 to 13 become operable and the latch 6
The command held in the register is transferred to the command register in each register group 8-10. Therefore, the main CPU
The command from 1806 is in the execution state. When this command processing is completed, the I / O control circuits 11 to 13 output a command end signal to the NOR gate 1 as the activation end detection means, and these NOR gate 1 outputs are input to the power consumption control circuit 2. To be done. Power consumption control circuit 2
This stops the internal clock output again and returns to the low power consumption mode.

【0034】次にメインCPU14からのコマンド設定
以外のアクセスにおいては、チップセレクト、ライトス
トローブ又はリードストローブにより、消費電力制御回
路2は、アクセス開始、すなわち、活性化を検知し、制
御用LSI又は制御装置を動作可能状態にし、低消費電
力モードの解除を行なう。このとき、アドレスラッチ
3、ラッチ6は常時動作状態になっている。ライトデー
タはラッチ6を介して内部へ、又、リードデータはゲー
ト7を介して外部へ出力される。また、このような断続
的なアクセスは、1回のサイクルが短いため、その終了
を消費電力制御回路2内に設けられた活性化終了検出手
段が検知し、低消費電力モードにもどす。
Next, in access other than command setting from the main CPU 14, the power consumption control circuit 2 detects access start, that is, activation by chip select, write strobe, or read strobe, and controls LSI or control. Enables the device and releases the low power consumption mode. At this time, the address latches 3 and 6 are always in operation. Write data is output to the inside via the latch 6, and read data is output to the outside via the gate 7. Further, such an intermittent access is short in one cycle, and therefore the activation end detection means provided in the power consumption control circuit 2 detects the end thereof, and returns to the low power consumption mode.

【0035】次に、消費電力制御回路2の内部構成の一
例を、図2のブロック図、及び図4、図5のタイミング
チャートを用いて説明する。メインCPU14からアド
レス、コマンドデータが、チップセレクトとライトスト
ローブなどの制御信号と共に送られてくると、消費電力
制御回路2では、チップセレクト及びライトストローブ
から図4に示すようにゲート26、ゲート28を介し
て、RSフリップフロップ29がセットされる(時点t
1 )。
Next, an example of the internal configuration of the power consumption control circuit 2 will be described with reference to the block diagram of FIG. 2 and the timing charts of FIGS. When the address and command data are sent from the main CPU 14 together with control signals such as chip select and write strobe, the power consumption control circuit 2 operates the gate 26 and the gate 28 from the chip select and write strobe as shown in FIG. The RS flip-flop 29 is set via the
1 ).

【0036】又このとき、ゲート43の出力のラッチイ
ネーブル信号によりコマンドデータがラッチ6に保持さ
れ、同様にアドレスが、ゲート28の出力アドレスラッ
チイネーブルによりアドレスラッチ3に保持される。R
Sフリップフロップ29の出力は、エッジトリガフリッ
プフロップ31,32により周期化され、フリップフロ
ップ32の出力は、ゲート33を介して内部クロックを
作動させ、低消費電力モードを解除する(時点t2)。
At this time, the command data is held in the latch 6 by the latch enable signal output from the gate 43, and similarly, the address is held in the address latch 3 by the output address latch enable of the gate 28. R
The output of the S flip-flop 29 is cycled by the edge-triggered flip-flops 31 and 32, and the output of the flip-flop 32 activates the internal clock via the gate 33 to release the low power consumption mode (time point t 2 ). .

【0037】これによりフリップフロップ34の出力で
ある内部ライトストローブが出力され、アドレスデコー
ダ4を経由して、コマンドライトストローブ出力がフリ
ップフロップ41に入力される(時点t3)。このと
き、コマンドライトストローブによりラッチ6に保持さ
れたコマンドがレジスタ群8〜9のコマンドレジスタに
移され、各I/O制御回路11〜13での処理がスター
トする。又、フリップフロップ41の出力は、I/O制
御回路11〜13のゲート1を介したコマンド終了信号
を受けつけ可能な状態にする。
As a result, the internal write strobe output from the flip-flop 34 is output, and the command write strobe output is input to the flip-flop 41 via the address decoder 4 (time point t 3 ). At this time, the command held in the latch 6 by the command write strobe is transferred to the command registers of the register groups 8 to 9, and the processing in each I / O control circuit 11 to 13 starts. Further, the output of the flip-flop 41 is set to a state in which it can receive the command end signal via the gate 1 of the I / O control circuits 11 to 13.

【0038】その後、各I/O制御回路11〜13のコ
マンド処理が終了すると、ゲート1を介したコマンド終
了信号が消費電力制御回路2のゲート38に入力され
(時点t4)、ゲート39、フリップフロップ40を介
して、RSフリップフロップ29がリセットされる(時
点t5)。ゲート29の出力はフリップフロップ31,
32を介してゲート33を制御し、内部クロックを停止
させ、低消費電力モードにもどす(時点t6)。
After that, when the command processing of each of the I / O control circuits 11 to 13 is completed, the command end signal via the gate 1 is input to the gate 38 of the power consumption control circuit 2 (time point t 4 ) and the gate 39, The RS flip-flop 29 is reset via the flip-flop 40 (time point t 5 ). The output of the gate 29 is a flip-flop 31,
The gate 33 is controlled via 32 to stop the internal clock and return to the low power consumption mode (time point t 6 ).

【0039】次に、メインCPU14のコマンド設定以
外のアクセスの動作を図5を用いて説明する。低消費電
力モード解除のシーケンスは、図4の場合と同様である
が、低消費電力モードへの復帰については、図2のフリ
ップフロップ34の出力である内部ライトストローブ、
又はフリップフロップ36の出力である内部リードスト
ローブがアサートされると(時点t10)、ゲート35,
37,39とフリップフロップ40を介してRSフリッ
プフロップ29が図5に示すようにリセットされる(時
点t11)。又、RSフリップフロップ29の出力はフリ
ップフロップ31,32を介してゲート33を制御し、
内部クロックを停止させて低消費電力モードに復帰させ
る(時点t12)。すなわち、本実施例においては、フリ
ップフロップ34,36,40とゲート群35,37,
38,39が活性化終了検出手段として機能することに
なる。
Next, an access operation other than command setting of the main CPU 14 will be described with reference to FIG. The sequence for releasing the low power consumption mode is the same as that in the case of FIG. 4, but regarding the return to the low power consumption mode, the internal write strobe output from the flip-flop 34 of FIG.
Alternatively, when the internal read strobe which is the output of the flip-flop 36 is asserted (time point t 10 ), the gate 35,
The RS flip-flop 29 is reset as shown in FIG. 5 via 37 and 39 and the flip-flop 40 (time point t 11 ). The output of the RS flip-flop 29 controls the gate 33 via the flip-flops 31 and 32,
The internal clock is stopped to return to the low power consumption mode (time point t 12 ). That is, in this embodiment, the flip-flops 34, 36, 40 and the gate groups 35, 37,
38 and 39 function as activation end detecting means.

【0040】なお、以上の実施例の説明はディジタル回
路での低消費電力化について述べてきたが、アナログ回
路については、図2のフリップフロップ32の出力又は
RSフリップフロップ29の出力により、アナログ回路
内の電流源をカットオフすることにより、低消費電力化
を実現できる。
In the above description of the embodiments, the power consumption reduction in the digital circuit has been described. However, regarding the analog circuit, the output of the flip-flop 32 or the output of the RS flip-flop 29 of FIG. By cutting off the current source inside, low power consumption can be realized.

【0041】さて、引き続き、図6以降の図面を用い
て、本発明の第2の実施例を詳述する。この第2の実施
例は、SCSI(Small Computer System Interface)に
本発明を適用したシステムに関するものである。SCS
Iシステムは上述した種々の周辺装置や周辺制御装置が
接続されるバス27(図3)として、SCSIバスが用
いられる場合に適用される。
Now, the second embodiment of the present invention will be described in detail with reference to the drawings starting from FIG. The second embodiment relates to a system in which the present invention is applied to SCSI (Small Computer System Interface). SCS
The I system is applied when a SCSI bus is used as the bus 27 (FIG. 3) to which the above-mentioned various peripheral devices and peripheral control devices are connected.

【0042】一般的な、SCSIバスを制御するSCS
Iコントロール用LSIとしては、例えばNCR社の高
度SCSIコントローラ・53C90A、53C90B
のデータシートに記載されているものがあるが、低消費
電力化については配慮されていない。なお、SCSIバ
スの基本的なプロトコルについては、例えば1990年
3月9日にANSI(American National standard for
information system)に提案された、SCSI−2など
を参照されたい。
General SCS for controlling SCSI bus
As the I control LSI, for example, advanced SCSI controllers 53C90A and 53C90B manufactured by NCR, Inc.
There are some data sheets described in, but no consideration is given to low power consumption. Regarding the basic protocol of the SCSI bus, for example, on March 9, 1990, ANSI (American National standard for
information system), see SCSI-2, etc.

【0043】図6は、第2の実施例の原理構成を示して
いる。同図において、SCSIシステムはSCSIバス
601とSCSIコントローラ602とからなり、SC
SIコントローラ602はSCSIのID認識部603
と、他の機能ブロック604と電源供給の面で分離、独
立している。更に他の機能ブロック604はスリープ機
能を持っている。なお、605は活性化開始を意味する
スリープ解除信号である。この機能ブロック604は、
後で詳述するように、コマンドキューに入っているコマ
ンドの実行が全て完了した場合に、クロック入力を切断
し低消費電力モードであるスリープモードに入るので、
SCSIシステムはコマンド待ち状態において、ID認
識部603を除き動作を停止し、電流を消費しない。従
って、消費電流を小さく抑えることが出来る。
FIG. 6 shows the principle configuration of the second embodiment. In the figure, the SCSI system comprises a SCSI bus 601 and a SCSI controller 602.
The SI controller 602 is a SCSI ID recognition unit 603.
And the other functional blocks 604 are separated and independent in terms of power supply. Still another function block 604 has a sleep function. Note that reference numeral 605 is a sleep release signal that signifies the start of activation. This functional block 604 is
As will be described in detail later, when all the commands in the command queue are completed, the clock input is disconnected and the sleep mode, which is a low power consumption mode, is entered.
In the command waiting state, the SCSI system stops the operation except for the ID recognition unit 603 and consumes no current. Therefore, the current consumption can be suppressed to be small.

【0044】ID認識部603は、SCSIシステムが
SCSIバスを介して他のSCSIシステムに選択され
たことを検出する機能を持つ。ID認識部603が、こ
の活性化開始検出手段としての機能により、他のSCS
Iシステムに選択されたことを検出すると、機能ブロッ
ク604に対して最小限必要な一部又は全ての回路を活
性化させるスリープ解除信号を送出する。すなわち、最
小限必要な一部又は全ての回路にクロックを入力し、活
性化することができる。又、ID認識部603と他の機
能ブロック604は電源が分かれており、機能ブロック
604はスリープ状態になった場合その電源が切断され
る。そして、ID認識部603の送出したスリープ解除
信号605を受けた場合に接続されるので、スリープモ
ードでの消費電力は最小限に抑えられる。
The ID recognition unit 603 has a function of detecting that the SCSI system is selected as another SCSI system via the SCSI bus. The ID recognition unit 603 has a function as the activation start detection means, and thus the other SCS
When it is detected that the I system is selected, a wakeup signal for activating a minimum required part or all of the circuits is sent to the function block 604. In other words, the clock can be input to and activated in the minimum required part or all of the circuits. Further, the ID recognition unit 603 and the other functional block 604 are separated from each other in power source, and the functional block 604 is powered off in the sleep state. Since the connection is made when the sleep release signal 605 sent from the ID recognition unit 603 is received, the power consumption in the sleep mode can be minimized.

【0045】又、本実施例におけるSCSI制御用LS
Iは、スリープ状態起動用レジスタ又はスリープ状態起
動用入力信号を持ち、スリープ状態設定値がセットされ
るか、又はスリープ状態起動用信号がアサートされる
と、ID認識部603を除き、回路がスリープ状態とな
る。さらに、SCSIコントロールLSIは、ID認識
部603の送出したスリープ解除の信号を受けると、各
回路ブロック毎のスリープ解除情報を管理するレジスタ
に設定された値に従い、各回路ブロック毎にスリープ解
除を行なうので、ID認識部603での選択状態、ま
た、システム構成によって消費電流が最小になるように
制御できる。さらに、前記SCSIコントロールLSI
は、通常の割込み信号とは別にID認識部603が出力
される外部回路のスリープ解除信号605を持ち、該S
CSIコントロールLSIが他のSCSIシステムから
選択されたのを認識したとき、ID認識部603は外部
回路のスリープ解除信号605をアサートするので、他
のSCSIシステムからのコマンド待ち状態において切
断していた他の機能ブロック用の電源回路を接続するこ
とができ、容易にスリープ状態から復活することができ
る。
Also, the LS for SCSI control in this embodiment
I has a sleep state activation register or a sleep state activation input signal, and when the sleep state setting value is set or the sleep state activation signal is asserted, the circuits except for the ID recognition unit 603 sleep. It becomes a state. Further, when the SCSI control LSI receives the sleep release signal sent from the ID recognition unit 603, it releases the sleep for each circuit block according to the value set in the register that manages the sleep release information for each circuit block. Therefore, the current consumption can be controlled to be minimum depending on the selection state of the ID recognition unit 603 and the system configuration. Further, the SCSI control LSI
Has a sleep release signal 605 of an external circuit to which the ID recognition unit 603 is output, in addition to the normal interrupt signal.
When the CSI control LSI recognizes that it has been selected from another SCSI system, the ID recognition unit 603 asserts the sleep release signal 605 of the external circuit. A power supply circuit for the functional block can be connected, and the sleep state can be easily restored.

【0046】上述した第2の実施例の原理を実現する具
体的構成を図7に示す。同図における1801〜181
3は先に説明した図20の従来構造の要素と同一のもの
を示すためここでの説明は省略する。内部CPU180
6により制御されSCSIバス601を制御するSCS
Iバス制御回路701、内部CPU1806から与えら
れたスリープ信号837により、SCSIバス制御回路
701の一部の回路を除き、全ての回路の電源を切断
し、又、SCSIバス制御回路701から出力されるス
リープ解除信号833により、内部CPU1806、S
CSIバス制御回路701及びバッファ1813の電源
供給を制御する消費電力制御手段としての電源制御回路
835が新たな構成要素である。
FIG. 7 shows a specific configuration for realizing the principle of the second embodiment described above. 1801-181 in the figure
Reference numeral 3 indicates the same element as that of the conventional structure shown in FIG. Internal CPU 180
SCS which is controlled by 6 and controls the SCSI bus 601
The sleep signal 837 provided from the I-bus control circuit 701 and the internal CPU 1806 shuts off the power supply to all circuits except some of the SCSI bus control circuit 701, and outputs from the SCSI bus control circuit 701. By the sleep release signal 833, the internal CPU 1806, S
The power supply control circuit 835 as a power consumption control means for controlling the power supply to the CSI bus control circuit 701 and the buffer 1813 is a new component.

【0047】図8に、SCSIバス制御回路701の一
例のブロック図を示す。図示の都合上、図の右側がSC
SIバス601に接続され、図の左側が内部バス181
5に接続され、図7とは左右逆転しているので注意され
たい。SCSIバス制御回路701は破線で区分けされ
た機能ブロック841,842,843に大きく分けら
れる。
FIG. 8 shows a block diagram of an example of the SCSI bus control circuit 701. For convenience of illustration, the right side of the figure is SC
It is connected to the SI bus 601 and the left side of the figure is the internal bus 181.
Please note that it is connected to No. 5 and the left and right are reversed from FIG. 7. The SCSI bus control circuit 701 is roughly divided into functional blocks 841, 842 and 843 which are divided by broken lines.

【0048】さて、同図において、内部CPUデータバ
ス801は、CPU1806から、SCSIバス制御回
路701をアクセスするためのデータバスであり、先の
内部バス1815の一部を構成する。リード/ライトコ
ントローラ802は、CPU1806、ハードディスク
コントローラ1811などが出力した、RD/,WR
/,CS/,DACK/,DWR/,DRD/等の信号
により、SCSIバス制御回路701の内部レジスタ8
03〜811,815〜818,1608,FIFO8
19などをアクセスするタイミング信号を生成する回路
である。なお、本明細書において、信号名の後“/”は
反転信号を意味する。内部レジスタ803,804,8
05,806,807,808,809,810,81
1はそれぞれ、転送カウント値レジスタ、宛先IDレジ
スタ、コマンドレジスタ、コンフィグ1レジスタ、コン
フィグ2レジスタ、同期オフセットレジスタ、同期転送
周期レジスタ、タイムアウトレジスタ、クロック変換レ
ジスタであり、CPU1806はこれらのレジスタ群に
値を設定することにより、SCSIプロトコルを制御す
ることが出来る。
In the figure, the internal CPU data bus 801 is a data bus for accessing the SCSI bus control circuit 701 from the CPU 1806 and constitutes a part of the internal bus 1815. The read / write controller 802 outputs the RD /, WR output by the CPU 1806, the hard disk controller 1811, and the like.
/, CS /, DACK /, DWR /, DRD /, etc., the internal register 8 of the SCSI bus control circuit 701.
03-811, 815-818, 1608, FIFO8
19 is a circuit for generating a timing signal for accessing 19 or the like. In this specification, “/” after the signal name means an inverted signal. Internal registers 803, 804, 8
05,806,807,808,809,810,81
1 is a transfer count value register, a destination ID register, a command register, a config 1 register, a config 2 register, a synchronous offset register, a synchronous transfer cycle register, a timeout register, and a clock conversion register, and the CPU 1806 stores values in these register groups. By setting, the SCSI protocol can be controlled.

【0049】又、812はSCSIデータバスシングル
エンドレシーバであり、813はSCSIデータバスシ
ングルエンド48mAシンクドライバである。814
は、SCSIバス制御信号シングルエンドレシーバ、8
24はSCSIバス制御信号シングルエンド48mAシ
ンクドライバである。815,816,817,818
はそれぞれ転送カウンタ、ステータスレジスタ、割込み
レジスタ、シーケンスステップカウンタであり、CPU
1806はこれらのレジスタ群を読むことにより、SC
SIプロトコル実行状況を知ることが出来る。
Further, 812 is a SCSI data bus single-ended receiver, and 813 is a SCSI data bus single-ended 48 mA sink driver. 814
Is a SCSI bus control signal single-ended receiver, 8
Reference numeral 24 is a SCSI bus control signal single-ended 48 mA sink driver. 815, 816, 817, 818
Are a transfer counter, a status register, an interrupt register, and a sequence step counter, respectively.
By reading these register groups, the 1806 can
The SI protocol execution status can be known.

【0050】819,820は、CPU1806又はバ
ッファ1813からSCSIバス、あるいはSCSIバ
ス又はバッファ1813からCPU1806へ転送する
データを一時的に保存する機能を持つFIFOである。
821はCPU1806、バッファ1813からSCS
Iバスあるいは、SCSIバスからCPU1806、バ
ッファ1813へ転送するデータのパリティ検出器およ
びパリティ発生器である。823はシーケンサであり、
レジスタ803〜811の設定、およびレシーバ814
より与えられたSCSIバス制御信号の値に従いSCS
Iプロトコルを制御できる。又、その結果をステータス
レジスタ816、割込みレジスタ817に出力する。
Reference numerals 819 and 820 denote FIFOs having a function of temporarily storing the data transferred from the CPU 1806 or the buffer 1813 to the SCSI bus, or the SCSI bus or the buffer 1813 to the CPU 1806.
821 is the SCS from the CPU 1806 and the buffer 1813.
A parity detector and a parity generator for data transferred from the I bus or the SCSI bus to the CPU 1806 and the buffer 1813. 823 is a sequencer,
Setting registers 803-811 and receiver 814
SCS according to the value of SCSI bus control signal given by
I protocol can be controlled. Further, the result is output to the status register 816 and the interrupt register 817.

【0051】825は本実施例における要部としてのI
D認識部であり、図6に示した活性化開始検出手段とし
てのID認識部603に当たり、機能ブロック841に
入っている。ID認識部825は、SCSIバス制御信
号BSY/とSEL/の値を監視し、BSY/がハイレ
ベルで、SEL/がローレベルのとき、本実施例のID
であるOWNIDとSCSIデータバスSDBO/〜S
DB7/の値と比較して、一致しているとスリープ解除
信号833を出力する。
Reference numeral 825 denotes I as a main part in this embodiment.
The D recognition unit corresponds to the ID recognition unit 603 as the activation start detection unit shown in FIG. 6 and is included in the functional block 841. The ID recognition unit 825 monitors the values of the SCSI bus control signals BSY / and SEL /, and when BSY / is at a high level and SEL / is at a low level, the ID of this embodiment is detected.
OWNID and SCSI data bus SDBO / ~ S
Compared with the value of DB7 /, if they match, the sleep release signal 833 is output.

【0052】826はスリープ制御回路である。スリー
プ制御回路826はシーケンサ823から与えられたス
リープ設定信号830により、スリープ制御信号82
8、スリープ制御信号829、スリープ信号827をア
サートし、ID認識部825から与えられたスリープ解
除信号833によりスリープ制御信号828,829,
スリープ信号827をネゲートする機能を持つ。クロッ
ク834は、スリープ制御信号828,829とアンド
をとったものが、それぞれ機能ブロック842、機能ブ
ロック843のクロックとして用いられるクロック信号
である。
Reference numeral 826 is a sleep control circuit. The sleep control circuit 826 receives the sleep control signal 82 from the sleep setting signal 830 given from the sequencer 823.
8, the sleep control signal 829 and the sleep signal 827 are asserted, and the sleep control signal 828, 829,
It has a function of negating the sleep signal 827. The clock 834 is a clock signal obtained by ANDing the sleep control signals 828 and 829 and used as the clocks of the functional block 842 and the functional block 843, respectively.

【0053】835は消費電力制御手段としての電流制
御回路であり、CPU1806から与えられるスリープ
信号837等にって、制御されるスイッチ836と電源
Vccからなる。この電流制御回路835は、ID認識
部825とスリープ制御回路826とレシーバ812と
レシーバ814より構成される機能ブロック841に電
流を供給する電源Vcc2と、機能ブロック842,8
43に電流を供給する電源Vcc1とをそれぞれ独立に
供給する構成を有する。すなわち電流制御回路835
は、CPU1806から与えられるスリープ信号837
によりVcc1をオフ状態とし、ID認識部825より
与えられるスリープ解除信号833によりVcc1をオ
ン状態とするようスイッチ836を制御する。
Reference numeral 835 is a current control circuit as a power consumption control means, which is composed of a switch 836 and a power supply Vcc which are controlled by a sleep signal 837 given from the CPU 1806. The current control circuit 835 includes a power supply Vcc2 that supplies current to a functional block 841 including an ID recognition unit 825, a sleep control circuit 826, a receiver 812, and a receiver 814, and functional blocks 842 and 8.
The power supply Vcc1 for supplying a current to 43 is supplied independently of each other. That is, the current control circuit 835
Is a sleep signal 837 provided from the CPU 1806.
Controls the switch 836 so that Vcc1 is turned off and the sleep release signal 833 supplied from the ID recognition unit 825 turns Vcc1 on.

【0054】次にレシーバ812,レシーバ814の詳
細構成を図11、図12を用いて説明する。
Next, detailed configurations of the receiver 812 and the receiver 814 will be described with reference to FIGS.

【0055】レシーバ812には、図11に示すよう
に。SDBO/〜SDB7/ 1101,1106,1
110,1114,1118,1122,1126,1
130とSDBP/1134をそれぞれ入力するヒステ
リシス付レシーバ1102,1107,1111,11
15,1119,1123,1127,1131,11
35と、それらの出力した信号をクロック1103(図
8のクロック834と等価なクロックである。)で同期
化する3段同期化回路1104,1108,1112,
1116,1120,1124,1128,1132,
1136とから構成される。3段周期化回路1104〜
1136はそれぞれSDBO〜SDBP内部信号110
5〜1137を出力する。
For the receiver 812, as shown in FIG. SDBO / to SDB7 / 1101, 1106, 1
110, 1114, 1118, 1122, 1126, 1
Receivers 1102, 1107, 1111 and 11 with hysteresis for inputting 130 and SDBP / 1134 respectively
15, 1119, 1123, 1127, 1131, 11
35 and three-stage synchronizing circuits 1104, 1108, 1112 for synchronizing the output signals thereof with a clock 1103 (which is a clock equivalent to the clock 834 in FIG. 8).
1116, 1120, 1124, 1128, 1132
1136. 3-stage periodic circuit 1104-
Reference numerals 1136 denote internal signals 110 of SDBO to SDBP.
5 to 1137 are output.

【0056】一方、レシーバ814は、基本的には図1
2に示すように、SCSI制御バス信号BSY/120
1,SEL/1205,REQ/1209,ACK/1
213,I/O/1217,C/D/1221,MSG
/1225,ATN/1229,RST/1233(こ
れらの信号の機能については先に示したSCSIプロト
コルの規格書を参照されたい。)をそれぞれ入力するヒ
ステリシス付レシーバ1202,1206,1210,
1214,1218,1222,1226,1230,
1234と、これらが出力した信号をクロック1103
で同期化する3段周期化回路1203,1207,12
11,1215,1219,1223,1227,12
31,1235とから構成される。3段周期化回路12
03〜1235はそれぞれBSY内部信号1204,S
EL内部信号1208,REQ内部信号1212,AC
K内部信号1216,I/O内部信号1220,C/D
内部信号1224,MSG内部信号1228,ATN内
部信号1232,RST内部信号1236を出力する。
On the other hand, the receiver 814 basically has the structure shown in FIG.
2, the SCSI control bus signal BSY / 120
1, SEL / 1205, REQ / 1209, ACK / 1
213, I / O / 1217, C / D / 1221, MSG
/ 1225, ATN / 1229, RST / 1233 (refer to the above-mentioned SCSI protocol standard for the function of these signals) receivers with hysteresis 1202, 1206, 1210,
1214, 1218, 1222, 1226, 1230,
1234 and the signals output by these clocks 1103
Three-stage periodic circuit 1203, 1207, 12 synchronized by
11, 1215, 1219, 1223, 1227, 12
31 and 1235. Three-stage periodic circuit 12
03 to 1235 are BSY internal signals 1204 and S, respectively.
EL internal signal 1208, REQ internal signal 1212, AC
K internal signal 1216, I / O internal signal 1220, C / D
The internal signal 1224, the MSG internal signal 1228, the ATN internal signal 1232, and the RST internal signal 1236 are output.

【0057】さて、本実施例においては、図8に明らか
なようレシーバ814はスリープ制御回路826よりス
リープ信号827を受けとる。このスリープ信号827
に対応するため、本実施例におけるレシーバ814は、
そのREQ/1209,ACK/1213,I/O/1
217,C/D/1221,MSG/1225,ATN
/1229,RST/1233を入力するレシーバ回路
部分は、図10に示す構成となる。なお、図10におい
ては、MSG/1225に対応するレシーバ回路部分を
図示したが、REQ/1209,ACK/1213,I
/O/1217,C/D1221,ATN/1229,
RST/1233についても同様の構成となる。
In the present embodiment, the receiver 814 receives the sleep signal 827 from the sleep control circuit 826 as is apparent from FIG. This sleep signal 827
Therefore, the receiver 814 in the present embodiment corresponds to
REQ / 1209, ACK / 1213, I / O / 1
217, C / D / 1221, MSG / 1225, ATN
The receiver circuit portion for inputting / 1229 and RST / 1233 has the configuration shown in FIG. Although the receiver circuit portion corresponding to MSG / 1225 is shown in FIG. 10, REQ / 1209, ACK / 1213, I
/ O / 1217, C / D1221, ATN / 1229,
The RST / 1233 has the same configuration.

【0058】ここで、上述したように、スリープ信号8
27は、レシーバ814をスリープモードにする信号で
ある。このスリープ信号827が活性化状態となること
により、図10の回路はREQ/1209,AGK/1
213,I/O/1217,C/D/1221,MSG
/1225,ATN/1229,RST/1233の値
にかかわらず、REQ内部信号1212〜RST内部信
号1236を非活性化状態に保ちつづけることになる。
同図において、1001,1002,1003はそれぞ
れインバータ回路、2入力NOR回路、2入力OR回路
であり、これらの動作は後に説明する。
Here, as described above, the sleep signal 8
Reference numeral 27 is a signal that puts the receiver 814 in the sleep mode. When the sleep signal 827 is activated, the circuit of FIG. 10 becomes REQ / 1209, AGK / 1.
213, I / O / 1217, C / D / 1221, MSG
The REQ internal signal 1212 to the RST internal signal 1236 are kept inactive regardless of the values of / 1225, ATN / 1229 and RST / 1233.
In the figure, reference numerals 1001, 1002 and 1003 respectively denote an inverter circuit, a 2-input NOR circuit and a 2-input OR circuit, and their operations will be described later.

【0059】なお、BSY1201,SEL/1205
に対応するレシーバ回路部分は、図12に示した構成そ
のままにしておくのは、図18,図19に示したように
SCSIプロトコルのID認識に必要な信号であり、常
に動作している必要があるからであり、これら以外はS
CSIプロトコルのID認識に必要な信号でないので、
スリープ信号827によって制御される図10の構成を
とることになる。
BSY1201, SEL / 1205
The receiver circuit portion corresponding to No. 2 is a signal necessary for ID recognition of the SCSI protocol as shown in FIGS. 18 and 19, and the structure shown in FIG. It is because there is, S other than these
Since it is not a signal necessary for ID recognition of the CSI protocol,
The configuration of FIG. 10 controlled by the sleep signal 827 will be adopted.

【0060】次に、図8のID認識部825の一例の構
成を図9を用いて説明する。ID認識部825には、レ
シーバ814よりBSY内部信号1204,SEL内部
信号1208が入力され、レシーバ812よりSDB0
〜SDB7内部信号1105〜1133が入力される。
そしてスリープ解除信号833を出力する。同図におい
て、901は本実施例のSCSIシステムのIDを保持
しているOWNIDレジスタ、902はインバータ、9
03〜912は2入力AND回路、913は8入力OR
回路である。このID認識部825の動作の詳細につい
ては後で説明する。
Next, the structure of an example of the ID recognition unit 825 shown in FIG. 8 will be described with reference to FIG. The BSY internal signal 1204 and the SEL internal signal 1208 are input from the receiver 814 to the ID recognition unit 825, and the SDB0 is input from the receiver 812.
~ SDB7 internal signals 1105 to 1133 are input.
Then, the sleep release signal 833 is output. In the figure, 901 is an OWN ID register holding the ID of the SCSI system of the present embodiment, 902 is an inverter, and 9
03 to 912 are 2-input AND circuits, and 913 is an 8-input OR circuit.
Circuit. Details of the operation of the ID recognition unit 825 will be described later.

【0061】続いて、図2のスリープ制御回路826の
一例の構成を図13を用いて説明する。図8から明らか
なように、スリープ制御回路826には、ID認識部8
25からのスリープ解除信号833及びシーケンサ82
3からのスリープ設定信号830が入力される。そし
て、本実施例のSCSIバス制御回路703の機能ブロ
ック843をスリープ状態とするスリープ制御信号82
8と、機能ブロック842をスリープ状態とするスリー
プ制御信号829を出力信号とする。
Next, an example of the configuration of the sleep control circuit 826 shown in FIG. 2 will be described with reference to FIG. As is clear from FIG. 8, the sleep control circuit 826 includes an ID recognition unit 8
Sleep release signal 833 from 25 and sequencer 82
The sleep setting signal 830 from 3 is input. Then, the sleep control signal 82 which puts the functional block 843 of the SCSI bus control circuit 703 of this embodiment into the sleep state.
8 and a sleep control signal 829 that puts the functional block 842 into the sleep state are output signals.

【0062】図13において、1301はスリープ解除
選択レジスタであり、1302,1303は2入力AN
Dゲート、1304,1305はスリープ制御信号82
8,829をそれぞれ保持するセット/リセット型ラッ
チ回路、1306は2入力ORゲートである。
In FIG. 13, reference numeral 1301 is a sleep release selection register, and 1302 and 1303 are 2-input ANs.
D gates 1304 and 1305 are sleep control signals 82.
A set / reset type latch circuit which holds 8 and 829, respectively, and 1306 is a 2-input OR gate.

【0063】さて、引き続き、上述した本発明の第2の
実施例の動作を図8を中心に説明する。
Now, the operation of the above-described second embodiment of the present invention will be described with reference to FIG.

【0064】まず、本実施例の要部の説明に先立ち、S
CSIの一般的なシーケンスを図17,図18,図19
を用いて概略説明する。SCSIシステムは、図3に示
したメインCPU14などコマンドを発行するイニシエ
ータとしてのホストコンピュータと、図3に示したファ
イルコントローラ17などのターゲットとしての周辺装
置から構成される。
First, prior to the description of the main part of this embodiment, S
The general sequence of CSI is shown in FIG. 17, FIG. 18, and FIG.
Will be described briefly. The SCSI system is composed of a host computer as an initiator that issues commands such as the main CPU 14 shown in FIG. 3 and a peripheral device as a target such as the file controller 17 shown in FIG.

【0065】図17に示すように、SCSIシステム
は、電源立ち上げによるリセット後、バスフリーフェー
ズである。このバスフリーフェーズは、SCSIバスが
どのSCSIシステムによっても使用されていない状態
である。図18に示すように、SCSIシステムはバス
フリーフェーズにあるとき、BSY/1201,SEL
/1205,SDB0/〜SDB7/1101〜113
0,SDBP/1134をネゲート状態、すなわちハイ
レベルに保持している。次に、イニシエータは、バス権
を獲得するためアービトレーションフェーズを開始す
る。すなわち、BSY/1201をアサートし、SDB
0/〜SDB7/1101〜1130,SDBP113
4にイニシエータの装置番号であるOWNIDを出力す
る。イニシエータは、アービトレーションフェーズにて
SCSIバス上のIDをチェックし、OWNIDが一番
優先順位の高いIDである場合にバス権を獲得する。イ
ニシエータはバス権を獲得すると、SEL/1205を
アサートする。
As shown in FIG. 17, the SCSI system is in the bus free phase after reset by power-on. This bus free phase is a state where the SCSI bus is not used by any SCSI system. As shown in FIG. 18, when the SCSI system is in the bus free phase, BSY / 1201, SEL
/ 1205, SDB0 / to SDB7 / 1101 to 113
0, SDBP / 1134 is held in a negated state, that is, at a high level. Next, the initiator starts the arbitration phase to acquire the bus right. That is, BSY / 1201 is asserted, and SDB
0 / to SDB7 / 1101 to 1130, SDBP113
The OWN ID, which is the device number of the initiator, is output to 4. The initiator checks the ID on the SCSI bus in the arbitration phase, and acquires the bus right when the OWN ID is the highest priority ID. When the initiator acquires the bus right, it asserts SEL / 1205.

【0066】次に、イニシエータは、コマンドを発行し
たいターゲットを選択するためにセレクションフェーズ
を開始する。すなわち、BSY/1201をネゲート
し、SDB0/〜SDB7/1101〜1130,SD
BP/1134にOWNIDに加えて、当該ターゲット
の装置番号であるPARTNERIDを出力する。ターゲット
は、BSY/1201がネゲート状態、SEL/120
5がアサート状態であることを検出すると、SCSIバ
ス上のIDと当該ターゲットのOWNIDを比較する。
Next, the initiator starts the selection phase to select the target to which the command is issued. That is, BSY / 1201 is negated, and SDB0 / to SDB7 / 1101 to 1130, SD
In addition to OWN ID, BP / 1134 outputs PARTNER ID which is the device number of the target. The target is BSY / 1201 negated, SEL / 120
When 5 is detected to be asserted, the ID on the SCSI bus is compared with the OWN ID of the target.

【0067】SCSIバス上のIDと当該ターゲットの
OWNIDが一致している場合には、ターゲットは、B
SY/1201をアサートしてイニシエータに応答す
る。イニシエータは、BSY/1201がアサートされ
たことを確認すると、SEL/1205をネゲートしセ
レクションフェーズを終了する。セレクションフェーズ
が終了すると、SCSIは、インフォメーショントラン
スファーフェーズにはいる。インフォメーショントラン
スファーフェーズでは、セレクションフェーズにて、接
続されたイニシエータとターゲットとの間でコマンド、
データ、メッセージ、ステータスの授受を行なう。
When the ID on the SCSI bus and the OWN ID of the target match, the target is B
Assert SY / 1201 to respond to the initiator. When confirming that BSY / 1201 is asserted, the initiator negates SEL / 1205 and ends the selection phase. When the selection phase ends, SCSI enters the information transfer phase. In the information transfer phase, in the selection phase, commands between the connected initiator and target,
Send and receive data, messages and status.

【0068】全てのコマンド、データ、メッセージ、ス
テータスの授受が終了すると、ターゲットは、BSY/
1201をネゲートし、バスフリーフェーズにはいる。
また、全てのコマンド、データ、メッセージ、ステータ
スの授受が終了していない場合でも、ターゲットにて処
理に時間がかかる場合には、ターゲットは、BSY/1
201をネゲートし、バスフリーフェーズにはいること
が出来る。この場合、ターゲットは、内部の処理が終了
したとき、アービトレーションフェーズを起動し、リセ
レクションフェーズにてイニシエータを選択し、コマン
ド、データ、メッセージ、ステータスの授受を続行する
ことが出来る。また、イニシエータが、ターゲットに転
送するコマンドにキュータグメッセージを付加すること
により、ターゲットは複数のイニシエータからのコマン
ドを同時に受け付けることが出来る。
When all commands, data, messages and statuses have been exchanged, the target is set to BSY /
1201 is negated and the bus free phase is entered.
Even if all commands, data, messages, and status have not been sent and received, if the target takes a long time to process, the target will be BSY / 1.
You can negate 201 and enter the bus-free phase. In this case, the target can start the arbitration phase when the internal processing is completed, select the initiator in the reselection phase, and continue to exchange commands, data, messages, and statuses. In addition, the initiator adds the queue tag message to the command to be transferred to the target, so that the target can simultaneously receive the commands from the plurality of initiators.

【0069】従来の、例えばNCR社製のSCSIコン
トロールLSI 53C90A,53C90Bは、アク
セス待ち状態のとき、常にレシーバによってSCSIバ
スの全信号を監視し、シーケンサにてチェックすること
により、BSY/がネゲート状態で、SEL/がアサー
ト状態であることを検出、SCSIバス上のIDをFI
FOに取り込み、シーケンサにて自分のIDと比較する
ことにより、セレクションフェーズの動作を行なってい
る。そのため、イニシエータからのコマンド待ち状態に
おいても、常にシーケンサや内部回路を含めたSCSI
バス制御回路全体が動作しており、消費電力が大きくな
る。
In the conventional SCSI control LSIs 53C90A and 53C90B manufactured by NCR, for example, BSY / is negated by constantly monitoring all signals of the SCSI bus by the receiver and checking by the sequencer when in the access waiting state. Detects that SEL / is in the asserted state and sets the ID on the SCSI bus to FI
The operation of the selection phase is performed by importing it into the FO and comparing it with its own ID in the sequencer. Therefore, even when waiting for a command from the initiator, the SCSI including the sequencer and internal circuits is always available.
The entire bus control circuit is operating and power consumption increases.

【0070】さて、本実施例の動作について述べる。C
PU1806(図7)は、SCSIバス601より与え
られたコマンドの実行を全て終了し、SCSIプロトコ
ルで規定されるコマンドキューが空になると、電源制御
回路835へスリープ信号837を出力する。電源制御
回路835は、Vcc1をオフ状態とし、SCSIバス制
御回路701のID認識部825、スリープ制御回路8
26、レシーバ812、レシーバ814、2つの2入力
AND回路からなる機能ブロック841を除く、機能ブ
ロック842,843の全ての回路を駆動している電源
を切断し、スリープモードに入る。
Now, the operation of this embodiment will be described. C
The PU 1806 (FIG. 7) outputs a sleep signal 837 to the power supply control circuit 835 when all the commands given from the SCSI bus 601 are completed and the command queue defined by the SCSI protocol becomes empty. The power supply control circuit 835 turns off Vcc1, sets the ID recognition unit 825 and the sleep control circuit 8 of the SCSI bus control circuit 701.
26, a receiver 812, a receiver 814, and a power block driving all circuits of the functional blocks 842 and 843 except a functional block 841 composed of two 2-input AND circuits, and enters a sleep mode.

【0071】又、図10、図12に示すように本実施例
のレシーバ814は、BSY/1201,SEL/12
05の入力回路を除き、スリープ信号827が入力され
ており、スリープ状態でスリープ信号827がハイレベ
ルのとき、2入力NOR回路1002(図10)の出力
は、常にローレベルに固定される。又、2入力OR回路
1003の出力は常にHighレベルに固定される。従っ
て、SCSIバスのMSG/1225が変化しても、内
部信号1228は Lowレベルに固定され変化しない。一
般に、これらの回路はCMOSで作られており、信号が
変化しないとき電流を消費しないので、スリープモード
のとき、レシーバ814は、BSY/1201,SEL
/1207の入力回路を除き電流を消費しないことにな
る。
As shown in FIGS. 10 and 12, the receiver 814 of this embodiment is BSY / 1201, SEL / 12.
With the exception of the input circuit 05, the sleep signal 827 is input, and when the sleep signal 827 is at the high level in the sleep state, the output of the 2-input NOR circuit 1002 (FIG. 10) is always fixed at the low level. Also, the output of the 2-input OR circuit 1003 is always fixed at the high level. Therefore, even if MSG / 1225 of the SCSI bus changes, the internal signal 1228 is fixed to the low level and does not change. In general, these circuits are made in CMOS and do not consume current when the signal does not change, so when in sleep mode, the receiver 814 is configured to be BSY / 1201, SEL.
Current is not consumed except for the / 1207 input circuit.

【0072】次に、SCSIバスがアービトレーション
フェーズに入り、セレクションフェーズに入ると、BS
Y/1201はハイレベル、SEL/1205はローレ
ベルになる。ID認識部825は、図9に示す構成であ
るので、インバータ902の出力は、ハイレベルとな
り、2入力ANDゲート903の出力はハイレベルとな
る。そして、OWNIDレジスタ901に保持されてい
るID値と、SDB0/〜SDB7/1105〜113
3の値が一致するとスリープ解除信号833はハイレベ
ルとなる。
Next, when the SCSI bus enters the arbitration phase and enters the selection phase, BS
Y / 1201 becomes high level and SEL / 1205 becomes low level. Since the ID recognition unit 825 has the configuration shown in FIG. 9, the output of the inverter 902 becomes high level, and the output of the 2-input AND gate 903 becomes high level. Then, the ID value held in the OWN ID register 901 and SDB0 / to SDB7 / 1105 to 113
When the values of 3 match, the sleep release signal 833 becomes high level.

【0073】例えば、OWNIDが“3”と設定されて
いたとすると、SDB3/1114がローレベルのとき
SDB3内部信号1117はハイレベルとなり、2入力
AND回路908の出力はハイレベルとなる。よって、
8入力OR回路913の出力はハイレベルとなる。した
がって、2入力AND回路912の出力はハイレベルと
なり、スリープ解除信号はハイレベルとなり、活性化開
始信号として機能する。従って、電流制御回路835
は、Vcc1をオン状態とし、機能ブロック843,84
2の電源を投入する。
For example, if OWNID is set to "3", the SDB3 internal signal 1117 becomes high level when SDB3 / 1114 is at low level, and the output of the 2-input AND circuit 908 becomes high level. Therefore,
The output of the 8-input OR circuit 913 becomes high level. Therefore, the output of the 2-input AND circuit 912 becomes high level, the sleep release signal becomes high level, and it functions as an activation start signal. Therefore, the current control circuit 835
Turns on Vcc1 and sets the functional blocks 843 and 84.
Turn on the power of 2.

【0074】一方、スリープ制御回路826は、図13
に示す構成であるので、スリープ解除信号833がハイ
レベルになると、スリープ解除選択レジスタ1301の
値に従って、スリープ状態ラッチ1304とスリープ状
態ラッチ1305をリセットし、スリープ制御信号82
8,829がネゲートされる。スリープ制御信号828
はシーケンサ823と、パリティ発生・検出器821と
FIFO819のみをスリープ状態に設定する。スリー
プ制御信号829は、スリープ制御信号828にて制御
する回路以外のSCSIバス制御回路701内の回路を
スリープモードに設定する。例えば、スリープ解除選択
レジスタ1301の値が“10”のとき、スリープ解除
信号833がハイレベルになると、2入力アンド回路1
302の出力はハイレベルになり、2入力アンド回路1
303の出力はローレベルになる。
On the other hand, the sleep control circuit 826 has the configuration shown in FIG.
When the sleep release signal 833 becomes high level, the sleep state latch 1304 and the sleep state latch 1305 are reset according to the value of the sleep release selection register 1301, and the sleep control signal 82
8,829 is negated. Sleep control signal 828
Sets only the sequencer 823, the parity generator / detector 821 and the FIFO 819 to the sleep state. The sleep control signal 829 sets the circuits in the SCSI bus control circuit 701 other than the circuit controlled by the sleep control signal 828 to the sleep mode. For example, when the value of the sleep release selection register 1301 is “10” and the sleep release signal 833 goes high, the 2-input AND circuit 1
The output of 302 goes high, and the 2-input AND circuit 1
The output of 303 goes low.

【0075】よって、スリープ状態ラッチ1304はリ
セットされ、スリープ状態ラッチ1305はセットされ
たままである。よって、スリープ制御信号828はロー
レベル、スリープ制御信号829はハイレベルとなる。
したがって、シーケンサ823と、パリティ検出・発生
器821とFIFO819のみがスリープ状態から解除
される。シーケンサ823は、パリティ検出・発生器8
21にてパリティエラーが発生していないことを確認
し、IDエラーが発生していないことを確認してから、
他の回路をスリープモードから復帰させる。もし、パリ
ティエラーまたはIDエラーが発生しているならば、シ
ーケンサ823と、パリティ検出・発生器821とFI
FO819は、再びスリープモードとなる。これが、本
実施例において機能ブロック842,843を別個のス
リープ制御信号829,828で制御する理由である。
Therefore, the sleep state latch 1304 is reset and the sleep state latch 1305 remains set. Therefore, the sleep control signal 828 becomes low level and the sleep control signal 829 becomes high level.
Therefore, only the sequencer 823, the parity detection / generator 821 and the FIFO 819 are released from the sleep state. The sequencer 823 is the parity detection / generator 8
After confirming that a parity error has not occurred in 21 and an ID error has not occurred,
Wake other circuits out of sleep mode. If a parity error or ID error occurs, the sequencer 823, the parity detection / generator 821 and the FI
The FO 819 goes into sleep mode again. This is the reason why the functional blocks 842 and 843 are controlled by separate sleep control signals 829 and 828 in this embodiment.

【0076】CPU1806は、一定時間SCSIバス
制御回路701からの割込み信号を待ち、割込み信号が
来ない場合には、電源制御回路835に再びスリープ信
号837を出力して、SCSIバス制御回路701の機
能ブロック841を除き全ての回路を駆動している電源
を切断する。
The CPU 1806 waits for an interrupt signal from the SCSI bus control circuit 701 for a certain period of time. If the interrupt signal does not come, the CPU 1806 outputs the sleep signal 837 to the power supply control circuit 835 again to function the SCSI bus control circuit 701. The power supplies driving all circuits except the block 841 are cut off.

【0077】以上詳述してきた本発明の第1の実施例に
よれば、応答性を損なうことなくコマンド待ち状態にお
ける消費電流を最小限に抑えることができる。
According to the first embodiment of the present invention described above in detail, the current consumption in the command waiting state can be minimized without impairing the responsiveness.

【0078】次に、本発明の第3の実施例について、図
14〜図16を用いて説明する。
Next, a third embodiment of the present invention will be described with reference to FIGS.

【0079】一般に、各SCSIバスは、48mAシン
クのオープンコレクタ又はオープンドレインのドライバ
を用いるため、図14に示すように、各SCSIバスの
信号線には、反射が余り問題にならない規模のシステム
であっても、220Ωと330Ωの終端抵抗を付ける必
要があり、終端抵抗に常に5V/550Ω×18=16
4mAの電流が流れる。
In general, since each SCSI bus uses an open collector or open drain driver of 48 mA sink, as shown in FIG. 14, the signal line of each SCSI bus is a system of a scale in which reflection is not a problem. Even if there is, it is necessary to attach 220Ω and 330Ω terminating resistors, and the terminating resistor is always 5V / 550Ω × 18 = 16.
A current of 4 mA flows.

【0080】そこで、本実施例においては、図15に示
すようにSCSIバス制御回路1500、SCSIバス
601、220Ω×18本の抵抗1502、330Ω×
18本の抵抗1503、440Ω×18本の抵抗150
4、660Ω×18本の抵抗1506、及びスイッチ1
501,1505より構成される。
Therefore, in the present embodiment, as shown in FIG. 15, SCSI bus control circuit 1500, SCSI bus 601, 220Ω × 18 resistors 1502, 330Ω ×
18 resistors 1503, 440Ω × 18 resistors 150
4,660Ω × 18 resistors 1506 and switch 1
It is composed of 501 and 1505.

【0081】SCSIバス制御回路1500の本実施例
における構成は図16に示すものとなる。同図におい
て、外部CPUデータバス801は、CPU1806
(図7)から、SCSIバス制御回路1500をアクセ
スするためのデータバスである。同図において、図8と
同一の符号を付したブロックは図8のものと同一の機能
を有するブロックでありここでは詳述しない。1601
は本実施例のSCSIバス制御回路1500をコントロ
ールするシーケンサであり、1602,1603はセレ
クタである。そして、1604,1606はSCSIデ
ータバスシングルエンド48mAシンクドライバであ
り、先の実施例におけるドライバ813,824に対応
する。1605,1607はSCSIデータバスシング
ルエンド24mAシンクドライバである。セレクタ16
02,1603の機能は後で説明するように、48mA
シンクドライバ1604,1606と24mAシンクド
ライバ1605,1607を切り換える機能を有する。
1608はセレクタ切替レジスタであり、CPU180
6によって書き込まれたセレクタ切替情報を保持する。
The configuration of the SCSI bus control circuit 1500 in this embodiment is shown in FIG. In the figure, the external CPU data bus 801 is the CPU 1806.
(FIG. 7) is a data bus for accessing the SCSI bus control circuit 1500. In the figure, blocks denoted by the same reference numerals as those in FIG. 8 are blocks having the same functions as those in FIG. 8 and will not be described in detail here. 1601
Is a sequencer for controlling the SCSI bus control circuit 1500 of this embodiment, and 1602 and 1603 are selectors. 1604 and 1606 are SCSI data bus single-ended 48 mA sink drivers, which correspond to the drivers 813 and 824 in the previous embodiment. Reference numerals 1605 and 1607 denote SCSI data bus single-ended 24 mA sink drivers. Selector 16
The function of 02, 1603 is 48 mA as described later.
It has a function of switching between the sync drivers 1604 and 1606 and the 24 mA sync drivers 1605 and 1607.
Reference numeral 1608 denotes a selector switching register, which is a CPU 180.
The selector switching information written by 6 is held.

【0082】なお、ここでは図7に示したハードディス
ク装置の概略構成は特に図示しないが、本実施例におい
ては電源制御装置835は必要なく、CPU1806に
対して、セレクタ切替情報を与えるビットスイッチがC
PU1806への入力手段として機能的に追加される。
Although the schematic configuration of the hard disk device shown in FIG. 7 is not shown here, the power supply control device 835 is not necessary in this embodiment, and the bit switch for giving selector switching information to the CPU 1806 is C.
It is functionally added as an input means to the PU 1806.

【0083】次に、本実施例の動作について説明する。
本実施例ではユーザのビットスイッチ操作に基づきCP
U1806は、SCSIバス制御回路1500に対し、
セレクタ1602,1603によって48mAシンクド
ライバ、24mAシンクドライバのどちらかを選択する
よう制御信号を発生する。すなわち、CPU1806は
ビットスイッチの値を取り込み、内部CPUデータバス
801を使って、セレクタ切換レジスタ1608に値を
書き込む。セレクタ切替レジスタ1608は、この値に
従いセレクタ切替信号1609を各セレクタ1602,
1603に送る。
Next, the operation of this embodiment will be described.
In this embodiment, the CP is based on the bit switch operation by the user.
U1806 is the SCSI bus control circuit 1500,
A control signal is generated by the selectors 1602 and 1603 so as to select either the 48 mA sync driver or the 24 mA sync driver. That is, the CPU 1806 fetches the value of the bit switch and writes the value in the selector switching register 1608 using the internal CPU data bus 801. The selector switching register 1608 outputs the selector switching signal 1609 to each selector 1602 according to this value.
Send to 1603.

【0084】例えば、図16に示したSCSIシステム
が8台につながるような比較的大きなシステムに接続す
る場合、外部CPU1806はユーザによって48mA
シンクドライバ対応に切替えられたビットスイッチの値
をセレクタ切替レジスタ1608に書き込み、セレクタ
切替レジスタ1608はその値によって、制御信号16
09を制御し、セレクタ1602,1603は48mA
シンクドライバ1604,1606を選択する。
For example, when connecting to a relatively large system in which the SCSI system shown in FIG. 16 is connected to 8 units, the external CPU 1806 is set to 48 mA by the user.
The value of the bit switch switched to support the sync driver is written in the selector switching register 1608, and the selector switching register 1608 uses the value to control the signal 16
09, the selectors 1602 and 1603 are 48 mA.
The sync driver 1604, 1606 is selected.

【0085】又、ユーザは図15のスイッチ1501を
接続状態、スイッチ1505を非接続状態とする。この
ように接続することにより、SCSIプロトコルに従っ
たSCSIバスドライバを構成することができ、最大6
m、8台まで接続可能となる。しかし、全端子アーサト
状態では、48mA×18=864mAの電流を消費
し、全端子ネゲート状態でも164mAの電流を消費す
る。
The user also sets the switch 1501 in FIG. 15 to the connected state and the switch 1505 to the disconnected state. By connecting in this way, a SCSI bus driver that complies with the SCSI protocol can be configured, and a maximum of 6
Up to 8 units can be connected. However, a current of 48 mA × 18 = 864 mA is consumed in the all-terminal arsato state, and a current of 164 mA is consumed even in the all-terminal negated state.

【0086】次に、ノートパソコンのような反射の気に
ならない比較的小さなシステムに組み込む場合には、4
8mAシンクドライバは必要ないため、外部CPU18
06は24mAシンクドライバ対応に切替えられたビッ
トスイッチに基づき、セレクタ1602,1603を2
4mAシンクドライバを選択するように設定する。又、
ユーザは図15のスイッチ1505を接続状態、スイッ
チ1501を非接続状態とする。このように接続するこ
とにより、24mAシンクドライバを用いたSCSIバ
スドライバを構成することができる。全端子アサート状
態では、24mA×18=432mAの消費電流、全端
子ネゲート状態でも82mAの消費電流となり、消費電
流は、48mAシンクドライバを用いた場合の約半分と
することができる。
Next, in the case of incorporating in a relatively small system such as a notebook computer in which reflection is not a concern, 4 is required.
8mA sync driver is not required, so external CPU 18
06 is a selector that switches the selectors 1602 and 1603 to 2 based on the bit switch that is switched to support the 24 mA sink driver.
Set to select 4mA sync driver. or,
The user sets the switch 1505 in FIG. 15 to the connected state and the switch 1501 to the disconnected state. By connecting in this way, a SCSI bus driver using a 24 mA sink driver can be constructed. In the asserted state of all terminals, the consumption current is 24 mA × 18 = 432 mA, and in the negated state of all terminals, the consumption current is 82 mA, and the consumption current can be about half that in the case of using the 48 mA sink driver.

【0087】すなわち、本実施例のSCSIコントロー
ルLSIは、引込み電流の小さいSCSIバスドライバ
と、48mAシンクのSCSIバスドライバの両方を持
つので、通常のSCSIシステムの場合には48mAシ
ンクのSCSIバスドライバを使用し、反射の気になら
ないような小規模のSCSIシステムの場合には、引込
み電流の小さいSCSIバスドライバを使用することに
より、各端子のアサート時の消費電流を削減することが
できる。さらに、引込み電流の小さいSCSIバスドラ
イバを使用する時、引込み電流に応じた終端抵抗を使用
することにより、48mAシンクのSCSIバスドライ
バを使用し、220Ωと330Ωの終結抵抗を使用する
場合に比べ、終端抵抗の抵抗値が大きくなるため、反射
の気にならないような小規模のSCSIシステムの場合
には、各端子ネゲート時の消費電流を削減することがで
きる。
That is, since the SCSI control LSI of this embodiment has both a SCSI bus driver with a small pull-in current and a 48 mA sink SCSI bus driver, a 48 mA sink SCSI bus driver is used in a normal SCSI system. In the case of a small-scale SCSI system which is used and does not care about reflection, by using a SCSI bus driver with a small pull-in current, it is possible to reduce the current consumption at the time of asserting each terminal. Furthermore, when using a SCSI bus driver with a small pull-in current, by using a termination resistor according to the pull-in current, a 48 mA sink SCSI bus driver is used, and compared with the case of using termination resistors of 220Ω and 330Ω. Since the resistance value of the terminating resistor becomes large, the current consumption at the time of negating each terminal can be reduced in the case of a small-scale SCSI system in which reflection is not a concern.

【0088】さらに、本実施例のSCSIシステムは、
引込み電流の小さいSCSIバスドライバと、48mA
シンクのSCSIバスドライバを切り替え可能とし、引
込み電流の小さいSCSIバスドライバ使用時には、引
込み電流に応じた終端抵抗が接続され、48mAシンク
のSCSIバスドライバ使用時には、220Ωと330
Ωの終端抵抗が接続されることで、システムの大きさに
対応して、最適なSCSIバスドライバを選択すること
ができ、消費電流を必要最小限にすることができる。
Further, the SCSI system of this embodiment is
Small current draw SCSI bus driver, 48mA
The sink SCSI bus driver can be switched. When using a SCSI bus driver with a small pull-in current, a terminating resistor is connected according to the pull-in current. When using a 48 mA sink SCSI bus driver, 220Ω and 330Ω are used.
By connecting the Ω terminating resistor, the optimum SCSI bus driver can be selected according to the size of the system, and the current consumption can be minimized.

【0089】[0089]

【発明の効果】本発明によれば、記憶装置の低消費電力
化が図れる。また、外部のプロセッサ等の負担を軽減し
ながら、消費電力を最大限に低減することができる記憶
装置を提供することができる。さらに、周辺制御装置に
おいて、外部のプロセッサ等からのコマンド待ち状態に
おける消費電力を削減し、かつ、良好な応答性を維持す
ることができる。特に、SCSIシステムの消費電流の
削減を容易に行なうことが可能である。
According to the present invention, the power consumption of the storage device can be reduced. In addition, memory that can reduce the power consumption to the maximum while reducing the burden on the external processor etc.
A device can be provided. Further, in the peripheral control device, it is possible to reduce power consumption in a command waiting state from an external processor or the like and maintain good responsiveness. In particular, it is possible to easily reduce the current consumption of the SCSI system.

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

【図1】本発明による周辺制御装置の一実施例を示す回
路ブロック図、
FIG. 1 is a circuit block diagram showing an embodiment of a peripheral control device according to the present invention,

【図2】図1に示した消費電力制御回路2の一例を示す
回路構成図、
FIG. 2 is a circuit configuration diagram showing an example of a power consumption control circuit 2 shown in FIG.

【図3】本発明の周辺制御装置や周辺制御用LSIが用
いられる情報処理装置の一例を示すブロック図、
FIG. 3 is a block diagram showing an example of an information processing device in which a peripheral control device or a peripheral control LSI of the present invention is used,

【図4】図1に示した実施例の動作を説明するための第
1のタイミングチャート、
FIG. 4 is a first timing chart for explaining the operation of the embodiment shown in FIG.

【図5】図1に示した実施例の動作を説明するための第
2のタイミングチャート、
5 is a second timing chart for explaining the operation of the embodiment shown in FIG.

【図6】本発明をSCSIシステテムに適用した第2の
実施例の原理を説明するための概略構成図、
FIG. 6 is a schematic configuration diagram for explaining the principle of a second embodiment in which the present invention is applied to a SCSI system.

【図7】図6に示した本発明の第2の実施例であるSC
SIシステムをハードディスク装置に適用する場合の概
略構成図、
FIG. 7 is an SC which is the second embodiment of the present invention shown in FIG.
Schematic configuration diagram when the SI system is applied to a hard disk device,

【図8】図7のSCSIバス制御回路701の一例を示
す回路ブロック図、
8 is a circuit block diagram showing an example of the SCSI bus control circuit 701 of FIG.

【図9】図8に示したSCSIバス制御回路内のID認
識部825の一例を示す回路図、
9 is a circuit diagram showing an example of an ID recognition unit 825 in the SCSI bus control circuit shown in FIG.

【図10】図8に示したレシーバ814の一例の部分的
な回路図、
10 is a partial circuit diagram of an example of the receiver 814 shown in FIG.

【図11】図8に示したレシーバ812の一例の回路
図、
11 is a circuit diagram of an example of a receiver 812 shown in FIG.

【図12】図8に示したレシーバ814の全体の概略的
な回路図、
12 is a schematic circuit diagram of an entire receiver 814 shown in FIG.

【図13】図8に示したスリープ制御回路826の一例
の回路図、
13 is a circuit diagram of an example of a sleep control circuit 826 shown in FIG.

【図14】本発明が適用されるSCSIバスの終端抵抗
を説明するための回路図、
FIG. 14 is a circuit diagram for explaining a termination resistance of a SCSI bus to which the present invention is applied;

【図15】本発明の第3の実施例におけるSCSIバス
の一例を示す回路図、
FIG. 15 is a circuit diagram showing an example of a SCSI bus according to a third embodiment of the invention.

【図16】本発明の第3の実施例におけるSCSIバス
制御回路の一例を示すブロック図、
FIG. 16 is a block diagram showing an example of a SCSI bus control circuit according to a third embodiment of the present invention,

【図17】本発明の第2、第3の実施例が適用されるS
CSIシステムにおける状態遷移図、
FIG. 17 is an S to which the second and third embodiments of the present invention are applied.
State transition diagram in CSI system,

【図18】本発明の第2、第3の実施例が適用されるS
CSIシステムにおけるSCSIプロトコルの概略的シ
ーケンスを説明するための説明図、
FIG. 18 is an S to which the second and third embodiments of the present invention are applied.
Explanatory diagram for explaining a schematic sequence of a SCSI protocol in a CSI system,

【図19】本発明の第2、第3の実施例が適用されるS
CSIシステムにおけるSCSIプロトコルの概略的シ
ーケンスを説明するための他の説明図、
FIG. 19 is an S to which the second and third embodiments of the present invention are applied.
Another explanatory diagram for explaining a schematic sequence of a SCSI protocol in a CSI system,

【図20】従来のATバスを用いたハードディスク装置
の一例を示す概略図。
FIG. 20 is a schematic diagram showing an example of a conventional hard disk device using an AT bus.

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

2…低消費電力制御回路、3…アドレスラッチ、4…ア
ドレスデコーダ、6…ラッチ、7…ゲート、8〜10…
レジスタ群、11〜13…I/O制御回路、601…S
CSIバス、602…SCSIコントローラ、603…
ID認識部、604…ID認識部以外の機能ブロック、
605…スリープ解除信号。
2 ... Low power consumption control circuit, 3 ... Address latch, 4 ... Address decoder, 6 ... Latch, 7 ... Gate, 8-10 ...
Register group, 11 to 13 ... I / O control circuit, 601 ... S
CSI bus, 602 ... SCSI controller, 603 ...
ID recognition unit, 604 ... Functional block other than ID recognition unit,
605 ... Sleep release signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡辺 国夫 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (72)発明者 児島 伸一 群馬県高崎市西横手町111番地 株式会 社日立製作所半導体設計開発センタ内 (72)発明者 志田 光司 東京都小平市上水本町五丁目20番地1号 株式会社日立製作所 半導体設計開発 センタ内 (56)参考文献 特開 平3−225516(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/10 G06F 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Kunio Watanabe Inventor, Kunio Watanabe 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Hitachi, Ltd. Microelectronics Equipment Development Laboratory (72) Shinichi Kojima 111 Nishiyote-cho, Takasaki-shi, Gunma Address, Hitachi, Ltd., Semiconductor Design and Development Center (72) Inventor, Koji Shida, 5-20-1, Kamimizuhonmachi, Kodaira-shi, Tokyo Hitachi, Ltd., Semiconductor Design and Development Center (56) Reference JP-A-3- 225516 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/10 G06F 1/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プロセッサに接続されたバスに接続される
記憶装置であって、 記憶媒体と、前記バスを介して前記プロセッサと接続され、 前記プロ
セッサからのアクセスを制御するコントローラとを具備
してなり、 前記コントローラは、前記記憶媒体へのライトデータの
処理又は前記記憶媒体からのリードデータの処理の少な
くとも一方を実行するための前記プロセッサからのアク
セスに応答して前記アクセスの開始を検出する第1のブ
ロックと、前記第1のブロックの指示に応答して前記記
憶媒体へのライトデータの処理と前記記憶媒体からのリ
ードデータの処理との少なくとも一方を実行する第2の
ブロックとを有し、 前記第1のブロックが前記アクセスの開始を検出した場
合に、前記第2のブロックは前記第2のブロックへクロ
ックが供給される活性化モードに制御され、 該活性化モードに制御された前記第2のブロックは、前
記記憶媒体へのライトデータの処理と前記記憶媒体から
のリードデータの処理との少なくとも一方を実行し、 前記記憶媒体へのライトデータの処理と前記記憶媒体か
らのリードデータの処理との少なくとも一方の終了に応
答して前記活性化モードから前記第2のブロックへの前
記クロックの供給が停止されることによって前記活性化
モードより消費電力が小さい低消費電力モードへ前記第
2のブロックが制御される ことを特徴とする記憶装置。
1. A storage device connected to a bus connected to a processor , comprising: a storage medium; and a controller connected to the processor via the bus and controlling access from the processor. The controller writes write data to the storage medium.
Less processing or processing of read data from the storage medium
Access from the processor to perform at least one
First block for detecting the start of the access in response to the access
In response to the lock and the instruction of the first block,
Processing of write data to a storage medium and recovery from the storage medium
Second processing for performing at least one of processing
And the first block detects the start of the access.
The second block is crossed over to the second block.
A second block that is controlled to an activation mode in which a clock is supplied and is controlled to the activation mode.
Processing of write data to a storage medium and from the storage medium
At least one of the read data processing and the write data processing to and from the storage medium.
Process the read data and / or
Answer from the activation mode to the second block
The activation is performed by stopping the clock supply.
To the low power consumption mode, which consumes less power than the
A storage device characterized in that two blocks are controlled .
【請求項2】前記第1のブロックと前記第2のブロック
とを含む前記コントローラは一つの半導体集積回路によ
って構成されていることを特徴とする請求項1に記載の
記憶装置。
2. The storage device according to claim 1, wherein the controller including the first block and the second block is configured by one semiconductor integrated circuit.
【請求項3】前記第2のブロックへの前記クロックの供
給又は/及び停止は、前記第1のブロックが行なうこと
を特徴とする請求項1に記載の記憶装置。
3. Supplying the clock to the second block
Supply and / or stoppage shall be performed by the first block
The storage device according to claim 1, wherein the storage device is a storage device.
【請求項4】前記第2のブロックは、前記記憶媒体への
ライトデータの処理と前記記憶媒体からのリードデータ
の処理との少なくとも一方の終了を示す終了信号を、前
記第1のブロックへ送信し、 前記第1のブロックは、前記第2のブロックからの前記
終了信号に応答して前記第2のブロックへの前記クロッ
クの供給を停止する請求項3に記載の記憶装置。
4. The second block is stored in the storage medium.
Write data processing and read data from the storage medium
The end signal indicating the end of at least one of the
The first block is transmitted to the first block, and the first block is transmitted from the second block.
In response to an end signal, the clock to the second block is
The storage device according to claim 3, wherein the supply of power is stopped.
JP37049899A 1990-11-22 1999-12-27 Storage device Expired - Lifetime JP3401221B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37049899A JP3401221B2 (en) 1990-11-22 1999-12-27 Storage device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP31845090 1990-11-22
JP2-318450 1990-11-30
JP2-328903 1990-11-30
JP32890390 1990-11-30
JP37049899A JP3401221B2 (en) 1990-11-22 1999-12-27 Storage device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP03304289A Division JP3034362B2 (en) 1990-11-22 1991-11-20 Peripheral controller and SCSI bus controller

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002260766A Division JP3718192B2 (en) 1990-11-22 2002-09-06 Storage device

Publications (2)

Publication Number Publication Date
JP2000227893A JP2000227893A (en) 2000-08-15
JP3401221B2 true JP3401221B2 (en) 2003-04-28

Family

ID=27339654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37049899A Expired - Lifetime JP3401221B2 (en) 1990-11-22 1999-12-27 Storage device

Country Status (1)

Country Link
JP (1) JP3401221B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4713935B2 (en) * 2005-04-28 2011-06-29 株式会社東芝 Information processing apparatus and power saving control method
JP5818505B2 (en) 2011-05-13 2015-11-18 キヤノン株式会社 Information processing apparatus and information processing apparatus control method

Also Published As

Publication number Publication date
JP2000227893A (en) 2000-08-15

Similar Documents

Publication Publication Date Title
JP3034362B2 (en) Peripheral controller and SCSI bus controller
US6601178B1 (en) System power management partitioned across a serial bus
US5535400A (en) SCSI disk drive power down apparatus
US5652895A (en) Computer system having a power conservation mode and utilizing a bus arbiter device which is operable to control the power conservation mode
JP4685312B2 (en) Data processing system and power saving method
KR100290729B1 (en) Apparatus and method of transmitting and receiving usb isochronous data
JP3526920B2 (en) Computer system and system and method for controlling peripheral bus clock signals
US6725385B1 (en) Intelligent electronic power controller
US6131131A (en) Computer system including an enhanced communication interface for an ACPI-compliant controller
US5625807A (en) System and method for enabling and disabling a clock run function to control a peripheral bus clock signal
US6199134B1 (en) Computer system with bridge logic that asserts a system management interrupt signal when an address is made to a trapped address and which also completes the cycle to the target address
US6356963B1 (en) Long latency interrupt handling and input/output write posting
US20060095642A1 (en) USB on-the-go controller
JPH07295695A (en) Computer system and method of managing electric power in computer system
JPH0850523A (en) Method and equipment for management of power consumption in computer system
US6016549A (en) Peripheral unit having at least two sequencer circuits configured to control data transfers for power saving
US20050086397A1 (en) Current media status determination for a storage device
JP2606098B2 (en) Floppy disk controller with standby function
JP3401221B2 (en) Storage device
JP2005209230A (en) Storage device
JP3401222B2 (en) Storage device
JP2002007316A (en) Low power consumption computer system
JP3916650B2 (en) Storage device
JP3892887B2 (en) Storage device
JP3568592B2 (en) Computer system and method for controlling peripheral bus clock signals

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20080221

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080221

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110221

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120221

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120221

Year of fee payment: 9