JPS60222926A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPS60222926A
JPS60222926A JP59079823A JP7982384A JPS60222926A JP S60222926 A JPS60222926 A JP S60222926A JP 59079823 A JP59079823 A JP 59079823A JP 7982384 A JP7982384 A JP 7982384A JP S60222926 A JPS60222926 A JP S60222926A
Authority
JP
Japan
Prior art keywords
data
transfer
read
address
capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59079823A
Other languages
Japanese (ja)
Inventor
Hisao Asano
朝野 久夫
Akio Nakagawa
明夫 中川
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.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP59079823A priority Critical patent/JPS60222926A/en
Publication of JPS60222926A publication Critical patent/JPS60222926A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To prevent RAM from being accessed beyond its capacity by providing an address counter which outputs an access inhibiting signal when an address beyond the capacity of the RAM is counted. CONSTITUTION:The address counter 12 of the RAM5 is reset by a read/write signal output circuit 8 when the transfer of data is started with an instruction from a host system 4. Then, the counter 12 updates the address by one every time one byte of data read from a driver 1 is transferred to the RAM5. When the updated address goes beyond the capacity of the RAM5, an inhibiting signal for interrupting forcibly the generation of a read/write signal to the RAM5 is outputted to a read/write signal generating circuit 10. Further, the transfer of data from the RAM5 to the system 4 is performed similarly at a request from the system 4. Consequently, access exceeding the capacity of the RAM5 is prevented.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、コントローラにランダムアクセスメモリを
備えた磁気ディスク装置覆るものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention covers a magnetic disk device including a random access memory in a controller.

〔従来技術〕[Prior art]

従来、例えばホストシステムの]ンピコータに接続され
る磁気ディスク装置は、その磁気ディスク装置のコント
ローラ用大規模集積回路(1−3l)と、コンピュータ
との間のパスラインによって、データを直接的に転送す
るようになっていた。そして、その直接的な転送のため
、データの転送スピードが磁気ディスクのドライブスピ
ードによって決っていた。したがって、コンピュータは
データの転送を任意な時間に行うことができず、特に高
性能であることが要求されるホストコンピュータにあっ
ては、その影響が大きく、効率の良いプログラムを組む
ことが難しかった。
Conventionally, for example, a magnetic disk device connected to a pump coater of a host system directly transfers data via a path line between the controller large-scale integrated circuit (1-3l) of the magnetic disk device and the computer. I was supposed to. Because of this direct transfer, the data transfer speed was determined by the drive speed of the magnetic disk. Therefore, computers cannot transfer data at arbitrary times, and this has a large effect, especially on host computers that require high performance, making it difficult to write efficient programs. .

〔発明の目的〕[Purpose of the invention]

本出願人は、上記従来の問題を解消する磁気ディスフ装
置どして、そのコントローラ側に、]コンビコータの転
送データを一〇)記憶づるランダムアクセスメしり(R
AM)を備え、このメモリを中継としてコンビコータに
おけるデータの転送タイミングに自由度を与えることに
J:す、=1ンビュータの性能の向上を実現づる磁気デ
ィスク装置を開発した。
The present applicant has proposed a random access system (R
We have developed a magnetic disk device that is equipped with AM) and uses this memory as a relay to give flexibility in the timing of data transfer in the combicoater, thereby improving the performance of the combicoater.

この発明1よ、」ニ記開発に関連してなされたものであ
り、コン[〜ローラに備えたランダムアクセスメ−しり
に対して、その容量を越えてのアクセスが実行されるこ
とを未然に防止することができる磁気ディスク装置を1
1?供づ−ることを目的とする。
This invention 1 was made in connection with the development described in section 2 above, and is intended to prevent accesses beyond the capacity of the random access message provided in the controller from being executed. 1 magnetic disk device that can prevent
1? The purpose is to provide.

(発明の構成〕 この発明は、磁気ディスク装置のコントローラに備えた
ランダムアクセスメモリのアドレスカウンタがランダム
アクヒスメモリの容量を越えたアドレスをカウントした
ときに、アドレスカウンタがランダムアクレスメモリに
対してのノ′クレスを禁止づる禁止信号を出力づる構成
としたことを特徴とする。
(Structure of the Invention) According to the present invention, when an address counter of a random access memory provided in a controller of a magnetic disk device counts an address exceeding the capacity of the random access memory, the address counter The present invention is characterized in that it is configured to output a prohibition signal for prohibiting access.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

図中1は磁気ディスク装置のドライブぐあり、2はその
コン1〜ローラである。この=+ントローラ2は人7J
l模集積回路(LSI’>3をメインとしている。コン
ト[1−ラ2と、ボストシステム4どの間にはパスライ
ンが形成されていて、磁気ディスク装置とボストシステ
ム4との間のデータ転送がコントローラ2を通して行な
われるJ、うになっている。コン1ヘローラ2には、ホ
ストシステム4どの間のパスライン中に位冒するランダ
ムアクレスメモリ(以下IRAMJという)5が備えら
れている。このRA M 5は、ドライブ1からホスト
システム4への転送データ、およびその逆のホストシス
テム4からドライブ1への転送データを一簡記憶するも
のである。
In the figure, 1 is a drive of a magnetic disk device, and 2 is a controller 1 to a roller thereof. This =+controller 2 is person 7J
The main integrated circuit is LSI'>3.A path line is formed between the controller 1-2 and the boss system 4, and data transfer between the magnetic disk device and the boss system 4 is performed. is performed through the controller 2.The controller 1 and the controller 2 are equipped with a random access memory (hereinafter referred to as IRAMJ) 5 that is located in the path line between the host systems 4. M5 briefly stores data transferred from the drive 1 to the host system 4, and vice versa from the host system 4 to the drive 1.

以下、コントローラ2に備えられた各回路を作用と共に
説明する。
Hereinafter, each circuit provided in the controller 2 will be explained along with its operation.

データの転送には、RA M 5を中継とりるドライブ
1からボストシステム1への方向の転送と、RA M 
5を中継とするポストシステム4からドライブ1への方
向の転送との2つがある。
Data transfer involves transfer in the direction from drive 1 to boss system 1 using RAM 5 as a relay, and
There are two types of transfer: one from the post system 4 to the drive 1 using the post system 4 as a relay.

そこで、まず前者の転送、つJ、すRA M 5を中継
どリ−るドライブ1からホストシステム4への転送につ
いで説明づる。
Therefore, first, the former transfer, the transfer from the drive 1 that relays the RAM 5 to the host system 4, will be explained.

この方向のデータ転送では、ま覆“ドライブ1からRA
M5への第1段階の転送が行なわれ、その後に1でΔM
5からボス1ヘシステム4への第2段階の転送か行なわ
れる。
For data transfer in this direction, the data transfer from drive 1 to RA
A first stage transfer to M5 takes place, followed by ΔM at 1
A second stage transfer from 5 to boss 1 to system 4 takes place.

■ 第1段階の転送 この転jス命令は、ホストシステム4から制御111号
としCコントローラ2に与えられる。この場合、その制
御信号は、コントローラ2に対して、ドライブ゛1から
データをリードすることを要求づ−るものである。制御
信号はコンi〜D−ラ2のリード/ライト弁別回路6に
人力される。この弁別回路6は入力した制御信号が集積
回路3どRA fvl 5との間Cの−fデータ転送要
求−リ”るbのか、あるいはRAM5とホストシステム
4との間でのデータ転送を要求づるものなのかを弁別づ
る。ここでは前者の要求であると判rllliされる。
(1) First stage transfer This transfer command is given from the host system 4 to the C controller 2 as control number 111. In this case, the control signal requests the controller 2 to read data from the drive 1. The control signal is input to the read/write discrimination circuit 6 of the controllers I to D-2. This discrimination circuit 6 determines whether the input control signal is a request for data transfer between the integrated circuit 3 and the RA fvl 5, or a request for data transfer between the RAM 5 and the host system 4. Here, it is determined that it is the former request.

次に、ホストシステム4からの命令コードにより、デー
タφl、送り向決定回路7がf3 A M 5に対して
の要求かリード、あるいはライトのいずれであるかを判
定りる。ここでは、[RAN45に対リ−るライ1〜要
求であると判定される。この結果、データの転送方向が
集積回路3から+t A M 5への方向である−とが
決定され、そのことかり−1−/ライ1−信号出力回路
8に(バえられる。
Next, based on the instruction code from the host system 4, the data φl and sending direction determining circuit 7 determines whether the request is for f3 A M 5, a read, or a write. Here, it is determined that the request is a request to [RAN 45]. As a result, it is determined that the data transfer direction is from the integrated circuit 3 to +t A M 5, and therefore the signal is output to the -1-/rai 1- signal output circuit 8.

そして、集積回路3がリード/ライ1へ回路9を通して
ドライブ1からデータを読み取り、その読み取ったデー
タを集積回路3外部に’I’z;送りることを要求する
。この要求により、リード/ライ1−16号作成回路1
0は集積回路3とRA M 5との間のデータ転送信号
を要求に合うタイミングでリード/ライ[〜信号用)j
回路8に出力りる。そのタイミングの設定に当っては、
発振器11の発振信号が利用される。このデータ転送1
3号を受りたリード/ライト信号出力回路8は、先に受
(プたデータ転送方向の指示、つまり集積回路3からR
A fvl 5へデータを転送するという指示により、
1λ八M5へのライト命令を、リート/ライトイ1ジ号
作成回路10からのデータ転送信号に合わけて光づる。
Then, the integrated circuit 3 requests the read/write 1 to read data from the drive 1 through the circuit 9 and send the read data to the outside of the integrated circuit 3. Due to this request, read/write No. 1-16 creation circuit 1
0 reads/writes the data transfer signal between the integrated circuit 3 and the RAM 5 at a timing that meets the request [for signals]j
Output to circuit 8. When setting the timing,
An oscillation signal from the oscillator 11 is used. This data transfer 1
The read/write signal output circuit 8 that has received No.
With the instruction to transfer data to A fvl 5,
A write command to 1λ8M5 is combined with a data transfer signal from the read/write ID number generation circuit 10 and emitted.

このライト命令を受けたRAM5は、集積回路3からの
転送データを順次記憶する。
Upon receiving this write command, the RAM 5 sequentially stores the transferred data from the integrated circuit 3.

f< A M 5のアドレスカウンタ12は、ホストシ
ステム4からの命令によってデータの転送が開始される
とき、リード/ライ1〜信号出力回路8によってリセッ
トされる。したがって、この点においてリード/ライ1
〜(8号出力回路7は、アドレスカウンタ12のリレッ
ト回路であるといえる。そして、集積回路3がドライブ
1から読lυ/jデータが1パイi〜ずつ]【ΔM5に
転送される都1旦、アドレスカウンタ12はアドレスを
1つり“つ更新する。
The address counter 12 with f<AM 5 is reset by the read/write circuit 1 to the signal output circuit 8 when data transfer is started in response to a command from the host system 4 . Therefore, at this point, the lead/lie 1
~ (The No. 8 output circuit 7 can be said to be a ret circuit of the address counter 12. Then, the integrated circuit 3 reads lυ/j data from the drive 1 by 1 pie i~) , the address counter 12 updates the address one by one.

この更新によってアドレスがRA M 5の容量を越え
たとき、アドレスカウンタ12は、RA M 5へのリ
ード/ライト信号の作成を強制的に中止さける禁止信号
をリード/ライト信号作成回路10に出力する。このた
め、RA M 4の容量を越えたアクセスが防止される
When the address exceeds the capacity of the RAM 5 due to this update, the address counter 12 outputs a prohibition signal to the read/write signal generation circuit 10 to forcibly stop the generation of read/write signals to the RAM 5. . Therefore, access exceeding the capacity of RAM 4 is prevented.

このようにして、ドライブ1からRA M 5へのデー
タ転送が終了する。
In this way, data transfer from drive 1 to RAM 5 is completed.

■ 第2段階の転送 この転送は、ホストシステム鵞から任意の時間に要求さ
れる。この要求信号は、前述しlこ転送の場合と同様に
リート/ライト弁別回路6とデータ転送方向決定回路7
によって判定される。そして、リード/ライト信号出力
回路8によりアドレスカウンタ12はリヒットされ、R
A M 5から小ストシステム4ヘデータが1バイト転
送される毎に、アドレスカウンタ12はアドレスを1つ
り“つ更新づる。この更新によってアドレスか+< A
 M 5の容量を越えたとき、アドレスカウンタ12は
前述した転送の場合と同様にRA fvl 5に対づる
アクセスの禁止信号を出す−0 以上は、RA M 5を中継とづるドライブ1からポス
トシステム4への方向の転送についての説明であり、次
にその逆の方向、つまりRAM5を中継とするホストシ
ステム4からドライブ1への方向の転送について説明す
る。
■ Second stage transfer This transfer is requested by the host system at any time. This request signal is transmitted to the read/write discrimination circuit 6 and the data transfer direction determining circuit 7, as in the case of the above-mentioned transfer.
It is judged by. Then, the address counter 12 is re-hit by the read/write signal output circuit 8, and the R
Every time one byte of data is transferred from the A M 5 to the small storage system 4, the address counter 12 updates the address by one.This update causes the address to be +<A.
When the capacity of RAM 5 is exceeded, the address counter 12 issues a prohibition signal for access to RA fvl 5, as in the case of transfer described above. 4, and then the opposite direction, that is, the transfer from the host system 4 to the drive 1 using the RAM 5 as a relay will be explained.

この転送の場合しホス!・システム4からRA M5へ
の転送と、RAM5からドライブ1への転送との2段階
に分れる。
If this transfer is the case then Hoss! - Divided into two stages: transfer from system 4 to RAM 5 and transfer from RAM 5 to drive 1.

まず、ホストシステム4からRA M 5への転送命令
がホストシステム4から発Uられ、その内容がリード/
ライト弁別回路6とデータ転送方向決定回路7によって
判別される。そして、リード/ライト信号出力回路8に
J:リアドレスカウンタ12はリセットされ、ホストシ
ステム4からRA M5ヘデータが1バイト書ぎ込まれ
る毎にアドレスカウンタ12がアドレスを1つり゛つ更
新J−る。この更新によってアドレスがRAM E5の
容量を越えIことぎ、アドレスカウンタ12は[<ΔM
5にす・1りるアクセスの禁止信号を出ず。このように
してRAM5へのデータの書ぎ込みを終えた後、ホスト
システム4がRAM5からドライブ1へのデータ転送の
命令を発りると、その命令内容がリード/ライト弁別回
路6とデータ転送方向決定回路7にJ、って判別される
。そして、リード/ライ1〜信号出)j回路8によりア
ドレスカウンタ12がリセツl〜され、RAM5からデ
ータか1バイト読み出されてドライブ1へ出ぎ込まれる
毎にアドレスカウンタ12がアドレスを1つずつ更新り
る。この更新によってアドレスがRAM5の容量を越え
たとぎ、アドレスカウンタ12はRAM5に対するアク
レスの禁止信号を出ず。
First, a transfer command from the host system 4 to the RAM 5 is issued from the host system 4, and its contents are read/transferred.
This is determined by the write discrimination circuit 6 and the data transfer direction determination circuit 7. The rear address counter 12 is then reset to the read/write signal output circuit 8, and the address counter 12 updates the address by one each time one byte of data is written from the host system 4 to the RAM 5. . As a result of this update, the address exceeds the capacity of RAM E5, and the address counter 12 becomes [<ΔM
5.1 No access prohibition signal is issued. After writing data to the RAM 5 in this way, when the host system 4 issues a command to transfer data from the RAM 5 to the drive 1, the content of the command is transferred to the read/write discrimination circuit 6 and the data transfer. J is determined by the direction determining circuit 7. Then, the address counter 12 is reset by the read/write 1~signal output)j circuit 8, and each time one byte of data is read from the RAM 5 and input to the drive 1, the address counter 12 registers one address. Updated one by one. When the address exceeds the capacity of the RAM 5 due to this update, the address counter 12 does not issue an access prohibition signal to the RAM 5.

以上のように、RAM5を中継してのデータ転送により
、ホストシステム4はそれ自身の一番効率のよい時にデ
ータの転送を要求し、そしてドライブ1のf−夕転送ス
ピードの影響を受りることなくデータの転送を高速で実
行づることかできる。
As described above, by transferring data through RAM 5, host system 4 requests data transfer at its own most efficient time, and is subject to the transfer speed of drive 1. It is possible to transfer data at high speed without any trouble.

なお、アドレスカウンタ12が出力り−るランダムアク
ゼスメ七り5のアクビスの禁止信号にJこって警報を発
する警報器をアドレスカウンタ12に接続することによ
り、ランダムアクセスメモリ12に対してその容量を越
えた異常なアクセスがあったことをオペレータに積極的
に知らしめることができる。
In addition, by connecting an alarm device to the address counter 12 that issues an alarm in response to the random access prohibition signal outputted from the address counter 12, the capacity of the random access memory 12 can be reduced. It is possible to proactively notify the operator that there has been an abnormal access that exceeds the limit.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明による磁気ディスク装置
は、コントローラに1i11えたランダムアクセスメモ
リのアドレスカウンタか、ランダムアクセスメモリの容
量を越えたノアドレスをカウントしたとぎにアクセス禁
止IS Ujを出力づるから、ランダムアクセスメモリ
の容■を越えてそれがアクレスされることを未然に防止
することができる。この結果、例えばコントローラがラ
ンダムアクレスメモリの容量を越えてアクセスして、ホ
ストシステムがドライブに間違ったデータを川き込/υ
でしまったり、またはドライブからのデータの一部しか
ランダムアクレスメモリにライ1〜(・きすいにも拘ら
ず正常に命令を実行してしJ、うといったことがない。
As explained above, the magnetic disk device according to the present invention outputs the access prohibition IS Uj when the address counter of the random access memory stored in the controller or the address exceeding the capacity of the random access memory is counted. It is possible to prevent random access memory from being accessed beyond its capacity. As a result, for example, the controller may access more random access memory than it can, and the host system may load incorrect data onto the drive.
I've never had a problem where the data from the drive is stored in the random address memory, or only part of the data from the drive is stored in the random address memory.

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

図面はこの発明の一実施例を表すブLlツク構成図であ
る。 1・・・・・・ドライブ、2・・・・・・=1ントロー
ラ、3・・・・・集積回路、4・・・・・・ホス1ヘシ
ステム(」ノビ−1−タ)、5・・・・・・ランダムア
クセスメモリ(R△〜1)、8・・・・・・リード/ラ
イト信号出力回路(リレット回路)、12・・・・・・
アドレスカウンタ。 出願人 トキ]株式会礼
The drawing is a block diagram showing one embodiment of the present invention. 1...drive, 2...=1 controller, 3...integrated circuit, 4...host 1 system ("nobita-1-ta"), 5 ...Random access memory (R△~1), 8...Read/write signal output circuit (ret circuit), 12...
address counter. Applicant Toki] Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] (1) 磁気ディスクのコントローラを通してコンピュ
ータとの間でデータの転送を行なう磁気ディスク装置に
おいて、前記コントローラに、コンピュータとの間のパ
スライン中に位置して転送データを一時記憶するランダ
ムアクセスメモリと、このランダムアクセスメモリに対
しての転送データのリード/ライト時にその転送データ
の記憶アドレスを順次カウントしかつそのカウントする
アドレスがランダムアクレスメモリの容量を越えたとき
にランダムアクセスメモリへのアクセスを禁止する禁止
信号を出力するアドレスカウンタを備えたことを特徴と
する磁気ディスク装置。
(1) In a magnetic disk device that transfers data to and from a computer through a magnetic disk controller, the controller includes a random access memory that is located in a path line between the controller and the computer and temporarily stores transferred data; When reading/writing transfer data to this random access memory, the storage addresses of the transfer data are sequentially counted, and when the counted addresses exceed the capacity of the random access memory, access to the random access memory is prohibited. A magnetic disk device comprising an address counter that outputs a prohibition signal.
(2) 前記アドレスカウンタに、そのアドレスカウン
タが出力する禁止信号を受番プで警報を発する警報器を
接続した特許請求の範囲第1項に2略の磁気ディスク装
置。
(2) The magnetic disk device as set forth in claim 1 or 2, wherein an alarm device is connected to the address counter to issue an alarm when a prohibition signal output from the address counter is received.
JP59079823A 1984-04-20 1984-04-20 Magnetic disk device Pending JPS60222926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59079823A JPS60222926A (en) 1984-04-20 1984-04-20 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59079823A JPS60222926A (en) 1984-04-20 1984-04-20 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPS60222926A true JPS60222926A (en) 1985-11-07

Family

ID=13700925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59079823A Pending JPS60222926A (en) 1984-04-20 1984-04-20 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPS60222926A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221459A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Controlling circuit of external storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221459A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Controlling circuit of external storage device

Similar Documents

Publication Publication Date Title
US7716444B2 (en) Method and system for controlling memory accesses to memory modules having a memory hub architecture
US5093780A (en) Inter-processor transmission system having data link which automatically and periodically reads and writes the transfer data
US20010051994A1 (en) Computer system and a data transfer method thereof
US5428760A (en) Circuitry and method for sharing internal microcontroller memory with an external processor
US6598049B1 (en) Data structure identifying method and recording medium
US5089953A (en) Control and arbitration unit
US6035417A (en) Method and system for taking over data and device for processing data
KR100633853B1 (en) Method and apparatus for sharing an interrupt between disk drive interfaces
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS60222926A (en) Magnetic disk device
US20010029558A1 (en) First-in first-out data transfer control device having a plurality of banks
JP2751822B2 (en) Memory control method for FIFO memory device
JP3261665B2 (en) Data transfer method and data processing system
JPS633351B2 (en)
JPS60222925A (en) Magnetic disk device
JP3517884B2 (en) Data processing device
JP3299147B2 (en) Cache control circuit
JPS60222927A (en) Magnetic disk device
JPH11338712A (en) Interruption sequence saving circuit
JPH01258152A (en) Memory controller
JP2000207235A (en) Information processor
JPS60222924A (en) Magnetic disk device
JPH04291646A (en) Write monitoring device
JPH0476138B2 (en)
JPH0245208B2 (en) BASUKETSUGOSHISUTEMUNODEETATENSOSEIGYOHOSHIKI