JPS6337418B2 - - Google Patents
Info
- Publication number
- JPS6337418B2 JPS6337418B2 JP58219094A JP21909483A JPS6337418B2 JP S6337418 B2 JPS6337418 B2 JP S6337418B2 JP 58219094 A JP58219094 A JP 58219094A JP 21909483 A JP21909483 A JP 21909483A JP S6337418 B2 JPS6337418 B2 JP S6337418B2
- Authority
- JP
- Japan
- Prior art keywords
- dma
- bus
- cpu
- controller
- memory
- 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
Links
- 230000015654 memory Effects 0.000 claims description 31
- 238000000034 method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、マイクロコンピユータあるいはミ
ニコンピユータシステムなどにおける簡易型メモ
リデータ転送装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a simple memory data transfer device in a microcomputer or minicomputer system.
従来、この種の機能を実現する装置として第1
図に示すものがあつた。図において、1は中央処
理装置(CPU)、2は主メモリ、3は前記CPU1
と主メモリ2とを接続する内部バス、4はシステ
ムの入出力装置を制御するためのCPUバス、5
はDMA(ダイレクト・メモリ・アクセスの意)
コントローラ、6は磁気デイスク装置8やフレキ
シブルデイスク装置9を制御するデバイスコント
ローラ、そして7は前記DMAコントローラ5と
デバイスコントローラ6とを接続するDMAバス
である。
Conventionally, it was the first device to realize this type of function.
I got what is shown in the figure. In the figure, 1 is the central processing unit (CPU), 2 is the main memory, and 3 is the CPU 1.
and main memory 2; 4 is a CPU bus for controlling the input/output devices of the system; 5 is a CPU bus for controlling input/output devices of the system;
is DMA (direct memory access)
Controller 6 is a device controller that controls the magnetic disk device 8 and flexible disk device 9, and 7 is a DMA bus that connects the DMA controller 5 and device controller 6.
次に第1図の動作について以下に説明する。
今、磁気デイスク装置8の内容を主メモリ2に転
送する場合を考える。CPU1よりCPUバス4を
経由して磁気デイスク装置8をコントローラして
いるデバイスコントローラ6に対し制御情報を与
える。デバイスコントローラ6はその制御情報に
基づきデバイスの制御に移り、前記制御情報の転
送が準備完了するとDMAコントローラ5へ
DMA要求をするためDMAバス7を介して出力
する。そこでDMAコントローラ5は要求受付が
可能であればデバイスコントローラ6と順次デー
タ転送をDMAモードで行い、内部バス3を通じ
て主メモリ2上にデータ転送を実行してゆく。そ
して全データの転送が完了した時点、もしくはエ
ラーが発生し再行不可能となつた時点で、それら
の詳細ステータスも含めて主メモリ2に移した
後、デバイスコントローラ6はCPU1に対し完
了信号をCPUバス4を経由して出力する。CPU
1はこの完了信号を受けて終了処理を実行し次の
ステツプに移つてゆく。 Next, the operation shown in FIG. 1 will be explained below.
Now, consider the case where the contents of the magnetic disk device 8 are transferred to the main memory 2. Control information is given from the CPU 1 via the CPU bus 4 to the device controller 6 that controls the magnetic disk device 8. The device controller 6 moves to control the device based on the control information, and when the preparation for transferring the control information is completed, the device controller 6 transfers the control information to the DMA controller 5.
It is output via the DMA bus 7 to make a DMA request. Therefore, if the DMA controller 5 can accept the request, it sequentially transfers data with the device controller 6 in DMA mode, and executes the data transfer onto the main memory 2 via the internal bus 3. Then, when the transfer of all data is completed, or when an error occurs and it becomes impossible to retry, the device controller 6 transfers the detailed status to the main memory 2, and then the device controller 6 sends a completion signal to the CPU 1. Output via CPU bus 4. CPU
1 receives this completion signal, executes the termination process, and moves on to the next step.
尚、DMAコントローラ5は同時に複数台のデ
バイスコントローラ6とDMAを行うことができ
る。つまり、各デバイスコントローラ6から独自
のDMA要求を受けて独立に応答しDMAバス7
を時分割・多重化制御して処理することができる
様になつている。 Note that the DMA controller 5 can perform DMA with a plurality of device controllers 6 at the same time. In other words, the DMA bus 7 receives its own DMA request from each device controller 6 and responds independently.
It is now possible to process by time division and multiplexing control.
従来の簡易型メモリデータ転送装置は以上の様
に構成されているため、デバイスコントローラか
ら他のデバイスコントローラへデータを転送する
ためには一度主メモリ2へデータ転送する操作が
必要となるため、各DMAの転送速度は高速で
も、総合的に見た転送速度は遅くなつてしまうた
めに高速のデータ転送にDMAを使用できない欠
点があつた。又DMAコントローラ5とデバイス
コントローラ6のDMA要求及び応答では1対1
方式であるためDMAバスの信号線が増加しか
つ、ポーリング方式の場合にはムダ時間が生ずる
といつた欠点があつた。 Since the conventional simple memory data transfer device is configured as described above, in order to transfer data from a device controller to another device controller, it is necessary to transfer data once to the main memory 2. Even though the transfer speed of DMA is high, the overall transfer speed is slow, so DMA cannot be used for high-speed data transfer. Also, DMA requests and responses between the DMA controller 5 and device controller 6 are one-to-one.
This method increased the number of signal lines for the DMA bus, and the polling method had the drawbacks of wasted time.
この発明は上記のような従来のものの欠点を除
去するためになされたもので、DMAコントロー
ラの機能を1ケ所に集中し、転送の多重化や
DMAバスの制御を集中コントローラすることに
より、DMAバス上のメモリボード間での任意の
多重化DMA転送を従来装置と同程度のスピード
で行う簡易型メモリデータ転送装置を提供するこ
とを目的としている。
This invention was made to eliminate the above-mentioned drawbacks of the conventional controller, and it concentrates the functions of the DMA controller in one place, allowing transfer multiplexing and
The objective is to provide a simple memory data transfer device that performs arbitrary multiplexed DMA transfers between memory boards on the DMA bus at a speed comparable to that of conventional devices by centrally controlling the DMA bus. .
以下、この発明の一実施例を図について説明す
る。図中、第1図と同一の部分は同一の符号をも
つて図示した第2図において、14,14′は
CPUバス4及びDMAバス7のバスで共通される
2ポートメモリ、15はフレキシブルデイスクコ
ントローラで、共有メモリが内部にありCPUバ
ス4及びDMAバス7のバスからアクセス可能と
なつており、9はフレキシブルデイスクコントロ
ーラ15に接続されるフレキシブルデイスク装置
である。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 2, the same parts as in FIG. 1 are designated by the same reference numerals.
2-port memory common to CPU bus 4 and DMA bus 7; 15 is a flexible disk controller; shared memory is internal and can be accessed from CPU bus 4 and DMA bus 7; 9 is a flexible disk controller; This is a flexible disk device connected to a disk controller 15.
次に第2図の動作について説明する。例えば、
フレキシブルデイスク装置9の内容を磁気デイス
ク装置8へコピーする例を示す。先づCPU1よ
りCPUバス4を通じてフレキシブルデイスクコ
ントローラ15へ制御パラメータを出力する。フ
レキシブルデイスクコントローラ15はこの動作
により制御がスタートしフレキシブルデイスク装
置9の内容を読み出しフレキシブルデイスクコン
トローラ15内部の共有メモリへセツトし、セツ
トが完了した時点でCPU1へ完了信号を出力す
る。つづいてCPU1はDMAコントローラ5に対
してフレキシブルデイスクコントローラ15を介
しフレキシブルデイスク装置9の内容を磁気デイ
スクコントローラ17の磁気デイスク装置8へデ
ータ転送するDMA要求を出力する。DMAコン
トローラ5はこのDMA要求をDMAバス7を介
して実行し完了時にはCPU1へ完了信号を出力
する。よつてCPU1は引きつづいて磁気デイス
クコントローラ17に対しCPUバス4を通じて
磁気デイスク書込み指令を出力し、最後にCPU
1は磁気デイスクコントローラ17よりの書込み
完了信号を受けてコピーが終了する。前記のコピ
ー動作中に、例えばメモリ14からメモリ14′
のメモリ間DMA転送が必要になつた時にはCPU
1はDMAコントローラ5に対してDMA要求を
追加すれば良い。DMAの多重化に関する優先順
位の制御やエラー処理はすべて前記のDMAコン
トローラ5内で行われ、内部バス3を通じて
CPU1から任意に制御される。 Next, the operation shown in FIG. 2 will be explained. for example,
An example of copying the contents of the flexible disk device 9 to the magnetic disk device 8 will be shown. First, control parameters are output from the CPU 1 to the flexible disk controller 15 via the CPU bus 4. The flexible disk controller 15 starts its control by this operation, reads out the contents of the flexible disk device 9, sets it in the shared memory inside the flexible disk controller 15, and outputs a completion signal to the CPU 1 when the setting is completed. Subsequently, the CPU 1 outputs a DMA request to the DMA controller 5 to transfer the contents of the flexible disk device 9 to the magnetic disk device 8 of the magnetic disk controller 17 via the flexible disk controller 15. The DMA controller 5 executes this DMA request via the DMA bus 7 and outputs a completion signal to the CPU 1 upon completion. Therefore, the CPU 1 continues to output a magnetic disk write command to the magnetic disk controller 17 via the CPU bus 4, and finally outputs a magnetic disk write command to the magnetic disk controller 17.
1 receives a write completion signal from the magnetic disk controller 17 and the copying is completed. During the copying operation, for example, from memory 14 to memory 14'
When a memory-to-memory DMA transfer is required, the CPU
1, it is sufficient to add a DMA request to the DMA controller 5. Priority control and error handling related to DMA multiplexing are all performed within the DMA controller 5, and are communicated through the internal bus 3.
Controlled arbitrarily from CPU1.
DMAコントローラ5はDMAバス7を使用し
てメモリ14をデータに読み出しメモリ14′へ
書込むといつた2つのシーケンスを指定された回
数だけ行う動作を実行する。 The DMA controller 5 uses the DMA bus 7 to execute two sequences, ie, reading data from the memory 14 and writing data to the memory 14', a specified number of times.
ここで、メモリ14,14′は2ポートメモリ
方式なので、CPUバス4とDMAバス7からのメ
モリアクセスの競合が発生した時、CPU1から
の切替制御信号が与えられなくても、優先順位を
考慮した自動裁定が行われるため、DMA転送実
行中でも、CPU1はその転送で使用されるメモ
リを使用することができる。 Here, since the memories 14 and 14' are 2-port memory type, when a memory access conflict from CPU bus 4 and DMA bus 7 occurs, priority is taken into consideration even if no switching control signal is given from CPU 1. Since automatic arbitration is performed, even while a DMA transfer is being executed, the CPU 1 can use the memory used in the transfer.
尚、上例においてメモリ14,14′の2ポー
トメモリに対してはCPUバス4及びDMAバス7
の各バスから独立したアドレシングが可能なの
で、DMAバス7のアドレス空間を広くとつてお
くことでCPUバス4のバスではアクセスできな
いメモリ空間のデータをDMAコントローラ5に
よる高速転送を利用してスイツチングすることに
より高速処理することが可能となる。 In the above example, for the 2-port memories 14 and 14', the CPU bus 4 and DMA bus 7
Since addressing is possible independently from each bus, by setting aside a wide address space for the DMA bus 7, data in the memory space that cannot be accessed by the CPU bus 4 can be switched using high-speed transfer by the DMA controller 5. This enables high-speed processing.
以上のように、この発明によればDMAコント
ローラをCPUの集中監視のもとで、高機能動作
を発揮するようにバス構成をとつたため、全てシ
ステムCPUの制御によりシステムCPUの動作に
何ら制約を与えることなく、かつCPU動作と並
列にCPUバスとDMAバス上のメモリ間を独立し
て高速データ転送ができ、トータルシステムの高
速データ処理に大変大きな効果がある。
As described above, according to the present invention, the DMA controller has a bus configuration that allows it to perform highly functional operations under the intensive monitoring of the CPU, so there are no restrictions on the operation of the system CPU, all of which are controlled by the system CPU. It is possible to transfer high-speed data independently between the memory on the CPU bus and the DMA bus in parallel with the CPU operation, without giving rise to high-speed data processing in the total system.
又、機能を集中することによりハードウエアの
コストダウン化も可能で従来品に比し安価な簡易
メモリデータ転送装置が提供できる効果がある。 Furthermore, by concentrating the functions, it is possible to reduce the cost of hardware, which has the effect of providing a simple memory data transfer device that is cheaper than conventional products.
第1図は従来のDMA機構を示すシステムブロ
ツク図、第2図は本発明の一実施例を示す簡易メ
モリデータ転送装置のシステムブロツク図であ
る。
1……中央処理装置(CPU)、2……主メモ
リ、3……内部バス、4……CPUバス、5……
DMAコントローラ、6……デバイスコントロー
ラ、7……DMAバス、8……磁気デイスク装
置、9……フレキシブルデイスク装置、14,1
4′……メモリ、15……フレキシブルデイスク
コントローラ、17……磁気デイスクコントロー
ラ。
FIG. 1 is a system block diagram showing a conventional DMA mechanism, and FIG. 2 is a system block diagram of a simple memory data transfer device showing an embodiment of the present invention. 1...Central processing unit (CPU), 2...Main memory, 3...Internal bus, 4...CPU bus, 5...
DMA controller, 6...Device controller, 7...DMA bus, 8...Magnetic disk device, 9...Flexible disk device, 14,1
4'...Memory, 15...Flexible disk controller, 17...Magnetic disk controller.
Claims (1)
トローラと、前記CPUおよびDMAコントローラ
が互いに独立して制御可能であるCPUバスおよ
びDMAバスと、前記CPUバスおよびDMAバス
で共有される複数の2ポートメモリおよび複数の
デイスクコントローラを備えた簡易型メモリデー
タ転送装置。1. A CPU and a DMA controller connected by an internal bus, a CPU bus and a DMA bus that the CPU and DMA controller can control independently of each other, and a plurality of two-port memories shared by the CPU bus and the DMA bus. A simple memory data transfer device equipped with multiple disk controllers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21909483A JPS60110067A (en) | 1983-11-21 | 1983-11-21 | Simple memory data transfer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21909483A JPS60110067A (en) | 1983-11-21 | 1983-11-21 | Simple memory data transfer device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60110067A JPS60110067A (en) | 1985-06-15 |
JPS6337418B2 true JPS6337418B2 (en) | 1988-07-25 |
Family
ID=16730161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21909483A Granted JPS60110067A (en) | 1983-11-21 | 1983-11-21 | Simple memory data transfer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60110067A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6484942A (en) * | 1987-09-25 | 1989-03-30 | Nec Corp | Packet buffer control system |
US7284082B2 (en) * | 2004-08-19 | 2007-10-16 | Lsi Corporation | Controller apparatus and method for improved data transfer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55150032A (en) * | 1979-05-14 | 1980-11-21 | Fujitsu Ltd | Data transfer system |
JPS564826A (en) * | 1979-06-25 | 1981-01-19 | Matsushita Electric Ind Co Ltd | Electronic computer |
JPS5759220A (en) * | 1980-09-26 | 1982-04-09 | Toshiba Corp | Data transfer system |
-
1983
- 1983-11-21 JP JP21909483A patent/JPS60110067A/en active Granted
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55150032A (en) * | 1979-05-14 | 1980-11-21 | Fujitsu Ltd | Data transfer system |
JPS564826A (en) * | 1979-06-25 | 1981-01-19 | Matsushita Electric Ind Co Ltd | Electronic computer |
JPS5759220A (en) * | 1980-09-26 | 1982-04-09 | Toshiba Corp | Data transfer system |
Also Published As
Publication number | Publication date |
---|---|
JPS60110067A (en) | 1985-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4528626A (en) | Microcomputer system with bus control means for peripheral processing devices | |
JPS5837585B2 (en) | Keisan Kisouchi | |
JPH0554144B2 (en) | ||
JPH04363746A (en) | Microcomputer system having dma function | |
JPS6337418B2 (en) | ||
JP3014494B2 (en) | Dual port disk controller | |
US5446847A (en) | Programmable system bus priority network | |
JPH0343804A (en) | Sequence controller | |
JPS6142293B2 (en) | ||
JP2607073B2 (en) | Arithmetic processing unit | |
JP2619385B2 (en) | DMA controller | |
JP2555580B2 (en) | Storage device control system | |
JP2705955B2 (en) | Parallel information processing device | |
JPS6029139B2 (en) | Connection method between processing units | |
JPH0142017B2 (en) | ||
EP0373393A1 (en) | Information processing system | |
JPH03282954A (en) | Device for transferring direct memory access data | |
JPH0575140B2 (en) | ||
JPH02211571A (en) | Information processor | |
JPH01266651A (en) | Semiconductor memory device | |
JPS60118967A (en) | Multiprocessor system | |
JPH01126749A (en) | Data control device for peripheral equipment | |
JPS61131152A (en) | Dma buffer control system | |
JPH03226850A (en) | External auxiliary storage controller | |
JPS62175851A (en) | Memory managing system |