[go: up one dir, main page]

JPH1011388A - Direct memory access controller - Google Patents

Direct memory access controller

Info

Publication number
JPH1011388A
JPH1011388A JP15821496A JP15821496A JPH1011388A JP H1011388 A JPH1011388 A JP H1011388A JP 15821496 A JP15821496 A JP 15821496A JP 15821496 A JP15821496 A JP 15821496A JP H1011388 A JPH1011388 A JP H1011388A
Authority
JP
Japan
Prior art keywords
transfer
data
address
addresses
transfer source
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
JP15821496A
Other languages
Japanese (ja)
Inventor
Yukihiko Kanbe
幸彦 神戸
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.)
TEC CORP
Original Assignee
TEC CORP
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 TEC CORP filed Critical TEC CORP
Priority to JP15821496A priority Critical patent/JPH1011388A/en
Publication of JPH1011388A publication Critical patent/JPH1011388A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To make data transfer processing fast by sufficiently displaying direct memory access(DMA) transfer processing capability. SOLUTION: This direct access controller is provided with a transfer source address controller 21 which obtains the transfer source address of transfer data to be transferred next by adding unit addition data for updating successive addresses to a transfer source address and a transfer destination address controller 22 which obtains the transfer destination address of the transfer data to be transferred next by selecting the unit addition data for updating previously set transfer destination addition data and successive addresses according to whether the addresses of transfer data determined according to the transfer count number of a previously set successive address part and adding the selected addition data to the transfer destination address, thereby performing transfer processing only by DMA even when transfer data of successive addresses are transferred to intermittent addresses.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ダイレクトメモリ
アクセス(以下、「DMA」という。)によるデータ転
送処理を制御するDMA制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA control device for controlling data transfer processing by direct memory access (hereinafter, referred to as "DMA").

【0002】[0002]

【従来の技術】DMAは、入出力装置とメモリ又はメモ
リ同士のデータの受渡しを直接的にやり取りする方法
で、CPU(中央処理装置)を介して行う通常の方法に
比して高速にデータの受渡しを行うことができることか
らパ−ソナルコンピュ−タ等でよく使用されるものであ
る。
2. Description of the Related Art DMA is a method for directly exchanging data between an input / output device and a memory or between memories, and is faster in data transfer than a normal method performed via a CPU (central processing unit). Since it can be delivered, it is often used in personal computers and the like.

【0003】このDMAを制御するDMAコントローラ
(DMA制御装置)は、例えばROM(リード・オンリ
・メモリ)等に設けられたキャラクタジェネレータ(C
G)から取出したイメージデータをイメージバッファへ
展開するときなどに起動される。この場合、DMAのハ
ードウエア制御は、転送元アドレスと転送先アドレスは
ともに連続している場合にしか実行できなかった。
A DMA controller (DMA controller) for controlling the DMA includes a character generator (C) provided in, for example, a ROM (Read Only Memory) or the like.
It is started when the image data extracted from G) is expanded in the image buffer. In this case, DMA hardware control could only be performed when the source address and the destination address were both continuous.

【0004】従って、例えば図9及び図11(a)に示
すような文字「A」がキャラクタジェネレータ(CG)
に連続したアドレス0番地〜8番地にイメージデータと
して記憶されている場合、この文字「A」を図10及び
図11(b)に示すようなイメージバッファの一部、す
なわち断続的なアドレスを含む部分へ転送するには、D
MAのハードウエア制御とともに、図12に示すような
ソフトウエア制御が必要だった。
Accordingly, for example, a character "A" as shown in FIG. 9 and FIG.
If the character "A" is stored as image data at addresses 0 to 8 which are consecutive to the image buffer, this character "A" is included in a part of the image buffer as shown in FIG. 10 and FIG. D to transfer to the part
Along with the hardware control of the MA, software control as shown in FIG. 12 was required.

【0005】すなわち、先ずDMAコントローラに転送
元アドレス「0」、転送先アドレス「500」及び連続
するアドレスにあるデータの転送数「2」をセット(例
えば2から0までダウンカウントする場合である)し
て、DMAを起動する。これにより、図11に示すキャ
ラクタジェネレータ(CG)におけるアドレス0番地か
ら2番地までのデータ(xブロック)のDMA転送のハ
ードウエア制御が行われ、このxブロックの転送処理が
終了すると、DMAは停止する。
That is, first, a transfer source address “0”, a transfer destination address “500”, and a transfer number “2” of data at consecutive addresses are set in the DMA controller (for example, when down-counting from 2 to 0). Then, the DMA is started. Thus, hardware control of DMA transfer of data (x blocks) from address 0 to address 2 in the character generator (CG) shown in FIG. 11 is performed, and when the transfer processing of the x blocks is completed, the DMA stops. I do.

【0006】そして、転送先の連続したアドレスへの転
送が終了したか否か、すなわちターミナルカウントが発
生したか否かを判断する。このとき、ターミナルカウン
トが発生したと判断した場合、転送元のアドレスの最終
ラインのDMA転送が終了したか否かを判断する。この
例の場合、アドレス0番地から2番地までのデータ(x
ブロック)では、未だ最終ラインの転送ではないため、
次の処理に進む。
Then, it is determined whether or not the transfer to the continuous addresses of the transfer destination has been completed, that is, whether or not the terminal count has occurred. At this time, when it is determined that the terminal count has occurred, it is determined whether or not the DMA transfer of the last line of the transfer source address has been completed. In the case of this example, the data from address 0 to address 2 (x
Block) is not yet a final line transfer,
Proceed to the next process.

【0007】すなわち、DMAコントローラに次の転送
元アドレス「3」、転送先アドレス「600」及び連続
する転送数「2」をセットして、DMAを起動する。こ
れにより、図11に示すキャラクタジェネレータ(C
G)におけるアドレス3番地から5番地までのデータ
(yブロック)のDMA転送のハードウエア制御が行わ
れ、このyブロックの転送処理が終了すると、DMAは
再び停止する。
That is, the next transfer source address “3”, the transfer destination address “600” and the number of consecutive transfers “2” are set in the DMA controller, and the DMA is started. Thereby, the character generator (C) shown in FIG.
The hardware control of the DMA transfer of the data (y block) from address 3 to address 5 in G) is performed, and when the transfer processing of this y block is completed, the DMA stops again.

【0008】そして、ターミナルカウントが発生したか
否かを判断する。このとき、ターミナルカウントが発生
したと判断した場合、転送元のアドレスの最終ラインの
DMA転送が終了したか否かを判断する。この例の場
合、アドレス3番地から5番地までのデータ(yブロッ
ク)では、未だ最終ラインの転送ではないため、次の処
理に進む。
Then, it is determined whether or not a terminal count has occurred. At this time, when it is determined that the terminal count has occurred, it is determined whether or not the DMA transfer of the last line of the transfer source address has been completed. In the case of this example, since the data (y block) from address 3 to address 5 is not the transfer of the last line yet, the process proceeds to the next processing.

【0009】すなわち、DMAコントローラに次の転送
元アドレス「6」、転送先アドレス「700」及び連続
する転送数「2」をセットして、DMAを起動する。こ
れにより、図11に示すキャラクタジェネレータ(C
G)におけるアドレス6番地から8番地までのデータ
(zブロック)のDMA転送のハードウエア制御が行わ
れ、このzブロックの転送処理が終了すると、DMAは
再び停止する。
That is, the next transfer source address “6”, the transfer destination address “700” and the number of consecutive transfers “2” are set in the DMA controller, and the DMA is started. Thereby, the character generator (C) shown in FIG.
The hardware control of the DMA transfer of the data (z block) from address 6 to address 8 in G) is performed, and when the transfer processing of the z block ends, the DMA stops again.

【0010】そして、ターミナルカウントが発生したか
否かを判断する。このとき、ターミナルカウントが発生
したと判断した場合、転送元のアドレスの最終ラインの
DMA転送が終了したか否かを判断する。この例の場
合、アドレス6番地から8番地までのデータ(zブロッ
ク)は、最終ラインの転送であるため、このDMA制御
を終了する。
Then, it is determined whether or not a terminal count has occurred. At this time, when it is determined that the terminal count has occurred, it is determined whether or not the DMA transfer of the last line of the transfer source address has been completed. In the case of this example, since the data (z block) from address 6 to address 8 is the transfer of the last line, this DMA control is ended.

【0011】このように、キャラクタジェネレータ(C
G)における連続アドレスのイメージデータを断続アド
レスへ転送する場合、アドレスが断続的となる度にハー
ドウエア制御を停止し、転送元アドレス等の設定やDM
Aの起動を再度行うソフトウエア制御が必要であった。
As described above, the character generator (C
In the case of transferring the image data of the continuous address to the intermittent address in G), the hardware control is stopped every time the address becomes intermittent, and the setting of the transfer source address and the like and the DM
Software control for restarting A was necessary.

【0012】[0012]

【発明が解決しようとする課題】しかし、このようなD
MA制御装置においては、転送先アドレスが断続的なデ
ータをDMA転送する場合、アドレスを連続的に転送で
きる部分に分割して複数回DMAコントローラに設定を
行ってDMAをその都度起動していたため、割り込み処
理などのソフトウエア制御を必要とし、複雑な処理をし
なければならないという問題があった。
However, such a D
In the MA control device, when the transfer destination address performs DMA transfer of intermittent data, the address is divided into portions that can be transferred continuously, the DMA controller is set a plurality of times, and the DMA is started each time. There is a problem that software control such as interrupt processing is required and complicated processing must be performed.

【0013】しかも、アドレスが不連続になる部分にな
る度にDMAが停止するため、DMAによるイメージデ
ータ等の転送処理全体に時間がかかり、処理速度が速い
というDMA転送制御の効果を十分に達成することがで
きないという問題もあった。特にフォントのデータが大
きいほどDMAが停止する回数が増え、転送処理速度も
低下する。例えば、通常のCGデータで1キャラクタあ
たり24回程度DMAが停止するため、1ぺージ100
キャラクタの場合には2400回もDMAが停止ことと
なる。
Further, since the DMA is stopped every time the address becomes a discontinuous portion, the entire transfer processing of image data and the like by the DMA takes time, and the effect of the DMA transfer control that the processing speed is fast is sufficiently achieved. There was also a problem that it was not possible. In particular, the larger the font data, the more times the DMA stops, and the lower the transfer processing speed. For example, in normal CG data, DMA stops about 24 times per character, so that one page 100
In the case of a character, DMA stops 2400 times.

【0014】そこで、本発明は、ダイレクトメモリアク
セスによる転送処理能力を十分に発揮させることによ
り、データ転送処理をより高速化することができるダイ
レクトメモリアクセス制御装置を提供しようとするもの
である。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a direct memory access control device capable of speeding up data transfer processing by sufficiently exhibiting transfer processing capability by direct memory access.

【0015】[0015]

【課題を解決するための手段】請求項1の本発明は、バ
スラインのバス使用権を得て、転送するデータの転送元
アドレス及び転送先アドレスの切換えによりデータのや
り取りを直接的に行うダイレクトメモリアクセスによる
データ転送処理を制御するダイレクトメモリアクセス制
御装置において、予め設定した転送元加算データ及び連
続するアドレスを更新するための単位加算データを、予
め設定した連続アドレス部分の転送カウント数に基づい
て決定されるアドレスの連続又は不連続に応じて選択
し、選択した加算データを転送元アドレスに加算するこ
とにより、次に転送する転送データの転送元アドレスと
して更新する転送元アドレス発生部と、予め設定した転
送先加算データ及び連続するアドレスを更新するための
単位加算データを、予め設定した連続アドレス部分の転
送カウント数に基づいて決定される転送データのアドレ
スの連続又は不連続に応じて選択し、選択した加算デー
タを転送先アドレスに加算することにより、次に転送す
る転送データの転送先アドレスとして更新する転送先ア
ドレス発生部とを設けたものである。
According to the first aspect of the present invention, there is provided a direct communication system in which a data transfer is directly performed by obtaining a right to use a bus line and switching a transfer source address and a transfer destination address of data to be transferred. In a direct memory access control device that controls a data transfer process by memory access, a preset transfer source addition data and a unit addition data for updating consecutive addresses are determined based on a transfer count number of a preset continuous address portion. A transfer source address generation unit that selects according to the determined address continuity or discontinuity and adds the selected addition data to the transfer source address to update the transfer data as the transfer source address of the transfer data to be transferred next; The set transfer destination addition data and unit addition data for updating successive addresses are Is selected according to the continuity or discontinuity of the address of the transfer data determined based on the transfer count number of the set continuous address portion, and the selected transfer data is added to the transfer destination address to thereby transfer the next transfer. And a transfer destination address generator for updating the data as a transfer destination address.

【0016】請求項2の本発明は、バスラインのバス使
用権を得て、転送するデータの転送元アドレス及び転送
先アドレスの切換えによりデータのやり取りを直接的に
行うダイレクトメモリアクセスによるデータ転送処理を
制御するダイレクトメモリアクセス制御装置において、
連続するアドレスを更新するための単位加算データを転
送元アドレスに加算することにより、次に転送する転送
データの転送元アドレスとして更新する転送元アドレス
発生部と、予め設定した転送先加算データ及び連続する
アドレスを更新するための単位加算データを、予め設定
した連続アドレス部分の転送カウント数に基づいて決定
される転送データのアドレスの連続又は不連続に応じて
選択し、選択した加算データを転送先アドレスに加算す
ることにより、次に転送する転送データの転送先アドレ
スとして更新する転送先アドレス発生部とを設けたもの
である。
According to a second aspect of the present invention, there is provided a data transfer process by direct memory access in which a right to use a bus line is obtained and data is exchanged directly by switching a transfer source address and a transfer destination address of data to be transferred. In a direct memory access control device that controls
A source address generator for adding a unit address data for updating successive addresses to a source address to update the source address of the next data to be transferred, The unit addition data for updating the address to be transferred is selected according to the continuity or discontinuity of the address of the transfer data determined based on the transfer count number of the preset continuous address portion, and the selected addition data is transferred to the transfer destination. A transfer destination address generator is provided which updates the transfer data to be transferred next as a transfer destination address by adding to the address.

【0017】請求項3の本発明は、バスラインのバス使
用権を得て、転送するデータの転送元アドレス及び転送
先アドレスの切換えによりデータのやり取りを直接的に
行うダイレクトメモリアクセスによるデータ転送処理を
制御するダイレクトメモリアクセス制御装置において、
予め設定した転送元加算データ及び連続するアドレスを
更新するための単位加算データを、予め設定した連続ア
ドレス部分の転送カウント数に基づいて決定されるアド
レスの連続又は不連続に応じて選択し、選択した加算デ
ータを転送元アドレスに加算することにより、次に転送
する転送データの転送元アドレスとして更新する転送元
アドレス発生部と、連続するアドレスを更新するための
単位加算データを転送先アドレスに加算することによ
り、次に転送する転送データの転送先アドレスとして更
新する転送先アドレス発生部とを設けたものである。
According to a third aspect of the present invention, there is provided a data transfer process by direct memory access, in which a right to use a bus line is obtained and data is transferred directly by switching a transfer source address and a transfer destination address of data to be transferred. In a direct memory access control device that controls
Select and select a preset transfer source addition data and a unit addition data for updating a continuous address according to a continuation or discontinuity of an address determined based on a transfer count number of a predetermined continuous address portion. By adding the added data to the transfer source address, the transfer source address generator for updating the transfer data as the transfer source address of the transfer data to be transferred next, and the unit addition data for updating successive addresses to the transfer destination address are added. By doing so, a transfer destination address generation unit for updating as a transfer destination address of transfer data to be transferred next is provided.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は、本実施の形態における回路の要部
構成を示すブロック図で、11は制御部本体を構成する
CPU(中央処理装置)、12はこのCPU11が各部
を制御するためのプログラムデータやキャラクタジェネ
レータ(CG)データを格納したROM(リード・オン
リ・メモリ)、13はCPU11が行うイメージ展開処
理等のデータ処理のために使用されるイメージバッファ
等のメモリを設けたRAM(ランダム・アクセス・メモ
リ)、14はDMA制御回路である。上記CPU11と
ROM12、RAM13、DMA制御回路14とはアド
レスバス、データバス、制御バス等のバスライン15に
より電気的に接続されている。また、CPU11とDM
A制御回路14とはバス使用権要求信号(HREG)、
バス使用権許可信号(HACK)の制御線で接続されて
いる。
FIG. 1 is a block diagram showing a configuration of a main part of a circuit according to the present embodiment. Reference numeral 11 denotes a CPU (central processing unit) constituting a control unit main body, and 12 denotes a program for the CPU 11 to control each part. A ROM (read only memory) storing data and character generator (CG) data, and a RAM (random memory) 13 provided with a memory such as an image buffer used for data processing such as image expansion processing performed by the CPU 11. Access memory) 14 is a DMA control circuit. The CPU 11, the ROM 12, the RAM 13, and the DMA control circuit 14 are electrically connected by a bus line 15 such as an address bus, a data bus, and a control bus. Also, the CPU 11 and the DM
A control circuit 14 is a bus use right request signal (HREG),
They are connected by a control line of a bus use permission signal (HACK).

【0020】上記DMA制御回路は、図2に示すように
転送元アドレスコントローラ21、転送先アドレスコン
トローラ22、転送数カウンタ23、DMAコントロー
ルホールドタイミング発生回路24、ラインバイトカウ
ンタ回路25、アドレスセレクタ26から構成される。
上記転送元アドレスコントローラ21は、転送元アドレ
スが連続する場合には、設定された転送元アドレスを1
番地ずつ更新し、転送元アドレスが断続する場合には、
その部分で断続的に更新するものである。
As shown in FIG. 2, the DMA control circuit includes a transfer source address controller 21, a transfer destination address controller 22, a transfer number counter 23, a DMA control hold timing generation circuit 24, a line byte counter circuit 25, and an address selector 26. Be composed.
The transfer source address controller 21 sets the set transfer source address to 1 when the transfer source addresses are consecutive.
If the address is updated by the address and the source address is intermittent,
That part is updated intermittently.

【0021】上記ラインバイトカウンタ回路25は、転
送元又は転送先の連続するアドレス数を設定すると、ダ
ウンカウントするようになっている。例えばアドレス5
00番地から502番地へ連続してイメージデータを転
送する場合、「2」を設定すれば、「2」から「0」ま
でダウンカウントし、「0」になるとTC信号を発生す
る。
The line byte counter circuit 25 counts down when the number of consecutive addresses of a transfer source or a transfer destination is set. For example, address 5
In the case where image data is continuously transferred from address 00 to address 502, if "2" is set, the count is down-counted from "2" to "0", and when it becomes "0", a TC signal is generated.

【0022】上記転送数カウンタ23は、転送したアド
レス数のすべてをカウントするものである。またアドレ
スセレクタ26は、CPU11からのSEL_S/D信
号に応じて転送元アドレスコントローラ21と転送先ア
ドレスコントローラ22からのアドレスを選択して出力
するものである。上記DMAコントロールホールドタイ
ミング発生回路24は、転送処理中のDMAのバス使用
権を確保するためのものである。
The transfer number counter 23 counts all the transferred addresses. The address selector 26 selects and outputs addresses from the source address controller 21 and the destination address controller 22 in accordance with the SEL_S / D signal from the CPU 11. The DMA control hold timing generation circuit 24 is for securing the right to use the bus of the DMA during the transfer process.

【0023】このDMA制御回路のさらに詳細な回路構
成を図3及び図4に示す。すなわち、上記転送元アドレ
スコントローラ21は、転送元レジスタ31、転送元加
算データレジスタ32、加算器33、セレクタ34,3
5、オアゲート36から構成される。
FIGS. 3 and 4 show a more detailed circuit configuration of the DMA control circuit. That is, the transfer source address controller 21 includes a transfer source register 31, a transfer source addition data register 32, an adder 33, and selectors 34 and 3
5. An OR gate 36 is provided.

【0024】上記セレクタ34は、チップセレクト信号
(CS)、書込み信号(W)を入力し、書込み信号
(W)の入力に応じてCPU11からのアドレス及び加
算器33からのアドレスのいずれかを選択して転送元レ
ジスタ31へ供給するようになっている。この加算器3
3は、転送元レジスタ31からのアドレスを転送元加算
データレジスタ32及びセレクタ35からの転送元加算
データ分だけ加算してセレクタ34へ供給する。
The selector 34 receives a chip select signal (CS) and a write signal (W), and selects one of an address from the CPU 11 and an address from the adder 33 according to the input of the write signal (W). Then, the data is supplied to the transfer source register 31. This adder 3
3 adds the address from the transfer source register 31 by the transfer source addition data register 32 and the transfer source addition data from the selector 35 and supplies the result to the selector 34.

【0025】この転送元加算データは、転送元が連続す
るアドレスの場合、単位加算データとしてのデフォルト
値「1」がセレクタ35で選択出力されるため、転送元
レジスタ31は「1」ずつアドレスが更新される。これ
に対して、転送元が不連続のアドレスの場合であってア
ドレスが不連続となるとき(ラインバイトカウンタ回路
25からのTC信号が出力されたとき)、CPU11か
ら転送元加算データレジスタ32に設定した転送元加算
データがセレクタ35で選択出力されるため、転送元レ
ジスタ31は転送元加算データの分だけ増加したアドレ
スが更新される。
In the case of the transfer source addition data, if the transfer source is a continuous address, the default value "1" as the unit addition data is selectively output by the selector 35. Be updated. On the other hand, when the transfer source is a discontinuous address and the address is discontinuous (when the TC signal is output from the line byte counter circuit 25), the CPU 11 sends the transfer source addition data register 32 Since the set transfer source addition data is selectively output by the selector 35, the transfer source register 31 is updated with the address increased by the transfer source addition data.

【0026】このようにして1つのアドレスのデータを
転送するごとに更新された転送元レジスタ31の出力
は、加算器33及びアドレスセレクタ26へ供給される
ようになっている。
The output of the transfer source register 31 updated each time data of one address is transferred is supplied to the adder 33 and the address selector 26.

【0027】上記転送先アドレスコントローラ22も、
転送元アドレスコントローラ21と同様に構成される。
すなわち、転送先レジスタ41、転送先加算データレジ
スタ42、加算器43、セレクタ44,45、オアゲー
ト46から構成される。
The destination address controller 22 also has
The configuration is the same as that of the transfer source address controller 21.
That is, it is composed of a destination register 41, a destination addition data register 42, an adder 43, selectors 44 and 45, and an OR gate 46.

【0028】上記セレクタ44は、チップセレクト信号
(CS)、書込み信号(W)を入力し、書込み信号
(W)の入力に応じてCPU11からのアドレス及び加
算器43からのアドレスのいずれかを選択して転送先レ
ジスタ41へ供給するようになっている。この加算器4
3は、転送先レジスタ41からのアドレスを転送先加算
データレジスタ42及びセレクタ45からの転送先加算
データ分だけ加算してセレクタ44へ供給する。
The selector 44 receives a chip select signal (CS) and a write signal (W), and selects one of an address from the CPU 11 and an address from the adder 43 according to the input of the write signal (W). Then, the data is supplied to the transfer destination register 41. This adder 4
3 adds the address from the destination register 41 by the amount of the destination addition data from the destination addition data register 42 and the selector 45 and supplies it to the selector 44.

【0029】この転送先加算データは、転送先が連続す
るアドレスの場合、単位加算データとしてのデフォルト
値「1」がセレクタ45で選択出力されるため、転送先
レジスタ41は「1」ずつアドレスが更新される。これ
に対して、転送先が不連続のアドレスの場合であってア
ドレスが不連続となるとき(ラインバイトカウンタ回路
25からのセレクト信号(RC)が出力されたとき)、
CPU11から転送先加算データレジスタ42に設定し
た転送先加算データがセレクタ45で選択出力されるた
め、転送先レジスタ41は転送先加算データの分だけ増
加したアドレスが更新される。
In the case of the transfer destination addition data, when the transfer destination is a continuous address, the selector 45 selects and outputs the default value "1" as the unit addition data. Be updated. On the other hand, when the transfer destination is a discontinuous address and the address is discontinuous (when the select signal (RC) is output from the line byte counter circuit 25),
Since the destination addition data set in the destination addition data register 42 is selectively output from the CPU 11 by the selector 45, the destination register 41 is updated with the address increased by the amount of the destination addition data.

【0030】このようにして、1つのアドレスのデータ
を転送するごとに更新された転送先レジスタ41の出力
は、加算器43及びアドレスセレクタ36へ供給される
ようになっている。
As described above, the output of the transfer destination register 41 updated every time data of one address is transferred is supplied to the adder 43 and the address selector 36.

【0031】上記ラインバイトカウンタ回路25は、C
PU11から連続するアドレス数を設定するラインカウ
ント用レジスタ51、このラインカウント用レジスタ5
1で設定したアドレス数に基づいてダウンカウントしカ
ウントアップするとセレクト信号(RC)を転送元アド
レスコントローラ21のセレクタ35及び転送先アドレ
スコントローラ22のセレクタ45へ供給するカウンタ
52から構成される。上記DMAコントロールホールド
タイミング発生回路24は、図4に示すように、DMA
コントロールレジスタ61、フラグセット回路62、ア
ンドゲート63、シーケンスカウンタ64、タイミング
デコーダ65、データラッチ66から構成される。
The line byte counter circuit 25 has a C
A line count register 51 for setting the number of consecutive addresses from the PU 11, a line count register 5
The counter 52 supplies a select signal (RC) to the selector 35 of the source address controller 21 and the selector 45 of the destination address controller 22 when counting down and counting up based on the number of addresses set in 1. The DMA control hold timing generation circuit 24, as shown in FIG.
It comprises a control register 61, a flag set circuit 62, an AND gate 63, a sequence counter 64, a timing decoder 65, and a data latch 66.

【0032】上記DMAコントロールレジスタ61は、
CPU11のバスライン15が接続しており、データ転
送を行う場合にCPU11からのスタート命令が書込ま
れるようになっている。このDMAコントロールレジス
タ61にスタート命令が書込まれると、書込まれた旨の
信号がフラグセット回路62に供給される。すると、フ
ラグセット回路62はイネーブルフラグをセットしてバ
ス使用権要求信号(HREQ)をCPU11へ供給す
る。
The DMA control register 61 includes:
The bus line 15 of the CPU 11 is connected, and a start command from the CPU 11 is written when performing data transfer. When a start command is written into the DMA control register 61, a signal indicating that the start command has been written is supplied to the flag set circuit 62. Then, the flag setting circuit 62 sets an enable flag and supplies a bus use right request signal (HREQ) to the CPU 11.

【0033】このフラグセット回路62からのバス使用
権要求信号(HREQ)はアンドゲート63に供給され
る。また、アンドゲート63にはCPU11からのバス
使用権許可信号(HACK)も供給されるようになって
おり、アンドゲート63はバス使用権要求信号(HRE
Q)及びバス使用権許可信号(HACK)の両者が入力
されると、シーケンスカウンタ64にイネーブル信号
(EN)を供給する。
The bus use right request signal (HREQ) from the flag set circuit 62 is supplied to an AND gate 63. The AND gate 63 is also supplied with a bus use right permission signal (HACK) from the CPU 11, and the AND gate 63 outputs a bus use right request signal (HRE).
When both Q) and the bus use permission signal (HACK) are input, an enable signal (EN) is supplied to the sequence counter 64.

【0034】上記シーケンスカウンタ64は、アンドゲ
ート63からイネーブル信号(EN)を供給すると、カ
ウント動作を開始し、タイミングデコーダ65を介して
RAM13等に対する読取り信号(R)、書込み信号
(W)やDACK、SEL_S/D等の内部信号を発生
し、バスライン15へ供給する。
When the enable signal (EN) is supplied from the AND gate 63, the sequence counter 64 starts a counting operation, and the read signal (R), the write signal (W), and the DACK for the RAM 13 and the like via the timing decoder 65. , SEL_S / D, etc., and supplies them to the bus line 15.

【0035】このようなRAM13等に対する読取り信
号(R)、書込み信号(W)が発生すると、データラッ
チ66に転送元のアドレスがラッチされる。このアドレ
スもアドレスデータとしてバスライン15へ供給され
る。
When a read signal (R) and a write signal (W) are generated for the RAM 13 and the like, the transfer source address is latched in the data latch 66. This address is also supplied to the bus line 15 as address data.

【0036】また、上記DMAコントロールレジスタ6
1には、転送数カウンタ23からTC信号が供給される
と、バス使用権要求信号(HREQ)が解除されてDM
A転送処理が終了し、バスラインはCPU11へ解放さ
れる。
The DMA control register 6
1, when the TC signal is supplied from the transfer number counter 23, the bus use right request signal (HREQ) is released and the DM
The A transfer process ends, and the bus line is released to the CPU 11.

【0037】このような構成の本発明の実施の形態にお
いては、例えば、図9に示すような転送元のROM12
に記憶されている文字「A」のCGデータを、図10に
示すようなRAM10のアドレス空間の一部へ転送する
場合、以下のようなDMA転送処理を行う。なお、この
例は、図5に示すようにアドレス0番地〜8番地まで連
続する転送元アドレスに記憶されているCGデータを、
アドレス500番地〜502番地、アドレス600番地
〜602番地、及びアドレス700番地〜702番地の
ように断続している転送先アドレスへ転送する場合であ
る。
In the embodiment of the present invention having such a configuration, for example, the transfer source ROM 12 shown in FIG.
Is transferred to a part of the address space of the RAM 10 as shown in FIG. 10, the following DMA transfer processing is performed. In this example, as shown in FIG. 5, the CG data stored at the transfer source addresses continuous from address 0 to address 8 is
This is a case where transfer is performed to intermittent transfer destination addresses such as addresses 500 to 502, addresses 600 to 602, and addresses 700 to 702.

【0038】このような例におけるDMA転送処理は、
先ずDMA制御回路14に転送元アドレスや転送先アド
レス等の設定を行う。この設定は最初の1回限りでよ
い。
The DMA transfer processing in such an example is as follows.
First, a transfer source address, a transfer destination address, and the like are set in the DMA control circuit 14. This setting only needs to be performed once.

【0039】すなわち、DMA制御回路14内部の転送
元レジスタ31に転送元の最初のアドレスである「0」
をセットする。続いて転送元加算データレジスタ32に
転送元アドレスの転送元加算データをセットする。この
例では、転送元が連続アドレスであるため、転送元加算
データとして「1」をセットする。
That is, the transfer source register 31 in the DMA control circuit 14 stores "0" which is the first address of the transfer source.
Is set. Subsequently, the transfer source addition data of the transfer source address is set in the transfer source addition data register 32. In this example, since the transfer source is a continuous address, "1" is set as transfer source addition data.

【0040】同様にして転送先レジスタ41に転送先の
最初のアドレスである「500」をセットする。続いて
転送先加算データレジスタ42に転送先において不連続
となる部分のアドレスの差を転送先加算データとしてセ
ットする。この例では、転送先がアドレス502番地と
600番地との間で不連続、アドレス602番地と70
0番地との間で不連続であるため、そのアドレス間の差
である「98」を転送先加算データとしてセットする。
Similarly, the first address "500" of the transfer destination is set in the transfer destination register 41. Subsequently, the address difference of the discontinuous portion at the transfer destination is set in the transfer destination addition data register 42 as transfer destination addition data. In this example, the transfer destination is discontinuous between addresses 502 and 600, and addresses 602 and 70
Since it is discontinuous with address 0, "98" which is the difference between the addresses is set as transfer destination addition data.

【0041】また、ラインカウント用レジスタ51に転
送先アドレスで連続するアドレス数をセットする。この
例では、転送先が500番地〜502番地、600番地
〜602番地、700番地〜702番地でそれぞれ連続
であるため、ラインカウント用レジスタ51に「2」を
セットする。これによりカウンタ52には、ダウンカウ
ントの初期値として「2」がセットされる。さらに、転
送数カウンタ23に、転送元の最終アドレスである
「8」をセットする。
Further, the number of consecutive addresses at the transfer destination address is set in the line count register 51. In this example, since the transfer destinations are continuous at addresses 500 to 502, addresses 600 to 602, and addresses 700 to 702, “2” is set in the line count register 51. As a result, "2" is set in the counter 52 as the initial value of the down count. Further, “8” which is the final address of the transfer source is set in the transfer number counter 23.

【0042】次に、DMAコントロールレジスタ61に
スタート命令を書き込むことにより、フラグ設定回路6
2にイネーブルフラグがセットされ、バス使用権要求信
号(HREQ)をCPU11に対して出力する。これに
対して、CPU11がバス使用権許可信号(HACK)
を返してくると、シーケンスカウンタ64が動作を始
め、RAM13に対する読取り信号(R),書込み信号
(W)、DACK、SEL_S/Dの内部信号を発生す
る。
Next, by writing a start command to the DMA control register 61, the flag setting circuit 6
2, an enable flag is set, and a bus use request signal (HREQ) is output to the CPU 11. In response to this, the CPU 11 sends the bus use permission signal (HACK)
Is returned, the sequence counter 64 starts operating, and generates a read signal (R), a write signal (W), DACK, and internal signals of SEL_S / D for the RAM 13.

【0043】すると、転送元であるROM12から最初
のアドレス「0」のデータが読取られ、データラッチ6
6に一時的に記憶される。そして、加算器33により次
の転送元アドレスへの更新が行われる。すなわち、この
場合は、転送元アドレスコントローラ21のセレクタ3
5へ供給されるセレクト信号(RC)により「1」が選
択されるため、転送元レジスタ31は加算器33により
+1されたアドレスが転送元レジスタ31へ供給され
る。
Then, the data of the first address "0" is read from the transfer source ROM 12, and the data latch 6
6 is temporarily stored. Then, the adder 33 updates the address to the next transfer source address. That is, in this case, the selector 3 of the transfer source address controller 21
Since “1” is selected by the select signal (RC) supplied to 5, the address of the transfer source register 31 incremented by +1 by the adder 33 is supplied to the transfer source register 31.

【0044】次に、CPU11によりSEL_S/D信
号が変化し、アドレスセレクタ26の出力は転送元レジ
スタ31の出力から転送先レジスタ41の出力に変わ
る。最初の転送先はRAM13の500番地であり、こ
こに図4に示すデータラッチ66に蓄積されたデータを
書込む。このとき、加算器43により次の転送先アドレ
スへの更新が行われる。すなわち、この場合は、転送先
アドレスコントローラ22のセレクタ45へ供給される
セレクト信号(RC)により「1」が選択されるため、
転送先レジスタ41は加算器43により+1されたアド
レスが転送先レジスタ41へ供給される。
Next, the SEL_S / D signal is changed by the CPU 11, and the output of the address selector 26 is changed from the output of the transfer source register 31 to the output of the transfer destination register 41. The first transfer destination is the address 500 of the RAM 13, and the data stored in the data latch 66 shown in FIG. At this time, the adder 43 updates to the next transfer destination address. That is, in this case, since “1” is selected by the select signal (RC) supplied to the selector 45 of the transfer destination address controller 22,
The destination register 41 is supplied with the address incremented by one by the adder 43 to the destination register 41.

【0045】このような連続するアドレスのDMA転送
処理をラインバイトカウンタ25のカウンタ52が
「0」になるまで行う。これにより、3バイトのデータ
が転送される。すなわち、ROM12のアドレス0番
地、1番地、2番地から読出され、RAM13の500
番地、501番地、502番地にそれぞれ書込まれる。
The DMA transfer processing of such continuous addresses is performed until the counter 52 of the line byte counter 25 becomes "0". As a result, 3-byte data is transferred. That is, it is read from addresses 0, 1, and 2 of the ROM 12 and
The addresses are written at addresses 501, 502, respectively.

【0046】そして、ラインバイトカウンタ回路25の
カウンタ52が「0」になると、セレクト信号(RC)
が切替わり、転送元アドレスコントローラ21のセレク
タ35は、転送元加算データレジスタ32にセットした
値を選択出力するようになる。この例では、転送元加算
データレジスタ32に「1」をセットしてあり、転送元
のアドレスは現在「2」を示しているため、そのアドレ
スに+1が加算され、転送元レジスタ31には前回と同
様に連続したアドレス「3」が示される。
When the counter 52 of the line byte counter circuit 25 becomes "0", the select signal (RC) is output.
Is switched, and the selector 35 of the transfer source address controller 21 selectively outputs the value set in the transfer source addition data register 32. In this example, "1" is set in the transfer source addition data register 32, and since the transfer source address is currently indicating "2", +1 is added to that address, and the transfer source register 31 has the previous value. A continuous address “3” is shown in the same manner as in FIG.

【0047】これと同様にして、転送先アドレスコント
ローラ22のセレクタ45の出力も、転送先加算データ
レジスタ42に設定した値を選択出力するようになる。
ところが、この例では、転送先加算データレジスタ42
には「98」をセットしてあり、転送先のアドレスは現
在「502」を示しているため、そのアドレスに+98
が加算され、転送先レジスタ41には不連続なアドレス
「600」が示される。
Similarly, the output of the selector 45 of the destination address controller 22 selectively outputs the value set in the destination addition data register 42.
However, in this example, the transfer destination addition data register 42
Is set to "98", and the transfer destination address currently indicates "502".
Is added, and the transfer destination register 41 indicates a discontinuous address “600”.

【0048】このセレクタ信号(RC)は、同時にライ
ンバイトカウンタ回路25のカウンタ52に対するロー
ド信号(LD)にもなっているため、このセレクタ信号
(RC)が切替わると、ラインカウント用レジスタ51
にセットしてある「2」を再ロードするようになる。ロ
ード後にセレクタ信号(RC)は元に戻る。
Since the selector signal (RC) is also a load signal (LD) for the counter 52 of the line byte counter circuit 25 at the same time, when the selector signal (RC) is switched, the line count register 51 is switched.
Will be reloaded. After loading, the selector signal (RC) returns to its original state.

【0049】こうして、上述する処理が繰返し行われて
ROM12のアドレス「0」、「1」、「2」、
「3」、「4」、「5」、「6」、「7」、「8」のデ
ータがRAM13の「500」、「501」、「50
2」、「600」、「601」、「602」、「70
0」、「701」、「702」に自動的に転送される。
In this way, the above-described processing is repeatedly performed, and the addresses “0”, “1”, “2”,
The data of “3”, “4”, “5”, “6”, “7”, “8” are stored in the RAM 13 as “500”, “501”, “50”.
2 "," 600 "," 601 "," 602 "," 70 "
0, 701, and 702.

【0050】そして、転送数カウンタ23が「0」にな
ると、DMA転送終了を示すTC信号が出力され、DM
AコントロールレジスタがクリアされてDMA転送処理
が終了する。これにより、バス使用権はCPU11に解
放される。
When the transfer number counter 23 becomes "0", a TC signal indicating the end of the DMA transfer is output, and the DM signal is output.
The A control register is cleared, and the DMA transfer processing ends. As a result, the right to use the bus is released to the CPU 11.

【0051】このように、転送元のデータが連続するア
ドレスであり、転送先が断続アドレスである場合でも、
予め断続アドレスの不連続部分のアドレスの差を転送先
加算データとして転送先レジスタ41に設定しておくこ
とにより、DMA転送処理が転送先のアドレスの不連続
部分においても自動的に転送先のアドレスの値が自動的
に更新されるため、この部分でDMA転送処理の停止、
再度の転送先アドレスの設定やDMA転送処理の再起動
を行う必要がなくなる。これにより、全体のデータ転送
処理をより高速化することができ、DMAによる処理能
力を十分に発揮させることができる。
As described above, even when the source data is a continuous address and the destination is an intermittent address,
By setting the address difference of the discontinuous portion of the intermittent address in the transfer destination register 41 as the transfer destination addition data in advance, the DMA transfer process can automatically perform the transfer destination address even at the discontinuity portion of the transfer destination address. Is automatically updated, the DMA transfer process is stopped in this part,
It is not necessary to set the transfer destination address again and restart the DMA transfer processing. As a result, the speed of the entire data transfer process can be further increased, and the processing capability by the DMA can be sufficiently exhibited.

【0052】なお、本実施の形態においては、図5に示
すように転送元のデータが連続するアドレスであり、転
送先が断続アドレスである場合を例として説明したが、
必ずしもこれに限定されるものではなく、例えば図6に
示すようにRAM13のバッファ間でウインド状のデー
タ「A」を取出し、他のメモリアドレスヘウインド状に
コピーする場合には、図7に示すように転送元及び転送
先の両者とも断続アドレスとなるが、このような場合に
も適用できる。
In this embodiment, the case where the source data is a continuous address and the destination is an intermittent address as shown in FIG. 5 has been described as an example.
The present invention is not necessarily limited to this. For example, as shown in FIG. 6, when window-shaped data "A" is taken out between buffers of the RAM 13 and copied in another memory address window-shape as shown in FIG. As described above, both the transfer source and the transfer destination are intermittent addresses, but the present invention can be applied to such a case.

【0053】この場合には、転送元アドレスコントロー
ラ21の転送元加算データレジスタ32に転送元加算デ
ータとしてアドレスの不連続部分である2番地から10
0番地の差である「98」を設定するとともに、転送先
アドレスコントローラ22の転送先加算データレジスタ
42に転送先加算データとしてアドレスの不連続部分で
ある502番地から600番地の差である「98」を設
定しておけば、転送先及び転送元のアドレスの不連続部
分でも自動的にアドレスが更新される。これによって
も、上記と同様の効果を奏することができる。
In this case, the transfer source addition data register 32 of the transfer source address controller 21 stores 10 bits from address 2, which is a discontinuous portion of the address, as transfer source addition data.
“98” which is the difference between address 0 is set, and “98” which is the difference between address 502 and address 600, which is a discontinuous portion of the address, is added to the destination addition data register 42 of the destination address controller 22 as destination addition data. Is set, the address is automatically updated even in the discontinuous portion of the transfer destination and transfer source addresses. With this, the same effect as described above can be obtained.

【0054】さらに、図8に示すように転送元のデータ
が断続アドレスであり、転送先が連続アドレスである場
合にも適用できる。この場合には、転送元アドレスコン
トローラ21の転送元加算データレジスタ32に転送元
加算データとしてアドレスの不連続部分である2番地か
ら100番地の差である「98」を設定するとともに、
転送先アドレスコントローラ22の転送先加算データレ
ジスタ42に転送先加算データとして「1」を設定して
おけば、転送元のアドレスの不連続部分で自動的にアド
レスが更新される。これによっても、上記と同様の効果
を奏することができる。
Further, as shown in FIG. 8, the present invention can be applied to a case where the data at the transfer source is an intermittent address and the data at the transfer destination is a continuous address. In this case, “98”, which is the difference between address 2 and address 100, which is a discontinuous portion of the address, is set in the transfer source addition data register 32 of the transfer source address controller 21 as the transfer source addition data.
If "1" is set as the transfer destination addition data in the transfer destination addition data register 42 of the transfer destination address controller 22, the address is automatically updated at the discontinuous portion of the transfer source address. With this, the same effect as described above can be obtained.

【0055】[0055]

【発明の効果】以上詳述したように本発明によれば、ダ
イレクトメモリアクセスによる転送処理能力を十分に発
揮させることにより、データ転送処理をより高速化する
ことができるダイレクトメモリアクセス制御装置を提供
できるものである。
As described in detail above, according to the present invention, there is provided a direct memory access control device capable of speeding up data transfer processing by sufficiently exhibiting transfer processing capability by direct memory access. You can do it.

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

【図1】本発明の実施の形態の回路構成を示すブロック
図。
FIG. 1 is a block diagram illustrating a circuit configuration according to an embodiment of the present invention.

【図2】図1に示すDMA制御回路の内部構成を示すブ
ロック図。
FIG. 2 is a block diagram showing an internal configuration of a DMA control circuit shown in FIG.

【図3】図2に示すDMA制御回路の詳細な回路構成の
一部を示すブロック図。
FIG. 3 is a block diagram showing a part of the detailed circuit configuration of the DMA control circuit shown in FIG. 2;

【図4】図2に示すDMA制御回路の詳細な回路構成を
一部を示すブロック図。
FIG. 4 is a block diagram partially showing a detailed circuit configuration of a DMA control circuit shown in FIG. 2;

【図5】本実施の形態における転送元が連続アドレスで
転送先が断続アドレスの場合の転送データの1例を示す
図。
FIG. 5 is a diagram showing an example of transfer data when a transfer source is a continuous address and a transfer destination is an intermittent address in the present embodiment.

【図6】本実施の形態において転送データをアドレス空
間の一部から他部へ移動する場合を説明する図。
FIG. 6 is a diagram illustrating a case where transfer data is moved from a part of an address space to another part in the present embodiment.

【図7】図6に示す場合の転送データの1例を示す図。FIG. 7 is a diagram showing an example of transfer data in the case shown in FIG. 6;

【図8】本実施の形態における転送元が断続アドレスで
転送先が連続アドレスの場合の転送データの1例を示す
図。
FIG. 8 is a diagram showing an example of transfer data when a transfer source is an intermittent address and a transfer destination is a continuous address in the present embodiment.

【図9】連続アドレスとなる転送データの1例を示す
図。
FIG. 9 is a diagram showing an example of transfer data serving as a continuous address.

【図10】図9に示す転送先が断続アドレスの場合の転
送データの1例を示す図。
10 is a diagram showing an example of transfer data when the transfer destination shown in FIG. 9 is an intermittent address.

【図11】従来のダイレクトメモリアクセス制御装置に
おいて、図9に示す転送データを図10に示すアドレス
空間に転送する場合を説明する図。
11 is a view for explaining a case where the transfer data shown in FIG. 9 is transferred to the address space shown in FIG. 10 in the conventional direct memory access control device.

【図12】従来のダイレクトメモリアクセス制御装置に
おいて、図9に示す転送データを図10に示すアドレス
空間に転送する場合のCPUが行う制御を示す流れ図。
12 is a flowchart showing control performed by the CPU when transferring the transfer data shown in FIG. 9 to the address space shown in FIG. 10 in the conventional direct memory access control device.

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

14…DMA制御回路 21…転送元アドレスコントローラ(転送元アドレス発
生部) 22…転送先アドレスコントローラ(転送先アドレス発
生部) 24…DMAコントロールホールドタイミング発生回路 25…ラインバイトカウンタ回路 26…アドレスセレクタ 31…転送元レジスタ 32…転送元加算データレジスタ 33…加算器 35…セレクタ 41…転送先レジスタ 42…転送先加算データレジスタ 43…加算器 45…セレクタ
14 DMA control circuit 21 Transfer source address controller (transfer source address generation unit) 22 Transfer destination address controller (transfer destination address generation unit) 24 DMA control hold timing generation circuit 25 Line byte counter circuit 26 Address selector 31 ... Transfer source register 32 ... Transfer source addition data register 33 ... Adder 35 ... Selector 41 ... Transfer destination register 42 ... Transfer destination addition data register 43 ... Adder 45 ... Selector

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 バスラインのバス使用権を得て、転送す
るデータの転送元アドレス及び転送先アドレスの切換え
によりデータのやり取りを直接的に行うダイレクトメモ
リアクセスによるデータ転送処理を制御するダイレクト
メモリアクセス制御装置において、予め設定した転送元
加算データ及び連続するアドレスを更新するための単位
加算データを、予め設定した連続アドレス部分の転送カ
ウント数に基づいて決定されるアドレスの連続又は不連
続に応じて選択し、選択した加算データを転送元アドレ
スに加算することにより、次に転送する転送データの転
送元アドレスとして更新する転送元アドレス発生部と、
予め設定した転送先加算データ及び連続するアドレスを
更新するための単位加算データを、予め設定した連続ア
ドレス部分の転送カウント数に基づいて決定される転送
データのアドレスの連続又は不連続に応じて選択し、選
択した加算データを転送先アドレスに加算することによ
り、次に転送する転送データの転送先アドレスとして更
新する転送先アドレス発生部とを設けたことを特徴とす
るダイレクトメモリアクセス制御装置。
1. A direct memory access for controlling a data transfer process by a direct memory access for directly exchanging data by obtaining a right to use a bus line and switching a transfer source address and a transfer destination address of data to be transferred. In the control device, the preset transfer source addition data and the unit addition data for updating the continuous address are determined according to the continuity or discontinuity of the address determined based on the transfer count number of the preset continuous address portion. A transfer source address generator for selecting and adding the selected addition data to the transfer source address, thereby updating the transfer data as the transfer source address of the transfer data to be transferred next;
Unit transfer data for updating preset transfer destination addition data and continuous addresses is selected according to the continuity or discontinuity of addresses of transfer data determined based on the transfer count number of the predetermined continuous address portion. And a transfer destination address generator for adding the selected addition data to the transfer destination address to update the transfer data as the transfer destination address of the transfer data to be transferred next.
【請求項2】 バスラインのバス使用権を得て、転送す
るデータの転送元アドレス及び転送先アドレスの切換え
によりデータのやり取りを直接的に行うダイレクトメモ
リアクセスによるデータ転送処理を制御するダイレクト
メモリアクセス制御装置において、連続するアドレスを
更新するための単位加算データを転送元アドレスに加算
することにより、次に転送する転送データの転送元アド
レスとして更新する転送元アドレス発生部と、予め設定
した転送先加算データ及び連続するアドレスを更新する
ための単位加算データを、予め設定した連続アドレス部
分の転送カウント数に基づいて決定される転送データの
アドレスの連続又は不連続に応じて選択し、選択した加
算データを転送先アドレスに加算することにより、次に
転送する転送データの転送先アドレスとして更新する転
送先アドレス発生部とを設けたことを特徴とするダイレ
クトメモリアクセス制御装置。
2. A direct memory access for controlling a data transfer process by a direct memory access for directly exchanging data by obtaining a right to use a bus line and switching a transfer source address and a transfer destination address of data to be transferred. In the control device, a transfer source address generating unit that updates the transfer source address of transfer data to be transferred next by adding unit addition data for updating consecutive addresses to the transfer source address; The addition data and the unit addition data for updating the continuous addresses are selected according to the continuity or discontinuity of the addresses of the transfer data determined based on the transfer count number of the preset continuous address portion, and the selected addition is performed. By adding data to the transfer destination address, the next transfer data to be transferred And a transfer destination address generator for updating the transfer destination address as a transfer destination address.
【請求項3】 バスラインのバス使用権を得て、転送す
るデータの転送元アドレス及び転送先アドレスの切換え
によりデータのやり取りを直接的に行うダイレクトメモ
リアクセスによるデータ転送処理を制御するダイレクト
メモリアクセス制御装置において、予め設定した転送元
加算データ及び連続するアドレスを更新するための単位
加算データを、予め設定した連続アドレス部分の転送カ
ウント数に基づいて決定されるアドレスの連続又は不連
続に応じて選択し、選択した加算データを転送元アドレ
スに加算することにより、次に転送する転送データの転
送元アドレスとして更新する転送元アドレス発生部と、
連続するアドレスを更新するための単位加算データを転
送先アドレスに加算することにより、次に転送する転送
データの転送先アドレスとして更新する転送先アドレス
発生部とを設けたことを特徴とするダイレクトメモリア
クセス制御装置。
3. A direct memory access for obtaining a right to use a bus line and controlling a data transfer process by a direct memory access for directly exchanging data by switching a transfer source address and a transfer destination address of data to be transferred. In the control device, the preset transfer source addition data and the unit addition data for updating the continuous address are determined according to the continuity or discontinuity of the address determined based on the transfer count number of the preset continuous address portion. A transfer source address generator for selecting and adding the selected addition data to the transfer source address, thereby updating the transfer data as the transfer source address of the transfer data to be transferred next;
A transfer destination address generator for adding a unit addition data for updating successive addresses to a transfer destination address to thereby update the transfer data as a transfer destination address of transfer data to be transferred next. Access control device.
JP15821496A 1996-06-19 1996-06-19 Direct memory access controller Pending JPH1011388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15821496A JPH1011388A (en) 1996-06-19 1996-06-19 Direct memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15821496A JPH1011388A (en) 1996-06-19 1996-06-19 Direct memory access controller

Publications (1)

Publication Number Publication Date
JPH1011388A true JPH1011388A (en) 1998-01-16

Family

ID=15666782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15821496A Pending JPH1011388A (en) 1996-06-19 1996-06-19 Direct memory access controller

Country Status (1)

Country Link
JP (1) JPH1011388A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011108286A (en) * 2001-02-28 2011-06-02 Spansion Llc Memory device
WO2012039143A1 (en) * 2010-09-21 2012-03-29 三菱電機株式会社 Dma controller and data readout device
US8223368B2 (en) 2007-10-10 2012-07-17 Canon Kabushiki Kaisha Image processing apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011108286A (en) * 2001-02-28 2011-06-02 Spansion Llc Memory device
US8223368B2 (en) 2007-10-10 2012-07-17 Canon Kabushiki Kaisha Image processing apparatus and method
US8456684B2 (en) 2007-10-10 2013-06-04 Canon Kabushiki Kaisha Image processing apparatus and method
WO2012039143A1 (en) * 2010-09-21 2012-03-29 三菱電機株式会社 Dma controller and data readout device

Similar Documents

Publication Publication Date Title
JP2000047974A (en) Bus arbitration method for bus control controller, bus control controller, and system for electronic device
JPWO2011099048A1 (en) Transmission control device, memory control device, and PLC including the transmission control device
JPH1011388A (en) Direct memory access controller
JP3281211B2 (en) Information processing apparatus having synchronous memory and synchronous memory
JP2000099452A (en) DMA controller
JP3317819B2 (en) Control method for two-port access of single-port RAM
JP3201439B2 (en) Direct memory access control circuit
JP3323751B2 (en) Printing equipment
JPS585434B2 (en) display device
JPH05210381A (en) Display controller
JPH0736819A (en) Dma data transfer device
JP2001084217A (en) Dma circuit
JPH06119289A (en) Data transfer device
JPS5938827A (en) Microprocessor ipl system
JP2003150534A (en) Chain block transfer method and communication control device
JPH1139278A (en) Processor and memory access method
JPS6336021B2 (en)
JPH06332851A (en) Data transfer method
JPH0696006A (en) Dma controller
JPH06290139A (en) Bank memory transfer system
JP2004127312A (en) Semiconductor integrated circuit device, and data transfer method for semiconductor integrated circuit device
JP2003256268A (en) Memory management apparatus, communication device, memory management method and memory management program
JPH07306825A (en) Dma controller
JPH09160786A (en) Microprocessor
JP2001005722A (en) Method and device for memory access control