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
| Description | Author | Version | Date |
| Initial Version | Krishna Anne | 1.0 | 24-Mar-2017 |
| Removed limitations from previous version | Krishna Anne | 2.0 | 27-Mar-2017 |
Table of Contents
2 TmplMonr & High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of TmplMonr 8
4.1 Program (fixed) Constants 9
5 Software Component Implementation 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.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.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.4 Module Internal (Local) Functions 11
5.5 GLOBAL Function/Macro Definitions 15
6 Known Limitations with Design 16
Appendix A Abbreviations and Acronyms 18
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 Name | Resolution | Units | Value |
| 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 Name | TMFInitTest | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase0 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase10To11Case15To17 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase13 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase18 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase19 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase20 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase21 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | TMFInitTestCase53 | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value | N/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 Name | SpiAsyncTx | Type | Min | Max |
| Arguments Passed | Channel_Cnt_T_u16 | Spi_ChannelType | 0U | 65535U |
| TxData_Cnt_T_u16 | Spi_DataType | 0U | 65535U | |
| Sequence_Cnt_T_u08 | Spi_SequenceType | 0U | 255U | |
| Return Value | N/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 Acronym | Description |
|---|---|
| DFD | Design functional diagram |
| MDD | Module 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
| Term | Definition | Source |
|---|---|---|
| MDD | Module Design Document | |
| DFD | Data Flow Diagram |
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.00 |
| 3 | Software Naming Conventions.doc | 2.0 |
| 4 | Software Design and Coding Standards.doc | 2.1 |
| 5 | FDD – ES005C TmplMonr | See Synergy subproject version |