Texas Instruments TMS320 DSP Computer Hardware User Manual


 
www.ti.com
TMS320C54xxRulesandGuidelines
Thereare,ofcourse,caseswhereitwouldbedesirablethatthecorerun-timesupportisaccessiblewith
nearcalls.
Guideline13
Onprocessorsthatsupportlargeprogrammodelcompilations,aversionofthealgorithmshouldbe
suppliedthataccessedallcorerun-timesupportfunctionsasnearfunctionsandallalgorithmsasfar
functions(mixedmodel).
Whenextendedprogrammemoryallowsoverlays,theusableprogramspaceoneachpageisreduced.To
ensurealgorithmusability,thecodesizeforeachloadableobjectmustbelimited.
Rule30
Onprocessorsthatsupportanextendedprogramaddressspace(pagedmemory),thecodesizeofany
independentlyrelocatableobjectmoduleshouldneverexceedthecodespaceavailableonapage
whenoverlaysareenabled.
Noteherethatthealgorithmcanbelargerthanthislimit,butanyoneindependentlyrelocatableobject
modulemustnotexceedthelimit.FortheC54xx,thecodesizelimitis32Kwords.
DSP-SpecificGuidelines 50SPRU352GJune2005RevisedFebruary2007
SubmitDocumentationFeedback