Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

Metrics - Rev 2<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1JJW1-Feb-12Initial version



2BWL1-Jul-12Modified variables changed with PMU integration, and filled out existing information.




















































































































































































































































































































































Sheet 2: Variable Dictionary

Metrics - Rev 2

IOMDN
Variable Information

YN










Range










Software Variable NameStandard Reference NameFDD ReferenceDescription[I]nput [O]uput [M]oduleInternal [D]isplay [N]onVolatileMemory UsageOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsType






Variables



















CDD_MetricsTraceIdx_Cnt_G_u16NoneNoneFirst unused index in MetricsTrace array.MN
00D_MAXTRACEEVT_CNT_U16


uint16






CDD_MetricsTraceOffset_uS_G_u32NoneNoneTime taken for system to reach GPT init.MN
D_HWSTARTUP_US_U160


uSuint32






CDD_MetricsTrace_Cnt_G_Str[D_MAXTRACEEVT_CNT_U16]NoneNoneList of time to reach trace points.MN
00



MetricTrace_Str[]






Metrics_CpuUse_Pct_M_f32NoneNoneOverall CPU utilization.DN
1000100

%float32






Metrics_StackUse_Cnt_M_u16[osdNumberOfAllTasks]NoneNoneMax used stack space.DN
0065536

Bytesuint16






Metrics_StackSize_Cnt_M_u16[osdNumberOfAllTasks]NoneNoneSize of each task stackDN
0065536

Bytesuint16






Metrics_ActiveTask_Cnt_M_u16NoneNoneCurrently executing task.MN
Task_Bkgnd0d_NumberofTasks_Cnt_u16


uint16






Metrics_ActiveRunnable_Cnt_M_u16NoneNoneRunnable currently exectuing in active task.MN
d_NumberofRunnables_Cnt_u160d_NumberofRunnables_Cnt_u16


uint16






Metrics_TaskTimes_Str[d_NumberofTasks_Cnt_u16]NoneNoneArray structure containing task metrics.DN
0




TaskMetric_Type*






Metrics_RunnableTimes_Str[d_NumberofTasks_Cnt_u16]NoneNoneArray structure containing runnable metrics.DN
0




RunnableMetric_Type*






Metrics_BkgndLoopTimeMax_Cnt_M_u32NoneNoneLongest period of time spent in the background.DN
004294967296


uint32






Metrics_LastStackUseCalc_uS_M_u32NoneNoneTime of last stack use calculation.MN
004294967296


uint32


































































































































































































































































































































Sheet 3: Calibration Dictionary

Metrics - Rev 2


N
Calibration Information

Achieved in Software Design


Y








Range




P
Software Calibration NameStandard Reference NameFDD ReferenceDescriptionTuning SetOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsDefault ValueMinMaxUnitsType



Calibrations














k_CpuUseUpdateInterval_uS_u32NoneNoneTime between normalized metrics calculation.NN
1000000026843545uSuint32



k_StackUseUpdateInterval_uS_u32NoneNoneTime between stack use check.NN
1000000026843545uSuint32



k_CpuUseProcessMask_Cnt_b32[d_NumberofTasks_Cnt_u16/32+1]NoneNoneEnable/Disable normalized time calculation for a task.NN
0xFFFFFFFF

Cntuint32



k_MetricsTestEnable_Cnt_lgcNoneNone
NN
FALSE

lgcboolean



k_TaskTimeFilterK_Uls_f32[d_NumberofTasks_Cnt_u16]NoneNone
NN
0

Ulsfloat32




Sheet 4: Global Constants

Metrics - Rev 2








































































Variable Information (Global Variables Only)

Achieved in Software DesignUsed in Module List





Layer 2Layer 3Layer 4Layer 5
Constant NameDescriptionUintsTypeEngineering ValueADCADC DiagnosticsData Memory VerificationDC Link Power ControlDSP Computational IntegrityDSP SPI driverEvent Manager DriverExternal Memory DriverFlash Programming ExecGPIOIllegal OpCode HandlerInterrupt HandlerMotor Current DriverMotor Driver DiagnosticsMotor Position DriverPhase Feedback CapturePowerdown ControlPrimary Shutdown ControlProgram FlowProgram Memory DiagnosticPWM Duty CycleRedundant Memory CheckRedundant Rapid ShutdownSchedulerStack MonitorState Dependent Task ListSystem Boot & StartupSystem ControlTemperature Sensor DiagnosticUnused Interrupt HandlerUtilization MonitorWatchdog DirverSmithBattery VoltageBattery Voltage DiagnosticsDiagnostic CTC ManagerDiagnostic ManagerDiagnostics Application ServicesEOL TorqueTestFlash Boot LoaderFlight RecorderHandwheel PositionHandwheel TorqueMotor Control Output ConversionMotor Position DiagnosticsMotor Position InitializationMotor VelocityMotor Velocity TachometerSerial Communications I/OSerial Communications ServicesStates and ModesTuning SelectVehicle Power ModeVehicle SpeedController PolarityCurrent EstimationHandwheel VelocityInverse Motor ModelMotor Temperature EstimationMotor Torque LimitOutput Reasonableness DianosticParameter EstimationQuadrant and rate DetectionActive Pull CompensationAssistDampingDuty CycleKinematic Integrity DiagnosticLong Term Vehicle Speed DiagnosticMax Assist LimitReturnState Output ControlTorque Output























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 5: Template

2.2aData File:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










EOL Constants:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










Global (Embedded) Constants:












Header:#define <NAME><COL40><VALUE>









A2L Name












Measurement:rte_<SWC>_<NAME>









Calibration Constants:












Tuning ID:



















Tuning:NIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NAME>























Tuning:YIndex Range:










Header:<NONCRITICAL>
#define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
#define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>










Source:










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>
























Tuning:PIndex Range:










Header:<NONCRITICAL>
#define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
#define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<SAFETYCRITICAL>










Source:










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<SAFETYCRITICAL>

















Sheet 6: Help

Short cutMacroSescription
Ctrl-qClearDataDictFilterWill clear all autofilters on the Global Data Dictionary




DFD_CreateCreates a Series of Data Flow Worksheet Pages from the information in the data dictionary. If Data Flow Worksheet pages already exist, they will be deleted first.

DFD_DeleteWill clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving.

DFD_PrintFormate and prepares to print the Data Flow Worksheet pages.
Last modified October 12, 2025: Initial commit (0347a62)