JPH1185671A - Direct memory access controller - Google Patents

Direct memory access controller

Info

Publication number
JPH1185671A
JPH1185671A JP23739297A JP23739297A JPH1185671A JP H1185671 A JPH1185671 A JP H1185671A JP 23739297 A JP23739297 A JP 23739297A JP 23739297 A JP23739297 A JP 23739297A JP H1185671 A JPH1185671 A JP H1185671A
Authority
JP
Japan
Prior art keywords
transfer
register
address
dma
memory access
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
JP23739297A
Other languages
Japanese (ja)
Inventor
Toshihiro Abe
俊広 阿部
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP23739297A priority Critical patent/JPH1185671A/en
Publication of JPH1185671A publication Critical patent/JPH1185671A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily restart direct memory access(DMA) transfer from a following address after the DMA transfer is interrupted by forced end or the like by switching the selection of whether the transfer is to be restarted or not while using the address of a transfer resource just after the interruption of transfer, the address of the transfer destination and the number of remaining transfer bytes. SOLUTION: When transferring data for first one transfer unit by restarting DMA transfer after the temporary interruption, a switch 20 is turned on in its read cycle, and the starting address of the transfer source held in a SARL 8 is outputted. A transfer source memory 2 is accessed while using this starting address of the transfer source, and the data for one transfer unit are read from the starting address of the transfer source in the transfer source memory 2. Therefore, when a DMA permit bit and a DMA request flag are set after the DMA transfer is interrupted in the middle by the forced end or the like, the DMA transfer is restarted from the next transfer address of interruption without resetting a DMA transfer parameter.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、メモリ間で大量
かつ高速にデータのやりとりを必要とする、プリンタ、
複写機、FAXなどのOA(オフィス・オートメーショ
ン)機器を制御する際、CPU(中央演算処理装置)を
介さずにそのデータの転送を制御する、マイクロコンピ
ュータなどに搭載されるダイレクト・メモリ・アクセス
(以下、DMAという)コントローラに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer, which requires a large amount of high-speed data exchange between memories.
When controlling OA (office automation) equipment such as a copying machine and a facsimile, direct memory access (e.g., a microcomputer) that controls the transfer of data without the intervention of a central processing unit (CPU). (Hereinafter referred to as DMA) controller.

【0002】[0002]

【従来の技術】図6および図7は従来のDMAコントロ
ーラの動作を示す説明図であり、図6には最初の転送サ
イクルにおけるDMAコントローラの動作が示され、図
7には2回目以降の転送サイクルにおけるDMAコント
ローラの基本的な動作が示されている。なお、図6
(a)および図7(a)には読み出しサイクルの動作に
ついて、図6(b)および図7(b)には書き込みサイ
クルの動作について、それぞれ示されている。これらの
図において、1はDMAコントローラ、2は転送元メモ
リ、3は転送先メモリである。4は転送元アドレスレジ
スタ、5は転送先アドレスレジスタ、6は転送カウンタ
レジスタであり、7は転送元アドレスレジスタ4のレジ
スタ部(以下、SARという)、8はラッチ部(以下、
SARLという)、9は転送先アドレスレジスタ5のレ
ジスタ部(以下、DARという)、10はラッチ部(以
下、DARLという)、11は転送カウンタレジスタ6
のレジスタ部(以下、TCRという)、12はラッチ部
(以下、TCRLという)である。さらに、13はイン
クリメンタ/デクリメンタ、14はデクリメンタ、15
はDMAラッチである。
2. Description of the Related Art FIGS. 6 and 7 are explanatory diagrams showing the operation of a conventional DMA controller. FIG. 6 shows the operation of a DMA controller in a first transfer cycle, and FIG. The basic operation of the DMA controller in a cycle is shown. FIG.
FIGS. 7A and 7A show the operation in the read cycle, and FIGS. 6B and 7B show the operation in the write cycle. In these figures, 1 is a DMA controller, 2 is a transfer source memory, and 3 is a transfer destination memory. 4 is a transfer source address register, 5 is a transfer destination address register, 6 is a transfer counter register, 7 is a register portion (hereinafter referred to as SAR) of the transfer source address register 4, and 8 is a latch portion (hereinafter, referred to as SAR).
SARL), 9 is a register section (hereinafter, referred to as DAR) of the transfer destination address register 5, 10 is a latch section (hereinafter, referred to as DARL), and 11 is a transfer counter register 6
, A latch unit (hereinafter, TCRL). Further, 13 is an incrementer / decrementer, 14 is a decrementer, 15
Is a DMA latch.

【0003】次に動作について説明する。DMA許可状
態でDMA要求が入ると、DMAコントローラ1はDM
A転送を開始する。転送元メモリ2と転送先メモリ3と
の間で大量のデータを高速に転送するために、DMAコ
ントローラ1にてDMA転送を行う場合、まず、転送元
メモリ2の転送元開始番地、転送先メモリ3の転送先開
始番地、および転送バイト数を、転送元アドレスレジス
タ4、転送先アドレスレジスタ5、あるいは転送カウン
タレジスタ6に指定し、その値をそれぞれのSAR7、
DAR9、あるいはTCR11に書き込むとともに、そ
れぞれのSARL8、DARL10、あるいはTCRL
12に保持する。
Next, the operation will be described. When a DMA request is input in the DMA enabled state, the DMA controller 1
A transfer is started. When performing a DMA transfer by the DMA controller 1 in order to transfer a large amount of data between the transfer source memory 2 and the transfer destination memory 3 at a high speed, first, a transfer source start address of the transfer source memory 2 and a transfer destination memory 3 is specified in the source address register 4, the destination address register 5, or the transfer counter register 6, and the values are respectively assigned to the SAR 7,
Write to the DAR9 or TCR11, and write the respective SARL8, DARL10, or TCRL.
12 is held.

【0004】ここで、最初の1転送単位のデータを転送
するには、まず、読み出しサイクルにおいて、図6
(a)に(1)で示すように、SARL8に保持されて
いる転送元開始番地を用いて転送元メモリ2をアクセス
し、転送元メモリ2の当該転送元開始番地から読み出し
た1転送単位のデータを、同図に(2)で示すように、
DMAラッチ15に送って一時的に保持する。その時、
TCRL12に保持されていた転送バイト数が、同図に
(3)で示すように、デクリメンタ14に送られて更新
され、同図に(4)で示すように、このデクリメンタ1
4で更新された値が、転送するデータの残りのバイト数
としてTCR11に格納される。また同様に、同図に
(5)で示すように、SARL8に保持されていた転送
元開始番地がインクリメンタ/デクリメンタ13に送ら
れて更新され、このインクリメンタ/デクリメンタ13
で更新された値が転送元番地として、同図に(6)で示
すようにSAR7に格納される。
Here, in order to transfer the data of the first transfer unit, first, in a read cycle, FIG.
As shown in (1) in (a), the transfer source memory 2 is accessed using the transfer source start address held in the SARL 8, and one transfer unit read from the transfer source start address of the transfer source memory 2 is read. As shown by (2) in FIG.
The data is sent to the DMA latch 15 and temporarily held. At that time,
The number of transfer bytes held in the TCRL 12 is sent to the decrementer 14 as shown by (3) in the figure and updated, and as shown by (4) in this figure, this decrementer 1
The value updated in 4 is stored in the TCR 11 as the number of remaining bytes of the data to be transferred. Similarly, as shown by (5) in the figure, the transfer source start address held in the SARL 8 is sent to the incrementer / decrementer 13 and updated, and the incrementer / decrementer 13 is updated.
Is updated and stored in the SAR 7 as the transfer source address, as indicated by (6) in FIG.

【0005】次に書き込みサイクルにおいて、図6
(b)に(1)で示すように、DARL10に保持され
ている転送先開始番地を用いて転送先メモリ3をアクセ
スし、転送元メモリ2の前記転送元開始番地から読み出
されて、DMAラッチ15に一時的に保持されていた1
転送単位のデータを、同図に(2)で示すように、転送
先メモリ3の指定された転送先開始番地に書き込む。そ
の時、同図に(3)で示すように、DARL10に保持
されていた転送先開始番地がインクリメンタ/デクリメ
ンタ13に送られて更新され、このインクリメンタ/デ
クリメンタ13で更新された値が転送先番地として、同
図に(4)で示すようにDAR9に格納される。
Next, in a write cycle, FIG.
As shown in (1) in (b), the transfer destination memory 3 is accessed using the transfer start address held in the DARL 10, and is read from the transfer start address of the transfer source memory 2 and the DMA is read. 1 temporarily held by the latch 15
The data in the transfer unit is written to the specified transfer destination start address in the transfer destination memory 3 as shown by (2) in FIG. At this time, as shown by (3) in the figure, the transfer destination start address held in the DARL 10 is sent to the incrementer / decrementer 13 to be updated, and the value updated by the incrementer / decrementer 13 is transferred to the transfer destination. The address is stored in the DAR 9 as shown by (4) in FIG.

【0006】また、2番目以降の1転送単位のデータを
転送する際には、まず読み出しサイクルにおいて、図7
(a)に(1)で示すように、SAR7に保持されてい
る転送元番地を用いて転送元メモリ2をアクセスし、転
送元メモリ2の当該転送元番地から読み出した1転送単
位のデータを、同図に(2)で示すように、DMAラッ
チ15に送って一時的に保持する。その時、TCR11
に保持されている転送するデータの残りのバイト数が、
同図に(3)で示すようにデクリメンタ14によって更
新され、SAR7に保持されている転送元番地が、同図
に(4)で示すように、インクリメンタ/デクリメンタ
13によって更新される。
When transferring the data of the second transfer unit and thereafter in one transfer unit, first, in the read cycle, the data shown in FIG.
As shown by (1) in (a), the source memory 2 is accessed using the source address held in the SAR 7, and the data of one transfer unit read from the source address of the source memory 2 is read. As shown by (2) in the figure, the data is sent to the DMA latch 15 and temporarily stored. At that time, TCR11
The remaining number of bytes of data to be transferred held in
The transfer source address which is updated by the decrementer 14 as shown by (3) in the drawing and is held in the SAR 7 is updated by the incrementer / decrementer 13 as shown by (4) in the drawing.

【0007】次に書き込みサイクルにおいて、図7
(b)に(1)で示すように、DAR9に保持されてい
る転送先番地を用いて転送先メモリ3をアクセスし、転
送元メモリ2の前記転送元番地から読み出されて、DM
Aラッチ15に一時的に保持されている1転送単位のデ
ータを、同図に(2)で示すように、転送先メモリ3の
指定された転送先番地に書き込む。その時、DAR9に
保持されている転送先番地が、同図に(3)で示すよう
に、インクリメンタ/デクリメンタ13によって更新さ
れる。なお、当該DMA転送の終了は、TCR11に保
持されている残りの転送バイト数が、デクリメンタ14
によるデクリメントによって“0”になったことで検出
される。
Next, in a write cycle, FIG.
As shown in (1) in (b), the transfer destination memory 3 is accessed using the transfer destination address held in the DAR 9, and is read from the transfer source address of the transfer source memory 2 and the DM is read.
The data of one transfer unit temporarily held in the A latch 15 is written to the specified transfer destination address of the transfer destination memory 3 as shown by (2) in FIG. At that time, the transfer destination address held in the DAR 9 is updated by the incrementer / decrementer 13, as shown by (3) in FIG. When the DMA transfer is completed, the remaining transfer byte number held in the TCR 11 becomes equal to the decrementer 14
Is detected by having become "0" by the decrement by.

【0008】DMA転送の正常終了時、および強制終了
時において、SARL8、DARL10、TCRL12
は、転送前に最初に書き込んだ、転送元メモリ2の転送
元開始番地、転送先メモリ3の転送先開始番地、および
転送バイト数の値を保持している。したがって、DMA
転送を最初から再起動したい場合、それらの値の再設定
は不要である。
When the DMA transfer ends normally and when the DMA transfer is forcibly ended, the SARL8, DARL10, TCRL12
Holds the values of the transfer source start address of the transfer source memory 2, the transfer destination start address of the transfer destination memory 3, and the number of transfer bytes, which are written first before the transfer. Therefore, DMA
If you want to restart the transfer from the beginning, you do not need to reset those values.

【0009】また、強制終了した後、その続きの番地か
らDMA転送再開したい場合、一度転送元アドレスレジ
スタ4、転送先アドレスレジスタ5、および転送カウン
タレジスタ6の内容を読み出して、その値を再度、転送
元アドレスレジスタ4、転送先アドレスレジスタ5、お
よび転送カウンタレジスタ6にそれぞれ再度書き込むと
いう作業が必要になる。
When it is desired to resume the DMA transfer from the subsequent address after the forced termination, the contents of the transfer source address register 4, the transfer destination address register 5, and the transfer counter register 6 are read once, and the values are read again. It is necessary to rewrite the source address register 4, the destination address register 5, and the transfer counter register 6 again.

【0010】すなわち、強制終了後、転送元アドレスレ
ジスタ4、転送先アドレスレジスタ5、および転送カウ
ンタレジスタ6の内容を読み出すと、SAR7、DAR
9、TCR11の値、すなわち、次に転送を行う予定だ
った転送元番地、転送先番地および残りの転送バイト数
が読み出せる。これを、転送元アドレスレジスタ4、転
送先アドレスレジスタ5、および転送カウンタレジスタ
6のそれぞれに書き込むと、SAR7、DAR9、TC
R11と同時に、SARL8、DARL10、TCRL
12にも書き込まれる。この状態でDMA許可ビットお
よびDMA要求フラグをセットすると、強制終了前に転
送した番地の続きからデータの転送を再開することがで
きる。
That is, after the forced termination, when the contents of the transfer source address register 4, the transfer destination address register 5, and the transfer counter register 6 are read, SAR7, DAR
9. The value of the TCR 11, that is, the source address, the destination address, and the remaining number of bytes to be transferred next, can be read. When this is written in each of the transfer source address register 4, the transfer destination address register 5, and the transfer counter register 6, SAR7, DAR9, TC
At the same time as R11, SARL8, DARL10, TCRL
12 is also written. If the DMA permission bit and the DMA request flag are set in this state, the data transfer can be resumed from the continuation of the address transferred before the forced termination.

【0011】なお、このような従来のDMAコントロー
ラに関連する技術が記載されている文献としては、例え
ば特開平4−306754号公報などがある。
As a document describing a technique related to such a conventional DMA controller, there is, for example, Japanese Patent Application Laid-Open No. 4-306754.

【0012】[0012]

【発明が解決しようとする課題】従来のDMAコントロ
ーラは以上のように構成されているので、転送元開始番
地、転送先開始番地、転送バイト数などの値を再設定し
なくともDMA転送を最初から再起動することは可能で
あるが、DMA転送の強制終了時に、再度その続きの番
地から転送を再開したい場合には、DMA許可ビットお
よびDMA要求フラグを再セットしただけではDMA転
送を再開することができないという課題があった。
Since the conventional DMA controller is configured as described above, DMA transfer can be performed first without resetting values such as a source start address, a destination start address, and the number of transfer bytes. Can be restarted, but when the DMA transfer is forcibly terminated, if it is desired to resume the transfer from the next address, the DMA transfer is restarted only by resetting the DMA permission bit and the DMA request flag. There was a problem that it was not possible.

【0013】この発明は上記ような課題を解決するため
になされたもので、強制終了などによりDMA転送を中
断した後、その続きの番地から容易にDMA転送を再開
することができるDMAコントローラを得ることを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and provides a DMA controller capable of easily resuming DMA transfer from a subsequent address after interrupting DMA transfer due to forced termination or the like. The purpose is to:

【0014】[0014]

【課題を解決するための手段】請求項1記載の発明に係
るDMAコントローラは、転送パラメータリセットビッ
トを持ち、この転送パラメータリセットビットの設定内
容に応じて、当該DMA転送開始時に設定された転送元
開始番地、転送先開始番地および転送バイト数を用いて
転送を再開するか、前記転送を中断した直後の転送元番
地、転送先番地および残りの転送バイト数を用いて転送
を再開するかの選択を切り替えるようにしたものであ
る。
According to a first aspect of the present invention, there is provided a DMA controller having a transfer parameter reset bit, and a transfer source set at the start of the DMA transfer in accordance with the setting of the transfer parameter reset bit. Selection of whether to restart the transfer using the start address, the transfer start address and the number of transfer bytes, or to restart the transfer using the transfer source address, transfer destination address and the remaining transfer byte number immediately after the transfer was interrupted Is switched.

【0015】請求項2記載の発明に係るDMAコントロ
ーラは、転送パラメータリセットビットを、DMA制御
のために当該DMAコントローラが備えている、DMA
制御レジスタの空きビットに配置するようにしたもので
ある。
According to a second aspect of the present invention, in the DMA controller, the DMA controller includes a transfer parameter reset bit for DMA control.
It is arranged in an empty bit of the control register.

【0016】請求項3記載の発明に係るDMAコントロ
ーラは、転送パラメータリセットビットの設定内容に応
じて、転送元番地、転送先番地、残りの転送バイト数な
どのDMA転送パラメータとして、SAR、DARおよ
びTCRの内容を出力するか、SARL、DARLおよ
びTCRLの内容を出力するかの選択を切り替えるよう
にしたものである。
According to the third aspect of the present invention, the DMA controller includes SAR, DAR and DMA as DMA transfer parameters such as a transfer source address, a transfer destination address, and the number of remaining transfer bytes in accordance with the setting contents of the transfer parameter reset bit. The selection of whether to output the contents of the TCR or the contents of the SARL, DARL, and TCRL is switched.

【0017】請求項4記載の発明に係るDMAコントロ
ーラは、転送パラメータリセットビットの設定内容に応
じて、DMA転送の終了処理サイクルにおいて、SA
R、DARおよびTCRがそれぞれ保持している値をS
ARL、DARLおよびTCRLへ転送するか否かを切
り替えるようにしたものである。
According to a fourth aspect of the present invention, in the DMA transfer termination processing cycle, the DMA controller according to the setting contents of the transfer parameter reset bit.
The values held by R, DAR and TCR are represented by S
This is to switch whether or not to transfer to ARL, DARL and TCRL.

【0018】請求項5記載の発明に係るDMAコントロ
ーラは、繰り返し転送モードのような所定のDMA転送
モードでは、常に、SAR、DARおよびTCRからD
MA転送パラメータの値を出力するようにしたものであ
る。
In the DMA controller according to the present invention, in a predetermined DMA transfer mode such as a repetitive transfer mode, the SAR, DAR, and TCR always output D to D.
This is to output the value of the MA transfer parameter.

【0019】[0019]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるD
MAコントローラの概念を示す説明図である。図におい
て、1はDMAコントローラであり、2はこのDMAコ
ントローラ1によってDMA転送が行われるデータが格
納されている転送元メモリ、3は転送元メモリ2から読
み出されたデータが転送される転送先メモリである。ま
た、DMAコントローラ1内において、4はDMA転送
開始時に転送元メモリ2の転送元開始番地が書き込ま
れ、転送元メモリ2の転送元番地の指定を行う転送元ア
ドレスレジスタである。5は同じくDMA転送開始時に
転送先メモリ3の転送先開始番地が書き込まれ、転送先
メモリ3の転送先番地の指定を行う転送先アドレスレジ
スタである。6は転送元メモリ2より転送先メモリ3に
転送されるデータの転送バイト数がDMA転送開始時に
書き込まれ、当該DMA転送の終了判定のための転送バ
イトの計数を行う転送カウンタレジスタである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 shows D according to Embodiment 1 of the present invention.
FIG. 3 is an explanatory diagram illustrating the concept of an MA controller. In the figure, 1 is a DMA controller, 2 is a transfer source memory storing data to be subjected to DMA transfer by the DMA controller 1, and 3 is a transfer destination to which data read from the transfer source memory 2 is transferred. Memory. In the DMA controller 1, reference numeral 4 denotes a transfer source address register in which a transfer start address of the transfer source memory 2 is written at the start of the DMA transfer, and which designates a transfer source address of the transfer source memory 2. Reference numeral 5 denotes a transfer destination address register in which the transfer start address of the transfer destination memory 3 is written at the start of the DMA transfer, and specifies the transfer destination address of the transfer destination memory 3. Reference numeral 6 denotes a transfer counter register in which the number of transfer bytes of the data transferred from the transfer source memory 2 to the transfer destination memory 3 is written at the start of the DMA transfer, and counts the transfer bytes for judging the end of the DMA transfer.

【0020】転送元アドレスレジスタ4内の7は、DM
Aコントローラ1が次に転送するデータの転送元番地を
保持しているSARであり、8はこのSAR7に最初に
書き込まれた値(転送元開始番地)を保持し続けるSA
RLである。転送元アドレスレジスタ4はこれらSAR
7およびSARL8にて形成されている。9は転送先ア
ドレスレジスタ5内のDARであって、DMAコントロ
ーラ1が次に転送するデータの転送先番地を保持してい
る。10はこのDAR9に最初に書き込まれた値(転送
先開始番地)を保持し続けるDARLである。転送先ア
ドレスレジスタ5はこれらDAR9およびDARL10
にて形成されている。転送カウンタレジスタ6内の、1
1はDMAコントローラ1が転送するデータの残りのバ
イト数を保持しているTCRであり、12はこのTCR
11に最初に書き込まれた値(転送バイト数)を保持し
続けるTCRLである。転送カウンタレジスタ6はこれ
らTCR11およびTCRL12にて形成されている。
7 in the transfer source address register 4 is DM
A SAR holding the transfer source address of the data to be transferred next by the A controller 1, and 8 is an SA that keeps holding the value (transfer source start address) first written in the SAR 7.
RL. The transfer source address register 4 stores these SARs
7 and SARL8. Reference numeral 9 denotes a DAR in the transfer destination address register 5, which holds a transfer destination address of data to be transferred next by the DMA controller 1. Reference numeral 10 denotes a DARL that keeps holding the value (transfer destination start address) first written in the DAR 9. The transfer destination address register 5 stores these DAR9 and DARL10
Is formed. 1 in the transfer counter register 6
Reference numeral 1 denotes a TCR holding the number of remaining bytes of data to be transferred by the DMA controller 1, and reference numeral 12 denotes a TCR.
11 is a TCRL that keeps holding the value (the number of transfer bytes) initially written to the address 11. The transfer counter register 6 is formed by these TCR11 and TCRL12.

【0021】さらに、DMAコントローラ1内におい
て、13は上記転送元アドレスレジスタ4のSAR7の
内容、および転送先アドレスレジスタ5のDAR9の内
容をインクリメントもしくはデクリメントして更新する
インクリメンタ/デクリメンタであり、14は転送カウ
ンタレジスタ6のTCR11の内容をデクリメントして
更新するデクリメンタである。15は転送元メモリ2よ
り読み出された転送元データを転送先メモリ3に転送す
るまでの間、一時的に保持しておくためのDMAラッチ
である。なお、これら各部は図6および図7に同一符号
を付した従来のそれらと同等のものである。
Further, in the DMA controller 1, reference numeral 13 denotes an incrementer / decrementer for updating the contents of the SAR 7 of the transfer source address register 4 and the contents of the DAR 9 of the transfer destination address register 5 by incrementing or decrementing them. Is a decrementer for decrementing and updating the contents of the TCR 11 of the transfer counter register 6. Reference numeral 15 denotes a DMA latch for temporarily holding the transfer source data read from the transfer source memory 2 until the transfer source data is transferred to the transfer destination memory 3. These components are the same as those in the related art, which are denoted by the same reference numerals in FIGS.

【0022】なお、20は転送元アドレスレジスタ4の
SARL8の保持内容の、転送元メモリ2およびインク
リメンタ/デクリメンタ13への転送をオン/オフする
スイッチ、21は転送元アドレスレジスタ4のSAR7
の保持内容の、転送元メモリ2およびインクリメンタ/
デクリメンタ13への転送をオン/オフするスイッチで
あり、22はインクリメンタ/デクリメンタ13におい
てインクリメントあるいはデクリメントされた転送元番
地の、SAR7への転送をオン/オフするスイッチであ
る。23は転送カウンタレジスタ6のTCRL12の保
持内容の、デクリメンタ14への転送をオン/オフする
スイッチ、24は転送カウンタレジスタ6のTCR11
の保持内容の、デクリメンタ14への転送をオン/オフ
するスイッチであり、25はデクリメンタ14において
デクリメントされた残りの転送バイト数の、TCR11
への転送をオン/オフするスイッチである。
Reference numeral 20 denotes a switch for turning on / off the transfer of the contents held in the SARL 8 of the transfer source address register 4 to the transfer source memory 2 and the incrementer / decrementer 13. Reference numeral 21 denotes the SAR 7 of the transfer source address register 4.
Source memory 2 and incrementer /
A switch 22 turns on / off the transfer to the decrementer 13, and a switch 22 turns on / off the transfer of the transfer source address incremented or decremented by the increment / decrementer 13 to the SAR 7. Reference numeral 23 denotes a switch for turning on / off the transfer of the contents held in the TCRL 12 of the transfer counter register 6 to the decrementer 14, and reference numeral 24 denotes the TCRS 11 of the transfer counter register 6.
Is a switch for turning on / off the transfer of the contents held in the decrementer 14 to the decrementer 14, and 25 is the TCR11 of the remaining transfer byte number decremented by the decrementer 14.
This is a switch for turning on / off the transfer to the server.

【0023】さらに、26は転送元メモリ2より読み出
されたデータの、転送元メモリ2からDMAラッチ15
への転送をオン/オフするスイッチであり、27は転送
先メモリ3に書き込まれるデータの、DMAラッチ15
から転送先メモリ3への転送をオン/オフするスイッチ
である。28は転送先アドレスレジスタ5のDARL1
0の保持内容の、転送先メモリ3およびインクリメンタ
/デクリメンタ13への転送をオン/オフするスイッ
チ、29は転送先アドレスレジスタ5のDAR9の保持
内容の、転送先メモリ3およびインクリメンタ/デクリ
メンタ13への転送をオン/オフするスイッチであり、
30はインクリメンタ/デクリメンタ13においてイン
クリメントあるいはデクリメントされた転送先番地の、
DAR9への転送をオン/オフするスイッチである。
Further, reference numeral 26 denotes a DMA latch 15 for transferring data read from the transfer source memory 2 to the transfer source memory 2.
A switch 27 for turning on / off the transfer to the transfer destination memory 3;
A switch for turning on / off the transfer from the to the transfer destination memory 3. 28 is DARL1 of the transfer destination address register 5
A switch for turning on / off the transfer of the contents held in the DAR 9 of the transfer destination address register 5 to the transfer destination memory 3 and the increment / decrementer 13. Switch to turn on / off the transfer to
Reference numeral 30 denotes a transfer destination address incremented or decremented by the incrementer / decrementer 13.
A switch for turning on / off transfer to DAR9.

【0024】また、図2は転送パラメータリセットビッ
トが配置されたDMA制御レジスタを示す説明図であ
る。図において、40がそのDMA制御レジスタであ
り、DMAコントローラ1は通常、DMA転送を制御す
るレジスタとしてこのDMA制御レジスタ40を備えて
いる。41はこのDMA制御レジスタ40になにも配置
されていない空きビットがある場合に、その空きビット
に配置された転送パラメータリセットビットである。な
お、DMA制御レジスタ40に空きビットがない場合に
は、この転送パラメータリセットビット41は別のレジ
スタの中の1ビットに配置される。転送中断直後の転送
元番地、転送先番地、残りの転送バイト数などのDMA
転送パラメータをリセットして、転送元アドレスレジス
タ4、転送先アドレスレジスタ5、転送カウンタレジス
タ6にDMA転送開始時に設定された転送元開始番地、
転送先開始番地、転送バイト数を用いて中断されていた
DMA転送を再開する場合には、この転送パラメータリ
セットビット41に“0”を設定し、転送中断直後のD
MA転送パラメータをリセットせずにそのまま用いてD
MA転送を再開する場合には、この転送パラメータリセ
ットビット41に“1”を設定する。
FIG. 2 is an explanatory diagram showing a DMA control register in which a transfer parameter reset bit is arranged. In the figure, reference numeral 40 denotes the DMA control register, and the DMA controller 1 usually has the DMA control register 40 as a register for controlling the DMA transfer. Reference numeral 41 denotes a transfer parameter reset bit allocated to the empty bit when there is an empty bit in the DMA control register 40. If there is no empty bit in the DMA control register 40, the transfer parameter reset bit 41 is arranged in one bit in another register. DMA such as transfer source address, transfer destination address, and remaining transfer byte number immediately after transfer interruption
The transfer parameters are reset, and the transfer source address, transfer destination address register 5, and transfer counter register 6 set the transfer source start address set at the start of the DMA transfer,
When resuming the interrupted DMA transfer using the transfer destination start address and the number of transfer bytes, the transfer parameter reset bit 41 is set to “0”, and the D immediately after the transfer is interrupted is set.
Using MA transfer parameters without resetting
To restart the MA transfer, the transfer parameter reset bit 41 is set to "1".

【0025】次に動作について説明する。DMA許可ビ
ットおよびDMA要求フラグがセットされて、DMA許
可状態でDMA要求が入ると、DMAコントローラ1は
DMA転送を開始し、まず、転送元メモリ2の転送元開
始番地、転送先メモリ3の転送先開始番地、およびDM
A転送すべきデータの転送バイト数を、転送元アドレス
レジスタ4、転送先アドレスレジスタ5、あるいは転送
カウンタレジスタ6にそれぞれ指定する。転送元アドレ
スレジスタ4では指定された転送元開始番地をSAR7
に書き込んで、その値をSARL8に保持する。同様
に、転送先アドレスレジスタ5では指定された転送先開
始番地をDAR9に書き込んで、その値をDARL10
に保持し、転送カウンタレジスタ6では指定された転送
バイト数をTCR11に書き込んで、その値TCRL1
2に保持する。
Next, the operation will be described. When the DMA permission bit and the DMA request flag are set and a DMA request is input in the DMA permission state, the DMA controller 1 starts the DMA transfer, and firstly, the transfer source start address of the transfer source memory 2 and the transfer of the transfer destination memory 3. First starting address, and DM
A The number of transfer bytes of data to be transferred is designated in the transfer source address register 4, the transfer destination address register 5, or the transfer counter register 6, respectively. The transfer source address register 4 stores the specified transfer source start address in SAR7.
And the value is held in SARL8. Similarly, the transfer destination address register 5 writes the designated transfer start address into DAR9, and stores the value in DARL10.
And the transfer counter register 6 writes the specified number of transfer bytes into the TCR 11, and the value TCRL1
Hold at 2.

【0026】ここで、1転送単位のデータを転送すると
きの当該DMAコントローラ1の基本的な動作は、読み
出しサイクルにて転送元メモリ2から読み出したデータ
をDMAラッチ15に一時的に保持しておき、その後、
書き込みサイクルにおいてそのDMAラッチ15の内容
を転送先メモリへ書き込むという、2バスサイクル転送
が行われている。
Here, the basic operation of the DMA controller 1 when transferring data in one transfer unit is that data read from the transfer source memory 2 in the read cycle is temporarily held in the DMA latch 15. And then
In the write cycle, the contents of the DMA latch 15 are written to the transfer destination memory, and two-bus cycle transfer is performed.

【0027】まず、転送パラメータリセットビット41
が“0”に設定されている場合について考える。DMA
転送を一旦中断した後、それを再開して最初の1転送単
位のデータを転送する際、その読み出しサイクルにおい
ては、スイッチ20がオンとなってSARL8に保持さ
れている転送元開始番地が出力される。この転送元開始
番地を用いて転送元メモリ2をアクセスし、転送元メモ
リ2の当該転送元開始番地から1転送単位のデータを読
み出す。その時、スイッチ26がオンとなって、この転
送元メモリ2から読み出されたデータがDMAラッチ1
5に送られ、そこに一時的に保持される。
First, the transfer parameter reset bit 41
Is set to “0”. DMA
When the transfer is suspended and then resumed to transfer the data of the first transfer unit, in the read cycle, the switch 20 is turned on and the transfer source start address held in the SARL 8 is output. You. The transfer source memory 2 is accessed using the transfer source start address, and data of one transfer unit is read from the transfer source start address of the transfer source memory 2. At that time, the switch 26 is turned on, and the data read from the transfer source memory 2 is transferred to the DMA latch 1.
5 and temporarily stored there.

【0028】一方、SARL8から出力された転送元開
始番地はスイッチ20を介してインクリメンタ/デクリ
メンタ13にも送られ、その値がインクリメントもしく
はデクリメントされる。このインクリメンタ/デクリメ
ンタ13で転送元開始番地が更新されるとスイッチ22
がオンとなり、インクリメンタ/デクリメンタ13より
SAR7に送られて、転送元番地として格納される。ま
た、その時、スイッチ23もオンとなるため、TCRL
12に保持されていた転送バイト数がデクリメンタ14
に送られて更新され、その後、スイッチ25がオンする
と、このデクリメンタ14において更新された値が、転
送するデータの残りのバイト数としてTCR11に格納
される。
On the other hand, the transfer source start address output from the SARL 8 is also sent to the increment / decrementer 13 via the switch 20, and the value is incremented or decremented. When the transfer source start address is updated by the increment / decrementer 13, the switch 22
Is turned on, sent from the incrementer / decrementer 13 to the SAR 7 and stored as a transfer source address. At that time, the switch 23 is also turned on, so that TCRL
The number of transfer bytes held in 12 is decrementer 14
When the switch 25 is turned on, the value updated by the decrementer 14 is stored in the TCR 11 as the number of remaining bytes of data to be transferred.

【0029】次に書き込みサイクルでは、スイッチ28
がオンになり、さらにスイッチ27もオンとなる。スイ
ッチ28がオンになるとDARL10に保持されている
転送先開始番地が出力され、転送先メモリ3とインクリ
メンタ/デクリメンタ13に入力される。転送先メモリ
3はこの転送先開始番地を用いてアクセスされ、スイッ
チ27を介して送られてくる、DMAラッチ15に一時
的に保持されていた1転送単位のデータがその転送先開
始番地に書き込まれる。一方、DARL10より出力さ
れた転送先開始番地を受け取ったインクリメンタ/デク
リメンタ13は、その値をインクリメントもしくはデク
リメントして更新する。その後、スイッチ30がオンに
なると、このインクリメンタ/デクリメンタ13におい
て更新された値が転送先番地としてDAR9に格納され
る。
Next, in the write cycle, the switch 28
Is turned on, and the switch 27 is also turned on. When the switch 28 is turned on, the transfer destination start address held in the DARL 10 is output and input to the transfer destination memory 3 and the incrementer / decrementer 13. The transfer destination memory 3 is accessed using the transfer destination start address, and the data of one transfer unit temporarily held in the DMA latch 15 and transmitted via the switch 27 is written to the transfer start address. It is. On the other hand, the incrementer / decrementer 13 receiving the transfer destination start address output from the DARL 10 updates the value by incrementing or decrementing the value. Thereafter, when the switch 30 is turned on, the value updated in the incrementer / decrementer 13 is stored in the DAR 9 as a transfer destination address.

【0030】また、2番目以降の1転送単位のデータを
転送する際の読み出しサイクルにおいては、スイッチ2
1がオンとなってSAR7に保持されている転送元番地
が出力される。この転送元番地を用いて転送元メモリ2
をアクセスし、転送元メモリ2の当該転送元番地から1
転送単位のデータを読み出す。その時、スイッチ26が
オンとなって、転送元メモリ2から読み出されたデータ
がDMAラッチ15に一時的に保持される。一方、SA
R7に保持されていた転送元番地がスイッチ21を介し
てインクリメンタ/デクリメンタ13にも送られてイン
クリメントもしくはデクリメントされる。このインクリ
メンタ/デクリメンタ13にて転送元番地が更新される
とスイッチ22がオンとなり、更新された転送元番地が
SAR7に送られて格納される。また、その時、スイッ
チ24もオンとなるため、TCR11に保持されていた
残りの転送バイト数がデクリメンタ14に送られて更新
され、その後、スイッチ25がオンすると、その更新さ
れた値がTCR11に格納される。
In the read cycle for transferring the second and subsequent data in one transfer unit, the switch 2
1 is turned on, and the transfer source address held in the SAR 7 is output. Using the transfer source address, the transfer source memory 2
From the transfer source address of the transfer source memory 2
Reads data in transfer units. At that time, the switch 26 is turned on, and the data read from the transfer source memory 2 is temporarily held in the DMA latch 15. Meanwhile, SA
The transfer source address held in R7 is also sent to the increment / decrementer 13 via the switch 21 and is incremented or decremented. When the transfer source address is updated by the increment / decrementer 13, the switch 22 is turned on, and the updated transfer source address is sent to the SAR 7 and stored. At this time, the switch 24 is also turned on, so that the remaining number of transfer bytes held in the TCR 11 is sent to the decrementer 14 and updated, and thereafter, when the switch 25 is turned on, the updated value is stored in the TCR 11. Is done.

【0031】次に書き込みサイクルでは、スイッチ29
がオンになり、さらにスイッチ27もオンとなる。転送
先メモリ3はこのスイッチ29を介してDARL10よ
り送られてくる転送先番地を用いてアクセスされ、DM
Aラッチ15に一時的に保持されていた1転送単位のデ
ータがスイッチ27を経由して転送先メモリ3に送ら
れ、その転送先番地に書き込まれる。その時、DARL
10より出力された転送先番地は、スイッチ28を介し
てインクリメンタ/デクリメンタ13にも入力され、そ
の値がインクリメントもしくはデクリメントされ、スイ
ッチ30がオンになればDAR9に格納される。
Next, in the write cycle, the switch 29
Is turned on, and the switch 27 is also turned on. The transfer destination memory 3 is accessed using the transfer destination address sent from the DARL 10 via the switch 29,
The data of one transfer unit temporarily held in the A latch 15 is sent to the transfer destination memory 3 via the switch 27, and written to the transfer destination address. At that time, DARL
The transfer destination address output from 10 is also input to the incrementer / decrementer 13 via the switch 28, the value of which is incremented or decremented, and stored in the DAR 9 when the switch 30 is turned on.

【0032】このため、強制終了などによってDMA転
送を途中で中断した後に、DMA許可ビットおよびDM
A要求フラグをセットすると、見かけ上、DMA転送パ
ラメータが一旦リセットされてDMA転送再開したよう
に動作する。図3はこの転送パラメータリセットビット
31が“0”に設定されている場合のデータの読み出し
順序を示す説明図である。図示のように、DMA転送再
開時には、当該DMA転送の開始時において最初に設定
された転送元開始番地より、転送元メモリ2のデータ読
み出しが開始される。なお、この転送パラメータリセッ
トビット41が“0”に設定されている場合の動作は、
従来のDMAコントローラの動作と同様である。
Therefore, after the DMA transfer is interrupted halfway due to forced termination or the like, the DMA permission bit and the DM
When the A request flag is set, it appears that the DMA transfer parameters are once reset and the DMA transfer is restarted. FIG. 3 is an explanatory diagram showing the data reading order when the transfer parameter reset bit 31 is set to "0". As shown in the figure, when the DMA transfer is restarted, data reading from the transfer source memory 2 is started from the transfer source start address set first at the start of the DMA transfer. The operation when the transfer parameter reset bit 41 is set to “0” is as follows.
This is the same as the operation of the conventional DMA controller.

【0033】次に、転送パラメータリセットビット41
が“1”に設定されている場合について考える。転送パ
ラメータリセットビット41が“1”のときには、スイ
ッチ20、スイッチ23およびスイッチ28は常時オフ
となり、スイッチ21、スイッチ24およびスイッチ2
9などが必要に応じてオン/オフする。そのため、転送
元アドレスレジスタ4からはSAR7に保持されている
転送元番地が、転送先アドレスレジスタ5からはDAR
9に保持されている転送先番地が常に出力され、転送カ
ウンタレジスタ6からは常にTCR11に保持されてい
る残りの転送バイト数が出力される。
Next, the transfer parameter reset bit 41
Is set to “1”. When the transfer parameter reset bit 41 is "1", the switches 20, 23 and 28 are always off, and the switches 21, 24 and 2
9 turns on / off as needed. Therefore, the source address stored in the SAR 7 is transmitted from the source address register 4 and the DAR is transmitted from the destination address register 5.
9 is always output, and the transfer counter register 6 always outputs the remaining number of transfer bytes held in the TCR 11.

【0034】したがって、中断されていたDMA転送の
再開時における、最初の1転送単位のデータを転送する
際の読み出しサイクルにおいても、スイッチ21がオン
となるため、転送元アドレスレジスタ4からはSAR7
に保持されているDMA転送中断直後の転送元番地が出
力される。この転送元番地を用いて転送元メモリ2をア
クセスして、転送元メモリ2の当該転送元番地から1転
送単位のデータを読み出す。スイッチ26がオンになれ
ば、その読み出されたデータが当該スイッチ26を介し
てDMAラッチ15に送られ、一時的に保持される。S
AR7に保持されていた転送元番地はスイッチ21を介
してインクリメンタ/デクリメンタ13にも送られてそ
の値が更新され、スイッチ22がオンになると、その更
新された転送元番地がSAR7に格納される。また、そ
の時、スイッチ24もオンとなるため、TCR11に保
持されていた残りの転送バイト数がデクリメンタ14に
送られて更新される。その後、スイッチ25がオンする
と、このデクリメンタ14にて更新された残りの転送バ
イト数がTCR11に格納される。
Therefore, the switch 21 is turned on also in the read cycle for transferring the data of one transfer unit at the time of resuming the interrupted DMA transfer.
Is output immediately after the DMA transfer is interrupted. The transfer source memory 2 is accessed using the transfer source address, and data of one transfer unit is read from the transfer source address of the transfer source memory 2. When the switch 26 is turned on, the read data is sent to the DMA latch 15 via the switch 26 and is temporarily held. S
The transfer source address held in the AR 7 is also sent to the incrementer / decrementer 13 via the switch 21 and its value is updated. When the switch 22 is turned on, the updated transfer source address is stored in the SAR 7. You. At this time, since the switch 24 is also turned on, the remaining number of transfer bytes held in the TCR 11 is sent to the decrementer 14 and updated. Thereafter, when the switch 25 is turned on, the remaining transfer byte number updated by the decrementer 14 is stored in the TCR 11.

【0035】また、中断されていたDMA転送の再開時
における、最初の1転送単位のデータを転送する際の書
き込みサイクルでも、スイッチ29とスイッチ27がオ
ンとなるため、転送先アドレスレジスタ5からはDAR
9に保持されているDMA転送中断直後の転送先番地が
出力される。転送先メモリ3はこの転送元番地を用いて
アクセスされ、DMAラッチ15からスイッチ27を介
して受け取った1転送単位のデータがその転送先番地に
書き込まれる。なお、SAR7に保持されていた転送元
番地はスイッチ21を介してインクリメンタ/デクリメ
ンタ13にも送られてその値が更新され、スイッチ30
がオンになるとそれがDAR9に格納される。
In addition, when the DMA transfer which has been interrupted is resumed, the switch 29 and the switch 27 are turned on even in the write cycle for transferring the data of the first transfer unit. DAR
9, the transfer destination address immediately after the DMA transfer is interrupted is output. The transfer destination memory 3 is accessed using the transfer source address, and the data of one transfer unit received from the DMA latch 15 via the switch 27 is written to the transfer destination address. The transfer source address held in the SAR 7 is also sent to the incrementer / decrementer 13 via the switch 21 to update the value, and the switch 30
Is turned on and stored in DAR9.

【0036】なお、中断されていたDMA転送の再開時
における、2番目以降の1転送単位のデータを転送する
際の読み出しサイクルおよび書き込みサイクルも、上記
最初の1転送単位のデータを転送する際の読み出しサイ
クルおよび書き込みサイクルと同様に動作する。
When the interrupted DMA transfer is resumed, the read cycle and the write cycle for transferring the data of the second and subsequent one transfer units are also the same as those for transferring the data of the first one transfer unit. It operates similarly to the read cycle and the write cycle.

【0037】このため、強制終了などによってDMA転
送を途中で中断した後に、DMA許可ビットおよびDM
A要求フラグをセットした場合、DMA転送はDMA転
送パラメータはリセットされずに、中断した次の転送番
地より再開される。図4はこの転送パラメータリセット
ビット41が“1”に設定されている場合のデータの読
み出し順序を示す説明図である。図示のように、DMA
転送再開時には、当該DMA転送の中断時にSAR7に
保持された転送元番地より、転送元メモリ2のデータ読
み出しが開始される。なお、このDMA転送は、TCR
11に保持されている残りの転送バイト数が“0”にな
ると終了する。
Therefore, after the DMA transfer is interrupted halfway due to forced termination or the like, the DMA permission bit and the DM
When the A request flag is set, the DMA transfer is restarted from the next interrupted transfer address without resetting the DMA transfer parameters. FIG. 4 is an explanatory diagram showing the data reading order when the transfer parameter reset bit 41 is set to "1". As shown, the DMA
When the transfer is resumed, data reading from the transfer source memory 2 is started from the transfer source address held in the SAR 7 when the DMA transfer is interrupted. Note that this DMA transfer is performed by TCR
When the number of remaining transfer bytes held in 11 becomes “0”, the process ends.

【0038】また、転送パラメータリセットビット41
を、最初から“1”に設定しておいた場合には、転送元
アドレスレジスタ4に書き込んだ転送元開始番地の値
は、従来のDMAコントローラと同様に、SAR7およ
びSARL8に同時に書き込まれるが、当該DMA転送
の最初の1転送単位のデータの転送も含めて全て、SA
R7からのみ転送元番地が読み出される。
The transfer parameter reset bit 41
Is set to “1” from the beginning, the value of the transfer source start address written in the transfer source address register 4 is simultaneously written to the SAR 7 and the SARL 8 as in the conventional DMA controller. All of the DMA transfer including the transfer of the data of one transfer unit is performed in SA
The transfer source address is read only from R7.

【0039】以上のように、この実施の形態1によれ
ば、DMA転送を強制終了した後であっても、転送パラ
メータリセットビット41の内容を操作することによ
り、転送再開時にSARL8およびDARL10に保持
されている転送元開始番地および転送先開始番地を用い
るか、SAR7およびDAR9に保持されている転送元
番地および転送先番地を用いるかの切り替えが可能とな
り、従来どおり転送開始前に設定した番地からDMA転
送を再開するか、あるいは保持されている転送中断直後
の番地からDMA転送を再開するかの選択を容易に行う
ことができる効果がある。
As described above, according to the first embodiment, even after the DMA transfer is forcibly terminated, the contents of the transfer parameter reset bit 41 are manipulated to retain the data in the SARL 8 and the DARL 10 when the transfer is resumed. It is possible to switch between the use of the transfer source start address and the transfer start address, or the use of the transfer source address and the transfer destination address held in the SAR7 and the DAR9. There is an effect that it is easy to select whether to restart the DMA transfer or to restart the DMA transfer from the address immediately after the interrupted transfer.

【0040】実施の形態2.上記実施の形態1では、転
送元アドレスレジスタ4などのレジスタ部およびラッチ
部とインクリメンタ/デクリメンタ13などとの間のア
ドレス値等のやりとりの順序を変える場合について示し
たが、転送中断時に、転送元アドレスレジスタ4などの
レジスタ部とラッチ部との間でアドレス値等をやりとり
するように構成してもよい。
Embodiment 2 In the first embodiment, the case where the order of exchange of address values and the like between the register unit and the latch unit such as the transfer source address register 4 and the incrementer / decrementer 13 and the like is changed is described. An address value or the like may be exchanged between a register unit such as the original address register 4 and a latch unit.

【0041】図5はそのようなこの発明の実施の形態2
によるDMAコントローラの概念を示す説明図である。
ここで、この図5においては、転送元アドレスレジスタ
4に関連する部分を中心に示しており、転送先アドレス
レジスタ5や転送カウンタレジスタ6に関連した部分に
ついてはその図示を省略している。図において、31は
転送パラメータリセットビット41の設定値に応じて、
転送元アドレスレジスタ4のSAR7の保持内容の、S
ARL8への転送をオン/オフするスイッチである。な
お、その他の部分は、図1に同一符号を付して示した実
施の形態1におけるそれらに相当する部分であるため、
その説明は省略する。
FIG. 5 shows such a second embodiment of the present invention.
FIG. 3 is an explanatory diagram showing a concept of a DMA controller according to the first embodiment.
Here, FIG. 5 mainly shows a portion related to the transfer source address register 4, and omits illustration of a portion related to the transfer destination address register 5 and the transfer counter register 6. In the figure, reference numeral 31 denotes a transfer parameter reset bit 41 according to a set value thereof.
S of the content held in SAR7 of transfer source address register 4
A switch for turning on / off the transfer to the ARL8. The other parts are the parts corresponding to those in the first embodiment shown in FIG.
The description is omitted.

【0042】次に動作について説明する。図5に示すよ
うに、転送元アドレスレジスタ4のSAR7からSAR
L8に転送元番地を送る経路を設けてその経路上にスイ
ッチ31を配し、そのスイッチ31を転送パラメータリ
セットビットが“1”の場合、DMA転送の強制終了時
あるいは正常終了時に、転送終了処理サイクルにおいて
このスイッチ31をオンにする。一方、転送パラメータ
リセットビットが“0”の場合には、DMA転送の強制
終了時あるいは正常終了時に、転送終了処理サイクルに
おいてこのスイッチ31はオフのままとする。
Next, the operation will be described. As shown in FIG. 5, SAR7 to SAR of transfer source address register 4
A path for transmitting the transfer source address is provided in L8, and a switch 31 is arranged on the path. When the transfer parameter reset bit is "1", the transfer end processing is performed when the DMA transfer is forcibly terminated or normally terminated. The switch 31 is turned on in the cycle. On the other hand, when the transfer parameter reset bit is "0", this switch 31 remains off in the transfer end processing cycle when the DMA transfer is forcibly ended or normally ended.

【0043】このように、転送パラメータリセットビッ
ト41が“1”に設定されている場合、DMA転送の強
制終了時あるいは正常終了時に、転送終了処理サイクル
においてこのスイッチ31がオンとなるため、DMA転
送の中断直後にSAR7に保持されていた転送元番地が
このスイッチ31を経由してSARL8に送られ、そこ
に保持される。したがって、再度DMA許可ビットおよ
びDMA要求フラグがセットされて、中断されていたD
MA転送が再開されると、最初の1転送単位のデータを
転送する際の読み出しサイクルにおいて、スイッチ20
がオンとなってこのSARL8に転送されたDMA転送
中断直後の転送元番地が、転送元メモリ2とインクリメ
ンタ/デクリメンタ13に出力される。転送元メモリ2
はこの転送元番地によってアクセスされ、当該転送元番
地から読み出されたデータが、図示を省略したDMAラ
ッチに一時的に保持される。なお、この転送元番地はイ
ンクリメンタ/デクリメンタ13において更新され、ス
イッチ22がオンになると転送元番地がSAR7に格納
される。
As described above, when the transfer parameter reset bit 41 is set to "1", the switch 31 is turned on in the transfer end processing cycle at the time of forcibly terminating or normally terminating the DMA transfer. Immediately after the interruption, the transfer source address held in the SAR 7 is sent to the SARL 8 via this switch 31, and is held there. Therefore, the DMA permission bit and the DMA request flag are set again, and the suspended D
When the MA transfer is restarted, the switch 20 is switched in the read cycle when the data of the first transfer unit is transferred.
Is turned on, and the transfer source address transferred to the SARL 8 immediately after the DMA transfer is interrupted is output to the transfer source memory 2 and the increment / decrementer 13. Source memory 2
Is accessed by the transfer source address, and data read from the transfer source address is temporarily held in a DMA latch (not shown). The transfer source address is updated by the incrementer / decrementer 13, and when the switch 22 is turned on, the transfer source address is stored in the SAR7.

【0044】また、2番目以降の1転送単位のデータを
転送する際の読み出しサイクルにおいては、スイッチ2
1がオンとなってSAR7に保持されている転送元番地
が出力されるため、転送メモリ2の当該転送元番地より
読み出されたデータが、図示を省略したDMAラッチに
一時的に保持されるとともに、その転送元番地がインク
リメンタ/デクリメンタ13にて更新されてSAR7に
格納される。したがって、転送パラメータリセットビッ
ト41を“1”に設定しておけば、図4に示すように、
転送再開時には、当該DMA転送の中断時にSAR7に
保持された転送元番地より、転送元メモリ2のデータ読
み出しが開始される。
In the read cycle when transferring the second and subsequent data in one transfer unit, the switch 2
1 is turned on and the transfer source address stored in the SAR 7 is output, so that the data read from the transfer source address in the transfer memory 2 is temporarily stored in a DMA latch (not shown). At the same time, the transfer source address is updated by the incrementer / decrementer 13 and stored in the SAR 7. Therefore, if the transfer parameter reset bit 41 is set to “1”, as shown in FIG.
When the transfer is resumed, data reading from the transfer source memory 2 is started from the transfer source address held in the SAR 7 when the DMA transfer is interrupted.

【0045】そして、最終転送サイクルが終って当該D
MA転送が正常終了した後の転送終了処理サイクルにお
いて、再びスイッチ31をオンにして、SAR7に保持
されている転送元番地の値をSARL8に転送して保持
させる。
When the final transfer cycle is completed,
In the transfer end processing cycle after the MA transfer ends normally, the switch 31 is turned on again, and the value of the transfer source address held in the SAR 7 is transferred to the SARL 8 and held.

【0046】一方、転送パラメータリセットビット41
が“0”に設定されている場合、このスイッチ31はD
MA転送の強制終了時あるいは正常終了時の転送終了処
理サイクルにおいてもオンにはならないため、SARL
8には当該DMA転送開始時に設定された転送元開始番
地がそのまま保持されている。したがって、再度DMA
許可ビットおよびDMA要求フラグがセットされて、中
断されていたDMA転送が再開されると、図3に示すよ
うに、DMA転送中断直後の転送元番地からではなく、
従来のDMAコントローラと同様に、最初に設定された
転送元開始番地より転送元メモリ2のアクセスが行われ
る。
On the other hand, the transfer parameter reset bit 41
Is set to “0”, this switch 31
Since it is not turned on in the transfer end processing cycle at the time of forcible termination of MA transfer or normal termination, SARL
8 holds the transfer source start address set at the start of the DMA transfer. Therefore, once again DMA
When the permission bit and the DMA request flag are set and the interrupted DMA transfer is resumed, as shown in FIG. 3, instead of the transfer source address immediately after the DMA transfer is interrupted,
As in the conventional DMA controller, the access to the transfer source memory 2 is performed from the transfer source start address set first.

【0047】なお、転送先アドレスレジスタ5のDAR
9とDARL10との間、および転送カウンタレジスタ
6のTCR11とTCRL12との間には、上記スイッ
チ31と同等のスイッチが配置されており、それらがオ
ンすることによって、中断直前のレジスタ部の内容がラ
ッチ部に送られて保持される。
The DAR of the transfer destination address register 5
9 and DARL10, and between TCR11 and TCRL12 of the transfer counter register 6, switches equivalent to the above-described switch 31 are arranged. When these switches are turned on, the contents of the register section immediately before the interruption are changed. It is sent to the latch unit and held.

【0048】以上のように、この実施の形態2によれ
ば、転送パラメータリセットビット41を“0”に設定
しておくだけで、DMA転送再開のための、転送元番
地、転送先番地、残りの転送バイト数といったDMA転
送パラメータを、SAR7、DAR9、TCR11から
それぞれ読み出して、SARL8、DARL10、TC
RL12に再度書き込まなくても、DMA許可ビットお
よびDMA要求フラグを再度セットするだけで、転送を
中断した直後の番地からDMA転送を再開できる効果が
ある。
As described above, according to the second embodiment, only by setting the transfer parameter reset bit 41 to "0", the transfer source address, the transfer destination address and the remaining DMA transfer parameters such as the number of transfer bytes are read out from SAR7, DAR9, and TCR11,
Even if the data is not rewritten into the RL 12, the DMA transfer can be resumed from the address immediately after the transfer has been interrupted just by setting the DMA permission bit and the DMA request flag again.

【0049】実施の形態3.上記各実施の形態では、転
送パラメータリセットビット41を設け、その内容によ
ってDMA転送中断後の再スタート時に最初からDMA
転送をやり直すか、続きの番地から再開するかを指定す
るものについて示したが、DMA転送の特定のモードに
ついてのみ、中断した続きの番地からDMA転送を再開
するようにしてもよい。次に、そのようなこの発明の実
施の形態3によるDMAコントローラについて、図1を
参照しながら説明する。
Embodiment 3 In each of the above embodiments, the transfer parameter reset bit 41 is provided, and depending on the content, the DMA transfer is reset from the beginning when the DMA transfer is restarted.
Although a description has been given of a case where the transfer is restarted or a restart is performed from the next address, the DMA transfer may be restarted from the continued address where the DMA transfer is interrupted only in a specific mode of the DMA transfer. Next, such a DMA controller according to Embodiment 3 of the present invention will be described with reference to FIG.

【0050】通常、DMA転送のモードにはDMA要求
が入ると、メモリの1ブロックのデータを1回転送して
終了する単転送モード、メモリの1ブロックのデータを
繰り返し転送する繰り返し転送モードなどがある。単転
送モードの場合には、正常終了あるいは強制終了した
後、再度DMA許可ビットおよびDMA要求フラグをセ
ットしてDMA転送を再開する際、図1のスイッチ20
がオンとなるように構成する。これによって、当該DM
A転送開始時に最初に転送元アドレスレジスタ4に書き
込まれた転送元開始番地、および転送先アドレスレジス
タ5に書き込まれた転送先開始番地に基づくDMA転送
が再開される。
Normally, the DMA transfer mode includes a single transfer mode in which, when a DMA request is received, one transfer of data of one block of the memory is completed once, and a repetitive transfer mode in which data of one block of the memory is repeatedly transferred. is there. In the case of the single transfer mode, when the DMA transfer is resumed by setting the DMA permission bit and the DMA request flag again after normal termination or forced termination, the switch 20 shown in FIG.
Is turned on. Thereby, the DM
At the start of the A transfer, the DMA transfer based on the transfer source start address written in the transfer source address register 4 and the transfer destination start address written in the transfer destination address register 5 is restarted.

【0051】一方、繰り返し転送モードの場合には、強
制終了後(繰り返し転送の終了は強制終了による場合の
み)の再スタートの際、図1のスイッチ21がオンにな
るように構成する。これによって、強制終了した直後の
番地からDMA転送を再開することが可能となる。な
お、この場合、最初に転送元アドレスレジスタ4および
転送先アドレスレジスタ5に書き込んだ番地からDMA
転送をやり直したいときには、もう一度、最初に書き込
んだ転送元開始番地、転送先開始番地、転送バイト数
を、転送元アドレスレジスタ4、転送先アドレスレジス
タ5、転送カウンタレジスタ6のそれぞれに書き込む。
On the other hand, in the case of the repetitive transfer mode, the switch 21 of FIG. 1 is turned on at the time of restart after forced termination (only when repeated transfer is terminated by forced termination). This makes it possible to restart the DMA transfer from the address immediately after the forced termination. Note that, in this case, the DMA address starts from the address written in the transfer source address register 4 and the transfer destination address register 5 first.
When the transfer is to be performed again, the transfer source start address, the transfer destination start address, and the number of transfer bytes written first are written to the transfer source address register 4, the transfer destination address register 5, and the transfer counter register 6 again.

【0052】また、繰り返し転送モードにおいても、強
制終了後の再スタートの際、図1のスイッチ20がオン
となって、最初に転送元アドレスレジスタ4や転送先ア
ドレスレジスタ5に書き込んだ番地からDMA転送を再
開する『繰り返し転送0モード』と、図1のスイッチ2
1がオンとなって、強制終了した直後の番地からDMA
転送を再開する『繰り返し転送1モード』とに分けても
よい。
Also, in the repetitive transfer mode, when restarting after forced termination, the switch 20 of FIG. 1 is turned on, and the DMA is started from the address written in the transfer source address register 4 or the transfer destination address register 5 first. "Repeated transfer 0 mode" for restarting transfer, and switch 2 in FIG.
1 turns on and DMA starts from the address immediately after forced termination.
The transfer may be divided into the “repeated transfer 1 mode” in which the transfer is restarted.

【0053】なお、これらの転送モードの指定は、通
常、DMAモードレジスタのビットで指定する。
Incidentally, these transfer modes are usually specified by bits of a DMA mode register.

【0054】以上のように、この実施の形態3によれ
ば、中断していたDMA転送の再開時に、当該DMA転
送開始時に最初に設定した転送元開始番地および転送先
開始番地から再スタートするか、DMA転送中断直後の
転送元番地および転送先番地から再スタートするかを、
転送モード毎に指定して使い分けることが可能となる効
果がある。
As described above, according to the third embodiment, when resuming the interrupted DMA transfer, whether to restart from the transfer source start address and the transfer destination start address which were set first at the start of the DMA transfer. Whether to restart from the transfer source address and the transfer destination address immediately after the DMA transfer is interrupted,
There is an effect that it is possible to specify and use each transfer mode.

【0055】[0055]

【発明の効果】以上のように、この発明によれば、DM
A転送を強制終了した後の再スタート時に、中断した直
後の番地からDMA転送を再開したい場合に、当該DM
A転送開始時に設定された最初のDMA転送パラメータ
を用いてDMA転送を再開するか、転送中断直後のDM
A転送パラメータを用いてDMA転送を再開するかの選
択を、転送パラメータリセットビットの設定内容に応じ
て切り替えることが可能となり、DMA転送パラメータ
をSAR、DAR、TCRなどから一度読み出して、そ
れをSARL、DARL、TCRLなどへ再書き込みし
なくても済むようになるため、プログラム作成上の手間
が省け、プログラムもより容易に作成できるなどの効果
がある。
As described above, according to the present invention, the DM
When restarting the DMA transfer after forcibly terminating the A transfer, and wishing to restart the DMA transfer from the address immediately after the interruption,
A The DMA transfer is restarted using the first DMA transfer parameter set at the start of the A transfer, or the DM
The selection as to whether to restart the DMA transfer using the A transfer parameter can be switched according to the setting of the transfer parameter reset bit, and the DMA transfer parameter is read once from SAR, DAR, TCR, etc. , DARL, TCRL, etc., there is no need to rewrite data, so that there is an effect that a trouble in program creation can be saved and a program can be created more easily.

【0056】また、この発明によれば、DMA転送を再
開する際に、当該DMA転送開始時に最初に設定した番
地より、最初からDMA転送をやり直すか、中断した続
きの番地から再スタートするかを、転送モード毎に指定
して使い分けることができる効果がある。
Further, according to the present invention, when resuming the DMA transfer, it is determined whether to restart the DMA transfer from the first address set at the start of the DMA transfer or to restart the DMA transfer from the continued address. In addition, there is an effect that it is possible to specify and use each transfer mode.

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

【図1】 この発明の実施の形態1によるDMAコント
ローラの概念を示す説明図である。
FIG. 1 is an explanatory diagram showing a concept of a DMA controller according to a first embodiment of the present invention.

【図2】 実施の形態1における、転送パラメータリセ
ットビットが配置されたDMA制御レジスタを示す説明
図である。
FIG. 2 is an explanatory diagram showing a DMA control register in which transfer parameter reset bits are arranged according to the first embodiment;

【図3】 実施の形態1における、転送パラメータリセ
ットビットの内容が“0”の時の転送元メモリのデータ
読み出しを示す説明図である。
FIG. 3 is an explanatory diagram showing data reading from a transfer source memory when the content of a transfer parameter reset bit is “0” in the first embodiment;

【図4】 実施の形態1における、転送パラメータリセ
ットビットの内容が“1”の時の転送元メモリのデータ
読み出しを示す説明図である。
FIG. 4 is an explanatory diagram showing data reading from a transfer source memory when the content of a transfer parameter reset bit is “1” in the first embodiment;

【図5】 この発明の実施の形態2によるDMAコント
ローラの概念を示す説明図である。
FIG. 5 is an explanatory diagram showing a concept of a DMA controller according to a second embodiment of the present invention.

【図6】 従来のDMAコントローラの最初の転送サイ
クルにおける基本的な動作を示す説明図である。
FIG. 6 is an explanatory diagram showing a basic operation in a first transfer cycle of a conventional DMA controller.

【図7】 従来のDMAコントローラの2回目以降の転
送サイクルにおける基本的な動作を示す説明図である。
FIG. 7 is an explanatory diagram showing a basic operation in a second and subsequent transfer cycles of a conventional DMA controller.

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

1 DMAコントローラ、4 転送元アドレスレジス
タ、5 転送先アドレスレジスタ、6 転送カウンタレ
ジスタ、7 SAR(レジスタ部)、8 SARL(ラ
ッチ部)、9 DAR(レジスタ部)、10 DARL
(ラッチ部)、11 TCR(レジスタ部)、12 T
CRL(ラッチ部)、40 DMA制御レジスタ、41
転送パラメータリセットビット。
1 DMA controller, 4 source address register, 5 destination address register, 6 transfer counter register, 7 SAR (register unit), 8 SARL (latch unit), 9 DAR (register unit), 10 DARL
(Latch), 11 TCR (register), 12 T
CRL (latch unit), 40 DMA control register, 41
Transfer parameter reset bit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ダイレクト・メモリ・アクセス転送され
るデータの転送元番地を格納するレジスタ部、およびそ
のレジスタ部に最初に書き込まれた値を保持するラッチ
部からなる転送元アドレスレジスタと、 前記ダイレクト・メモリ・アクセス転送されるデータの
転送先番地を格納するレジスタ部、およびそのレジスタ
部に最初に書き込まれた値を保持するラッチ部からなる
転送先アドレスレジスタと、 前記ダイレクト・メモリ・アクセス転送されるデータの
残りの転送バイト数をカウントするためのレジスタ部、
およびそのレジスタ部に最初に書き込まれた値を保持す
るラッチ部からなる転送カウンタレジスタとを備えたダ
イレクト・メモリ・アクセスコントローラにおいて、 中断されていたダイレクト・メモリ・アクセス転送の再
開を、当該ダイレクト・メモリ・アクセス転送開始時に
設定された転送元開始番地、転送先開始番地および転送
バイト数の値を用いて行うか、前記ダイレクト・メモリ
・アクセス転送を中断した直後の転送元番地、転送先番
地および残りの転送バイト数の値を用いて行うかの選択
を、転送パラメータリセットビットの設定内容に応じて
切り替えることを特徴とするダイレクト・メモリ・アク
セスコントローラ。
1. A transfer source address register including a register unit for storing a transfer source address of data to be transferred by direct memory access, and a latch unit for holding a value first written in the register unit; A transfer destination address register including a register unit for storing a transfer destination address of data to be transferred by memory access, and a latch unit for holding a value initially written to the register unit; Register section for counting the number of remaining transfer bytes of data to be transferred,
And a transfer counter register comprising a latch unit for holding a value initially written to the register unit, wherein the direct memory access transfer that has been interrupted is resumed by the direct memory access controller. The transfer is performed using the values of the source start address, the transfer destination start address and the number of transfer bytes set at the start of the memory access transfer, or the transfer source address, the transfer destination address and the transfer address immediately after the direct memory access transfer is interrupted. A direct memory access controller characterized in that the selection as to whether to use the remaining number of transfer bytes is switched according to the setting of a transfer parameter reset bit.
【請求項2】 ダイレクト・メモリ・アクセス制御のた
めに、当該ダイレクト・メモリ・アクセスコントローラ
が備えているダイレクト・メモリ・アクセス制御レジス
タの空きビットに、転送パラメータリセットビットを配
置したことを特徴とする請求項1記載のダイレクト・メ
モリ・アクセスコントローラ。
2. A direct memory access control, wherein a transfer parameter reset bit is arranged in an empty bit of a direct memory access control register provided in the direct memory access controller. The direct memory access controller according to claim 1.
【請求項3】 中断していたダイレクト・メモリ・アク
セス転送の再開に際して、転送元アドレスレジスタ、転
送先アドレスレジスタおよび転送カウンタレジスタの各
レジスタ部あるいは各ラッチ部のいずれから、転送元番
地、転送先番地および転送するバイト数の値を出力する
かの選択を、転送パラメータリセットビットの設定内容
に応じて切り替えることを特徴とする請求項1または請
求項2記載のダイレクト・メモリ・アクセスコントロー
ラ。
3. When resuming a suspended direct memory access transfer, a transfer source address, a transfer destination, or a transfer source address register, a transfer destination address register, and a transfer counter register are read from any of the register units or the latch units. 3. The direct memory access controller according to claim 1, wherein selection of whether to output a value of the address and the number of bytes to be transferred is switched according to the setting of a transfer parameter reset bit.
【請求項4】 ダイレクト・メモリ・アクセス転送の終
了処理サイクル時において、転送元アドレスレジスタ、
転送先アドレスレジスタおよび転送カウンタレジスタの
各レジスタ部がそれぞれ保持している値を、前記転送元
アドレスレジスタ、転送先アドレスレジスタおよび転送
カウンタレジスタの各ラッチ部へ転送するか否かの選択
を、転送パラメータリセットビットの設定内容に応じて
切り替えることを特徴とする請求項1または請求項2記
載のダイレクト・メモリ・アクセスコントローラ。
4. A transfer source address register, at the end processing cycle of direct memory access transfer,
The transfer source address register, the transfer destination address register, and the transfer counter register determine whether or not to transfer the values held in the respective register units of the transfer destination address register and the transfer counter register to the respective latch units of the transfer counter register. 3. The direct memory access controller according to claim 1, wherein the switching is performed according to a setting content of a parameter reset bit.
【請求項5】 ダイレクト・メモリ・アクセス転送され
るデータの転送元番地を格納するレジスタ部、およびそ
のレジスタ部に最初に書き込まれた値を保持するラッチ
部からなる転送元アドレスレジスタと、 前記ダイレクト・メモリ・アクセス転送されるデータの
転送先番地を格納するレジスタ部、およびそのレジスタ
部に最初に書き込まれた値を保持するラッチ部からなる
転送先アドレスレジスタと、 前記ダイレクト・メモリ・アクセス転送されるデータの
残りの転送バイト数をカウントするためのレジスタ部、
およびそのレジスタ部に最初に書き込まれた値を保持す
るラッチ部からなる転送カウンタレジスタとを備えたダ
イレクト・メモリ・アクセスコントローラにおいて、 所定の転送モードにおいては、常に、前記転送元アドレ
スレジスタ、転送先アドレスレジスタおよび転送カウン
タレジスタの各レジスタ部にそれぞれ保持されている、
転送元番地、転送先番地および残りの転送バイト数の値
を出力することを特徴とするダイレクト・メモリ・アク
セスコントローラ。
5. A transfer source address register comprising a register unit for storing a transfer source address of data to be transferred by direct memory access, and a latch unit for holding a value initially written in the register unit; A transfer destination address register including a register unit for storing a transfer destination address of data to be transferred by memory access, and a latch unit for holding a value initially written to the register unit; Register section for counting the number of remaining transfer bytes of data to be transferred,
And a transfer counter register comprising a latch unit for holding a value first written in the register unit, wherein in a predetermined transfer mode, the transfer source address register, the transfer destination Held in each register section of the address register and the transfer counter register, respectively.
A direct memory access controller for outputting values of a transfer source address, a transfer destination address, and a remaining transfer byte count.
JP23739297A 1997-09-02 1997-09-02 Direct memory access controller Pending JPH1185671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23739297A JPH1185671A (en) 1997-09-02 1997-09-02 Direct memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23739297A JPH1185671A (en) 1997-09-02 1997-09-02 Direct memory access controller

Publications (1)

Publication Number Publication Date
JPH1185671A true JPH1185671A (en) 1999-03-30

Family

ID=17014720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23739297A Pending JPH1185671A (en) 1997-09-02 1997-09-02 Direct memory access controller

Country Status (1)

Country Link
JP (1) JPH1185671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102112971A (en) * 2008-08-06 2011-06-29 阿斯奔收购公司 Haltable and restartable dma engine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102112971A (en) * 2008-08-06 2011-06-29 阿斯奔收购公司 Haltable and restartable dma engine
JP2011530744A (en) * 2008-08-06 2011-12-22 アスペン・アクイジション・コーポレーション Stoppable and restartable DMA engine
US8732382B2 (en) 2008-08-06 2014-05-20 Qualcomm Incorporated Haltable and restartable DMA engine

Similar Documents

Publication Publication Date Title
US5765025A (en) Digital signal processor with on board program having arithmetic instructions and direct memory access instructions for controlling direct memory access thereof
US6175890B1 (en) Device for efficiently handling interrupt request processes
JPH05250305A (en) Data transfer control system
JP2006338538A (en) Stream processor
JP3970609B2 (en) Processor system
JPH1185671A (en) Direct memory access controller
JPH05225076A (en) Method and device for managing common information
JP3655930B2 (en) Method and apparatus for unstacking registers in a data processing system
JPH1069470A (en) Multiprocessor system
JPH0764868A (en) Storage updating device
JP3639317B2 (en) Data transfer control device
JP2002084316A (en) Variable length packet write and read circuit
JP2000259523A (en) Data transfer device, lan communication system and data transfer method
JP2604604B2 (en) Stack control device
JPH09160786A (en) Microprocessor
JP2000010908A (en) Dma controller
JP3765852B2 (en) Data processing apparatus and method
JP3652878B2 (en) Transaction synchronous replacement method for secondary load modules
JP2821321B2 (en) DMA controller
JPH1011388A (en) Direct memory access controller
JP3367949B2 (en) Image data processing device
JPH11196097A (en) Data communication control device and method therefor
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP2793258B2 (en) Data setting method for positioning control device
JPH1124941A (en) Method and device for instruction execution control