TmplMonr_MDD

Module Design Document

For

Temporal Monitor Function

Mar 24, 2017

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USAChange History

DescriptionAuthorVersionDate
Initial VersionKrishna Anne1.024-Mar-2017
Removed limitations from previous versionKrishna Anne2.027-Mar-2017

Table of Contents

1 Introduction 6

1.1 Purpose 6

2 TmplMonr & High-Level Description 7

3 Design details of software module 8

3.1 Graphical representation of TmplMonr 8

3.2 Data Flow Diagram 8

3.2.1 Component level DFD 8

3.2.2 Function level DFD 8

4 Constant Data Dictionary 9

4.1 Program (fixed) Constants 9

4.1.1 Embedded Constants 9

5 Software Component Implementation 10

5.1 Sub-Module Functions 10

5.1.1 Init: TmplMonrInit1 10

5.1.1.1 Design Rationale 10

5.1.1.2 Module Outputs 10

5.1.2 Per: TmplMonrPer1 10

5.1.2.1 Design Rationale 10

5.1.2.2 Store Module Inputs to Local copies 10

5.1.2.3 (Processing of function)……… 10

5.1.2.4 Store Local copy of outputs into Module Outputs 10

5.1.3 Per: TmplMonrPer2 10

5.1.3.1 Design Rationale 10

5.1.3.2 Store Module Inputs to Local copies 10

5.1.3.3 (Processing of function)……… 10

5.1.3.4 Store Local copy of outputs into Module Outputs 11

5.1.4 Per: TmplMonrPer3 11

5.1.4.1 Design Rationale 11

5.1.4.2 Store Module Inputs to Local copies 11

5.1.4.3 (Processing of function)……… 11

5.1.4.4 Store Local copy of outputs into Module Outputs 11

5.2 Server Runables 11

5.3 Interrupt Functions 11

5.4 Module Internal (Local) Functions 11

5.4.1 Local Function #1 11

5.4.1.1 Design Rationale 11

5.4.1.2 Processing 11

5.4.2 Local Function #2 12

5.4.2.1 Design Rationale 12

5.4.2.2 Processing 12

5.4.3 Local Function #3 12

5.4.3.1 Design Rationale 12

5.4.3.2 Processing 12

5.4.4 Local Function #4 12

5.4.4.1 Design Rationale 12

5.4.4.2 Processing 12

5.4.5 Local Function #5 12

5.4.5.1 Design Rationale 13

5.4.5.2 Processing 13

5.4.6 Local Function #6 13

5.4.6.1 Design Rationale 13

5.4.6.2 Processing 13

5.4.7 Local Function #7 13

5.4.7.1 Design Rationale 13

5.4.7.2 Processing 13

5.4.8 Local Function #8 13

5.4.8.1 Design Rationale 14

5.4.8.2 Processing 14

5.4.9 Local Function #9 14

5.4.9.1 Design Rationale 14

5.4.9.2 Processing 14

5.4.10 Local Function #10 14

5.4.10.1 Design Rationale 14

5.4.10.2 Processing 14

5.5 GLOBAL Function/Macro Definitions 15

6 Known Limitations with Design 16

7 UNIT TEST CONSIDERATION 17

Appendix A Abbreviations and Acronyms 18

Appendix B Glossary 19

Appendix C References 20

Introduction

Purpose

Module design document for Temporal Monitor Function.

TmplMonr & High-Level Description

Refer to FDD

Design details of software module

Graphical representation of TmplMonr

Data Flow Diagram

Component level DFD

N/A

Function level DFD

N/A

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
Refer to the Data Dictionary of the design

Software Component Implementation

Sub-Module Functions

The sub-module functions are grouped based on similar functionality that needs to be executed in a given “State” of the system (refer States and Modes). For a given module, the MDD will identify the type and number of sub-modules required. The sub-module types are described below.

Init: TmplMonrInit1

Design Rationale

None

Module Outputs

Refer to FDD

Per: TmplMonrPer1

Design Rationale

None

Store Module Inputs to Local copies

Refer to FDD

(Processing of function)………

Refer to FDD

Store Local copy of outputs into Module Outputs

Refer to FDD

Per: TmplMonrPer2

Design Rationale

None

Store Module Inputs to Local copies

Refer to FDD

(Processing of function)………

Refer to FDD

Store Local copy of outputs into Module Outputs

Refer to FDD

Per: TmplMonrPer3

Design Rationale

None

Store Module Inputs to Local copies

Refer to FDD

(Processing of function)………

Refer to FDD

Store Local copy of outputs into Module Outputs

Refer to FDD

Server Runables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameTMFInitTestTypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block of the Simulink model of the design.

Local Function #2

Function NameTMFInitTestCase0TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 0 of the Simulink model of the design.

Local Function #3

Function NameTMFInitTestCase10To11Case15To17TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 10, case 11, case 15, case 16 and case 17 of the Simulink model of the design.

Local Function #4

Function NameTMFInitTestCase13TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 13 of the Simulink model of the design.

Local Function #5

Function NameTMFInitTestCase18TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 18 of the Simulink model of the design.

Local Function #6

Function NameTMFInitTestCase19TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 19 of the Simulink model of the design.

Local Function #7

Function NameTMFInitTestCase20TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 20 of the Simulink model of the design.

Local Function #8

Function NameTMFInitTestCase21TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 21 of the Simulink model of the design.

Local Function #9

Function NameTMFInitTestCase53TypeMinMax
Arguments PassedNone
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

Refer to the “TMF Init Test” block case 53 of the Simulink model of the design.

Local Function #10

Function NameSpiAsyncTxTypeMinMax
Arguments PassedChannel_Cnt_T_u16Spi_ChannelType0U65535U
TxData_Cnt_T_u16Spi_DataType0U65535U
Sequence_Cnt_T_u08Spi_SequenceType0U255U
Return ValueN/A

Design Rationale

None

Processing

(Place flowchart/design for local function)

This function is defined in order to call Spi_WriteIB and Call_Spi_AsyncTransmit together in a sequence.

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

None.

UNIT TEST CONSIDERATION

Rte_Pim_TrsmErrCntr is a free running counter hence Overflow or rollover is intentional.

Abbreviations and Acronyms

Abbreviation or AcronymDescription
DFDDesign functional diagram
MDDModule design Document

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 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

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.doc2.0
4Software Design and Coding Standards.doc2.1
5FDD – ES005C TmplMonrSee Synergy subproject version
Last modified October 12, 2025: Initial commit (af72ad2)