JPH04352058A - Dma high-speed data transfer control system - Google Patents

Dma high-speed data transfer control system

Info

Publication number
JPH04352058A
JPH04352058A JP12571491A JP12571491A JPH04352058A JP H04352058 A JPH04352058 A JP H04352058A JP 12571491 A JP12571491 A JP 12571491A JP 12571491 A JP12571491 A JP 12571491A JP H04352058 A JPH04352058 A JP H04352058A
Authority
JP
Japan
Prior art keywords
dma
data transfer
speed data
transfer control
dmac
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
Application number
JP12571491A
Other languages
Japanese (ja)
Inventor
Junji Sakurai
桜井 純二
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 JP12571491A priority Critical patent/JPH04352058A/en
Publication of JPH04352058A publication Critical patent/JPH04352058A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To obtain a DMA high-speed data transfer control system provided with a DMA high-speed data transfer control circuit in order to improve the system performance of a microcomputer system. CONSTITUTION:This control system consists of a CPU 3 for executing the main control of the system, a memory 5 for storing data or the like to be used by the CPU 3, a peripheral I/O 6 to be the I/O part of the system, a DMAC for directly executing data transfer between the memory 5 and the peripheral I/O 6, and the DMA high-speed data transfer control circuit for outputting a DMA transfer signal and a DMA transfer address n times during the period of one DMA cycle executed by the DMAC 2. Consequently n times the performance of data transfer capacity of the DMAC 2 can be drawn out and the processing capacity of the system can be improved.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、マイクロコンピュータ
システムにおけるDMA(ダイレクト・メモリ・アクセ
ス)転送制御方式に関し、特に、DMAC(ダイレクト
・メモリ・アクセス・コントローラ)を用いたメモリと
周辺I/O間のデータ転送におけるDMA高速データ転
送制御方式に関する。
[Field of Industrial Application] The present invention relates to a DMA (direct memory access) transfer control system in a microcomputer system, and in particular, to a DMA (direct memory access controller) transfer control method between memory and peripheral I/O using a DMAC (direct memory access controller). The present invention relates to a DMA high-speed data transfer control system in data transfer.

【0002】0002

【従来の技術】従来、この種のDMA転送を用いたマイ
クロコンピュータシステムでは、図2に示すようにCP
U3,メモリ5,周辺I/O6,DMAC2等が1つの
システムバス4で接続されている。通常のデータ処理で
はCPU3がバス・マスタとなりシステムバス4を介し
てメモリ5から命令をフェッチし、命令に従った各種の
データ処理を実行している。しかしながら、CPU3が
周辺I/O6とメモリ5間のデータ転送をDMAC2に
任せるとき、すなわち、システムがDMA転送機能を利
用するとき、CPU3はシステムバス使用権をDMAC
2に渡し、自らはホールド(動作休止)状態となり、メ
モリ5からの命令フェッチ動作,データ処理動作は停止
される。DMAC2は、システムバス使用権を獲得する
と、独自のバスサイクルでメモリ5と周辺I/O6間の
データ転送を実行する。この間CPU3は、DMAC2
がバス使用権を放棄するまでホールド(休止)状態にあ
る。したがって、DMA転送機能が使用されるときは、
CPUの実動作率が低下せざるを得ない。
[Prior Art] Conventionally, in a microcomputer system using this type of DMA transfer, as shown in FIG.
U3, memory 5, peripheral I/O 6, DMAC2, etc. are connected by one system bus 4. In normal data processing, the CPU 3 serves as a bus master, fetches instructions from the memory 5 via the system bus 4, and executes various data processes in accordance with the instructions. However, when the CPU 3 entrusts the data transfer between the peripheral I/O 6 and the memory 5 to the DMAC 2, that is, when the system uses the DMA transfer function, the CPU 3 transfers the right to use the system bus to the DMAC 2.
2, it enters a hold (suspended) state, and the instruction fetch operation from the memory 5 and data processing operation are stopped. When the DMAC 2 acquires the right to use the system bus, it executes data transfer between the memory 5 and the peripheral I/O 6 in its own bus cycle. During this time, CPU3 uses DMAC2
is in a hold (dormant) state until it relinquishes the right to use the bus. Therefore, when the DMA transfer function is used,
The actual operating rate of the CPU is forced to decrease.

【0003】0003

【発明が解決しようとする課題】この従来のDMAデー
タ転送制御方式では、DMACが本来持つデータ転送能
力限界の為に、高速メモリや高機能周辺I/Oの持つ性
能を生かしたデータ転送を実現することが困難であった
。また、DMACがシステムバス使用権を獲得している
間のCPUのホールド(休止)状態を縮める手段がなく
、DMACがシステムバスを使うままにCPUの実動作
率が低下していた。特に、DMA転送が煩雑に行われる
ほどCPU動作率は悪化してゆき、そのマイクロコンピ
ュータシステムの性能に影響をあたえるという問題点が
あった。
[Problem to be solved by the invention] This conventional DMA data transfer control method realizes data transfer that takes advantage of the performance of high-speed memory and high-performance peripheral I/O, due to the inherent data transfer capacity limit of DMAC. It was difficult to do so. Furthermore, there is no means to shorten the hold (dormant) state of the CPU while the DMAC acquires the right to use the system bus, and the actual operating rate of the CPU decreases as the DMAC continues to use the system bus. In particular, there is a problem in that the more complicated the DMA transfer is, the worse the CPU operation rate is, which affects the performance of the microcomputer system.

【0004】本発明の目的は、このような問題点を解決
したDMA高速データ転送制御方式を提供することにあ
る。
An object of the present invention is to provide a DMA high-speed data transfer control system that solves these problems.

【0005】[0005]

【課題を解決するための手段】本発明は、中央処理制御
装置と、記憶装置と、周辺入出力インターフェイス装置
と、ダイレクト・メモリ・アクセス・コントローラとを
有するDMA高速データ転送制御方式において、ダイレ
クト・メモリ・アクセス・コントローラと記憶装置,周
辺入出力インターフェイス装置間に、DMA高速データ
転送制御回路を有することを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a direct DMA high-speed data transfer control system having a central processing control unit, a storage device, a peripheral input/output interface device, and a direct memory access controller. It is characterized by having a DMA high-speed data transfer control circuit between the memory access controller, the storage device, and the peripheral input/output interface device.

【0006】本発明によれば、前記DMA高速データ転
送制御回路は、前記ダイレクト・メモリ・アクセス・コ
ントローラがバスマスタのときに、ダイレクト・メモリ
・アクセス・コントローラが行う1DMA転送サイクル
中に、リード転送用のメモリリード信号・I/Oライト
信号、または、ライト転送用のI/Oリード信号・メモ
リライト信号とDMA転送アドレスをn回(n=1,2
,3,・・)発生させることを特徴とする。
According to the present invention, the DMA high-speed data transfer control circuit performs read transfer during one DMA transfer cycle performed by the direct memory access controller when the direct memory access controller is a bus master. Memory read signal/I/O write signal, or I/O read signal/memory write signal for write transfer and DMA transfer address n times (n = 1, 2
, 3,...).

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0008】図1は、本発明の一実施例のDMA高速デ
ータ転送制御方式の機能ブロック図である。本実施例の
DMA高速データ転送制御方式は、マイクロコンピュー
タシステムの主制御をつかさどるCPU(中央処理装置
)3と、そのCPUが使用する命令コードやデータを蓄
えているメモリ(記憶装置)5と、そのマイクロコンピ
ュータシステムの入出力部である周辺I/O(周辺入出
力インターフェイス装置)6と、メモリ,周辺I/O間
のデータ転送をCPU3を介さずダイレクトに行うDM
AC(ダイレクト・メモリ・アクセス・コントローラ)
1と、DMACがバスマスタのときに、DMACが行う
1DMA転送サイクル中に、リード転送用のメモリリー
ド信号・I/Oライト信号、または、ライト転送用のI
/Oリード信号・メモリライト信号とDMA転送アドレ
スをn回(n=1,2,3,・・)発生させるDMA高
速データ転送制御回路1とを備えている。
FIG. 1 is a functional block diagram of a DMA high-speed data transfer control system according to an embodiment of the present invention. The DMA high-speed data transfer control method of this embodiment includes a CPU (central processing unit) 3 that is in charge of main control of a microcomputer system, a memory (storage device) 5 that stores instruction codes and data used by the CPU, A DM that directly transfers data between the peripheral I/O (peripheral input/output interface device) 6, which is the input/output unit of the microcomputer system, and the memory and peripheral I/O without going through the CPU 3.
AC (Direct Memory Access Controller)
1 and when the DMAC is the bus master, the memory read signal for read transfer, the I/O write signal for write transfer, or the I/O write signal for write transfer during one DMA transfer cycle performed by the DMAC.
The device includes a DMA high-speed data transfer control circuit 1 that generates /O read signal/memory write signal and a DMA transfer address n times (n=1, 2, 3, . . . ).

【0009】DMAC2は、周辺I/O6等からDMA
リクエストが来ると、CPU3に対してシステムバス4
の使用権を獲得するためにホールドリクエスト信号をC
PU3に出力する。CPU3は、マシンサイクルの区切
り目でバスをホールドし、システムバス4の使用権を放
棄しホールドアクノリッジ信号をDMAC2に返す。D
MAC2は、ホールドアクノリッジ信号を受けとると、
DMAアクノリッジ,DMAアドレス,メモリリード/
IOライトまたはIOリード/メモリライト信号などを
出力する。DMA高速データ転送制御回路1は、DMA
C2から出力された前記の信号から、1DMA転送サイ
クルあたりn回分のDMAデータ転送制御信号7とn回
分のDMA転送アドレス8を出力する。これらの信号を
メモリ5と周辺I/O6に与えることで、DMAC2が
行う1DMA転送サイクルでn回のDMA転送が実現で
きる。
[0009] DMAC2 is a DMA controller from peripheral I/O6, etc.
When a request comes, system bus 4 is sent to CPU 3.
A hold request signal is sent to obtain the right to use the
Output to PU3. The CPU 3 holds the bus at the machine cycle break, relinquishes the right to use the system bus 4, and returns a hold acknowledge signal to the DMAC 2. D
When MAC2 receives the hold acknowledge signal,
DMA acknowledge, DMA address, memory read/
Outputs IO write or IO read/memory write signals. The DMA high-speed data transfer control circuit 1
From the above-mentioned signals output from C2, n times of DMA data transfer control signal 7 and n times of DMA transfer address 8 are outputted per one DMA transfer cycle. By applying these signals to the memory 5 and the peripheral I/O 6, n DMA transfers can be realized in one DMA transfer cycle performed by the DMAC 2.

【0010】0010

【発明の効果】以上説明したように本発明は、DMA高
速データ転送制御回路を有することにより、DMACが
行う1DMAサイクルでn回分のDMA転送を可能にし
たので、DMACのデータ転送能力のn倍の性能を引き
出せるという効果を有する。さらに、DMA転送回数が
1/nに減少するので、システムバスの有効利用が可能
になりCPUがバスマスタとして動作する割合が上がり
、マイクロコンピュータシステムの処理能力を高めると
いう効果を有する。
As explained above, the present invention has a DMA high-speed data transfer control circuit that enables n DMA transfers in one DMA cycle performed by the DMAC, which is n times the data transfer capacity of the DMAC. It has the effect of bringing out the performance of Furthermore, since the number of DMA transfers is reduced to 1/n, the system bus can be used effectively and the rate at which the CPU operates as a bus master increases, which has the effect of increasing the processing capacity of the microcomputer system.

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

【図1】本発明の一実施例であるDMA高速データ転送
制御回路を用いたDMA高速データ転送制御方式の機能
ブロック図である。
FIG. 1 is a functional block diagram of a DMA high-speed data transfer control method using a DMA high-speed data transfer control circuit according to an embodiment of the present invention.

【図2】従来のDMA高速データ転送制御方式の機能ブ
ロック図である。
FIG. 2 is a functional block diagram of a conventional DMA high-speed data transfer control system.

【符号の説明】[Explanation of symbols]

1  DMA高速データ転送制御回路 2  DMAC 3  CPU 4  システムバス 5  メモリ 6  周辺I/O 7  DMAデータ転送制御信号 8  DMA転送アドレス 1 DMA high-speed data transfer control circuit 2 DMAC 3 CPU 4 System bus 5. Memory 6 Peripheral I/O 7 DMA data transfer control signal 8 DMA transfer address

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】中央処理制御装置と、記憶装置と、周辺入
出力インターフェイス装置と、ダイレクト・メモリ・ア
クセス・コントローラとを有するDMA高速データ転送
制御方式において、ダイレクト・メモリ・アクセス・コ
ントローラと記憶装置,周辺入出力インターフェイス装
置間に、DMA高速データ転送制御回路を有することを
特徴とするDMA高速データ転送制御方式。
1. A DMA high-speed data transfer control system comprising a central processing control unit, a storage device, a peripheral input/output interface device, and a direct memory access controller, the direct memory access controller and the storage device. , a DMA high-speed data transfer control system comprising a DMA high-speed data transfer control circuit between peripheral input/output interface devices.
【請求項2】前記DMA高速データ転送制御回路は、前
記ダイレクト・メモリ・アクセス・コントローラがバス
マスタのときに、ダイレクト・メモリ・アクセス・コン
トローラが行う1DMA転送サイクル中に、リード転送
用のメモリリード信号・I/Oライト信号、または、ラ
イト転送用のI/Oリード信号・メモリライト信号とD
MA転送アドレスをn回(n=1,2,3,・・)発生
させることを特徴とするDMA高速データ転送制御方式
2. The DMA high-speed data transfer control circuit receives a memory read signal for read transfer during one DMA transfer cycle performed by the direct memory access controller when the direct memory access controller is a bus master.・I/O write signal or I/O read signal for write transfer ・Memory write signal and D
A DMA high-speed data transfer control method characterized by generating an MA transfer address n times (n=1, 2, 3, . . . ).
JP12571491A 1991-05-29 1991-05-29 Dma high-speed data transfer control system Pending JPH04352058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12571491A JPH04352058A (en) 1991-05-29 1991-05-29 Dma high-speed data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12571491A JPH04352058A (en) 1991-05-29 1991-05-29 Dma high-speed data transfer control system

Publications (1)

Publication Number Publication Date
JPH04352058A true JPH04352058A (en) 1992-12-07

Family

ID=14916934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12571491A Pending JPH04352058A (en) 1991-05-29 1991-05-29 Dma high-speed data transfer control system

Country Status (1)

Country Link
JP (1) JPH04352058A (en)

Similar Documents

Publication Publication Date Title
JPH02235156A (en) Information processor
JP2822986B2 (en) Single chip microcomputer with DMA
JPH04352058A (en) Dma high-speed data transfer control system
JPH0222748A (en) Non-volatile memory control circuit
JPH04323755A (en) Dma device
KR100194263B1 (en) High speed data processing system
JPH01106158A (en) Control system for inter-processor data communication
JPS61224063A (en) Data transfer controller
JP2821176B2 (en) Information processing device
JPS5999522A (en) Input and output control system
JPS59189433A (en) Data erasing system by direct memory access
JP2003186666A (en) Microcomputer and dma control circuit
JPH03188547A (en) Data transfer controller
JPS62143158A (en) Control method for data transfer by dma controller
JPH06149722A (en) Computer device
JPS62239242A (en) Debugging device
JPS61286956A (en) Data processor
JPH04119448A (en) Operation timing control system
JPS6340955A (en) Direct memory access controller
JPH01183753A (en) Input/output controller
JPH0293971A (en) Memory access circuit
JPH05204831A (en) Microprocessor and microcomputer system with direct memory access function using the same
JPS62266639A (en) Interface device for input/output device
JPH03263162A (en) Data processor
JPH02299004A (en) Monitor system for programmable controller