JPS61216074A - Direct memory access system - Google Patents
Direct memory access systemInfo
- Publication number
- JPS61216074A JPS61216074A JP2700985A JP2700985A JPS61216074A JP S61216074 A JPS61216074 A JP S61216074A JP 2700985 A JP2700985 A JP 2700985A JP 2700985 A JP2700985 A JP 2700985A JP S61216074 A JPS61216074 A JP S61216074A
- Authority
- JP
- Japan
- Prior art keywords
- data
- dma
- bus
- memory access
- direct 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.)
- Pending
Links
Landscapes
- Bus Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はサイクルスチール方式によりダイレクト・メモ
リ・アクセス(以後DMAと略す)を行う方式に係り、
特にデータセットアツプ時間やデータホールド時間の長
い入出力装置や従プロセツサ等の下位装置がDMAを行
える方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for performing direct memory access (hereinafter abbreviated as DMA) using a cycle steal method.
In particular, the present invention relates to a system in which lower-order devices such as input/output devices and slave processors that require long data set-up times and data hold times can perform DMA.
主プロセツサが制御する主メモリと入出力装置又は従プ
ロセツサが、主プロセツサの負担を軽減゛ するため、
主プロセツサの制御によらずに相互にデータの転送を行
う場合、DMA方式を用いることは既に公知となってい
る。The main memory and input/output devices or slave processors controlled by the main processor reduce the burden on the main processor.
It is already known to use the DMA method when mutually transferring data without being controlled by the main processor.
このDMA方式にはボルト・サイクルスチール、ボルト
・バースト、トライステートコントロール・サイクルス
チール方式等の各種の方式があるが、いずれも主プロセ
ツサを停止させて主メモリをアクセスするため、データ
セットアツプ時間やデータホールド時間の長い入出力装
置や従プロセツサでも特に問題は無い。There are various DMA methods such as bolt cycle steal, bolt burst, and tri-state control cycle steal, but all of them stop the main processor and access the main memory, so the data set-up time and There are no particular problems with input/output devices or slave processors that have long data hold times.
しかし高速にデータを転送出来るサイクルスチール方式
においては、主プロセツサのマシンサイクルの速さによ
っては、入出力装置や従プロセツサのデータ取込みに対
策を必要とする。However, in the cycle-stealing method that allows data to be transferred at high speed, measures must be taken to take in data from input/output devices and slave processors, depending on the machine cycle speed of the main processor.
第3図は従来のサイクルスチール方式によるDMAのタ
イミングを説明する図である。FIG. 3 is a diagram illustrating the timing of DMA using the conventional cycle steal method.
第3図のクロックの内点線で示す如く、従来は主プロセ
ツサの動作用クロックの1クロツクサイクルを停止し、
■の括弧で示す間をDMAサイクルとして利用する。そ
してDMAデータに示す如く、この1マシンサイクルで
DMAを行う入出力装置又は従プロセツサは主メモリと
データの転送を行っていた。As shown by the dotted line inside the clock in FIG. 3, conventionally, one clock cycle of the operating clock of the main processor is stopped, and
The period shown in parentheses (2) is used as a DMA cycle. As shown in the DMA data, the input/output device or slave processor that performs DMA transfers data with the main memory in this one machine cycle.
上記の如く、従来のサイクルスチール方式によるDMA
は、DMAサイクルが1マシンサイクルしかないため、
データセットアツプ時間やデータホールド時間の長い入
出力装置又は従プロセツサがDMAを行う場合、データ
を取り込む時間が十分確保出来ないことがあるという問
題がある。As mentioned above, DMA using the conventional cycle steal method
Since the DMA cycle is only one machine cycle,
When an input/output device or a slave processor with a long data set up time or data hold time performs DMA, there is a problem in that there may not be enough time to capture the data.
上記問題点は、主メモリのバスをダイレクト・メモリ・
アクセスを行う下位装置のバスに接続する接続手段と、
前記下位装置と接続手段の間で転送データをラッチする
ラッチ手段と、前記接続手段を動作させるゲート信号及
びこのゲート信号に続いてラッチ手段のラッチしたデー
タを送出させる信号を送出する制御手段とを設け、前記
下位装置に前記ゲート信号により主メモリから読出した
データを供給すると共に、ラッチ手段がラッチしたデー
タを続けて供給するようにした、本発明によるダイレク
ト・メモリ・アクセス方式によって解決される。The problem mentioned above is that the main memory bus is connected to a direct memory bus.
a connection means for connecting to a bus of a lower-order device to be accessed;
latch means for latching transfer data between the lower device and the connection means; a control means for sending out a gate signal for operating the connection means and a signal for sending out the data latched by the latch means following the gate signal; The problem is solved by the direct memory access method according to the present invention, in which the data read from the main memory is supplied to the lower device by the gate signal, and the data latched by the latch means is continuously supplied.
即ち主メモリのバスを入出力装置又は従プロセツサ等の
下位装置に接続するバス制御回路に、動作指示するDM
Aゲート信号を送出して、主メモリから読出した転送デ
ータを下位装置に送出すると共に、この転送データをラ
ッチ回路に供給してラッチさせ、DMAゲート信号に続
いてラッチ回路がラッチしたデータを送出するIlo
CS信号をラッチ回路に供給して、2マシンサイクルに
渡って転送データを下位装置に供給するものである。In other words, the DM instructs the bus control circuit that connects the main memory bus to input/output devices or lower-order devices such as slave processors to operate.
Sends the A gate signal to send the transfer data read from the main memory to the lower device, supplies this transfer data to the latch circuit to latch it, and sends out the data latched by the latch circuit following the DMA gate signal. Ilo to do
A CS signal is supplied to a latch circuit, and transfer data is supplied to a lower-order device over two machine cycles.
このようにすることで、従来lマシンサイクルしかデー
タ供給する時間が無かったものを、2マシンサイクルで
供給することを可能とし、且つ主メモリは従来と同様に
1マシンサイクルで転送データを送出し、主プロセツサ
の動作時間には差が無いようすることが出来た。By doing this, it is now possible to supply data in two machine cycles, whereas previously there was only one machine cycle to supply data, and the main memory can send out transfer data in one machine cycle as before. , it was possible to ensure that there was no difference in the operating time of the main processor.
第1図は本発明の一実施例を示す回路のブロック図で、
第2図は第1図の動作を説明するタイム用クロックを供
給され、バスを経て主メモリ2をアクセスする。入出力
装置として、例えばフロッピーディスク制御回路7は、
バス制御回路3を経て主メモリ2をアクセスし、データ
の送受を行う。FIG. 1 is a block diagram of a circuit showing an embodiment of the present invention.
FIG. 2 is supplied with a time clock to explain the operation of FIG. 1, and accesses the main memory 2 via the bus. As an input/output device, for example, the floppy disk control circuit 7 is
The main memory 2 is accessed via the bus control circuit 3 to send and receive data.
従ってフロッピーディスク制御回路7は主メモリ2のデ
ータを、バス制御回路3を経てDMAにヨリ、フロッピ
ーディスクに格納し、又フロッピーディスクから読出し
たデータを、DMAにより主メモリ2に書込む。Therefore, the floppy disk control circuit 7 stores the data in the main memory 2 on the floppy disk via DMA via the bus control circuit 3, and also writes the data read from the floppy disk into the main memory 2 using DMA.
即ちフロッピーディスク制御回路7はDMAで主メモリ
2をアクセスする場合、DMAIIJi回路6を制御し
、バス制御回路3とクロック発生回路4とに第2図DM
Aゲートに示す如< DMAゲート信号を送出させる。That is, when the floppy disk control circuit 7 accesses the main memory 2 by DMA, it controls the DMAIIJi circuit 6 and controls the bus control circuit 3 and the clock generation circuit 4 by using the DM in FIG.
Send the DMA gate signal as shown in the A gate.
クロック発生回路4はクロックの点線で示す如く、主プ
ロセツサlに供給しているクロックを1クロック分停止
し、バス制御回路3は主メモリ2のバスをフロッピーデ
ィスク制御回路7に接続する。The clock generation circuit 4 stops the clock supplied to the main processor 1 by one clock, as indicated by the dotted clock line, and the bus control circuit 3 connects the bus of the main memory 2 to the floppy disk control circuit 7.
主メモリ2から読出されたデータは、DMAデータに示
す如くフロッピーディスク制御回路7に供給されると共
に、ラッチ回路5に供給されてラッチされる。The data read from the main memory 2 is supplied to the floppy disk control circuit 7 as shown in DMA data, and is also supplied to the latch circuit 5 and latched.
DMA制御回路6はDMAゲート信号送出に続いて、第
2図I10 CSに示す如< Ilo CS信号をラッ
チ回路5に送出し、ラッチ回路5にラッチされたデータ
をフロッピーディスク制御回路7に送出させ、DMAデ
ータを2マシンサイクルに渡ってフロッピーディスク制
御回路7に供給する。Following the sending of the DMA gate signal, the DMA control circuit 6 sends out the <Ilo CS signal to the latch circuit 5 as shown in FIG. , DMA data is supplied to the floppy disk control circuit 7 over two machine cycles.
バス制御回路3はDMAゲート信号が供給される間だけ
主メモリ2のバスをフロッピーディスク制御回路7に接
続するのみであり、クロック発生回路4は1クロック分
のクロック供給を停止するのみであるため、主プロセツ
サlの動作時間は従来と変わることが無い。The bus control circuit 3 only connects the bus of the main memory 2 to the floppy disk control circuit 7 while the DMA gate signal is being supplied, and the clock generation circuit 4 only stops supplying one clock worth of clocks. , the operating time of the main processor l remains the same as before.
以上説明した如く、本発明はデータセットアツプ時間や
データホールド時間の長い入出力装置や従プロセツサに
、十分なマシンサイクルでデータの取込みを行わせるこ
とが出来る。As explained above, the present invention allows input/output devices and slave processors with long data set up times and data hold times to take in data in sufficient machine cycles.
第1図は本発明の一実施例を示す回路のブロック図、
第2図は第1図の動作を説明するタイムチャート、第3
図は従来のサイクルスチール方式によるDMAのタイミ
ングを説明する図である。
図において、
lは主プロセツサ、 2は主メモリ、3はバス制御
回路、 4・はクロック発生回路、5はラッチ回路
、 6はDMA制御回路、7はフロッピーディス
ク制御回路である。
亭 2 囚
(C++
DMA−7−−ヌ −(D−
茶3図FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention, FIG. 2 is a time chart explaining the operation of FIG. 1, and FIG.
The figure is a diagram illustrating the timing of DMA using the conventional cycle steal method. In the figure, 1 is a main processor, 2 is a main memory, 3 is a bus control circuit, 4 is a clock generation circuit, 5 is a latch circuit, 6 is a DMA control circuit, and 7 is a floppy disk control circuit. Pavilion 2 Prisoner (C++ DMA-7--Nu-(D- Tea 3 figure
Claims (1)
セスを行うシステムにおいて、主メモリのバスをダイレ
クト・メモリ・アクセスを行う下位装置のバスに接続す
る接続手段と、前記下位装置と接続手段の間で転送デー
タをラッチするラッチ手段と、前記接続手段を動作させ
るゲート信号及びこのゲート信号に続いてラッチ手段の
ラッチしたデータを送出させる信号を送出する制御手段
とを設け、前記下位装置に前記ゲート信号により主メモ
リから読出したデータを上記バスを介して供給すると共
に、ラッチ手段がラッチしたデータを続けて供給するこ
とを特徴とするダイレクト・メモリ・アクセス方式。In a system that performs direct memory access using a cycle-steal method, a connection means connects a main memory bus to a bus of a lower device that performs direct memory access, and latches transferred data between the lower device and the connection means. a control means for sending out a gate signal for operating the connection means and a signal for sending out the data latched by the latch means following the gate signal; A direct memory access method characterized in that the read data is supplied via the bus and the data latched by the latch means is successively supplied.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2700985A JPS61216074A (en) | 1985-02-14 | 1985-02-14 | Direct memory access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2700985A JPS61216074A (en) | 1985-02-14 | 1985-02-14 | Direct memory access system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61216074A true JPS61216074A (en) | 1986-09-25 |
Family
ID=12209110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2700985A Pending JPS61216074A (en) | 1985-02-14 | 1985-02-14 | Direct memory access system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61216074A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02120960A (en) * | 1988-09-09 | 1990-05-08 | Advanced Micro Devicds Inc | Method of transferring data and reducing period of data transfer cycle |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5697121A (en) * | 1979-12-29 | 1981-08-05 | Fujitsu Ltd | Bus control system |
JPS5794824A (en) * | 1980-12-03 | 1982-06-12 | Fujitsu Ltd | Data processing system having bus converter |
-
1985
- 1985-02-14 JP JP2700985A patent/JPS61216074A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5697121A (en) * | 1979-12-29 | 1981-08-05 | Fujitsu Ltd | Bus control system |
JPS5794824A (en) * | 1980-12-03 | 1982-06-12 | Fujitsu Ltd | Data processing system having bus converter |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02120960A (en) * | 1988-09-09 | 1990-05-08 | Advanced Micro Devicds Inc | Method of transferring data and reducing period of data transfer cycle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4615017A (en) | Memory controller with synchronous or asynchronous interface | |
JPH0619756B2 (en) | An efficient protocol for communicating between asynchronous devices | |
JPH0821011B2 (en) | Bus expansion control method | |
JPS5925254B2 (en) | Digital data processing equipment | |
JPH06502264A (en) | Dynamically switchable multi-frequency clock generator | |
JPH02183855A (en) | Synchronization of non-synchronous signal | |
JPS61216074A (en) | Direct memory access system | |
JP2684806B2 (en) | Integrated circuit | |
JP2000231539A (en) | Data transfer system and data transfer method | |
JPS59114603A (en) | Coupling system with other computer device, of sequence controller | |
JP2756445B2 (en) | Asynchronous circuit reset method | |
JP3459542B2 (en) | Serial data transfer device | |
JP2629027B2 (en) | Interface method | |
JPH049350B2 (en) | ||
JPH01109425A (en) | Fifo memory | |
JP2645462B2 (en) | Data processing system | |
JP2867480B2 (en) | Memory switching circuit | |
JPS62283741A (en) | Communication device | |
JP3028998B2 (en) | DMA transfer circuit | |
JPS60189053A (en) | data transfer control device | |
JPH04156652A (en) | Bus control system | |
JPS62211763A (en) | Synchronous output circuit | |
JPH0223418A (en) | Floppy disk controller circuit | |
JPH0430616B2 (en) | ||
JPS6140658A (en) | Data processor |