Stakeholder Requirements#

SW-platform stakeholder requirements
status: draft
security: YES
safety: ASIL_B
version: 1

Platform Capabilities#

“What functionality does S-CORE provide?”

The Platform Capabilities are structured and visualized in the Platform Architecture (doc__platform_architecture).

Common Capabilities#

Common capabilities provide reusable functionality shared across SW-platform components and services to promote consistency, reuse, and maintainability across the platform.

Base Service Capabilities#

Base service capabilities provide fundamental platform services used by applications and SW-platform components to support common runtime needs such as configuration, logging, storage, and time.

Configuration Capability#

Safe Configuration
status: valid
security: NO
safety: ASIL_B
tags: safety_mechanism
rationale: Configuration files may hold safety relevant information.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support safe configuration.

Logging Capabilities#

Logging support
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
derives: feat_req__daal__log, feat_req__log__err_handling_nonrec, feat_req__logging__compat_dlt, feat_req__logging__compat_languages, feat_req__logging__compat_os, feat_req__logging__config_buffer_size, feat_req__logging__config_custom_types, feat_req__logging__config_entity_id, feat_req__logging__config_fallback, feat_req__logging__config_log_filter, feat_req__logging__config_log_level, feat_req__logging__config_on_demand, feat_req__logging__config_permissions, feat_req__logging__config_storage_size, feat_req__logging__context_log_level, feat_req__logging__early_startup, feat_req__logging__entity_identifier, feat_req__logging__error_handling_isolation, feat_req__logging__error_handling_recoverable, feat_req__logging__filtering_entity_id, feat_req__logging__filtering_log_levels, feat_req__logging__log_sinks_cloud_drive, feat_req__logging__log_sinks_console, feat_req__logging__log_sinks_local_fs, feat_req__logging__log_sinks_network, feat_req__logging__log_sinks_stdout, feat_req__logging__log_sources, feat_req__logging__log_sources_user_app, feat_req__logging__message_loss_detection, feat_req__logging__message_loss_handling, feat_req__logging__prioritization, feat_req__logging__qos_message_handling, feat_req__logging__resource_comm_channel, feat_req__logging__resource_performance, feat_req__logging__resource_runtime, feat_req__logging__resource_storage, feat_req__logging__security_log_access, feat_req__logging__severity_levels, feat_req__logging__sink_device, feat_req__logging__sink_multiple_device, feat_req__logging__sink_strategy, feat_req__logging__system_class, feat_req__logging__timestamping_local, feat_req__logging__timestamping_original, feat_req__logging__timestamping_sync

The SW-platform shall support the following logging setups:

  • Logging to external disk via mounted filesystem on top of PCIe driver

  • Logging via second dedicated Ethernet Channel

  • Logging/sensor data Gathering via Cloud native filesystem on top of second Ethernet Channel

  • Gathering of raw sensor data e.g. video streams

  • Diagnostic Log and Trace / Logcat format is supported

  • Logging of early startup events

Previous boot logging
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support logging of data to memory which survives a reboot cycle.

Storage Capabilities#

Data Persistency
status: valid
security: NO
safety: QM
rationale: Applications typically need to store data across power cycles.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support to store data on non-volatile memory e.g. disks, flash, etc.

Time Capabilities#

Vehicle Time#

Common synchronized time across the vehicle/distributed ECUs.

Vehicle Time base Synchronization
status: valid
security: NO
safety: QM
rationale: Enables the system to compare in-vehicle events chronologically.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide a framework to synchronize its local vehicle clock representation to a Time Master within the vehicle.

Vehicle Time base API
status: valid
security: NO
safety: ASIL_B
rationale: Enables an application to correlate its data with a vehicle-internal time reference for event timestamp and chronological events comparison.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide access to the synchronized vehicle time. Access shall be free from interferences for the consuming components.

Note (providing tracebility as long as safety analysis is not available):

Vehicle Time base API (stkh_req__time__vehicle_time_api) requires backing by Vehicle time end-to-end int... (aou_req__platform__veh_time_e2e_integrity) to guarantee end-to-end data integrity.

Synchronize the HW clock with Vehicle Time
status: valid
security: NO
safety: QM
rationale: Enables the system to compare events from different ECUs chronologically, using the same time base for timestamping ingress and egress frames.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall synchronize the local HW clock to vehicle time.

Absolute Time#

Time related to an external absolute reference, e.g. UTC.

Time Synchronization with external sources
status: valid
security: YES
safety: QM
rationale: Enables the system to validate a certificate or token with temporal validity conditions, to add a UTC-timestamp to a data set, etc.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide a framework to synchronize its local absolute clock representation to an external-to-vehicle absolute time base (e.g. UTC).

Absolute time base API
status: valid
security: YES
safety: QM
rationale: Enables an application to correlate its data with an absolute vehicle-external time reference for event timestamping and chronological events comparison.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide access to the absolute time base, synchronized with external time sources. Access shall be free from interferences for the consuming components.

Local Clocks#

Local clocks used for durations, scheduling and measurements.

Local High Resolution Clock API
status: valid
security: NO
safety: ASIL_B
rationale: Enables an application to get the current system time, which is essential for time-sensitive operations and event scheduling, via common, mockable and standardized API.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide access to the current high resolution clock from the system time provider in nanoseconds. Access shall be free from interferences for the consuming components.

Note: to which clock the high resolution clock is mapped, depends on the system design.

Note (allowing tracebility as long as safety analysis is not available):

Local High Resolution Clock... (stkh_req__time__high_res_clock_api) requires backing by OS safety functions (aou_req__platform__os_safety_functions) to guarantee FFI and clock data integrity on OS and HW level.

Local Monotonic Clock API
status: valid
security: NO
safety: ASIL_B
rationale: Enables an application to get the current system time, which is essential for time-sensitive operations and event scheduling, via common, mockable and standardized API.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide access to the current monotonic clock from the system time provider. Access shall be free from interferences for the consuming components.

Note: to which clock the monotonic clock is mapped, depends on the system design.

Note (allowing tracebility as long as safety analysis is not available):

Local Monotonic Clock API (stkh_req__time__monotonic_clock_api) requires backing by OS safety functions (aou_req__platform__os_safety_functions) to guarantee FFI and clock data integrity on OS and HW level.

Application and Execution Capabilities#

Application and execution capabilities provide the runtime mechanisms required to structure, activate, coordinate, schedule, and manage applications and their execution on the SW-platform.

Application Execution Models#

Support for Request-driven Architecture
status: valid
security: NO
safety: QM
rationale: tbd - potentially above explanation
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support a request-driven, asynchronous application architecture that processes requests on-demand.

Process and Execution Management#

Processes and thread management
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
derives: feat_req__code_generation__deinitialization, feat_req__code_generation__error_handling1, feat_req__code_generation__error_handling2, feat_req__code_generation__initialization, feat_req__code_generation__nomultithreading, feat_req__daal__health_error, feat_req__daal__lifecycle, feat_req__daal__trigger, feat_req__feo__act_alloc_error, feat_req__feo__act_shutdown_error, feat_req__feo__act_startup_error, feat_req__feo__act_stepping_error, feat_req__feo__act_timeout, feat_req__feo__activitiy_step, feat_req__feo__activity_init, feat_req__feo__activity_shutdown, feat_req__feo__application_lifecycle, feat_req__feo__response_term_request, feat_req__feo__secondary_conn_timeout, feat_req__feo__startup_timeout, feat_req__feo__task_chain, feat_req__lifecycle__conditional_startup, feat_req__lifecycle__control_commands, feat_req__lifecycle__controlif_status, feat_req__lifecycle__deps_visualization, feat_req__lifecycle__launch_support, feat_req__lifecycle__liveliness_detection, feat_req__lifecycle__lm_self_health_check, feat_req__lifecycle__logging_support, feat_req__lifecycle__monitor_processes, feat_req__lifecycle__multi_instance_support, feat_req__lifecycle__process_ordering, feat_req__lifecycle__process_termination, feat_req__lifecycle__query_commands, feat_req__lifecycle__recovery_action_support, feat_req__lifecycle__run_target_support, feat_req__lifecycle__running_processes, feat_req__lifecycle__sandbox_options, feat_req__lifecycle__smart_watchdog_config, feat_req__lifecycle__termination_dependency, feat_req__orchestration__exec_async_rt, feat_req__orchestration__exec_block_threads, feat_req__orchestration__exec_fifo_fair_sched, feat_req__orchestration__exec_fixed_pool, feat_req__orchestration__exec_no_int_prios, feat_req__orchestration__exec_os_prio, feat_req__orchestration__exec_pool_isolation, feat_req__orchestration__exec_preempt_safety, feat_req__orchestration__exec_safe_task_prio, feat_req__orchestration__exec_scale_instances, feat_req__orchestration__exec_thread_aff, feat_req__orchestration__exec_yielding, feat_req__orchestration__ext_health_inds, feat_req__orchestration__ext_task_health, feat_req__orchestration__gen_det_scale, feat_req__orchestration__gen_excl_ipc, feat_req__orchestration__gen_preempt_act, feat_req__orchestration__obsv_flow_vis, feat_req__orchestration__obsv_fw_integ, feat_req__orchestration__obsv_lifecycle_qm, feat_req__orchestration__obsv_trace_corr, feat_req__orchestration__orch_code_api, feat_req__orchestration__orch_ctrl_flows, feat_req__orchestration__orch_event_comm, feat_req__orchestration__orch_event_sync, feat_req__orchestration__orch_fault_mon, feat_req__orchestration__orch_multi_prog, feat_req__orchestration__orch_safety_tasks, feat_req__orchestration__orch_single_deploy, feat_req__orchestration__orch_static_graphs

The SW-platform shall support the following scheduling strategies:

  • Process Management

    • Startup and Shutdown of processes

    • Recovery

    • Machine State Management (modelled via simple JSON file)

  • Cross-process synchronization of threads (Activities)

    • Event activated multi-process taskchains

    • Time-sliced activated multi-process taskchains

    • memory management (via PMR),

    • signal handling, error handling (FPU Exceptions, other traps …)

Operational Mode Management#

Safe Mode Switch
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: It is expected that the SW platform is used in systems in having engineering (development) modes and field (customer) modes, where engineering modes may allow functionality which is unsafe.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall implement Safe switch from engineering to field mode and back

Communication Capabilities#

Communication capabilities provide the mechanisms required for data exchange and interaction between software components within the SW-platform and with external systems across supported communication technologies.

Internal Communication#

Inter-process Communication
status: valid
security: NO
safety: QM
rationale: Application software typically consists of multiple processes which need to interact.
reqtype: Functional
valid_from: v1.0.0
version: 1
derives: feat_req__com__acl_for_consumer, feat_req__com__acl_for_producer, feat_req__com__acl_per_service_instance, feat_req__com__acl_placement, feat_req__com__asil, feat_req__com__async_support, feat_req__com__bi_directional_comm, feat_req__com__binding_agnostic_api, feat_req__com__config_notifications, feat_req__com__configurable_queues, feat_req__com__consistent_data, feat_req__com__data_corruption, feat_req__com__data_driven_arch, feat_req__com__data_loss, feat_req__com__data_notifications, feat_req__com__data_reordering, feat_req__com__data_repetition, feat_req__com__depl_config_runtime, feat_req__com__event_type, feat_req__com__interfaces, feat_req__com__lock_free_access, feat_req__com__lock_free_queue, feat_req__com__method, feat_req__com__multi_binding_depl, feat_req__com__multi_binding_support, feat_req__com__one_way_sharing, feat_req__com__producer_consumer, feat_req__com__producer_timestamps, feat_req__com__readonly_vm, feat_req__com__request_driven_arch, feat_req__com__safe_communication, feat_req__com__service_discovery, feat_req__com__service_instance, feat_req__com__service_instance_granularity, feat_req__com__service_instance_names, feat_req__com__service_location_transparency, feat_req__com__shared_memory, feat_req__com__signal, feat_req__com__stateless_communication, feat_req__com__streamed_data, feat_req__com__testability_fake_binding, feat_req__com__testability_mock_api, feat_req__com__time_based_arch, feat_req__com__versioning, feat_req__com__zero_copy, feat_req__ipc__availability, feat_req__ipc__confidentiality, feat_req__ipc__integrity, feat_req__ipc__zero_copy, feat_req__orchestration__gen_excl_ipc

The SW-platform shall support inter-process communication.

Intra-process Communication
status: valid
security: NO
safety: QM
rationale: Application software typically maps software building blocks into the same process.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support intra-process communication.

ABI Compatible Data Types
status: valid
security: NO
safety: QM
rationale: ABI compatiblity ensures that the same memory location is correctly interpreted by different programming languages.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support ABI compatible data types for zero-copy communication between Rust and C++ applications.

External Communication#

Extensible External Communication
status: valid
security: NO
safety: QM
rationale: ECUs need to interact with each other. There are multiple protocols today and more to come in the future.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support external communication via well established protocols e.g. Zenoh, DDS.

Communication Technologies#

Supported network protocols
status: valid
security: NO
safety: QM

The SW-platform shall support the following automotive network protocols

  • SOME/IP

  • DDS

  • UWB including Driver for UWB Peripheral

  • SPI (+ CSC ADI & Texas Instruments chipset support)

  • Vehicle to Grid + ISO Charge protocols

  • AVB

Diagnostics Capabilities#

Diagnostics capabilities provide the mechanisms required to identify, report, access, and analyze diagnostic information and to support diagnostic operations across applications, SW-platform components, and vehicle systems.

Diagnostic Infrastructure#

Automotive diagnostics
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support the following diagnostic protocols * SOVD (ISO 17978) * UDS (ISO 14229) Diagnostics * Diagnostic trouble codes * Diagnostic jobs

Fault Reporting Infrastructure
status: valid
security: YES
safety: QM
rationale: Enables applications and components to report faults in a structured, reusable, and system-wide accessible manner.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support a reusable fault reporting infrastructure that enables applications and SW-platform components to report, persist, and manage diagnostic fault information.

SOVD Diagnostics#

Diagnostic via SOVD
status: valid
security: YES
safety: QM
rationale: Enables modern, scalable diagnostics using a standard REST-based protocol to improve integration, interoperability, and maintainability.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support vehicle diagnostics via the SOVD protocol as defined in ISO 17978, to allow scalable and secure diagnostic access.

Readout DTCs via SOVD
status: valid
security: YES
safety: QM
rationale: Enables reading of Diagnostic Trouble Codes (DTCs) from the ECU for various use-cases like production or maintenance.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide users the ability to retrieve current Diagnostic Trouble Codes (DTCs) from the ECU via the SOVD protocol.

Extensibility of Diagnostic Services
status: valid
security: YES
safety: QM
rationale: Enables OEMs and developers to implement system-specific or project-specific routines for diagnostic control and testing.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support extensibility mechanisms that allow integration of custom diagnostic services and routines via the SOVD interface.

Diagnostic Interoperability#

Compatibility with UDS Testers
status: valid
security: YES
safety: QM
rationale: Ensures continued usability of existing test infrastructure, avoiding costly replacement of legacy tools and ensuring fulfillment of legal requirements.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide compatibility with UDS-based testers by offering a proxy to translate UDS requests into SOVD-compatible actions.

Compatibility with UDS ECUs
status: valid
security: YES
safety: QM
rationale: Ensures continued operability of ECUs that are not SOVD-capable.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support integration with ECUs that use UDS by providing a compatibility adapter to translate SOVD requests to UDS commands.

Distributed Diagnostics#

Support for Distributed and Multi-ECU Diagnostics
status: valid
security: YES
safety: QM
rationale: Enables the system to operate in modern, distributed vehicle architectures where diagnostics span multiple ECUs and subsystems.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support distributed diagnostics across multiple ECUs and network segments, enabling routing and aggregation of diagnostic data.

Security Service Capabilities#

Security service capabilities define security-related functionality and services provided by the SW-platform for use by applications and SW-platform components.

Cryptographic Services#

Key and Credential Management#

Secure Communication#

Secure Onboard Communication
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

Network Security#

Firewall
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
IPSec
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
MACSec
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

Security Monitoring#

AI/ML Platform Capabilities#

“What AI/ML-specific capabilities does S-CORE provide?”

AI/ML platform capabilities provide framework functionality required to integrate, manage, and execute AI/ML workloads on the SW-platform.

AI Workload Execution#

On-board ML Workloads
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: Modern vehicles require the integration of ML capabilities to remain competitive and support customer expectations.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support the execution of traditional ML workloads on-board.

On-board GenAI Workloads
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: Modern vehicles require the integration of AI/ML capabilities to remain competitive and support customer expectations.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support the execution of Generative AI workloads on-board.

AI Application Integration#

GenAI User Interaction
status: valid
security: YES
safety: QM
tags: artificial_intelligence
rationale: HMIs are expected to support intelligent, natural interaction using LLM-based assistants.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support on-device GenAI-based models with user interaction.

Seamless Integration with Vehicle Systems
status: valid
security: YES
safety: ASIL_B
tags: artificial_intelligence
rationale: AI components must interact with vehicle state and control interfaces.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall expose structured APIs to access vehicle state and execute safe commands.

AI Model Management#

AI Model Artifact Lifecycle
status: valid
security: YES
safety: QM
tags: artificial_intelligence
rationale: AI models are updated independently of the application software and must be updatable and revertible in the field without re-releasing the application.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall manage AI model artifacts over their lifecycle, including versioning, update and rollback.

AI Safety#

Support for Safety-Critical ML
status: valid
security: NO
safety: ASIL_B
tags: artificial_intelligence
rationale: Some ML-based functionality is required to be certified up to ASIL-B.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support safety-compliant (ASIL-B) deployment of AI/ML components, including inference backends and pipelines.

Deterministic Execution Paths
status: valid
security: NO
safety: ASIL_B
tags: safety_mechanism, artificial_intelligence
rationale: Safety certification requires predictable and bounded system behavior.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall ensure deterministic behavior for AI components used in safety-relevant paths.

Deterministic AI Agent Execution
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: AI-based agents share compute resources with vehicle functions of higher criticality and therefore need bounded and predictable resource usage.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall execute AI-based agents with defined scheduling and resource budgets per criticality domain.

Action Safety and Governance
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism, artificial_intelligence
rationale: GenAI output may be unpredictable or unsafe and must be controlled before affecting vehicle behavior.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall validate all actions proposed by GenAI models against safety and policy rules prior to execution.

Platform Portability (QNX + Linux)
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: AI/ML use cases span both safety and non-safety environments, requiring portability across operating systems.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support both QNX (for safety) and Linux (for GenAI and flexibility) with reusable components.

AI Security#

Secure Model Execution
status: valid
security: YES
safety: QM
tags: artificial_intelligence
rationale: AI model execution must be protected against tampering or abuse.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall ensure secure, verified, and integrity-checked model execution.

Automotive Safety#

“How does S-CORE support safety-related systems?”

The following requirements define safety-related properties, mechanisms, and system behaviors required from the SW-platform.

Safety Capability#

Fault Detection and Monitoring#

Health Management
status: valid
security: YES
safety: ASIL_B

The SW-platform shall implement Health Management (alive, deadline, logical supervision) for time and event based taskchains

Program Flow Monitoring
status: valid
security: YES
safety: ASIL_B
rationale: Not all POSIX operating systems provide protection of POSIX processes from timing errors (e.g. delayed execution, deadlocks)
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform safety components shall use program flow monitoring to detect run time errors or explain in their safety concept why they do not need this.

Note1: Reasons for not needing program flow monitoring could be an OS scheduler with timing and execution guarantees. Or that the non/late execution of the application keeps the system in a safe state.

Note2: The SW-Platform supports this - see Health Management (stkh_req__dependability__health_management) “live, deadline, logical supervision”

End-To-End (E2E) Protection
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: ECU external communication is using QM rated SW and HW which may currupt messages.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall implement E2E Protection for communication

Hardware Fault Detection and Mitigation#

HW Self-Test
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: The processing HW used by the SW platform may have errors affecting computing, data and control flow.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support Built-in hardware self-tests

Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

Memory Error Correction
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: HW errors may occurr on the memory (e.g. bitflips caused by radiation)
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support ECC Memory

Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

Freedom from Interference#

Memory Protection
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: ASIL SW components memory may be corrupted by QM SW components if those are located on the the same physical memory.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support Memory Management Unit

Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

Direct Memory Access (DMA) Protection
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: DMA function usually grants also QM HW direct access to memory.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support I/O Memory Management Unit protecting DMA accesses

Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

Cache Protection
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: ASIL SW components memory may be corrupted by QM SW components if those are located on the the same physical memory.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support Memory Protection Unit for caches Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

No mixed ASIL
status: valid
security: YES
safety: ASIL_B
rationale: It is assumed that POSIX processes as implemented by the OS provide isolation from memory and timing errors of other processes but not within.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform safety components running in one POSIX process shall implement the highest ASIL of their assigned functional requirements.

Fault Reaction#

Safe Startup and Reset
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: During startup and shutdown specific errors may occurr (e.g. inintialization errors due to insufficient resources).
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall implement and support Safe startup and reset paths

External Supervision
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: The SW platform may run on malfunctioning HW (e.g. by undervoltage) which prevents from own error detection and recovery.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support Power management integrated circuit (PMIC), external watchdog and voltage monitoring

Note: Support means here that a functionality offered by external SW (e.g. an OS) or HW may need to be configured and used.

SW-platform error reaction
status: valid
security: NO
safety: ASIL_B
tags: safety_mechanism
rationale: Safety relies on error reporting, e.g. to preserve a safe system state.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall react in the following way on errors:

  • report the error (incl. details if available) to the calling user function

Note: See also Safe SW-platform state (stkh_req__dependability__safe_state)

Safe SW-platform state
status: valid
security: NO
safety: ASIL_B
tags: safety_mechanism
rationale: A safe state definition is a common expectation of safety integrity standards.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall react in the following way on errors:

  • in case of an unrecoverable error (e.g. access violations), report the error to the external health monitor

Note1: Together with SW-platform error reaction (stkh_req__dependability__error_reaction) the “safe state” of the SW-platform can be described as “error reported”.

Note2: The implementation of the reporting of an unrecoverable error must take into account that after such an error the functions of the SW-platform may be corrupted (solution for this may be a cyclic triggering of an external watchdog in the healthy case and stopping the triggering in the error case).

Error report timing
status: valid
security: NO
safety: ASIL_B
tags: safety_mechanism
rationale: It is assumed that there is a need to know how much time is allowed between the ocurrence of an error and the reporting, so we define a feasible time span.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall react on errors (as described in Safe SW-platform state (stkh_req__dependability__safe_state) and SW-platform error reaction (stkh_req__dependability__error_reaction)) within 1 millisecond. If this is not feasible a special component AoU needs to be defined.

Note1: The time span mentioned is the SW reaction time and not the time between the error happening and the reporting. For example if there is a alive supervision configured with 10ms cycle time and 5ms allowed delay, the error could happen in the first millisecond but will be reported earliest after 10+5ms plus the SW reaction time.

Note2: If a user application calls a SW-platform function the (error) return is required latest after the reaction time, so there could be a timeout used by the application considering this.

Fault Tolerance#

SW Lockstep
status: valid
security: YES
safety: ASIL_B
tags: safety_mechanism
rationale: Computing HW may suffer from systematic or random HW errors.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall implement Software Lockstep

Availability#

Availability
status: valid
security: NO
safety: QM

The SW-platform shall support the development of highly available systems. (see also Availability).

Cybersecurity#

“How does S-CORE support cybersecurity?”

The following requirements define cybersecurity properties and system behaviors required from the SW-platform.

Cybersecurity Capability#

Security features
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
derives: feat_req__com__acl_for_consumer, feat_req__com__acl_for_producer, feat_req__com__acl_per_service_instance, feat_req__com__acl_placement, feat_req__crypto__access_control, feat_req__crypto__algo_naming, feat_req__crypto__algo_updates, feat_req__crypto__api_lifecycle, feat_req__crypto__asym_algo_ecdh, feat_req__crypto__asym_encryption, feat_req__crypto__cert_management, feat_req__crypto__dos_mitigation, feat_req__crypto__error_handling, feat_req__crypto__flexible_api, feat_req__crypto__hashing, feat_req__crypto__hashing_algo_sha2, feat_req__crypto__hashing_algo_sha3, feat_req__crypto__hw_acceleration, feat_req__crypto__ids_integration, feat_req__crypto__kdf, feat_req__crypto__key_deletion, feat_req__crypto__key_generation, feat_req__crypto__key_import, feat_req__crypto__key_storage, feat_req__crypto__mac, feat_req__crypto__no_key_exposure, feat_req__crypto__os_protection, feat_req__crypto__performance_tooling, feat_req__crypto__pqc_readiness, feat_req__crypto__production_keys, feat_req__crypto__reverse_eng_protection, feat_req__crypto__rng, feat_req__crypto__rng_algo_chacha20rng, feat_req__crypto__security_concept, feat_req__crypto__side_channel_mitigation, feat_req__crypto__sig_algo_ecdsa, feat_req__crypto__sig_creation, feat_req__crypto__sig_verification, feat_req__crypto__sw_fallback, feat_req__crypto__sym_algo_chacha20, feat_req__crypto__sym_sym_algo_aes_ccm, feat_req__crypto__sym_sym_algo_aes_gcm, feat_req__crypto__sym_symm_algo_aes_cbc, feat_req__crypto__sym_symmetric_encrypt, feat_req__crypto__tls_support, feat_req__crypto__trusted_time, feat_req__logging__security_log_access, feat_req__orchestration__gen_excl_ipc, feat_req__persistency__access_control

The SW-platform shall support the following security features:

  • Mandatory access control

  • Secure boot

  • Secure onboard communication

  • IPSec and MACSec

  • Firewall

  • Certificate installation and storage in HSM or ARM trustzone.

  • Kernel hardening (ASLR, Pointer obfuscation …) in libc and compiler

  • Identity and Access Management

  • Secure Feature Activation

  • Secure software update

Identity and Access Management#

Mandatory Access Control (MAC)
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1
Secure Access to Diagnostic Interfaces
status: valid
security: YES
safety: QM
rationale: Diagnostic access allows deep system introspection and manipulation, which must be protected against unauthorized use.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall enforce secure access control for all diagnostic interfaces, including authentication, encryption, and role-based access enforcement.

Secure Communication#

Secure Communication
status: valid
security: YES
safety: QM
rationale: Distributed secure systems often require secure communication.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support secure communication.

Platform Integrity and Hardening#

Secure Boot
status: valid
security: YES
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

Security Lifecycle#

Performance and Resource Efficiency#

“What runtime qualities can stakeholders expect?”

Performance and resource-efficiency requirements define the timing, resource utilization, determinism, and energy-efficiency properties expected from the SW-platform.

Communication Efficiency#

Timing and Latency#

Short application cycles
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support cycle times of less then 5 ms on application level if this is supported by the underlying hardware.

Realtime capabilities
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support the controlled reaction on events (timing events, interrupts) within a defined timing interval.

Startup Performance#

Startup performance
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support fast startup scenarios e.g. cold boot and resume from hibernate mode.

Quality of Service and Resource Management#

Quality of service
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide a framework to ensure quality of service of applications deployed on the SW-platform. This includes but is not limited to:

  • QOS for applications

  • Controlled latency for communication and scheduling

  • Guaranteed network and compute quotas

Runtime Efficiency#

Runtime Efficiency for Edge Devices
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: Automotive platforms have limited compute and thermal budgets.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall be optimized for runtime performance and memory footprint on embedded hardware targets.

Power Efficiency#

Low power mode
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support low power modes to safe energy.

Portability and Platform Compatibility#

“Where can S-CORE execute?”

Operating System Portability#

Operating System
status: valid
security: NO
safety: QM
rationale: This allows portability of SW-platform on POSIX compliant operating systems.
reqtype: Non-Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support operating systems compliant with IEEE Std 1003.1 (2004 Edition or newer)

Hardware Platform Compatibility#

Chipset support for ARM64 and x64
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support arm64 and x64 architectures.

Hardware Accelerated Computation
status: valid
security: NO
safety: QM
rationale: High computation loads typically need to be speed up hardware acceleration e.g. in ADAS applications
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support computation accelerated by a Hardware accelerator.

Virtualized and Containerized Execution#

Virtualization support for debug and testing
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall run on qemu to enable test and debug in virtualized environments.

Support of container technologies
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support deployment of self-contained application bundles

  • Kernel Features: e.g. cgroup, secpol, namespaces as precondition for containerization

  • e.g. SOAFFEE Like realtime capable containers: https://www.soafee.io/

Platform Lifecycle, Integration & Maintainability#

“How can S-CORE evolve and integrate?”

API Compatibility & Standardization#

Reuse of application software via managed APIs
status: valid
security: NO
safety: QM
rationale: This is a usability constraint needed for long maintenance support
reqtype: Non-Functional
valid_from: v1.0.0
version: 1

The SW-platform shall enable the reuse of application software via a set of managed APIs. These APIs shall be developed via a well-defined life-cycle ensuring non-breaking changes.

Enable cooperation via standardized APIs
status: valid
security: NO
safety: QM
rationale: To enable cooperation with other cooperation partners.
reqtype: Non-Functional
valid_from: v1.0.0
version: 1

The SW-platform shall where possible be based on existing standards (e.g. network protocols).

Stable application interfaces
status: valid
security: NO
safety: QM
rationale: In case of incompatible changes on external interface the portability effort shall be reduced.
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide a framework to mitigate incompatible changes on external interfaces to keep application interfaces stable.

Integration#

Multirepo integration
status: valid
security: NO
safety: QM
rationale: Allow independent development of software modules
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform infrastructure shall support integration of multiple repositories in a unified workflow.

Configuration and Evolution#

Variant management
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide variant management support. Variant management support shall enable users to ensure the compatibility of application software across vehicle variants and vehicle software releases.

Engineering Lifecycle#

Document assumptions and design decisions
status: valid
security: NO
safety: QM
rationale: This is a usability constraint needed for long term maintenance support
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

Contributors shall specify all assumptions and design decisions as requirements which are agreed within the S-CORE community.

Requirements traceability
status: valid
security: NO
safety: ASIL_B
rationale: This is a usability constraint needed for long term maintenance support
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform infrastructure shall support linking all requirements from lower to upper level, whereby on the top-level are the stakeholder requirements.

Document requirements as code
status: valid
security: NO
safety: ASIL_B
rationale: In this project no external tool or service is used. Therefore as-code is the selected option.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform infrastructure shall support documenting all requirements as code (Docs-as-code).

Cooperation and Intellectual Property#

IP protection
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support cooperation models, where partners do not want to disclose their intellectual property of applications to all other partners.

Developer Experience and Testability#

“How can developers build, observe, debug and test with it?”

Development#

IDL Support
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide a human readable interface definition language with decentralized glue code generation.

Developer experience and development toolchain
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support a state-of-the art developer experience for functional development and application development.

Features:

  • IDE support for all supported languages.

  • IDL Editor with syntax highlighting.

  • Connection to qemu and real target via SSH.

  • Support of continuous integration and deployment systems.

Programming languages for application development
status: valid
security: NO
safety: QM

The SW-platform shall support implementation of applications in the following programming languages up to the highest ASIL level as defined in Automotive Safety Integrity... (stkh_req__dependability__automotive_safety):

  • C++

  • Rust

Debugging#

Debugging
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide a method and interface to enable debugging of the software on target and in vehicle.

Observability and Tracing#

Tracing of execution
status: valid
security: NO
safety: QM

The SW-platform shall support the tracing of events (start, stop) of executable entities and kernel threads on all computation units e.g.

  • CPU

  • GPU

  • Neural Network Processors

  • Image Processors

  • etc.

Tracing of communication
status: valid
security: NO
safety: ASIL_B
rationale: tbd
reqtype: Non-Functional
valid_from: v1.0.0
version: 1

The SW-platform shall support the tracing of communication events for internal and external communication systems.

Tracing of memory access
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support the tracing of memory events (allocation, copy, de-allocation) for different types of memory e.g.

  • CPU Memory

  • GPU Memory

AI Workload Observability
status: valid
security: NO
safety: QM
tags: artificial_intelligence
rationale: Degradation of AI workloads is not detectable by functional monitoring alone and must be observable in the field and during development.
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall expose runtime characteristics of AI workloads, such as inference latency and resource consumption, via the platform observability mechanisms.

Testing and Simulation#

Mockup implementation for application testing
status: valid
security: NO
safety: QM
rationale: Enables unit, component and integration testing for both SW-platform related and non-platform related applications.
reqtype: Functional
valid_from: v1.0.0
version: 1

The SW-platform shall provide support for mocking its public interfaces, enabling unit, component and integration testing of applications.

Reprocessing and simulation support
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support data-collection and injection of reprocessed data.

Analysis#

Performance analysis
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Non-Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support performance analysis of SW-platform and application software:

  • Flame-graph visualization for long termed CPU behavior

  • RAM usage statistics for long-term Memory behavior

Timing analysis
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall support observation, assessment of timing requirements with state-of-the-art analysis tools.

Safety Mechanisms#

The following stakeholder requirements describe the assumed safety mechanisms which are needed due to complexity of the realizing SW element(s) or due to dependency on HW. This is confirmed during safety analysis of the derived feature requirements and architecture.

Expected Safety Mechanisms#

Title

ID

Tags

Deterministic Execution Paths

stkh_req__ai_platform__runtime_determinism

safety_mechanism; artificial_intelligence

Support for Time-based Architectures

stkh_req__app_architectures__support_time

safety_mechanism

Safe Communication

stkh_req__communication__safe

safety_mechanism

Cache Protection

stkh_req__dependability__cache_protection

safety_mechanism

Direct Memory Access (DMA) Protection

stkh_req__dependability__dma_protection

safety_mechanism

End-To-End (E2E) Protection

stkh_req__dependability__e2eprotection

safety_mechanism

SW-platform error reaction

stkh_req__dependability__error_reaction

safety_mechanism

Error report timing

stkh_req__dependability__error_report_timing

safety_mechanism

External Supervision

stkh_req__dependability__external_supervision

safety_mechanism

Health Management

stkh_req__dependability__health_management

safety_mechanism

HW Self-Test

stkh_req__dependability__hw_self_test

safety_mechanism

Memory Error Correction

stkh_req__dependability__mem_error_correction

safety_mechanism

Memory Protection

stkh_req__dependability__memory_protection

safety_mechanism

Safe Mode Switch

stkh_req__dependability__safe_mode_switch

safety_mechanism

Safe Startup and Reset

stkh_req__dependability__safe_startup_reset

safety_mechanism

Safe SW-platform state

stkh_req__dependability__safe_state

safety_mechanism

SW Lockstep

stkh_req__dependability__sw_lockstep

safety_mechanism

Safe Configuration

stkh_req__functional_req__safe_config

safety_mechanism

Support of safe Key/Value store

stkh_req__functional_req__support_of_store

safety_mechanism

Action Safety and Governance

stkh_req__gen_ai__safety_filter

safety_mechanism; artificial_intelligence


Video subsystem
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide an interface for pre-processing and distribution of camera data via the following mechanisms

  • PCIe Graphic streams

  • Shared Memory Graphic streams

  • Display Serial Interface Driver

  • APIX serialization driver

  • ISP Driver including correction and frame pre-processing CV library (lens distortion et. al.)

  • Sensor Streamer component (binding ISP Driver & pre-processing CV library)

Communication with external MCUs/standby controllers
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall define protocols and concepts for the interaction with external micro-controllers for

  • board management

  • external supervision for safety and security functions

  • software update

  • debugging

  • feature activation

Compute subsystem
status: valid
security: NO
safety: QM
rationale: tbd
reqtype: Functional
valid_from: v2.0.0
version: 1

The SW-platform shall provide the following frameworks towards the applications:

  • Math library: Eigen Blaze like safety enhanced math front-end library

  • Graphics and compute API: Vulkan GPU back-end and CPU (SIMD capable)-based compute libraries:

    • Deep Neural Network API: (including pytorch, tensorflow conversion scripts)

    • Computer Vision API: e.g. like OpenCV

    • Linear algebra API: e.g. BLAS / Lapack

    • AVB Sensor streams

    • PCIe Sensor streams

    • Shared Memory Sensor streams

    • GSML serialized data