JPH01314325A - Memory access method for magnetic disk devices - Google Patents
Memory access method for magnetic disk devicesInfo
- Publication number
- JPH01314325A JPH01314325A JP14571088A JP14571088A JPH01314325A JP H01314325 A JPH01314325 A JP H01314325A JP 14571088 A JP14571088 A JP 14571088A JP 14571088 A JP14571088 A JP 14571088A JP H01314325 A JPH01314325 A JP H01314325A
- Authority
- JP
- Japan
- Prior art keywords
- data
- magnetic disk
- bus
- ram
- byte
- 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
Links
Landscapes
- Bus Control (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本方式は磁気ディスク装置におけるDMAの転送方式に
係り、特に磁気ディスクからの読み出し書き込みのデー
タの高速の転送に好適なりMAの転送に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present method relates to a DMA transfer method in a magnetic disk device, and particularly relates to MA transfer, which is suitable for high-speed transfer of data read from and written to a magnetic disk.
従来の転送速度が1.2MB/Sの転送の装置において
は、磁気ディスクから読出されたデータは1バイトの転
送に約1μsかかり3MH2のマイクロプロセッサの1
サイクル0.333μsでは。In a conventional transfer device with a transfer rate of 1.2 MB/S, it takes about 1 μs to transfer 1 byte of data read from a magnetic disk, and it takes about 1 μs to transfer 1 byte of data to a 3 MH2 microprocessor.
In a cycle of 0.333 μs.
次の連続した1バイトが転送されるまでに充分RAMへ
の書込み読み出しが間に合っていたが転送速度が3MB
/Sの転送においては、1バイトの転送に約0.416
μsとなり、3MH2のマイクロプロセッサでは処理不
能となる。There was enough time to read and write to the RAM before the next consecutive byte was transferred, but the transfer speed was 3MB.
/S transfer, it takes about 0.416 to transfer 1 byte.
μs, which cannot be processed by a 3MH2 microprocessor.
上記従来技術は、従来のマイクロプロセッサ。 The above conventional technology is a conventional microprocessor.
ROMおよびRAMを使用シテ、1.2MB/Sより高
速のデーター転送に使用できない。ROM and RAM are used and cannot be used for data transfer faster than 1.2MB/S.
本発明の目的は、一定周期の連続したデータを間欠する
ことなくRAMから磁気ディスクへの書き込みおよび磁
気ディスクからRAMへの書込みをマイクロプロセッサ
、ROMおよびSC5Iインターフェースデータの書き
込み・読み出しの共存するDMAのデータバス上で制御
し、高速転送を実現することにある。It is an object of the present invention to write continuous data from a RAM to a magnetic disk and from a magnetic disk to a RAM without intermittently using a microprocessor, a ROM, and a DMA that coexists with writing and reading data from an SC5I interface. The goal is to achieve high-speed transfer by controlling it on the data bus.
上記目的は、磁気ディスクから読出されたデータ及び書
き込みデータを2バイトラツチする方式と、D M A
データバスを同期化しデータの優先順位を決める順序回
路によって達成される。The above purpose is to provide a method for 2-byte latching of data read and written from a magnetic disk, and a DMA
This is accomplished by sequential circuitry that synchronizes the data bus and prioritizes the data.
2バイトラツチ方式は、磁気ディスク装置から読み出さ
れたデータおよび磁気ディスク装置に書込む一定周期の
連続したデータ転送において、転送すべきデータを2バ
イト分ラッチした後、転送する方式で、1バイト目のデ
ータがラッチされた後、2バイト目のデータがラッチさ
れ、3バイト目のデータがラッチされる直前までに1バ
イト目のデータの転送が終了すれば良い。また、順序回
路は、一定周期で間欠出来ないデータすなわち、磁気デ
ィスク装置からの読み出し、書き込みデータを優先し、
データバスを基準クロックで同期化することにより、D
MAデータバスを効率良く使用し、データのオーバーラ
ンを防止する。The 2-byte latch method is a method in which 2 bytes of the data to be transferred are latched and then transferred during continuous data transfer at a fixed cycle for data read from the magnetic disk device and written to the magnetic disk device. After latching the data, the second byte data is latched, and the transfer of the first byte data may be completed just before the third byte data is latched. In addition, the sequential circuit gives priority to data that cannot be interrupted at regular intervals, that is, data read and written from the magnetic disk device.
By synchronizing the data bus with a reference clock, D
To efficiently use an MA data bus and prevent data overrun.
以下、本発明の一実施例を第1図により説明する。第1
図はSC8Iインターフェースの磁気ディスク装置のD
MA制御の代表的ブロック図を示す。SC8Iインター
フェースのデータバス7から入力されたデータはSC5
I制御線7aのREQ/ACK信号により8ビツトの単
位でデータの送受信が行なわれ、入力データはバス線1
3を経由しDMAC2によりRAM18にDMAバス1
5を介し記憶される。RAM18に記憶されたデータは
同じ<DMAバス15を経由してDMAC2に取り込ま
れバス線14によってパラレル/シリアル変換器を通し
てNRZライトデーターとして磁気ディスクに書込まれ
る。An embodiment of the present invention will be described below with reference to FIG. 1st
The figure shows D of a magnetic disk device with SC8I interface.
A typical block diagram of MA control is shown. The data input from the data bus 7 of the SC8I interface is sent to the SC5
Data is transmitted and received in units of 8 bits by the REQ/ACK signal on the I control line 7a, and input data is sent to the bus line 1.
DMA bus 1 to RAM18 via DMAC2 via
5. The data stored in the RAM 18 is taken into the DMAC 2 via the same DMA bus 15 and written to the magnetic disk as NRZ write data via a parallel/serial converter via the bus line 14.
5C5Iインターフエースからの読出しは、前述の逆の
径路をたどる。RAMはバス線13,15の他にMPU
からのバスデータ線10を経由してアクセスされ3つの
パスラインからRAMのパスライン15がアクセスされ
る。Reading from the 5C5I interface follows the reverse path as described above. RAM is MPU in addition to bus lines 13 and 15
The RAM pass line 15 is accessed from the three pass lines.
本発明の2バイトラツチ方式は線32から入力される磁
気ディスクから読出された8ビツトのデータが線33に
伝えられ1バイト目がLTO(24)へ線36のクロッ
クによって取り込まれ2バイト目はLTI (25)へ
線37のクロックによって取り込まれる。LTO(24
)の1バイト目のデータは3バイト目がLTOに取り込
まれる直前まで保持される。保持された2バイトのデー
タ線34.35はマルチプレクサ27によりDMAバス
49に伝えられ、RAMに書込まれる。 RAMに書込
まれたデータはDMAバス49を経由してバス線44に
伝えられ1バイト目がLTO(29)、2バイト目がL
TI (30)にラッチされ、同様にSC3Iインター
フェースのデータバスに送出される。In the 2-byte latch system of the present invention, 8-bit data read from the magnetic disk is input from line 32 and is transmitted to line 33, the first byte is taken into LTO (24) by the clock on line 36, and the second byte is transferred to LTI. (25) by the clock on line 37. LTO(24
) is held until just before the third byte is taken into the LTO. The retained 2-byte data lines 34 and 35 are transmitted to the DMA bus 49 by the multiplexer 27 and written into the RAM. The data written to the RAM is transmitted to the bus line 44 via the DMA bus 49, and the first byte is LTO (29) and the second byte is LTO.
It is latched into TI (30) and sent out to the data bus of the SC3I interface as well.
逆に、5C5Iインターフエースから入力されるデータ
は同様の2バイトラツチ方式によりラッチされ線42に
伝えられマルチプレクサ22により線43に伝えられ、
DMAバス49を経由してRAMに記憶され、記憶され
たデータは線49を経由して2バイトラッチ29.30
にラッチされマルチプレクサ31で選択されLTO/L
TIがセレクトされマルチプレクサ26を経由して、バ
ス線36に出力され、パラレル/シリアル変換器5を経
由してNRZライトデータ19が磁気ディスクに書込ま
れる。この2バイトラツチ方式では1バイトの処理時間
を約2倍に緩和出来る。Conversely, data input from the 5C5I interface is latched by a similar two-byte latch scheme and transmitted on line 42, and is transmitted by multiplexer 22 on line 43.
The data is stored in the RAM via the DMA bus 49, and the stored data is transferred via line 49 to the 2-byte latch 29.30.
LTO/L is latched and selected by multiplexer 31.
TI is selected and output to the bus line 36 via the multiplexer 26, and the NRZ write data 19 is written to the magnetic disk via the parallel/serial converter 5. This 2-byte latch method can reduce the processing time for 1 byte by about twice.
次に、DMAバスを効率良く制御するための順序回路を
第3図に示す、磁気ディスクの読み出し書き込みデータ
は間欠のない連続した一定周期のデータであり、SCS
Iインターフェースのデータは一般に転送が速く1間欠
したデータでも良いことから磁気ディスクの読み出し書
込みデータを優先する。一方、マイクロプロセッサのり
、MAババス専有回数はDMA制御において少なく、マ
イクロプロセッサの処理時間は上げたいため、本発明で
は、DMAバスの権利獲得のための優先順位はマイクロ
プロセッサ〉読み出し書込みデータ>5CSIインター
フエースデータの順とし、第3図においてAREQ75
>BREQ76>CREQ77のデータ転送要求の順序
とする。マイクロプロセッサの順位を上げないと磁気デ
ィスクのデータの読み出し、書込みの最中はマイクロプ
ロセッサの権利獲得が1行なえないためマイクロプロセ
ッサの処理が行なえなくなる。Next, a sequential circuit for efficiently controlling the DMA bus is shown in Fig. 3. Data read and written to a magnetic disk is continuous data with a constant period without any interruption, and the SCS
Since data on the I interface is generally transferred quickly and may be data that is interrupted once, priority is given to read/write data from the magnetic disk. On the other hand, the number of times the microprocessor and MA bus are occupied is small in DMA control, and it is desired to increase the processing time of the microprocessor. In the order of ace data, AREQ75 in Figure 3.
The order of data transfer requests is >BREQ76>CREQ77. If the ranking of the microprocessor is not raised, the microprocessor will not be able to perform any processing because it will not be able to acquire the rights to the microprocessor during reading or writing of data on the magnetic disk.
第4図は同期化クロックCLKA81を基準にマイクロ
プロセッサのデータリクエスト信号(ASEL/ECL
K)83.84と、ディスクの書き込み読み出しデータ
の要求信号REQB85゜5csrインターフエースの
データ要求信号REQC87の同期化とバス占有のタイ
ミングを示したものである。ARBENIOIが真の時
DMAバスが占有されていることを示し、為の時DMA
バスが優先度の高いものからバスを専有する権利を得ら
れる状態にあることを示す信号である。信号5REQA
89,5REQB90.および5REQC91はそれぞ
れ同期化されたマイクロプロセッサ、ディスクの書き込
み読み出しおよび5C5Iインターフエースのデータの
バスの要求信号を示し、5ACKA102,5ACKB
103および5ACKC104は、バス占有状態を示す
。DMABUS105は、DMAバスのデータを示す。Figure 4 shows the data request signal (ASEL/ECL) of the microprocessor based on the synchronization clock CLKA81.
K) 83.84 and the disk write/read data request signal REQB85°5csr interface data request signal REQC87 synchronization and bus occupancy timing are shown. When ARBENIOI is true, it indicates that the DMA bus is occupied;
This is a signal indicating that the bus is in a state where the right to monopolize the bus can be obtained from the bus with higher priority. Signal 5REQA
89,5REQB90. and 5REQC91 indicate the synchronized microprocessor, disk write/read and data bus request signals of the 5C5I interface, respectively; 5ACKA102, 5ACKB
103 and 5ACKC104 indicate bus occupancy status. DMABUS105 indicates data on the DMA bus.
本発明によれば、2バイトデータラツチにより磁気ディ
スクへの1バイトのデータの書き込み、読み出しが2バ
イト分の転送時間で処理でき、またDMAバス権獲得の
順序回路により、効率よくDMAバスを使用出来るため
、従来のデバイスを使用し、磁気ディスク装置のデータ
転送速度を容易に上げられる効果がある。According to the present invention, a 2-byte data latch enables writing and reading of 1-byte data to and from a magnetic disk in the transfer time of 2 bytes, and a sequential circuit for acquiring DMA bus ownership allows efficient use of the DMA bus. Therefore, it is possible to easily increase the data transfer speed of the magnetic disk drive using conventional devices.
第1図は本発明の一実施例のブロック図、第2図は2バ
イトラツチ方式の具体例を示すブロック図、第3図はD
MAバス順序回路図、第4図は詳細なりMAババスタイ
ミング図である。
7・・・SC8Iインターフニスデータバス、7a・・
・インターフェースコントロール信号、8・・・マイク
ロプロセッサアドレスバス、9・・・マイクロプロセッ
サデーターバス、10・・・マイクロプロセッサ制御信
号、11,12,13・・・DMA制御信号。
16・・・DMAアドレスバス、17・・・DMAデー
タバス、5・・・バラレジ/シリアル変換器。
第1図
第2図
第 3 図Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a block diagram showing a specific example of a 2-byte latch method, and Fig. 3 is a block diagram of an embodiment of the present invention.
The MA bus sequence circuit diagram, FIG. 4, is a detailed MA bus timing diagram. 7...SC8I interfunis data bus, 7a...
- Interface control signal, 8... Microprocessor address bus, 9... Microprocessor data bus, 10... Microprocessor control signal, 11, 12, 13... DMA control signal. 16... DMA address bus, 17... DMA data bus, 5... Variable register/serial converter. Figure 1 Figure 2 Figure 3
Claims (1)
のDMA(ダイレクトメモリーアクセス)制御において
、RAMのデータバスを共用する、マイクロプロセッサ
、SCSIインターフェスのデータ処理及びディスクの
書き込み・読み出しの処理に優先順位を設けかつ同期化
させ、2バイトのデータラッチを使用し、一定周期で連
続したデータを間欠することなく、SCSIインターフ
ェースからのデータをRAMに書き込み、RAMのデー
タを連続して磁気ディスクに書込み、また逆に磁気ディ
スクからの連続したデータをRAMに書込み、RAMの
データをSCSIインターフェースに送出することを特
徴とする磁気ディスク装置のメモリーアクセス方式。1. In DMA (direct memory access) control of a magnetic disk device with a SCSI interface, priorities are set for the microprocessor, SCSI interface data processing, and disk write/read processing that share the RAM data bus. The data from the SCSI interface is written to the RAM, the data from the RAM is continuously written to the magnetic disk, and vice versa. A memory access method for a magnetic disk device characterized by writing continuous data from a magnetic disk into a RAM and sending the data from the RAM to a SCSI interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14571088A JPH01314325A (en) | 1988-06-15 | 1988-06-15 | Memory access method for magnetic disk devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14571088A JPH01314325A (en) | 1988-06-15 | 1988-06-15 | Memory access method for magnetic disk devices |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01314325A true JPH01314325A (en) | 1989-12-19 |
Family
ID=15391332
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14571088A Pending JPH01314325A (en) | 1988-06-15 | 1988-06-15 | Memory access method for magnetic disk devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01314325A (en) |
-
1988
- 1988-06-15 JP JP14571088A patent/JPH01314325A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR980007767A (en) | Video data transmission, line speed change, data structure preparation and speed determination methods of variable speed clocks and computer readable media | |
| US20020184453A1 (en) | Data bus system including posted reads and writes | |
| JP2962787B2 (en) | Communication control method | |
| JPH01314325A (en) | Memory access method for magnetic disk devices | |
| JPH10307787A (en) | Buffer memory device | |
| JP2973941B2 (en) | Asynchronous FIFO buffer device | |
| JP2616490B2 (en) | Shared data storage method | |
| JP3186247B2 (en) | DMA controller for communication | |
| JP2002094576A (en) | Serial communication controller | |
| RU1835546C (en) | Data-exchange adapter | |
| JPS6321938B2 (en) | ||
| JPH05334223A (en) | Channel device and frame transmission / reception method thereof | |
| JPS61262870A (en) | Bus control method | |
| JPH02244368A (en) | Bus controller | |
| JPS61153730A (en) | data buffer device | |
| JPH0520165A (en) | System bus controller | |
| JPS61210464A (en) | data buffer | |
| JPS6273362A (en) | Demand transfer circuit | |
| JPS581812B2 (en) | data processing system | |
| JPH0659062B2 (en) | Data transmission method in line control device | |
| JP2000132498A (en) | Dma transfer controller | |
| JPS59224944A (en) | Data transfer system | |
| JPS60116055A (en) | Data transfer method | |
| JPH04319752A (en) | System bus control system for information processor | |
| JPS63201810A (en) | Time system of information processing system |