Texas Instruments TMS320DM647 Computer Hardware User Manual


 
www.ti.com
Command/Data
Scheduler
Command FIFO
Write FIFO
Read FIFO
Registers
Command
to Memory
Write Data
to Memory
Read Data
from
Memory
Command
Data
EDMA BUS
2.7.1CommandOrderingandScheduling,AdvancedConcept
PeripheralArchitecture
Figure15.DDR2MemoryControllerFIFOBlockDiagram
TheDDR2memorycontrollerperformscommandre-orderingandschedulinginanattempttoachieve
efficienttransferswithmaximumthroughput.Thegoalistomaximizetheutilizationofthedata,address,
andcommandbuseswhilehidingtheoverheadofopeningandclosingDDR2SDRAMrows.Command
re-orderingtakesplacewithinthecommandFIFO.
TheDDR2memorycontrollerexaminesallthecommandsstoredinthecommandFIFOtoschedule
commandstotheexternalmemory.Foreachmaster,theDDR2memorycontrollerreordersthe
commandsbasedonthefollowingrules:
Selectstheoldestcommand
Areadcommandisadvancedbeforeanolderwritecommandifthereadistoadifferentblockaddress
(2048bytes)andthereadpriorityisequaltoorgreaterthanthewritepriority.
Note:Mostmastersissuecommandsonasingleprioritylevel.Also,theEDMAtransfercontroller
readandwriteportsareconsidereddifferentmasters,andthus,theaboveruledoesnot
apply.
Thesecondbulletabovemaybeviewedasanexceptiontothefirstbullet.Thismeansthatforan
individualmaster,allofitscommandswillcompletefromoldesttonewest,withtheexceptionthataread
maybeadvancedaheadofanolder,lowerorequalprioritywrite.Followingthisscheduling,eachmaster
mayhaveonecommandreadyforexecution.
SPRUEK5AOctober2007DSPDDR2MemoryController23
SubmitDocumentationFeedback