Direct memory access controller for converting a transfer mode flexibly in accordance with a data transfer counter value
First Claim
1. A direct memory access controller (DMA) for converting a DMA transfer operation mode in accordance with a data transfer counter value, wherein the direct memory access controller performs data transfer operations between a memory and an input/output device without control operation by a central processing unit (CPU), comprising:
- a system bus interface for interfacing the CPU with an address of the input/output device, an address for writing/reading data from the memory, the transfer counter value of data to be written in/read out therefrom, and a control signal for a DMA transfer operation;
a first register for storing said address of the input/output device;
a second register for storing said initial address for writing/reading data from the memory;
a third register for storing said data transfer counter value;
a fourth register for storing said control signal;
a register control circuit for loading the addresses, the data transfer counter value, and the control signal from said system bus interface on a proper position of the first to fourth registers; and
a burst/single mode control circuit for receiving said data transfer counter value and said control signal from the third and fourth registers, for automatically converting the DMA transfer operation mode between a burst mode or a single mode, and performing the DMA transfer operation in accordance with the converted DMA transfer operation mode.
1 Assignment
0 Petitions
Accused Products
Abstract
A DMA controller includes a burst/single mode control circuit for automatically converting a DMA transfer operation mode to a burst mode and/or a single mode regardless of a data transfer counter value, and for performing the DMA transfer operation. The burst/single mode control circuit carries out the burst mode DMA transfer operation without the need for a control operation of the CPU a number of times corresponding to a quotient which is the result that the data transfer counter value divided by the burst length, and carries out successively the single mode DMA transfer operation by the number of times corresponding to the remainder of the division.
-
Citations
8 Claims
-
1. A direct memory access controller (DMA) for converting a DMA transfer operation mode in accordance with a data transfer counter value, wherein the direct memory access controller performs data transfer operations between a memory and an input/output device without control operation by a central processing unit (CPU), comprising:
-
a system bus interface for interfacing the CPU with an address of the input/output device, an address for writing/reading data from the memory, the transfer counter value of data to be written in/read out therefrom, and a control signal for a DMA transfer operation;
a first register for storing said address of the input/output device;
a second register for storing said initial address for writing/reading data from the memory;
a third register for storing said data transfer counter value;
a fourth register for storing said control signal;
a register control circuit for loading the addresses, the data transfer counter value, and the control signal from said system bus interface on a proper position of the first to fourth registers; and
a burst/single mode control circuit for receiving said data transfer counter value and said control signal from the third and fourth registers, for automatically converting the DMA transfer operation mode between a burst mode or a single mode, and performing the DMA transfer operation in accordance with the converted DMA transfer operation mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
a control unit for converting the DMA transfer operation mode in response to the control signal stored in the fourth register, and for controlling the DMA transfer operation;
a decrementor for receiving the data transfer counter value stored in the third register, and for decreasing the data transfer counter value when the burst mode or the single mode DMA transfer operation is carried out;
a comparator for determining the DMA transfer operation mode by the value of lower bits comprising at least one predetermined bit among a plurality of bits of the data transfer counter value, and by the value of higher bit comprising bits of the data transfer counter value other than the lower bits;
a first signal generator for generating a control signal for the burst mode DMA transfer operation;
a second signal generator for generating a control signal for the single mode DMA transfer operation; and
a mode converter for performing the DMA transfer operation by enabling one of the first and second signal generators in response to the DMA transfer operation mode determined by the comparator, and for providing information of the current DMA transfer operation mode to the decrementor.
-
-
5. The DMA controller of claim 4, wherein said decrementor, in response to the information of the DMA transfer operation mode, decreases the data transfer counter value by the burst length if the DMA transfer operation mode is the burst mode, and decreases the data transfer counter value by ‘
- 1’
if the DMA transfer operation mode is the single mode.
- 1’
-
6. The DMA controller of claim 4, wherein said the comparator determines the DMA transfer operation mode to the burst mode if at least more one bit has ‘
- 1’
among the higher bits.
- 1’
-
7. The DMA controller of claim 4, wherein said the comparator determines the DMA transfer operation mode to be the single mode if all of the higher bits are ‘
- 0’ and
at least more than one bit among the lower bits is ‘
1’
.
- 0’ and
-
8. The DMA controller of claim 4, wherein said the control unit provides an interrupt signal to the system bus interface if the data transfer counter value decreased by the decrementor is ‘
- 0’
.
- 0’
Specification