Texas Instruments TMS320 DSP Computer Hardware User Manual


 
www.ti.com
A.2PerformanceCharacterizationRules
A.3DMARules
PerformanceCharacterizationRules
Rule25AllC6xalgorithmsmustbesuppliedinlittle-endianformat.(SeeSection5.3.1)
Rule26AllC6xalgorithmsmustaccessallstaticandglobaldataasfardata.(SeeSection5.3.2)
Rule27C6xalgorithmsmustneverassumeplacementinon-chipprogrammemory;i.e.,theymust
properlyoperatewithprogrammemoryoperatedincachemode.(SeeSection5.3.3)
Rule28Onprocessorsthatsupportlargeprogrammodelcompilation,allfunctionaccessesto
independentlyrelocatableobjectmodulesmustbefarreferences.Forexample,intersection
functionreferenceswithinalgorithmandexternalfunctionreferencestoother
eXpressDSP-compliantmodulesmustbefarontheC54x;i.e.,thecallingfunctionmustpushboth
theXPCandthecurrentPC.(SeeSection5.4.2)
Rule29Onprocessorsthatsupportlargeprogrammodelcompilation,allindependentlyrelocatable
objectmodulefunctionsmustbedeclaredasfarfunctions;forexample,ontheC54x,callersmust
pushboththeXPCandthecurrentPCandthealgorithmfunctionsmustperformafarreturn.(See
Section5.4.2)
Rule30Onprocessorsthatsupportanextendedprogramaddressspace(pagedmemory),thecode
sizeofanyindependentlyrelocatableobjectmoduleshouldneverexceedthecodespaceavailable
onapagewhenoverlaysareenabled.(SeeSection5.4.2)
Rule31AllC55xalgorithmsmustdocumentthecontentofthestackconfigurationregisterthatthey
follow.(SeeSection5.5.1)
Rule32AllC55xalgorithmsmustaccessallstaticandglobaldataasfardata;alsothealgorithms
shouldbeinstantiableinalargememorymodel.(SeeSection5.5.2)
Rule33C55xalgorithmsmustneverassumeplacementinon-chipprogrammemory;i.e.,theymust
properlyoperatewithprogrammemoryoperatedininstructioncachemode.(SeeSection5.5.3)
Rule34AllC55xalgorithmsthataccessdatabyB-busmustdocument:theinstancenumberofthe
IALG_MemRecstructurethatisaccessedbytheB-bus(heap-data),andthedata-sectionname
thatisaccessedbytheB-bus(static-data).(SeeSection5.5.4)
Rule35AllTMX320C28xalgorithmsmustaccessallstaticandglobaldataasfardata;also,the
algorithmshouldbeinstantiableinalargememorymodel.(SeeSection5.7.1)
Rule19Allalgorithmsmustcharacterizetheirworst-caseheapdatamemoryrequirements(including
alignment).(SeeSection4.1.1)
Rule20Allalgorithmsmustcharacterizetheirworst-casestackspacememoryrequirements(including
alignment).(SeeSection4.1.2)
Rule21Algorithmsmustcharacterizetheirstaticdatamemoryrequirements.(SeeSection4.1.3)
Rule22Allalgorithmsmustcharacterizetheirprogrammemoryrequirements.(SeeSection4.2)
Rule23Allalgorithmsmustcharacterizetheirworst-caseinterruptlatencyforeveryoperation.(See
Section4.3)
Rule24Allalgorithmsmustcharacterizethetypicalperiodandworst-caseexecutiontimeforeach
operation.(SeeSection4.4.2)
DMARule1Alldatatransfermustbecompletedbeforereturntocaller.(SeeSection6.6)
DMARule2AllalgorithmsusingtheDMAresourcemustimplementtheIDMA2interface.(See
Section6.7)
SPRU352GJune2005RevisedFebruary2007RulesandGuidelines77
SubmitDocumentationFeedback