Burst mode is a generic
electronics
The field of electronics is a branch of physics and electrical engineering that deals with the emission, behaviour and effects of electrons using electronic devices. Electronics uses active devices to control electron flow by amplification ...
term referring to any situation in which a device is transmitting data repeatedly without going through all the steps required to transmit each piece of data in a separate transaction.
Advantages
The main advantage of burst mode over single mode is that the burst mode typically increases the throughput of data transfer.
Any bus transaction is typically handled by an arbiter, which decides when it should change the granted master and slaves. In case of burst mode, it is usually more efficient if you allow a master to complete a known length transfer sequence.
The total delay in a data transaction can be typically written as a sum of initial access latency plus sequential access latency.
:
Here the sequential latency is same in both single mode and burst mode, but the total initial latency is decreased in burst mode, since the initial delay (usually depends on
FSM for the protocol) is caused only once in burst mode. Hence the total latency of the burst transfer is reduced, and hence the data transfer throughput is increased.
It can also be used by slaves that can optimise their responses if they know in advance how many data transfers there will be. The typical example here is a DRAM which has a high initial access latency, but sequential accesses after that can be performed with fewer wait states.
Beats in burst transfer
A beat in a burst transfer is the number of write (or read) transfers from master to slave, that takes place continuously in a transaction. In a burst transfer, the address for write or read transfer is just an incremental value of previous address. Hence in a 4-beat incremental burst transfer (write or read), if the starting address is 'A', then the consecutive addresses will be 'A+m', 'A+2*m', 'A+3*m'. Similarly, in a 8-beat incremental burst transfer (write or read), the addresses will be 'A', 'A+n', 'A+2*n', 'A+3*n', 'A+4*n', 'A+5*n', 'A+6*n', 'A+7*n'.
Example
Q:- A certain SoC master uses a burst mode to communicate (write or read) with its peripheral slave. The transaction contains 32 write transfers. The initial latency for the write transfer is 8ns and burst sequential latency is 0.5ns. Calculate the total latency for single mode (no-burst mode), 4-beat burst mode, 8-beat burst mode and 16-beat burst mode. Calculate the throughput factor increase for each burst mode.
Sol:-
:Total latency of single mode = num_transfers x (t + t) = 32 x (8 + 1x(0.5)) = 32 x 8.5 = 272 ns
:::Total latency of one 4-beat burst mode = (t + t) = 8 + 4x(0.5) = 10 ns
:::For 32 write transactions, required 4-beat transfers = 32/4 = 8
:::Hence, total latency of 32 write transfers = 10 x 8 = 80 ns
:::Total throughput increase factor using 4-beat burst mode = single mode latency/(total burst mode latency) = 272/80 = 3.4
:::Total latency of one 8-beat burst mode = (t + t) = 8 + 8x(0.5) = 12 ns
:::For 32 write transactions, required 8-beat transfers = 32/8 = 4
:::Hence, total latency of 32 write transfers = 12 x 4 = 48 ns
:::Total throughput increase factor using 8-beat burst mode = single mode latency/(total burst mode latency) = 272/48 = 5.7
:::Total latency of one 16-beat burst mode = (t + t) = 8 + 16x(0.5) = 16 ns
:::For 32 write transactions, required 16-beat transfers = 32/16 = 2
:::Hence, total latency of 32 write transfers = 16 x 2 = 32 ns
:::Total throughput increase factor using 16-beat burst mode = single mode latency/(total burst mode latency) = 272/32 = 8.5
From the above calculations, we can conclude that the throughput increases with the number of beats.
Details
The usual reason for having a burst mode capability, or using burst mode, is to increase data
throughput
Network throughput (or just throughput, when in context) refers to the rate of message delivery over a communication channel, such as Ethernet or packet radio, in a communication network. The data that these messages contain may be delivered ov ...
.
The steps left out while performing a burst mode transaction may include:
* Waiting for input from another device
* Waiting for an internal process to terminate before continuing the transfer of data
* Transmitting information which would be required for a complete transaction, but which is inherent in the use of burst mode
In the case of
DMA
DMA may refer to:
Arts
* ''DMA'' (magazine), a defunct dance music magazine
* Dallas Museum of Art, an art museum in Texas, US
* Danish Music Awards, an award show held in Denmark
* BT Digital Music Awards, an annual event in the UK
* Doctor of M ...
, the
DMA controller and the device are given exclusive access to the bus without interruption; the CPU is also freed from handling device interrupts.
The actual manner in which burst modes work varies from one type of device to another; however, devices that have some sort of a standard burst mode include the following:
*
Random access memory
Random-access memory (RAM; ) is a form of computer memory that can be read and changed in any order, typically used to store working data and machine code. A random-access memory device allows data items to be read or written in almost the s ...
(RAM), including
EDO
Edo ( ja, , , "bay-entrance" or "estuary"), also romanized as Jedo, Yedo or Yeddo, is the former name of Tokyo.
Edo, formerly a ''jōkamachi'' (castle town) centered on Edo Castle located in Musashi Province, became the ''de facto'' capital of ...
,
SDRAM
Synchronous dynamic random-access memory (synchronous dynamic RAM or SDRAM) is any DRAM where the operation of its external pin interface is coordinated by an externally supplied clock signal.
DRAM integrated circuits (ICs) produced from the ...
,
DDR SDRAM
Double Data Rate Synchronous Dynamic Random-Access Memory (DDR SDRAM) is a double data rate (DDR) synchronous dynamic random-access memory (SDRAM) class of memory integrated circuits used in computers. DDR SDRAM, also retroactively called D ...
, and
RDRAM; only the last three are required to send data in burst mode, according to industry standards
* Computer busses such as
Conventional PCI
Peripheral Component Interconnect (PCI) is a local computer bus for attaching hardware devices in a computer and is part of the PCI Local Bus standard. The PCI bus supports the functions found on a processor bus but in a standardized format ...
,
Accelerated Graphics Port
Accelerated Graphics Port (AGP) is a parallel expansion card standard, designed for attaching a video card to a computer system to assist in the acceleration of 3D computer graphics. It was originally designed as a successor to PCI-type conn ...
, and
PCI express
PCI Express (Peripheral Component Interconnect Express), officially abbreviated as PCIe or PCI-e, is a high-speed serial computer expansion bus standard, designed to replace the older PCI, PCI-X and AGP bus standards. It is the common m ...
*
Hard disk drive
A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with magn ...
(HDD) interfaces such as
SCSI
Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices. The SCSI standards define commands, protocols, electrical, optical and logical interface ...
and
IDE
See also
*
Asynchronous I/O
In computer science, asynchronous I/O (also non-sequential I/O) is a form of input/output processing that permits other processing to continue before the transmission has finished. A name used for asynchronous I/O in the Windows API is overlap ...
*
Command queue
*
Direct memory access
Direct memory access (DMA) is a feature of computer systems and allows certain hardware subsystems to access main system memory independently of the central processing unit (CPU).
Without DMA, when the CPU is using programmed input/output, it is ...
(DMA)
*
SDRAM burst ordering
*
Scatter/gather I/O
References
{{DEFAULTSORT:Burst Mode (Computing)
Computer buses
Computer memory