UNDER CONSTRUCTION
Notes in this template provide guidance to authors on how the section if to be completed. Once the section is populated, the Note may be deleted. Notes are not intended to be left in the completed page.
1. Introduction
Typically starts with a quote from the NPR that helps define the activity. Additional descriptive material is meant to help define the activity but not be so detailed that it pulls in all of the guidance from the SWEs in the activity.
4.3.1 Software design is the process of defining the software architecture, components, modules, interfaces, and data for a software system to satisfy specified requirements. The software architecture is the fundamental organization of a system embodied in its components, their relationships to each other and the environment, and the principles guiding its design and evolution. The software architectural design is concerned with creating a strong overall structure for software entities that fulfill the allocated system and software-level requirements. Typical views captured in an architectural design include the decomposition of the software subsystem into design entities, computer software configuration items, definitions of external and internal interfaces, dependency relationships among entities and system resources, and finite state machines. The design should be further refined into lower-level entities that permit the implementation by coding in a programming language. Typical attributes that are documented for lower-level entities include the identifier, type, purpose, function, constraints, subordinates, dependencies, interface, resources, processing, and data. Rigorous specification languages, graphical representations, and related tools have been developed to support the evaluation of critical properties at the design level. Projects are encouraged to take advantage of these improved design techniques to prevent and eliminate errors as early in the life cycle as possible. Software, developed or purchased, has additional requirements to comply with from Section 508 of the Rehabilitation Act, as defined in NPR 2800.2.Software peer reviews and inspections are the in-process technical examination of work products by peers to find and eliminate defects early in the life cycle. Software peer reviews and inspections are performed following defined procedures covering the preparation for the review, the review itself is conducted, results are recorded, results are reported, and completion criteria is certified. When planning the composition of a software peer review or inspection team, consider including software testing, system testing, software assurance, software safety, software cybersecurity, and software IV&V personnel.
Activity graphical representation of Inputs, Outputs, Predecessor and Successor Activities as appropriate. Not meant to be exhaustive, but representative of a typical project.
1.1 Inputs
List of some of the inputs from other activities that are necessary for the activity to begin.
Examples:
- Requirements - These influence the design of the software
- Architecture Documents- These influence the design of the software
1.2 Predecessor Activities
List of some of the other activities that must be started (not necessarily completed) so that this activity may begin.
Examples:
Predecessor Activities are performed before Peer Reviews. These activities produce the work products that will be reviewed.
- Planning - Design activities are included in the plan and schedules
- Requirements - These influence the design of the software
- Architecture - These influence the design of the software
1.3 Outputs
List of some of the outputs or work products of the activity. These are typically used as inputs by the downstream activity. In some cases there is a supporting SWE associated with the work product.
| Output Work Product | Used by Downstream Activity |
|---|---|
|
|
|
|
|
|
1.4 Successor Activities
Links to Activities which might be started or supported by this activity.
- Implementation and Unit Testing - Implements the Design into one or more code modules.
1.5 Activity Repetition
Describe what conditions determine if the activity needs to be repeated, such as re-planning after a change in requirements or schedule constraints.
- How much of the activity needs to be repeated
- Frequency of repetition
- Design is always done once. Ideally it will be peer reviewed and analyzed by Software Assurance.
- Design may be reviewed and re-analyzed as often as there are significant changes in architecture or requirements. For example,
- Technology changes to the architecture requires changes to the design
- Customer changes to requirements require changes to the design
1.6 Center Resources From SPAN
Add links to SPAN activity pages that are appropriate for this activity. Use links from the Activity section of the front page. SPAN
Several Centers Process Asset Libraries have materials related to this activity. Related Processes, templates, and other resources may be found in the following Activities in SPAN (available to NASA only).
2. Defining the Activity
This tab contains the links to pages in the SWEHB that are at the heart of the activity.
2.1 SWEs
This section contains the links to SWE pages that form the heart of the activity. For each SWE, the related tasks from tab 4 are listed.
- Copy of SWE-058 - Detailed Design with new tab 4
- 4.3.2 The project manager shall develop, record, and maintain a software design based on the software architectural design that describes the lower-level units so that they can be coded, compiled, and tested.
- Assess Design Readiness
- Establish Coding Standards and Processes
- Establish Project Specific Design Considerations
- Establish Detailed Design Documentation and Progress Reviews
- Establish Design Maintenance Processes and Mechanisms
2.2 Topics and other Supporting Materials
This section is for SWEHB pages, other than SWEs, that directly support the activity. This section contains Topics, document content pages, PATs, and other pages.
- Software Design Description document (see SwDD - Software Design Description)
- Software Interface Design Description document (see IDD - Interface Design Description)
- Software User Manual (see SUM - Software User Manual)
- Software Design Principles
Links to Software Design Principles
Title Software Design Principle 9.03 Coding Standards Implement a "secure" coding standard on all mission-critical software. 9.04 Command Receipt Acknowledgement Design software to send a positive acknowledgement of command receipt. 9.05 Data Interface Integrity Design software to verify the integrity of all inputs and outputs in the control system 9.06 Dead Code Exclusion Establish a policy for eliminating unreachable code or mitigating the risk of any unreachable code. 9.07 Fault Detection and Response In the software design, provide mechanisms to detect credible system faults and to react to these faults according to a pre-described plan. 9.08 Flight Software Modification Include in the software design the capability for commanding modification of the software, and for preventing unwanted modifications. 9.09 Incorrect Memory Use or Access Design software to protect against incorrect use of memory. 9.10 Initialization - Safe Mode Design flight software to initialize software and hardware to a known, safe, and deliberate state 9.11 Invalid Data Handling Design software to handle invalid data appropriately. 9.12 Resource Margins Establish and maintain quantitative margins for all critical resources, allowing for maturation of usage estimates through the life cycle. 9.13 Resource Oversubscription Include a robust and well thought out response to resource oversubscription situations in the software design. 9.14 Resource Usage Measurement Incorporate timely visibility into the use of computing resources into the software design. 9.15 Safe Transitions Assert required preconditions and post-conditions at software transitions. 9.16 Thread Safety Design interaction between threads to prevent inappropriate interference. 9.17 Toggle Commands Design both internal and external commanding to place the system into an explicitly specified state.
2.3 Other Associated SWEs, Topics, etc.
Includes other SWEHB pages that are indirectly associated with the activity. May include SWEs, Topics, document definition pages, PATs, etc. They may have been mentioned in the guidance of another page.
- Include page for the PAT page goes here
3. Software Assurance
Software Assurance is integral to the performance of all Software Development activities. It includes Process Monitoring as well as Process Analysis.
- Process Monitoring - addresses the question, "Is the development team following their processes and producing the expected work products?"
- Process Analysis - addresses the question, "Are there better ways of performing the processes that would result in the early discovery of defects?"
3.1 Software Assurance Tasks from SWEs
Software Assurance Tasks are included in tab 7 of the SWEs in this activity.
- Copy of SWE-058 - Detailed Design with new tab 4
- Tasking from tab 7
1. Assess the software design against the hardware and software requirements and identify any gaps.
2. Assess the software design to verify that the design is consistent with the software architectural design concepts and that the software design describes the lower-level units to be coded, compiled, and tested.
3. Assess that the design does not introduce undesirable behaviors or unnecessary capabilities.
4. Confirm that the software design implements all of the required safety-critical functions and requirements.
5. Perform a software assurance design analysis.



