JPH02294863A - Direct memory access system - Google Patents

Direct memory access system

Info

Publication number
JPH02294863A
JPH02294863A JP11775289A JP11775289A JPH02294863A JP H02294863 A JPH02294863 A JP H02294863A JP 11775289 A JP11775289 A JP 11775289A JP 11775289 A JP11775289 A JP 11775289A JP H02294863 A JPH02294863 A JP H02294863A
Authority
JP
Japan
Prior art keywords
dma
transfer
memory
mucom
outputs
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.)
Granted
Application number
JP11775289A
Other languages
Japanese (ja)
Other versions
JP2617132B2 (en
Inventor
Tetsuo Hoshino
星野 哲雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP1117752A priority Critical patent/JP2617132B2/en
Publication of JPH02294863A publication Critical patent/JPH02294863A/en
Application granted granted Critical
Publication of JP2617132B2 publication Critical patent/JP2617132B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To execute the DMA transfer of a muCOM having no holding function by executing the DMA transfer by a refresh cycle of a refresh function for DRAM of muCOM. CONSTITUTION:In the case necessity of a DMA transfer is generated in an I/O 2, a DMA request signal is outputted to a DMA timing generating part 4 from the I/O 2, and when the request signal is inputted, the generating part 4 outputs a DMA acknowledge signal from a rise of a refresh pulse from a muCOM. By the DMA acknowledge signal, a selector/a gate of each part are set to a DMA mode, and simultaneously, a value of an address counter 5 is brought to +1. By the timing by which an address is stabilized from these output timings, the DMA timing generating part 4 outputs a read pulse and a write pulse to the I/O 2 and a memory 3, respectively at the time of transfer of the I/O the memory, and outputs the write pulse and the read pulse to the I/O 2 and the memory 3, respectively at the time of transfer of the memory the I/O. In such a way, the DMA transfer can be executed by the muCOM 1 having no holding function.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はダイレクトメモリアクセス方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a direct memory access method.

〔従来の技術〕[Conventional technology]

従来、この種のダイレクトメモリアクセス方式は、マイ
クロコンピュータシステム内にDMAコントローラLS
Iを具備し、I/Oからのデータハンドリング要求に基
づき、DMACがμCOMに対してホールド要求を出力
し、μCOMがホールド状態になったことによりDMA
CがμCOMシステムのデータパスとアドレスバスを専
有してDMA動作を行なっていた。
Conventionally, this type of direct memory access method uses a DMA controller LS within a microcomputer system.
Based on the data handling request from the I/O, the DMAC outputs a hold request to μCOM, and when μCOM enters the hold state, the DMA
C monopolized the data path and address bus of the μCOM system and performed DMA operations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のダイレクトメモリアクセス方式は、μCOMのホ
ールド状態中にDMA転送を行なっているのでホールド
機能を有していないμCOMではDMA転送を行なえな
いという欠点がある。
The conventional direct memory access method has the drawback that DMA transfer is performed while the μCOM is in the hold state, and therefore DMA transfer cannot be performed with a μCOM that does not have a hold function.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のダイレクトメモリアクセス方式は、ダイナミッ
クメモリ用のリフレッシュパルス出力機能を有しなμC
OMと、メモリアドレスカウンタI/O部、タイミング
発生部を有している。
The direct memory access method of the present invention is based on a μC that does not have a refresh pulse output function for dynamic memory.
It has an OM, a memory address counter I/O section, and a timing generation section.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained 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はD
MA用メモリに対する通常モード時のμ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 with a refresh pulse output function, 2 is an I/O, 3 is a DMA memory, 4 is a timing generator, 5 is a DMA address counter, and 6 is a D
Selector 7 switches the address bus and R/W from μCOM in normal mode to the MA memory and the address and R/W from the address counter in DMA mode.
A gate for separating the data path between /O and DMA memory, 8 is an address decoder for selecting I/O, 9 is DMA timing for R/W and CS for I/O in DMA mode and normal mode. From the source and μ
This is a selector that switches things from COM.

本回路のDMA動作は以下のとおりである。The DMA operation of this circuit is as follows.

(1)I/OにてDMA転送の必要が生じた場合■/○
からDMAリクエスト信号がDMAタイミング発生部4
に出力される。
(1) When DMA transfer is necessary for I/O■/○
The DMA request signal is sent from the DMA timing generator 4.
is output to.

(2)DMAタイミング発生部4は、上記リクエスト信
号が入力されるとμCOMからのリフレッシュパルスの
立上がりからDAMアクノレッジ信号を出力する。
(2) When the request signal is input, the DMA timing generating section 4 outputs a DAM acknowledge signal from the rising edge of the refresh pulse from μCOM.

(3)DMAアクノレッジ信号により、各部のセレクタ
/ゲートをDMAモードに設定すると同時にアドレスカ
ウンタ5の値を+1とする。
(3) The selector/gate of each part is set to DMA mode by the DMA acknowledge signal, and at the same time, 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 generator 4 outputs an I/O read pulse and a write pulse to the memory when transferring from I/O to memory, and outputs an I/O pulse when transferring from memory to I/O, depending on the timing when the address becomes stable from the above output timing. Outputs a write pulse to /O and a read pulse to memory. An example of the timing at this time is shown in FIG.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明のダイレクトメモリアクセス
方式は、μCOMのDRAM用リフレッシュ機能のリフ
レッシュサイクルにおいてDMA転送を行なうことによ
り、ホールド機能を有さなりμCOMのDMA転送が可
能となり、さらにμCOMをホールド状態にさせないで
高速のデータ転送を行なうことができる効果がある。
As explained above, the direct memory access method of the present invention has a hold function by performing DMA transfer in the refresh cycle of the DRAM refresh function of μCOM, which enables DMA transfer of μCOM, and further puts μCOM into a hold state. This has the effect of allowing high-speed data transfer to be performed without causing problems.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示すダイレクトメモリアクセス方式の動作を示
すタイムチャートである。 1・・・マイクロコンピュータ、2・・・I/O部、3
・・・DMA用メモリ、4・・・DMAタイミング発生
部、5・・・DMAアドレスカウンタ。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a time chart showing the operation of the direct memory access method shown in FIG. 1... Microcomputer, 2... I/O section, 3
DMA memory, 4 DMA timing generator, 5 DMA address counter.

Claims (1)

【特許請求の範囲】[Claims] マイクロコンピュータシステムにおけるダイレクトメモ
リアクセス方式において、マイクロコンピュータのダイ
ナミックメモリ用のリフレッシュパルス出力を利用し、
リフレッシュサイクル中にダイレクトメモリアクセス転
送を行なうことを特徴とするダイレクトメモリアクセス
方式。
In the direct memory access method in microcomputer systems, the refresh pulse output for dynamic memory of the microcomputer is used,
A direct memory access method characterized by performing direct memory access transfer during a refresh cycle.
JP1117752A 1989-05-10 1989-05-10 Direct memory access method Expired - Fee Related JP2617132B2 (en)

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 true JPH02294863A (en) 1990-12-05
JP2617132B2 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)

Citations (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
JP2617132B2 (en) 1997-06-04

Similar Documents

Publication Publication Date Title
JPS58192148A (en) Operation processor
JPH02294863A (en) Direct memory access system
JP2624388B2 (en) DMA device
JPS6055916B2 (en) timing circuit
JP2570271B2 (en) Semiconductor memory controller
JP3318125B2 (en) DRAM control circuit
JPS58159292A (en) Memory refreshing method
JPS63271561A (en) Dma control circuit
JPS61280194A (en) Holding memory control system
KR0176464B1 (en) Reflash control circuit of dram
JPS61260340A (en) Block transfer control part
JPS59189433A (en) Data erasing system by direct memory access
JPS61112272A (en) Microcomputer applied device
JPS5999522A (en) Input and output control system
JPS6320798A (en) Automatic refresh switching system
JPH03214275A (en) Semiconductor integrated circuit
JPH01191964A (en) Transfer method for memory bus data
JPH03189755A (en) Inter-memory transfer device
JPS63196968A (en) Input/output controller
JPS61286956A (en) Data processor
JPH0581445A (en) Microcomputer lsi
JPS63168758A (en) Multi-bus control system
JPS60169962A (en) Memory access control system
JPS6217858A (en) Semiconductor device
JPS62108341A (en) Memory data transferring system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees