This is the multi-page printable view of this section. Click here to print.
Vehicle Speed Limit
1 - Data Dictionary
Overview
Change LogVariable Dictionary
Calibration Dictionary
Global Constants
Template
Help
Sheet 1: Change Log
VehSpdLmt - Rev 7 | <- Global Program / Module Name | ||||||
Revision | Author | Date | Change Description | Data Dictionary Type: | Component | ||
1.0 | LWW | 11-Nov-11 | Initial Version | ||||
2 | LWW | 15-Nov-11 | |||||
3 | OT | 3-Dec-11 | Update to Template 3.0 | ||||
4 | OT | 23-Dec-11 | Updated template (FDD reference) | ||||
5 | OT | 10-Jan-12 | Updated Template (v3.1) | ||||
6 | OT | 18-Jan-12 | Updated Template (Graph Settings) | ||||
7 | OT | 19-Jan-12 | Fixed Syntax Errors | ||||
8 | LWW | 30-Jan-12 | Fixed datatypes of calibrations and variables to fixed point types | ||||
9 | NRAR | 9-May-12 | Updated FDD Reference names for Calibrations as per FDD SF16-Ver002 | ||||
Sheet 2: Variable Dictionary
Sheet 3: Calibration Dictionary
Sheet 4: Global Constants
VehSpdLmt - Rev 7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Variable Information (Global Variables Only) | Achieved in Software Design | Used in Module List | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Layer 2 | Layer 3 | Layer 4 | Layer 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Constant Name | Description | Uints | Type | Engineering Value | ADC | ADC Diagnostics | Data Memory Verification | DC Link Power Control | DSP Computational Integrity | DSP SPI driver | Event Manager Driver | External Memory Driver | Flash Programming Exec | GPIO | Illegal OpCode Handler | Interrupt Handler | Motor Current Driver | Motor Driver Diagnostics | Motor Position Driver | Phase Feedback Capture | Powerdown Control | Primary Shutdown Control | Program Flow | Program Memory Diagnostic | PWM Duty Cycle | Redundant Memory Check | Redundant Rapid Shutdown | Scheduler | Stack Monitor | State Dependent Task List | System Boot & Startup | System Control | Temperature Sensor Diagnostic | Unused Interrupt Handler | Utilization Monitor | Watchdog Dirver | Smith | Battery Voltage | Battery Voltage Diagnostics | Diagnostic CTC Manager | Diagnostic Manager | Diagnostics Application Services | EOL TorqueTest | Flash Boot Loader | Flight Recorder | Handwheel Position | Handwheel Torque | Motor Control Output Conversion | Motor Position Diagnostics | Motor Position Initialization | Motor Velocity | Motor Velocity Tachometer | Serial Communications I/O | Serial Communications Services | States and Modes | Tuning Select | Vehicle Power Mode | Vehicle Speed | Controller Polarity | Current Estimation | Handwheel Velocity | Inverse Motor Model | Motor Temperature Estimation | Motor Torque Limit | Output Reasonableness Dianostic | Parameter Estimation | Quadrant and rate Detection | Active Pull Compensation | Assist | Damping | Duty Cycle | Kinematic Integrity Diagnostic | Long Term Vehicle Speed Diagnostic | Max Assist Limit | Return | State Output Control | Torque Output |
Sheet 5: Template
2.2a | Data 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: | N | Index 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: | Y | Index 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: | P | Index 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 cut | Macro | Sescription |
Ctrl-q | ClearDataDictFilter | Will clear all autofilters on the Global Data Dictionary |
DFD_Create | Creates 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_Delete | Will clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving. | |
DFD_Print | Formate and prepares to print the Data Flow Worksheet pages. |
2 - VehSpdLmt_MDD
Module --
High-Level Description
The Vehicle Speed Limiting Function determines a limited assist torque command value as a function of vehicle speed and handwheel position to manage mechanical fatigue near end-of-travel positions.
Figures
Diagram – Function Data Sharing
No Shared Data
Diagram – Function
None
Variable Data Dictionary
For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.
(Note: Full variable names required in table.)
(Note: All global variables including End Of Line data used should be shown here)
Module Inputs | Module Outputs | |
---|---|---|
VehSpd_Kph_f32 | AstVehSpdLimit_MtrNm_f32 | |
HwPos_HwDeg_f32 | ||
HwPosAuth_Uls_f32 | ||
CWPosition_HwDeg_f32 | ||
CCWPosition_HwDeg_f32 |
Module Internal Variables
This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
ZeroVehSpd_MtrNm_D_u5p11 | 2^-11 | 0 | 8.8 | VEHSPDLMT_START_SEC_VAR_CLEARED_16 |
LimitTerm_MtrNm_D_u5p11 | 2^-11 | 0 | 8.8 | VEHSPDLMT_START_SEC_VAR_CLEARED_16 |
BkPtOne_HwDeg_D_u12p4 | 2^-4 | 0 | 900 | VEHSPDLMT_START_SEC_VAR_CLEARED_16 |
BkPtTwo_HwDeg_D_u12p4 | 2^-4 | 0 | 900 | VEHSPDLMT_START_SEC_VAR_CLEARED_16 |
User defined typedef definition/declaration
This section documents any user types uniquely used for the module.
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
---|---|---|---|---|
Constant Data Dictionary
Calibration Constants
This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.
Constant Name |
---|
k_PosMaxOfstOne_HwDeg_u12p4 |
k_PosMaxOfstTwo_HwDeg_u12p4 |
t_MaxAsstTblX_Kph_u9p7[] |
t_MaxAsstTblY_MtrNm_u5p11[5] |
Program(fixed) Constants
Embedded Constants
All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.
Local
Constant Name | Resolution | Units | Value |
---|---|---|---|
D_MAXCONF_ULS_F32 | single precision float | Unitless | 1.0 |
D_ASTVEHSPDLMTLOLMT_MTRNM_F32 | single precision float | MtrNm | 0.0 |
D_ASTVEHSPDLMTHILMT_MTRNM_F32 | single precision float | MtrNm | 8.8 |
Global
This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.
Constant Name |
---|
<None> |
Module specific Lookup Tables Constants
(This is for lookup tables (arrays) with fixed values, same name as other tables)
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
None |
Functions/Macros used by the Sub-Modules
Library Functions / Macros
The library and functions / Macros that are called by the various sub modules are identified below,
IntplVarXY_u16_u16Xu16Y_Cnt()
Abs_s16_m()
FPM_FloatToFixed_m()
FPM_FixedToFloat_m()
Limit_m()
Data Hiding Functions
<None>
Global Functions/Macros Defined by this Module
Global Function #1
Function Name | Type | Min | Max | UTP Tol. | |
---|---|---|---|---|---|
Arguments Passed | |||||
Return Value |
Description
Local Functions/Macros Used by this MDD only
Local Function #1
Function Name | Type | Min | Max | UTP Tol. | |
---|---|---|---|---|---|
Arguments Passed | |||||
Return Value |
Description
Software Module Implementation
Runtime Environment (RTE) Initial Values
This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.
Data | Value |
---|---|
VehSpd_Kph_f32 | 0.0 |
HwPos_HwDeg_f32 | 0.0 |
HwPosAuth_Uls_f32 | 0.0 |
CWPosition_HwDeg_f32 | 0.0 |
CCWPosition_HwDeg_f32 | 0.0 |
AstVehSpdLimit_MtrNm_f32 | 8.8 |
Initialization Functions
None
Periodic Functions
Per: _Per1
Design Rationale
None
Program Flow Start
Store Module Inputs to Local copies
Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached() HwPosAuth_Uls_T_f32 = Rte_IRead_VehSpdLmt_Per1_HwPosAuth_Uls_f32()
HwPos_HwDeg_T_f32 = Rte_IRead_VehSpdLmt_Per1_HwPos_HwDeg_f32()
VehSpd_Kph_T_f32 = Rte_IRead_VehSpdLmt_Per1_VehSpd_Kph_f32()
CCWEOTPos_HwDeg_T_f32 = Rte_IRead_VehSpdLmt_Per1_CCWPosition_HwDeg_f32()
CWEOTPos_HwDeg_T_f32 = Rte_IRead_VehSpdLmt_Per1_CWPosition_HwDeg_f32()
Processing
Store Local copy of outputs into Module Outputs
Rte_IWrite_VehSpdLmt_Per1_AstVehSpdLimit_MtrNm_f32(AstVehSpdLimit_MtrNm_f32)
Program Flow End
Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached()
Fault Recovery Functions
None
Shutdown Functions
None
Interrupt Functions
None
Serial Communication Functions
None
Execution Requirements
Execution Sequence of the Module
Per1 is required to be run in the forward path
Execution Rates for sub-modules called by the Scheduler
This table serves as reference for the Scheduler design
Function Name | Calling Frequency | System State(s) in which the function is called |
---|---|---|
VehSpdLmt_Per1 | 2ms | All |
Execution Requirements for Serial Communication Functions
Function Name | Sub-Module called by (Serial Comm Function Name) |
---|---|
<None> |
Memory Map Definition Requirements
Sub Modules (Functions)
This table identifies the software segments for functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
VehSpdLmt_Per1 |
Local Functions
This table identifies the software segments for local functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
Known Issues / Limitations With Design
(Item #1)
Revision Control Log
Item # | Rev # | Change Description | Date | Author Initials |
---|---|---|---|---|
1 | 1 | Initial component design | 11/15/11 | LWW |
2 | 2 | Added checkpoints and memmap software segment is updated for static variables | 23-Sep-12 | Selva |
3 - VehSpdLmt_UnitTestReport
Overview
Unit Test InformationModule Definitions
Variable Range
VehSpdLmt_Per1
VehSpdLmt_Per1() B
VehSpdLmt_Per1() p
Sheet 1: Unit Test Information
1.0a | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Name of Tester: | Kaustubh Dixit | ||||
Code File(s) Under Test: | Ap_VehSpdLmt.c | ||||
Code File(s) Version: | 3 | ||||
Module Design Document: | VehSpdLmt_MDD.docx | ||||
Module Design Document Version: | 2 | ||||
Unit Test Plan Version: | 2 | ||||
Optimization Level: | Level 2 | ||||
Compiler (CodeGen) Version: | TMS470_4.9.5 | ||||
Model Type: | Excel Macro | ||||
Model Version: | |||||
Special Test Requirements: | |||||
Test Date: | 1/2/2012 | ||||
Comments: | NOTE1: Inline function defined in Globalmacro.h is not unit tested. | ||||
Index of Tests: | |||||
Test Set up | Test Worksheets | Test Status | Run TS | ||
VehSpdLmt_Per1 | VehSpdLmt_Per1() p | -- | -- | 2 | |
35 | VehSpdLmt_Per1() B | -- | -- | 35 | |

Sheet 2: Module Definitions
![]() | |||||||||||
Nexteer EPS Unit Test Tool | |||||||||||
Rev:2.7b | |||||||||||
Module Definitions | |||||||||||
Module Test Functions | Module Set/Read Variables | Module Function Stubs | |||||||||
Return Type | Name | Parameter Prototype | Scope | Type | Name | Default Value | Return Type | Name | Parameter Prototype | ||
void | VehSpdLmt_Per1 | (void) | G | float | VehSpd_Kph_f32 | UINT8 | Tablesize | (void) | |||
G | float | HwPos_HwDeg_f32 | UINT8 | Tablesize1 | (void) | ||||||
G | float | HwPosAuth_Uls_f32 | void | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | (void) | ||||||
G | float | CWPosition_HwDeg_f32 | void | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | (void) | ||||||
G | float | CCWPosition_HwDeg_f32 | |||||||||
G | float | AstVehSpdLimit_MtrNm_f32 | |||||||||
M | u5p11_T | ZeroVehSpd_MtrNm_D_u5p11 | |||||||||
M | u5p11_T | LimitTerm_MtrNm_D_u5p11 | |||||||||
M | u12p4_T | BkPtOne_HwDeg_D_u12p4 | |||||||||
M | u12p4_T | BkPtTwo_HwDeg_D_u12p4 | |||||||||
G | u12p4_T | k_PosMaxOfstOne_HwDeg_u12p4 | |||||||||
G | u12p4_T | k_PosMaxOfstTwo_HwDeg_u12p4 | |||||||||
G | u9p7_T | t_MaxAsstTblX_Kph_u9p7[5] | |||||||||
G | u5p11_T | t_MaxAsstTblY_MtrNm_u5p11[5] |
Sheet 3: Variable Range
![]() | |||||||||||
Nexteer EPS Unit Test Tool | |||||||||||
Rev:2.7b | |||||||||||
Variable Range Definitions | |||||||||||
Variable Name | Max Value | Min Value | |||||||||
VehSpd_Kph_f32 | |||||||||||
HwPos_HwDeg_f32 | |||||||||||
HwPosAuth_Uls_f32 | |||||||||||
CWPosition_HwDeg_f32 | |||||||||||
CCWPosition_HwDeg_f32 | |||||||||||
AstVehSpdLimit_MtrNm_f32 | |||||||||||
ZeroVehSpd_MtrNm_D_u5p11 | |||||||||||
LimitTerm_MtrNm_D_u5p11 | |||||||||||
BkPtOne_HwDeg_D_u12p4 | |||||||||||
BkPtTwo_HwDeg_D_u12p4 | |||||||||||
k_PosMaxOfstOne_HwDeg_u12p4 | |||||||||||
k_PosMaxOfstTwo_HwDeg_u12p4 | |||||||||||
t_MaxAsstTblX_Kph_u9p7[5] | |||||||||||
t_MaxAsstTblY_MtrNm_u5p11[5] |
Sheet 4: VehSpdLmt_Per1
![]() | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Test Setup | |||||
Number Of Calibrations | |||||
Number Of Calibration Sets | |||||
Calibration Sheet | |||||
Function(s) Under Test | Variables | Function Stubs | |||
Function Name | TestType | Test Vectors | Set | Read | Function Name |
VehSpdLmt_Per1 | p | 2 | HwPosAuth_Uls_f32 | AstVehSpdLimit_MtrNm_f32 | Tablesize |
VehSpdLmt_Per1 | B | 35 | HwPos_HwDeg_f32 | Tablesize1 | |
VehSpd_Kph_f32 | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | ||||
CCWPosition_HwDeg_f32 | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | ||||
CWPosition_HwDeg_f32 | |||||
k_PosMaxOfstOne_HwDeg_u12p4 | |||||
k_PosMaxOfstTwo_HwDeg_u12p4 | |||||
t_MaxAsstTblX_Kph_u9p7[5] | |||||
t_MaxAsstTblY_MtrNm_u5p11[5] |
Sheet 5: VehSpdLmt_Per1() B
VehSpdLmt_Per1 | TS | -- | |||||||||||||||||||||||
B | I/P | I/P | I/P | I/P | I/P | I/P | I/P | I/P | I/P | Func Stub Return Val | Func Stub Return Val | O/P | Func Stub Counter | Func Stub Counter | Func Stub Counter | Func Stub Counter | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | HwPosAuth_Uls_f32 | HwPos_HwDeg_f32 | VehSpd_Kph_f32 | CCWPosition_HwDeg_f32 | CWPosition_HwDeg_f32 | k_PosMaxOfstOne_HwDeg_u12p4 | k_PosMaxOfstTwo_HwDeg_u12p4 | t_MaxAsstTblX_Kph_u9p7[5] | t_MaxAsstTblY_MtrNm_u5p11[5] | Tablesize | Tablesize1 | AstVehSpdLimit_MtrNm_f32 | Tablesize | Tablesize1 | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | AstVehSpdLimit_MtrNm_f32 | Tablesize | Tablesize1 | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | HwPosAuth_Uls_f32 = Min | 0 | 100 | 176 | 850 | 256 | 23 | 45 | 1 ,2 , 3 ,3 , 5 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.7998046875 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 0 | 1 | 1 | -- | ||
2 | HwPosAuth_Uls_f32 = Max | 1 | -100 | 278 | -850 | -378 | 47 | 68 | 5 ,7 , 8 ,9 , 15 | 8 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 8 | 1 | 1 | 1 | 1 | -- | ||
3 | HwPosAuth_Uls_f32 = Pos | 0.5 | 200 | 380 | 750 | 735 | 71 | 91 | 2 ,2 , 3 ,3 , 5 | 7 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 7 | 1 | 0 | 1 | 1 | -- | ||
4 | HwPos_HwDeg_f32 = Min | 1 | -900 | 485 | -750 | -357 | 95 | 114 | 6 ,7 , 8 ,9 , 15 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.89990234375 | 5 | 2 | -- | -- | -- | -- | -- | 8.80000019073486 | 1 | 1 | 1 | 1 | -- | ||
5 | HwPos_HwDeg_f32 = Max | 0.2 | 900 | 36 | 650 | 156 | 119 | 137 | 3 ,2 , 3 ,3 , 5 | 6 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 6 | 1 | 0 | 1 | 1 | -- | ||
6 | HwPos_HwDeg_f32 = Zero | 0.3 | 0 | 357 | -650 | -287 | 143 | 160 | 7 ,7 , 8 ,9 , 15 | 5 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 5 | 1 | 0 | 1 | 1 | -- | ||
7 | HwPos_HwDeg_f32 = Pos | 1 | 500 | 147 | 550 | 357 | 167 | 183 | 4 ,2 , 3 ,3 , 5 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.1 | 5 | 2 | -- | -- | -- | -- | -- | 8.10009765625 | 1 | 1 | 1 | 1 | -- | ||
8 | HwPos_HwDeg_f32 = Neg | 0.5 | -500 | 26 | -550 | -864 | 191 | 206 | 8 ,7 , 8 ,9 , 15 | 4 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 4 | 1 | 0 | 1 | 1 | -- | ||
9 | VehSpd_Kph_f32 = Min | 0.6 | -200 | 0 | 450 | 745 | 215 | 229 | 5 ,2 , 3 ,3 , 5 | 3 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 3 | 1 | 0 | 1 | 1 | -- | ||
10 | VehSpd_Kph_f32 = Max | 1 | 300 | 511.9921875 | -450 | -457 | 239 | 252 | 9 ,7 , 8 ,9 , 15 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.2 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 1 | 1 | 1 | -- | ||
11 | VehSpd_Kph_f32 = Pos | 0.8 | -300 | 250 | 350 | -587 | 263 | 275 | 6 ,2 , 3 ,3 , 5 | 2 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 2 | 1 | 0 | 1 | 1 | -- | ||
12 | CCWPosition_HwDeg_f32 = Min | 0.9 | 400 | 342 | -900 | 532 | 287 | 298 | 10 ,7 , 8 ,9 , 15 | 1 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 1 | 1 | 0 | 1 | 1 | -- | ||
13 | CCWPosition_HwDeg_f32 = Max | 1 | -400 | 123 | 900 | -784 | 311 | 321 | 7 ,2 , 3 ,3 , 5 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.2998046875 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 1 | 1 | 1 | -- | ||
14 | CCWPosition_HwDeg_f32 = Zero | 1 | 500 | 57 | 0 | 357 | 335 | 344 | 11 ,7 , 8 ,9 , 15 | 0 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 4 | 1 | 1 | 1 | 1 | -- | ||
15 | CCWPosition_HwDeg_f32 = Pos | 0.287 | -500 | 368 | 500 | -478 | 359 | 367 | 8 ,2 , 3 ,3 , 5 | 1 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 1 | 1 | 0 | 1 | 1 | -- | ||
16 | CCWPosition_HwDeg_f32 = Neg | 1 | 600 | 257 | -500 | 647 | 383 | 390 | 12 ,7 , 8 ,9 , 15 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.39990234375 | 5 | 2 | -- | -- | -- | -- | -- | 8.39990234375 | 1 | 1 | 1 | 1 | -- | ||
17 | CWPosition_HwDeg_f32 = Min | 0.487 | -600 | 178 | -350 | -900 | 407 | 413 | 9 ,2 , 3 ,3 , 5 | 2 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 2 | 1 | 0 | 1 | 1 | -- | ||
18 | CWPosition_HwDeg_f32 = Max | 0.58723 | 700 | 267 | 250 | 900 | 431 | 436 | 13 ,7 , 8 ,9 , 15 | 3 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 3 | 1 | 0 | 1 | 1 | -- | ||
19 | CWPosition_HwDeg_f32 = Zero | 1 | -700 | 476 | -250 | 0 | 455 | 459 | 10 ,2 , 3 ,3 , 5 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.5 | 5 | 2 | -- | -- | -- | -- | -- | 8.5 | 1 | 1 | 1 | 1 | -- | ||
20 | CWPosition_HwDeg_f32 = Pos | 0.4687 | 800 | 478 | 150 | 500 | 479 | 482 | 14 ,7 , 8 ,9 , 15 | 4 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 4 | 1 | 0 | 1 | 1 | -- | ||
21 | CWPosition_HwDeg_f32 = Neg | 0.6478 | -800 | 267 | -150 | -500 | 503 | 505 | 11 ,2 , 3 ,3 , 5 | 5 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 5 | 1 | 0 | 1 | 1 | -- | ||
22 | k_PosMaxOfstOne_HwDeg_u12p4 min | 0.8269 | -666 | 14 | -333 | 156 | 0 | 528 | 15 ,7 , 8 ,9 , 15 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.6 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 0 | 1 | 1 | -- | ||
23 | k_PosMaxOfstOne_HwDeg_u12p4 max | 0.789 | -532 | 37 | -516 | -287 | 900 | 551 | 12 ,2 , 3 ,3 , 5 | 6 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 6 | 1 | 0 | 1 | 1 | -- | ||
24 | k_PosMaxOfstOne_HwDeg_u12p4 pos | 0.7511 | -398 | 60 | -699 | -730 | 123 | 574 | 16 ,7 , 8 ,9 , 15 | 7 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 7 | 1 | 0 | 1 | 1 | -- | ||
25 | k_PosMaxOfstTwo_HwDeg_u12p4 min | 0.7132 | -264 | 83 | -882 | -668 | 71 | 0 | 13 ,2 , 3 ,3 , 5 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.7 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 0 | 1 | 1 | -- | ||
26 | k_PosMaxOfstTwo_HwDeg_u12p4 max | 0.6753 | -130 | 106 | 221 | -606 | 69 | 900 | 17 ,7 , 8 ,9 , 15 | 8 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 8 | 1 | 0 | 1 | 1 | -- | ||
27 | k_PosMaxOfstTwo_HwDeg_u12p4 pos | 0.6374 | 4 | 129 | 245 | -544 | 67 | 123 | 14 ,2 , 3 ,3 , 5 | 9 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 8.80000019073486 | 1 | 0 | 1 | 1 | -- | ||
28 | t_MaxAsstTblX_Kph_u9p7[5] min | 0.5995 | 138 | 152 | 269 | -482 | 65 | 444 | 0 , 0 , 0 , 0 , 0 | 5.7998046875, 1.7998046875, 2, 8.7998046875, 8.7998046875 | 5 | 2 | -- | -- | -- | -- | -- | 5.7998046875 | 1 | 0 | 1 | 1 | -- | ||
29 | t_MaxAsstTblX_Kph_u9p7[5] amx | 0.35616 | 272 | 175 | 293 | -420 | 63 | 333 | 255 , 255 , 255 , 255 , 255 | 10 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 8.80000019073486 | 1 | 0 | 1 | 1 | -- | ||
30 | t_MaxAsstTblX_Kph_u9p7[5] pos | 0.11282 | 406 | 198 | 317 | 358 | 61 | 222 | 127 , 127 , 127 , 127 , 127 | 11 , 1 , 2 , 6 ,4 | 5 | 2 | -- | -- | -- | -- | -- | 8.80000019073486 | 1 | 0 | 1 | 1 | -- | ||
31 | t_MaxAsstTblY_MtrNm_u5p11[5] min | 0.485800000000001 | 540 | 221 | 341 | 496 | 59 | 111 | 123, 145, 200, 200, 200 | 0 , 0 , 0 , 0 , 0 | 5 | 2 | -- | -- | -- | -- | -- | 0 | 1 | 0 | 1 | 1 | -- | ||
32 | t_MaxAsstTblY_MtrNm_u5p11[5] max | 0.858780000000002 | 674 | 244 | 365 | 634 | 57 | 555 | 23, 145, 250, 200, 200 | 8.7998046875, 8.7998046875, 8.7998046875, 8.7998046875, 8.7998046875 | 5 | 2 | -- | -- | -- | -- | -- | 8.7998046875 | 1 | 0 | 1 | 1 | -- | ||
33 | t_MaxAsstTblY_MtrNm_u5p11[5] pos | 0.410000000000001 | 808 | 267 | 389 | 772 | 55 | 789 | 76, 85, 46, 99, 79 | 1 , 1 , 1 , 1 , 1 | 5 | 2 | -- | -- | -- | -- | -- | 1 | 1 | 0 | 1 | 1 | -- | ||
34 | All min | 0 | -900 | 0 | -900 | -900 | 0 | 0 | 0 , 0 , 0 , 0 , 0 | 0 , 0 , 0 , 0 , 0 | 5 | 2 | -- | -- | -- | -- | -- | 0 | 1 | 0 | 1 | 1 | -- | ||
35 | All max | 1 | 900 | 511.9921875 | 900 | 900 | 900 | 900 | 255 , 255 , 255 , 255 , 255 | 8.7998046875, 8.7998046875, 8.7998046875, 8.7998046875, 8.7998046875 | 5 | 2 | -- | -- | -- | -- | -- | 8.7998046875 | 1 | 1 | 1 | 1 | -- | ||
Sheet 6: VehSpdLmt_Per1() p
VehSpdLmt_Per1 | TS | -- | |||||||||||||||||||||||
p | I/P | I/P | I/P | I/P | I/P | I/P | I/P | I/P | I/P | Func Stub Return Val | Func Stub Return Val | O/P | Func Stub Counter | Func Stub Counter | Func Stub Counter | Func Stub Counter | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | HwPosAuth_Uls_f32 | HwPos_HwDeg_f32 | VehSpd_Kph_f32 | CCWPosition_HwDeg_f32 | CWPosition_HwDeg_f32 | k_PosMaxOfstOne_HwDeg_u12p4 | k_PosMaxOfstTwo_HwDeg_u12p4 | t_MaxAsstTblX_Kph_u9p7[5] | t_MaxAsstTblY_MtrNm_u5p11[5] | Tablesize | Tablesize1 | AstVehSpdLimit_MtrNm_f32 | Tablesize | Tablesize1 | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | AstVehSpdLimit_MtrNm_f32 | Tablesize | Tablesize1 | Rte_Call_VehSpdLmt_Per1_CP0_CheckpointReached | Rte_Call_VehSpdLmt_Per1_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | (HwPos_HwDeg_T_s11p4 < 0) = True and (HwPosAuth_Uls_T_f32 >= D_MAXCONF_ULS_F32) = True | 1 | -100 | 46 | -850 | -378 | 140 | 130 | 0, 25, 50, 65, 75 | 3.56982421875, 3.56982421875, 1.75, 0.89, 0.56 | 5 | 3 | -- | -- | -- | -- | -- | 3.56982421875 | 1 | 1 | 1 | 1 | -- | ||
2 | (HwPos_HwDeg_T_s11p4 < 0) = False and (HwPosAuth_Uls_T_f32 >= D_MAXCONF_ULS_F32)=False | 0 | 100 | 97 | 850 | 256 | 140 | 130 | 0, 25, 50, 65, 75 | 3.56982421875, 3.56982421875, 1.75, 0.89, 0.56 | 5 | 3 | -- | -- | -- | -- | -- | 3.56982421875 | 1 | 0 | 1 | 1 | -- | ||