BmwVehSpd_MDD

Module Design Document

For

BmwVehSpd

June 22, 2018

Prepared By:

Marek Brykczyński,

Nexteer Automotive,

Tychy, Poland
Change History

DescriptionAuthorVersionDate
Initial versionMatthew Leser1.027-Feb-2018
Updated according to design 3.0.0Marek Brykczyński2.025-Jun-2018


Table of Contents

1 Introduction 5

1.1 Purpose 5

1.2 Scope 5

2 BmwVehSpd High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of BmwVehSpd 7

3.2 Data Flow Diagram 7

3.2.1 Component level DFD 7

3.2.2 Function level DFD 7

4 Constant Data Dictionary 8

4.1 Program (fixed) Constants 8

4.1.1 Embedded Constants 8

5 Software Component Implementation 9

5.1 Sub-Module Functions 9

5.1.1 BmwVehSpdInit1 9

5.1.1.1 Design Rationale 9

5.1.1.2 Module Outputs 9

5.1.2 BmwVehSpdPer1 9

5.1.2.1 Design Rationale 9

5.1.2.2 Module Outputs 9

5.2 Server Runnables 9

5.3 Interrupt Functions 9

5.3.1 Interrupt Function Name 9

5.4 Module Internal (Local) Functions 9

5.4.1 Cntr 9

5.4.2 VehSpdVldCalcn 10

5.4.3 VehSpdRateLim 10

5.4.4 ProcessSecondAndGateState 10

5.4.5 ProcessThirdAndGateState 10

5.4.6 ProcessSixthAndGateState 10

5.4.7 ProcessFourthAndGateState 11

5.4.8 ProcessThridConditionOfOrGate 11

5.5 GLOBAL Function/Macro Definitions 11

6 Known Limitations with Design 12

7 UNIT TEST CONSIDERATION 13

Appendix A Abbreviations and Acronyms 14

Appendix B Glossary 15

Appendix C Please references 16

Introduction

Purpose

Module Design Document for CF080A_BmwVehSpd_Impl

Scope

The following definitions are used throughout this document:

  • Shall: indicates a mandatory requirement without exception in compliance.

  • Should: indicates a mandatory requirement; exceptions allowed only with documented justification.

  • May: indicates an optional action.

BmwVehSpd High-Level Description

The BmwVehSpd software component is responsible for determining the Vehicle Speed.

Design details of software module

Please refer FDD

Graphical representation of BmwVehSpd

Data Flow Diagram

Please refer FDD

Component level DFD

Please refer FDD

Function level DFD

Please refer FDD

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
Please refer .m file for constants

Software Component Implementation

Sub-Module Functions

BmwVehSpdInit1

Design Rationale

Please refer FDD

Module Outputs

None

BmwVehSpdPer1

Design Rationale

Please refer FDD.

Module Outputs

None

Server Runnables

None

Interrupt Functions

None

Interrupt Function Name

None

Module Internal (Local) Functions

Cntr

Function NameCntrTypeMinMax
Arguments PassedCntrTrigInp_Cnt_T_loglbooleanFALSETRUE
SigValVld_Cnt_T_loglconst pointer to booleanFALSETRUE
CdnDurnSigValVld_Cnt_T_loglconst pointer to booleanFALSETRUE
Return ValueNone---

VehSpdVldCalcn

Function NameVehSpdVldCalcnTypeMinMax
Arguments PassedBmwSecurVehSpdSts_Cnt_T_enumuint8115
Return ValueVehSpdVld_Cnt_T_loglbooleanFALSETRUE

VehSpdRateLim

Function NameVehSpdRateLimTypeMinMax
Arguments PassedBmwSecurVehSpdSts_Cnt_T_enumuint8115
IntEpsVehSpd_Kph_T_f32float320350
Return Value*Rte_Pim_VehSpdLimPrev()float320511

ProcessSecondAndGateState

Function NameProcessSecondAndGateStateTypeMinMax
Arguments PassedBmwCogVehSpdVld_Cnt_T_loglbooleanFALSETRUE
BmwCogVehSpdQlfrVld_Cnt_T_loglbooleanFALSETRUE
BmwCogVehSpdQlfr_Cnt_T_enumuint8115
Return ValueSecondAndGateEval_Cnt_T_loglbooleanFALSETRUE

ProcessThirdAndGateState

Function NameProcessThirdAndGateStateTypeMinMax
Arguments PassedBmwCogVehSpdVld_Cnt_T_loglbooleanFALSETRUE
BmwCogVehSpdQlfrVld_Cnt_T_loglbooleanFALSETRUE
BmwCogVehSpdQlfr_Cnt_T_enumuint8115
Return ValueThirdAndGateEval_Cnt_T_loglbooleanFALSETRUE

ProcessSixthAndGateState

Function NameProcessSixthAndGateStateTypeMinMax
Arguments PassedBmwPinionAgQlfr_Cnt_T_enumbooleanFALSETRUE
Return ValueSixthAndGateEval_Cnt_T_loglbooleanFALSETRUE

ProcessFourthAndGateState

Function NameProcessFourthAndGateStateTypeMinMax
Arguments PassedThirdAndGateEval_Cnt_T_loglbooleanFALSETRUE
SixthAndGateEval_Cnt_T_loglbooleanFALSETRUE
Return Valuefunction’s return valuebooleanFALSETRUE

ProcessThridConditionOfOrGate

Function NameProcessThridConditionOfOrGateTypeMinMax
Arguments PassedBmwCogVehSpdQlfrVld_Cnt_T_loglbooleanFALSETRUE
CdnDurnSigValVld_Cnt_T_loglbooleanFALSETRUE
BmwCogVehSpdQlfr_Cnt_T_enumuint8115
Return ValueLogicResult_Cnt_T_loglbooleanFALSETRUE

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

None.

UNIT TEST CONSIDERATION

None

Abbreviations and Acronyms

Abbreviation or AcronymDescription

Glossary

Note: Terms and definitions from the source “Nexteer Automotive” take precedence over all other definitions of the same term. Terms and definitions from the source “Nexteer Automotive” are formulated from multiple sources, including the following:

  • ISO 9000

  • ISO/IEC 12207

  • ISO/IEC 15504

  • Automotive SPICE® Process Please reference Model (PRM)

  • Automotive SPICE® Process Assessment Model (PAM)

  • ISO/IEC 15288

  • ISO 26262

  • IEEE Standards

  • SWEBOK

  • PMBOK

  • Existing Nexteer Automotive documentation

TermDefinitionSource
MDDModule Design Document
DFDData Flow Diagram

Please references

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3Software Naming Conventions.doc1.0
4Software Design and Coding Standards.doc2.1
5FDD: CF080A_BmwVehSpd_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (af72ad2)