Skip to content

Commit 79331f4

Browse files
Merge pull request #29 from eclipse-score/aschemmel-tech-add-dd-to-folder
doc: add detailed design also to folder templates
2 parents 59a5295 + 0aeec54 commit 79331f4

File tree

3 files changed

+80
-44
lines changed

3 files changed

+80
-44
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
..
2+
# *******************************************************************************
3+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
14+
15+
.. _component_detailed_design_template:
16+
17+
Detailed Design
18+
###############
19+
20+
.. document:: [Your Component Name] Detailed Design
21+
:id: doc__component_name_detailed_design
22+
:status: draft
23+
:safety: ASIL_D
24+
:realizes: wp__sw_implementation
25+
:tags: template
26+
27+
.. attention::
28+
The above directive must be updated according to your Component.
29+
30+
- Modify ``Your Component Name`` to be your Component Name
31+
- Modify ``id`` to be your Component Name in upper snake case preceded by ``doc__`` and followed by ``_detailed_design``
32+
- Adjust ``status`` to be ``valid``
33+
- Adjust ``safety`` and ``tags`` according to your needs
34+
35+
Detailed Design for Component: <Component Name>
36+
===============================================
37+
38+
Description
39+
-----------
40+
41+
| Design Decisions
42+
| Design Constraints
43+
44+
Rationale Behind Decomposition into Units
45+
******************************************
46+
| mandatory: a motivation for the decomposition into one or more units.
47+
48+
.. note:: Reason for split into multiple units could be-
49+
- Based on design principles like SOLID,DRY etc
50+
- Based on design pattern's etc.
51+
52+
Static Diagrams for Unit Interactions
53+
-------------------------------------
54+
.. code-block:: rst
55+
56+
.. dd_sta:: <Title>
57+
:id: dd_sta__<Title>
58+
:security: <YES|NO>
59+
:safety: <QM|ASIL_B|ASIL_D>
60+
:status: <valid|invalid>
61+
:implements: <link to component requirement id>
62+
:satisfies: <link to component architecture id>
63+
64+
.. image:: <link to drawio image> or .. uml:: <link to plantuml>
65+
66+
Dynamic Diagrams for Unit Interactions
67+
--------------------------------------
68+
.. code-block:: rst
69+
70+
.. dd_dyn:: <Title>
71+
:id: dd_dyn__<Title>
72+
:security: <YES|NO>
73+
:safety: <QM|ASIL_B|ASIL_D>
74+
:status: <valid|invalid>
75+
:implements: <link to component requirement id>
76+
:satisfies: <link to component architecture id>
77+
78+
.. image:: <link to drawio image> or .. uml:: <link to plantuml>

process/folder_templates/modules/module_name/component_name/docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Footnotes
175175

176176
requirements/index.rst
177177
architecture/index.rst
178+
detailed_design/index.rst
178179
safety_analysis/fmea.rst
179180
safety_analysis/dfa.rst
180181
component_classification.rst

process/process_areas/implementation/guidance/detailed_design_template.rst

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -21,47 +21,4 @@ Detailed Design Template
2121
:status: valid
2222
:complies: std_req__iso26262__software_542, std_req__iso26262__support_641, std_req__iso26262__support_6421, std_req__iso26262__support_6425
2323

24-
Detailed Design for Component: <Component Name>
25-
===============================================
26-
27-
Description
28-
-----------
29-
30-
| Design Decisions
31-
| Design Constraints
32-
33-
Rationale Behind Decomposition into Units
34-
******************************************
35-
| mandatory: a motivation for the decomposition into one or more units.
36-
37-
.. note:: Reason for split into multiple units could be-
38-
- Based on design principles like SOLID,DRY etc
39-
- Based on design pattern's etc.
40-
41-
Static Diagrams for Unit Interactions
42-
-------------------------------------
43-
.. code-block:: rst
44-
45-
.. dd_sta:: <Title>
46-
:id: dd_sta__<Title>
47-
:security: <YES|NO>
48-
:safety: <QM|ASIL_B|ASIL_D>
49-
:status: <valid|invalid>
50-
:implements: <link to component requirement id>
51-
:satisfies: <link to component architecture id>
52-
53-
.. image:: <link to drawio image> or .. uml:: <link to plantuml>
54-
55-
Dynamic Diagrams for Unit Interactions
56-
--------------------------------------
57-
.. code-block:: rst
58-
59-
.. dd_dyn:: <Title>
60-
:id: dd_dyn__<Title>
61-
:security: <YES|NO>
62-
:safety: <QM|ASIL_B|ASIL_D>
63-
:status: <valid|invalid>
64-
:implements: <link to component requirement id>
65-
:satisfies: <link to component architecture id>
66-
67-
.. image:: <link to drawio image> or .. uml:: <link to plantuml>
24+
For the content see here: :ref:`component_detailed_design_template`

0 commit comments

Comments
 (0)