JP2617132B2 - Direct memory access method - Google Patents
Direct memory access methodInfo
- Publication number
- JP2617132B2 JP2617132B2 JP1117752A JP11775289A JP2617132B2 JP 2617132 B2 JP2617132 B2 JP 2617132B2 JP 1117752 A JP1117752 A JP 1117752A JP 11775289 A JP11775289 A JP 11775289A JP 2617132 B2 JP2617132 B2 JP 2617132B2
- Authority
- JP
- Japan
- Prior art keywords
- dma
- memory access
- direct memory
- access method
- μcom
- 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 - Fee Related
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はダイレクトメモリアクセス方式に関する。Description: TECHNICAL FIELD The present invention relates to a direct memory access system.
従来、この種のダイレクトメモリアクセス方式は、マ
イクロコンピュータシステム内にDMAコントローラLSIを
具備し、I/Oからのデータハンドリング要求に基づき、D
MACがμCOMに対してホールド要求を出力し、μCOMがホ
ールド状態になったことによりDMACがμCOMシステムの
データバスとアドレスバスを専有してDMA動作を行なっ
ていた。Conventionally, this type of direct memory access method includes a DMA controller LSI in a microcomputer system, and based on a data handling request from I / O,
The MAC outputs a hold request to the μCOM, and when the μCOM enters the hold state, the DMAC occupies the data bus and the address bus of the μCOM system and performs the DMA operation.
従来のダイレクトメモリアクセス方式は、μCOMのホ
ールド状態中にDMA転送を行なっているのでホールド機
能を有していないμCOMではDMA転送を行なえないという
欠点がある。The conventional direct memory access method has a drawback that the DMA transfer cannot be performed by the μCOM having no hold function because the DMA transfer is performed during the hold state of the μCOM.
本発明のダイレクトメモリアクセス方式は、ダイナミ
ックスメモリ用のリフレッシュパルス出力機能を有した
μCOMと、メモリアドレスカウンタI/O部、タイミング発
生部を有している。The direct memory access method of the present invention includes a μCOM having a refresh pulse output function for a dynamic memory, a memory address counter I / O unit, and a timing generator.
次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of one embodiment of the present invention.
1はリフレッシュパルス出力機能を有したマイクロコ
ンピュータ、2はI/O、3はDMA用メモリ、4はタイミン
グ発生部、5はDMA用アドレスカウンタ、6はDMA用メモ
リに対する通常モード時のμCOMからのアドレスバスお
よびR/WとDMAモード時のアドレスカウンタからのアドレ
ス及びR/Wを切り替えるセレクタ、7はDMAモード時にμ
COMからのデータバスをI/OとDMA用メモリ間のデータバ
スを切り離すためのゲート、8はI/Oを選択するための
アドレスデコーダ、9はI/Oに対するR/WとCSをDMAモー
ド時と通常モード時にDMAタイミング発生部からのもの
とμCOMからのものを切り替えるセレクタである。1 is a microcomputer having a refresh pulse output function, 2 is an I / O, 3 is a memory for DMA, 4 is a timing generator, 5 is an address counter for DMA, and 6 is a signal from the μCOM in the normal mode for the DMA memory. Address bus and R / W selector for switching address and R / W from address counter in DMA mode.
A gate for separating the data bus from the I / O and the data bus between the memory for DMA from the COM, an address decoder 8 for selecting the I / O, and a DMA mode 9 for R / W and CS for the I / O. And a selector for switching between those from the DMA timing generator and those from the μCOM in the normal mode and the normal mode.
本回路のDMA動作は以下のとおりである。 The DMA operation of this circuit is as follows.
(1)I/OにてDMA転送の必要が生じた場合I/OからDMAリ
クエスト信号がDMAタイミング発生部4に出力される。(1) When DMA transfer is required in I / O A DMA request signal is output from the I / O to the DMA timing generator 4.
(2)DMAタイミング発生部4は、上記リクエスト信号
が入力されるとμCOMからのリフレッシュパルスの立上
がりからDAMアクノレッジ信号を出力する。(2) When the request signal is input, the DMA timing generator 4 outputs a DAM acknowledge signal at the rising edge of the refresh pulse from μCOM.
(3)DMAアクノレッジ信号により、各部のセレクタ/
ゲートをDMAモードに設定すると同時にアドレスカウン
タ5の値を+1とする。(3) Selector / selector of each part by DMA acknowledge signal
At the same time as setting the gate to the DMA mode, the value of the address counter 5 is set to +1.
(4)DMAタイミング発生部4は上記の出力タイミング
からアドレスが安定するタイミングによりI/O→メモリ
転送時はI/Oリードパルス,メモリにライトパルスを出
力、メモリ→I/O転送時はI/Oにライトパルス,メモリに
リードパルスを出力する。この時のタイミング例を第2
図に示す。(4) The DMA timing generation unit 4 outputs an I / O read pulse at the time of an I / O-to-memory transfer and a write pulse to the memory at a timing at which the address is stabilized from the above output timing, and outputs an I-O pulse at the time of a memory-to-I / O transfer. Outputs a write pulse to / O and a read pulse to memory. The timing example at this time is
Shown in the figure.
以上説明したように本発明のダイレクトメモリアクセ
ス方式は、μCOMのDRAM用リフレッシュ機能のリフレッ
シュサイクルにおいてDMA転送を行なうことにより、ホ
ールド機能を有さなりμCOMのDMA転送が可能となり、さ
らにμCOMをホールド状態にさせないで高速のデータ転
送を行なうことができる効果がある。As described above, the direct memory access method of the present invention has a hold function by performing a DMA transfer in the refresh cycle of the μCOM DRAM refresh function, enabling the μCOM DMA transfer, and further holding the μCOM in the hold state. There is an effect that high-speed data transfer can be performed without causing the data transfer.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示すダイレクトメモリアクセス方式の動作を示
すタイムチャートである。 1……マイクロコンピュータ、2……I/O部、3……DMA
用メモリ、4……DMAタイミング発生部、5……DMAアド
レスカウンタ。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a time chart showing the operation of the direct memory access system shown in FIG. 1 ... microcomputer, 2 ... I / O section, 3 ... DMA
... DMA timing generator, 5... DMA address counter.
Claims (1)
イレクトメモリアクセス方式において、マイクロコンピ
ュータのダイナミックメモリ用のリフレッシュパルス出
力を利用し、リフレッシュサイクル中にダイレクトメモ
リアクセス転送を行なうことを特徴とするダイレクトメ
モリアクセス方式。1. A direct memory access method in a microcomputer system, wherein a direct memory access transfer is performed during a refresh cycle by using a refresh pulse output for a dynamic memory of the microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1117752A JP2617132B2 (en) | 1989-05-10 | 1989-05-10 | Direct memory access method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1117752A JP2617132B2 (en) | 1989-05-10 | 1989-05-10 | Direct memory access method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02294863A JPH02294863A (en) | 1990-12-05 |
JP2617132B2 true JP2617132B2 (en) | 1997-06-04 |
Family
ID=14719444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1117752A Expired - Fee Related JP2617132B2 (en) | 1989-05-10 | 1989-05-10 | Direct memory access method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2617132B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55139691A (en) * | 1979-04-11 | 1980-10-31 | Matsushita Electric Ind Co Ltd | Memory circuit control system |
-
1989
- 1989-05-10 JP JP1117752A patent/JP2617132B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH02294863A (en) | 1990-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5201036A (en) | Data processor having wait state control unit | |
US5287486A (en) | DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts | |
CA1211857A (en) | Refresh generator system for a dynamic memory | |
JP2617132B2 (en) | Direct memory access method | |
JP2624388B2 (en) | DMA device | |
JP2570271B2 (en) | Semiconductor memory controller | |
JP2634893B2 (en) | Single chip microcomputer | |
JPH09311812A (en) | Microcomputer | |
JPS59189433A (en) | Data erasing system by direct memory access | |
JPS63271561A (en) | Dma control circuit | |
JPH036763A (en) | High speed data transfer method between dram type memory devices | |
JPH0142017B2 (en) | ||
JPH0561762A (en) | Memory controller | |
JPS61112272A (en) | Microcomputer applied device | |
JPH06111568A (en) | Image memory device | |
JPS61241859A (en) | Data transfering equipment | |
JPH11176155A (en) | Dram-refreshing circuit | |
JPH07182272A (en) | Dma controller circuit | |
JPS5968892A (en) | Refresh system at high speed memory using dynamic ram | |
JPH06119275A (en) | Recovery time automatic insertion circuit | |
JPH05108547A (en) | Direct memory access system | |
JPH08329034A (en) | Analog data read circuit by microcomputer | |
JPH03232031A (en) | Control system for main storage | |
JPH04268645A (en) | Trace memory device | |
JPS63168758A (en) | Multi-bus control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |