JPH0325539A - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPH0325539A JPH0325539A JP15989789A JP15989789A JPH0325539A JP H0325539 A JPH0325539 A JP H0325539A JP 15989789 A JP15989789 A JP 15989789A JP 15989789 A JP15989789 A JP 15989789A JP H0325539 A JPH0325539 A JP H0325539A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data transfer
- line
- transfer
- storage device
- 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
- 230000004044 response Effects 0.000 claims description 5
- 230000010365 information processing Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は記憶装置に関し、特にプロセッサと接続される
記憶装置におけるデータ転送制御に関する。TECHNICAL FIELD The present invention relates to a storage device, and more particularly to data transfer control in a storage device connected to a processor.
従来技術
従来、情報処理装置におけるデータ転送制御は以下のよ
うに行われていた。まず、データ転送命令が入力される
とプロセッサが転送元アドレスを出力し、それによって
主記憶装置からデータを読出す。次に、プロセッサは転
送先アドレス及び読出したデータを再び出力し、主記憶
装置に書込む。BACKGROUND ART Conventionally, data transfer control in an information processing apparatus has been performed as follows. First, when a data transfer command is input, the processor outputs a transfer source address and reads data from the main memory. Next, the processor outputs the transfer destination address and the read data again and writes them into the main memory.
しかし、上述した従来の情報処理装置におけるデータ転
送制御では、プロセッサがデータを読出し、再びその同
じデータを出力するため、バス・プロトコルによって転
送先アドレスを先出ししても、プロセッサがデータを出
力するまでは書込みを待たなければならず、転送終了ま
での時間が長くなるという欠点がある。However, in the data transfer control in the conventional information processing device described above, the processor reads the data and outputs the same data again, so even if the transfer destination address is first issued using the bus protocol, the data transfer is not performed until the processor outputs the data. has the disadvantage that it takes a long time to complete the transfer because it has to wait for writing.
発明の目的
本発明は上述した従来の欠点を解決するためになされた
ものであり、データ転送時間を短縮することができる記
憶装置を提供することである。OBJECTS OF THE INVENTION The present invention has been made in order to solve the above-mentioned conventional drawbacks, and it is an object of the present invention to provide a storage device that can shorten data transfer time.
発明の構或
本発明による記憶装置は、上位装置からのアクセスに応
答して所定のアドレスからデータを送出するメモリを含
む記憶装置であって、前記メモリが送出したデータを保
持する保持手段と、前記上位装置からの他のアクセスに
応答して前記保持手段に保持されたデータを他のアドレ
スに書込む書込手段とを有することを特徴とする。Structure of the Invention A storage device according to the present invention is a storage device including a memory that sends data from a predetermined address in response to an access from a host device, and a storage device that holds the data sent by the memory; It is characterized by comprising a write means for writing the data held in the holding means to another address in response to another access from the host device.
実施例 以下、図面を用いて本発明の実施例を説明する。Example Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明の実施例による記憶装置を含む情報処理
装置の主要部の構成を示すブロック図である。図におい
て、1はプロセッサ、2は本発明の一実施例の記憶装置
たる主記憶装置である。FIG. 1 is a block diagram showing the configuration of main parts of an information processing device including a storage device according to an embodiment of the present invention. In the figure, 1 is a processor, and 2 is a main storage device which is a storage device according to an embodiment of the present invention.
プロセッサ1は記憶装置2に対してアクセスを行うもの
である。The processor 1 accesses the storage device 2.
記憶装置2はデータが格納されているメモリ21と、デ
ータ保持用のレジスタ22と、装置内部の制御を行う制
御回路23と、データバッファ24とを含んで構威され
ている。The storage device 2 includes a memory 21 in which data is stored, a register 22 for holding data, a control circuit 23 for controlling the inside of the device, and a data buffer 24.
なお、3はシステムバスであり、このシステムバス3は
制御線a5アドレス線b及びデータ線Cを含んでいる。Note that 3 is a system bus, and this system bus 3 includes a control line a5, an address line b, and a data line C.
また、dはプロセッサ1の制御信号出力線、eはプロセ
ッサ1のアドレス出力線、fはブロセッサ1のデータ人
出力線であり、gは主記憶装置2の制御信号人力線、h
は主記憶装置2のアドレス入力線、iは主記憶装置2の
データ入出力線である。Further, d is a control signal output line of the processor 1, e is an address output line of the processor 1, f is a data output line of the processor 1, g is a control signal output line of the main storage device 2, and h is a control signal output line of the processor 1.
is an address input line of the main memory device 2, and i is a data input/output line of the main memory device 2.
さらにまた、jはメモリ21のデータ人出力線、kはデ
ータバッファ24への制御線、gはレジスタ22への制
御線である。Furthermore, j is a data output line of the memory 21, k is a control line to the data buffer 24, and g is a control line to the register 22.
かかる構或において、データ転送命令に応答して以下の
ような処理が実行される。In such a structure, the following processing is executed in response to a data transfer command.
まず、プロセッサ1は出力線dにデータ転送命令実行中
の信号及びリードの指示を送出するとともに、出力線e
に転送元アドレスを送出する。データ転送命令実行中の
信号及びリードの指定はシステムバス3中の制御線aを
通して、転送元アドレスはシステムバス3中のアドレス
線bを通して主記憶装置2に夫々伝えられる。First, the processor 1 sends a signal indicating that a data transfer command is being executed and a read instruction to the output line d, and also sends a read instruction to the output line e.
Sends the forwarding address to. Signals during execution of a data transfer command and designation of read are transmitted to the main memory device 2 through a control line a in the system bus 3, and a transfer source address is transmitted through an address line b in the system bus 3, respectively.
すると、メモリ21は入力線hを通して転送元アドレス
を受取り、入出力線jにアクセスされたデータを出力す
る。Then, the memory 21 receives the transfer source address through the input line h, and outputs the accessed data to the input/output line j.
また、制御回路23は入力線gを通してデータ転送命令
実行中の信号及びリードの指定を受取ると制御線kを通
じてデータバッファ24を出力状態にするとともに、制
御線gを通じてレジスタ22をデータラッチ状態に制御
する。これにより、人出力線jに出力されたデータは人
出力線1を通じてシステムバス3中のデータ線Cに送出
されるとともに、レジスタ22に保持される。Further, when the control circuit 23 receives a signal indicating that a data transfer command is being executed and a read designation through the input line g, it puts the data buffer 24 into the output state through the control line k, and controls the register 22 into the data latch state through the control line g. do. As a result, the data output to the human output line j is sent to the data line C in the system bus 3 through the human output line 1, and is held in the register 22.
一方、ブロッサ1は転送元アドレスを出力してから、メ
モリ21のアクセス時間が確保できるだけの時間をおい
た後、主記憶装置からのデータ転送を待たずに出力線d
にライトの指示を出力し、出力線eに転送先アドレスを
出力する。すると、システムバス3中の制御線a1アド
レス線bを夫々通して、再び主記憶装置2に送られる。On the other hand, after outputting the transfer source address and waiting enough time to secure access time for the memory 21, the Blosser 1 outputs the transfer source address to the output line d without waiting for data transfer from the main memory.
A write instruction is output to output line e, and a transfer destination address is output to output line e. Then, the data is sent to the main memory device 2 again through the control line a1 and the address line b in the system bus 3, respectively.
制御回路23が入力線gを通して、データ転送命令実行
中の信号及びライトの指示を受取ると制御線kを通じて
データバッファ24を非出力状態にするとともに、制御
線ρを通じてレジスタ22を出力状態に制御する。これ
により、前に保持されていた転送元のアドレスからのデ
ータが人出力線jに出力される。When the control circuit 23 receives a signal indicating that a data transfer command is being executed and a write instruction through the input line g, it puts the data buffer 24 into a non-output state through the control line k, and controls the register 22 into an output state through the control line ρ. . As a result, the previously held data from the transfer source address is output to the human output line j.
メモリ21は人力線hを通じて転送先アドレスを受取る
とともに、人出カ線jを通じてデータを受取る。すると
、メモリ21の転送先アドレスにデータが書込まれ、デ
ータ転送処理が終了となる。The memory 21 receives the transfer destination address through the human power line h, and also receives data through the human power line j. Then, the data is written to the transfer destination address of the memory 21, and the data transfer process ends.
なお、システムバス3中のデータ線Cに送出されたデー
タは入出力線fを通してプロセッサ1に送られる。プロ
セッサ1は最初のバスサイクルを終了し、人出力線fに
データを送り返して2回目のバスサイクルを終了するが
、主記憶装置内においてデータ転送処理が既に終了して
いる。このため、主記憶装置2は次のプロセッサ1のア
クセスに備えることができることとなる。Note that the data sent to the data line C in the system bus 3 is sent to the processor 1 through the input/output line f. The processor 1 completes the first bus cycle, sends the data back to the human output line f, and completes the second bus cycle, but the data transfer process has already been completed in the main memory. Therefore, the main memory device 2 can be prepared for the next access by the processor 1.
つまり、本発明は記憶装置内のメモリのあるアドレス、
すなわち転送元アドレスからの出カデータを一時保持す
るレジスタを設け、その出カデータをメモリの他のアド
レス、すなわち転送先アドレスに書込むという処理によ
ってデータ転送処理を実現するため、従来必要であった
主記憶装置とプロセッサとのデータ転送時間を省略でき
るのである。In other words, the present invention provides a memory address in a storage device,
In other words, data transfer processing is achieved by providing a register that temporarily holds the output data from the transfer source address and writing that output data to another address in memory, that is, the transfer destination address. Data transfer time between the storage device and the processor can be omitted.
発明の効果
以上説明したように本発明は、データ転送命令実行中で
あることを示す信号線と、データ転送命令実行中に転送
元アドレスから読出されたデータを保持するレジスタと
、システムバス制御線に接続されプロセッサがデータ転
送を終了する前に自装置内でデータ転送制御を行う制御
回路とを記憶装置内に設けることにより、データ転送時
間を短縮し、データ転送処理全体のスループットを向上
させることができるという効果がある。Effects of the Invention As explained above, the present invention provides a signal line indicating that a data transfer instruction is being executed, a register that holds data read from a transfer source address during execution of a data transfer instruction, and a system bus control line. By providing a control circuit in the storage device that is connected to the processor and controls the data transfer within the device itself before the processor finishes the data transfer, the data transfer time is shortened and the throughput of the entire data transfer process is improved. It has the effect of being able to.
第1図は本発明の実施例による記憶装置を含む情報処理
装置の主要部,の横或を示すブロック図である。
主要部分の符号の説明
1・・・・・・プロセッサ
21・・・・・・メモリ
22・・・・・・レジスタ
23・・・・・・制御回路
24・・・・・・データバッファFIG. 1 is a block diagram showing the main parts of an information processing device including a storage device according to an embodiment of the present invention. Explanation of symbols of main parts 1... Processor 21... Memory 22... Register 23... Control circuit 24... Data buffer
Claims (1)
スからデータを送出するメモリを含む記憶装置であって
、前記メモリが送出したデータを保持する保持手段と、
前記上位装置からの他のアクセスに応答して前記保持手
段に保持されたデータを他のアドレスに書込む書込手段
とを有することを特徴とする記憶装置。(1) A storage device including a memory that sends data from a predetermined address in response to an access from a host device, and a holding unit that holds data sent by the memory;
A storage device comprising: writing means for writing data held in the holding means to another address in response to another access from the host device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15989789A JPH0325539A (en) | 1989-06-22 | 1989-06-22 | Storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15989789A JPH0325539A (en) | 1989-06-22 | 1989-06-22 | Storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0325539A true JPH0325539A (en) | 1991-02-04 |
Family
ID=15703566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15989789A Pending JPH0325539A (en) | 1989-06-22 | 1989-06-22 | Storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0325539A (en) |
-
1989
- 1989-06-22 JP JP15989789A patent/JPH0325539A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20040107265A1 (en) | Shared memory data transfer apparatus | |
JPS62239235A (en) | Data processor with fast comparison action of operation code | |
JPH0325539A (en) | Storage device | |
JP2821176B2 (en) | Information processing device | |
JP2581144B2 (en) | Bus control device | |
JPH0215425Y2 (en) | ||
JP3057754B2 (en) | Memory circuit and distributed processing system | |
JPS5999522A (en) | Input and output control system | |
JP2884620B2 (en) | Digital image processing device | |
JPH03152651A (en) | information transmission system | |
JPH02211571A (en) | Information processor | |
JPH02121053A (en) | Test and set system | |
JPH07134685A (en) | Computer system and its memory data transfer system | |
JPH07121483A (en) | Shared memory access control circuit | |
JPH0520165A (en) | System bus controller | |
JPH081633B2 (en) | Data transfer device | |
JPS6140658A (en) | Data processor | |
JPH0261745A (en) | Read transfer control system for dmac | |
JPH0756860A (en) | Multi-cpu system | |
JPS61156089A (en) | Display unit | |
JPH04104355A (en) | Multiprocessing method | |
JPH0436423B2 (en) | ||
JPH10105457A (en) | Memory control system and memory control circuitt | |
JPS6037062A (en) | Memory read method | |
JPH03189755A (en) | Inter-memory transfer device |