textual-notation-of-model/packages/features/hmi/hmi_display_variability_configuration.sysml
2 view(s) · 37 declared member(s) Jump to source ↓
view hmiDisplayProductLineConfigurationViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | Driverselectedselectedselectedselectedselectedselectedselected |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view hmiDisplayProductModelAssemblyViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | HmiHmiHmiHmiHmiconfigured |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV HMI display variability and configuration model slice.3 *4 * INC-HMI-001, phase 9: the configured product of the HMI display, with the5 * configuration identity HMI-CONFIG-001. It pairs two parts. The first is6 * the platform-stack projection that the configurator generates from the7 * receipt of the feature configuration8 * driver_assistance_visionpilot_score_reference.sysml. The second is the9 * physical realization of the HMI display from phase 8, the system of10 * interest of the increment. Phase 3 records that the display belongs to11 * the VisionPilot configuration, so this phase adds no feature12 * configuration and changes no feature, no shared asset, no receipt and no13 * projection: the configured product types its platform stack by the14 * projection of that configuration, DriverAssistanceVisionPilotSCOREReference.15 * The same configuration configures the configured product of the16 * driver-assistance increment, DRIVING-CONFIG-002; by the kernel, a17 * configuration can configure more than one configured product. The feature18 * configuration and the generated projection own the variant selections. No19 * element of this package restates them. Its docs name some of them, and a20 * guard test keeps those names equal to the receipt.21 *22 * The links of rule 5 are declared with their clients, in the rule's23 * dependency form. This package holds none of them.24 *25 * The receipt records the configuration as valid, and the governed scope26 * does not admit it; the phase 9 package of the driver-assistance increment27 * states why. So the configured product specializes no member-product type.28 * This slice is configuration evidence only: it proves no runtime behavior29 * and satisfies no requirement.30 */3132package DE4SDV_HmiDisplayVariabilityConfiguration {33 private import DE4SDV_MethodViewpoints::*;34 private import DE4SDV_Stakeholders::*;35 private import DE4SDV_HmiDisplayPhysicalSoftwareRealization::HmiDisplayPhysicalSystem;36 private import DE4SDV_ProductLine::ProductLineConfiguredProduct;37 private import Views::*;3839 part def HmiDisplayVisionPilotSCOREConfiguredProduct :> ProductLineConfiguredProduct {40 doc /*41 * The configured product of the HMI display in the VisionPilot42 * configuration. It holds the generated platform-stack projection and the43 * physical realization of the HMI display, the system of interest of44 * INC-HMI-001: the central computer with the SDV Core, IVI and SDV Media45 * VMs. The local parts compose the projection and the phase-846 * realization. They choose no variant.47 *48 * Two bindings. The central computer of phase 8 refers to its own49 * platform and to its hypervisor, and the platform stack owns them: one50 * binding makes the platform the same thing as the selected operating51 * system, Linux, and one makes the hypervisor the same thing as the52 * selected hypervisor, KVM. KVM runs in the kernel of the main-side53 * operating system, so the platform of the central computer is the main54 * side. The SDV Media VM refers to an operating system that no source55 * that DE4SDV keeps names, and the platform stack has no layer for a VM56 * of the guest (ADR 0025), so this product leaves that reference unbound.57 *58 * The guest side departs from one instance and one owner per layer. The59 * platform stack models the guest side as one guest operating system and60 * one guest middleware for one or more VMs, while the realization owns61 * Android in the SDV Core VM and in the IVI VM, and the AAOS SDV62 * middleware in the SDV Core VM. Those parts stay owned and unbound, so63 * the platform stack is not the only owner of the guest operating system64 * and the guest middleware in this product. A test keeps them typed by the65 * definitions of the variants that the projection selects: Android and the66 * AAOS SDV middleware.67 *68 * No shared asset implements the HMI display, so no feature binding69 * resolves the hmiDisplay selection. The projection lists it among the70 * selections that SysML does not resolve. The configuration also selects71 * adaptive cruise control and lane-keep assist, which this increment does72 * not judge (phase 3): they come with the configuration, the projection73 * lists them too, and this increment claims nothing of them.74 *75 * The definition specializes no member-product type, because the76 * governed scope does not admit the configuration. It specializes the77 * kernel's ProductLineConfiguredProduct, the configured product of phase78 * 9.79 */80 part platformStack : DriverAssistanceVisionPilotSCOREReference;81 part displayRealization : HmiDisplayPhysicalSystem;82 binding centralComputerOSBoundToSelectedOperatingSystem83 bind displayRealization.centralComputer.os = platformStack.osPlatform;84 binding centralComputerHypervisorBoundToSelectedHypervisor85 bind displayRealization.centralComputer.hypervisor = platformStack.hypervisor;86 }8788 part <'HMI-CONFIG-001'> configuredProduct : HmiDisplayVisionPilotSCOREConfiguredProduct {89 doc /*90 * HMI-CONFIG-001: the configuration identity that the phase-10 evidence91 * binds, as the evidence of the driver-assistance increment binds92 * DRIVING-CONFIG-002. The identity is bound to the exact receipt that the93 * configurator generated the platform-stack projection from.94 * receiptSha256 is the SHA-256 of95 * model-based-product-line-engineering/feature-models/receipts/sdv_product_line.receipt.json,96 * the receipt that records the evaluation of the feature configuration97 * driverAssistanceVisionPilotSCOREReference. A receipt re-cut keeps this98 * identity and rebinds receiptSha256 here. The pull request that rebinds99 * it states whether the configuration's own receipt record changed.100 * By the decision of 2026-11-17 that the identity of DRIVING-CONFIG-001101 * records, the record has not changed when its only difference is added102 * states omitted for features that it does not select, and every other103 * entry is the same: validity, reasons, derived variants with their104 * variant ids, admission, the selected features, projection name, source,105 * description and element id. Evidence that binds HMI-CONFIG-001 also106 * records the receipt SHA-256 it ran against.107 *108 * The product inherits three open gaps of phase 8: the renderer's judging109 * of the scene by the term current (GAP-HMI-001), the tolerance of a drawn110 * position (GAP-HMI-003) and the renderer's hardcoded Imperial speed unit111 * (GAP-HMI-006). On the bench, the guest host of112 * INC-DRIVING-001 stands in for the central computer, with the SDV Media113 * VM as a third guest, and the simulator stands in for the ECU that114 * measures the vehicle speed and for the vehicle network; the feed of115 * that speed (GAP-HMI-002) is a gap of the bench, not of this product.116 *117 * Configuration evidence only. This usage proves no renderer, app,118 * composition or platform behavior and no requirement satisfaction.119 */120 attribute receiptSha256 : ScalarValues::String = "ef8c84d63b93419982888ef0e5c69df1e75458fb0745131868ecb68d64c0d9a7";121 }122123 dependency configuredDisplayRealizationTrace124 from configuredProduct::displayRealization125 to DE4SDV_HmiDisplayPhysicalSoftwareRealization::hmiDisplayPhysicalSystem;126 dependency configuredProductSceneCurrencyGap127 from configuredProduct128 to DE4SDV_HmiDisplayPhysicalSoftwareRealization::gapHmiRendererJudgesSceneCurrency;129 dependency configuredProductDrawingToleranceGap130 from configuredProduct131 to DE4SDV_HmiDisplayPhysicalSoftwareRealization::gapHmiDrawingToleranceUnset;132 dependency configuredProductRendererSpeedUnitGap133 from configuredProduct134 to DE4SDV_HmiDisplayPhysicalSoftwareRealization::gapHmiRendererSpeedUnitImperial;135136 concern hmiDisplayProductLineConfigurationConcern : ProductLineConfigurationConcern {137 doc /*138 * Product-line engineers, system architects and open-source reviewers139 * need the variant selections of HMI-CONFIG-001 in the platform-stack140 * projection that the configurator generates from its receipt, the141 * projection of the VisionPilot configuration. The main side selects142 * VisionPilot, Eclipse S-CORE and Linux. The hypervisor is KVM. The guest143 * side selects Android with the AAOS SDV middleware. The adapter is the144 * derived VisionPilot-to-S-CORE adapter. This concern is about choices,145 * not assembly.146 */147 subject;148 stakeholder productLineEngineer : ProductLineEngineer;149 stakeholder systemArchitect : SystemArchitect;150 stakeholder reviewer : OpenSourceReviewer;151 }152153 concern hmiDisplayProductModelAssemblyConcern : ProductModelAssemblyConcern {154 doc /*155 * System architects, verification engineers and open-source reviewers156 * need the assembly of HMI-CONFIG-001: the platform-stack projection and157 * the realization of the HMI display, with the two bindings that make158 * the platform and the hypervisor of the central computer the selected159 * operating system and the selected hypervisor, and the guest layers that160 * the VMs of the realization own. Phase 10 then verifies one product.161 * This concern is about assembled assets, not the variation space.162 */163 subject;164 stakeholder systemArchitect : SystemArchitect;165 stakeholder verificationEngineer : VerificationEngineer;166 stakeholder reviewer : OpenSourceReviewer;167 }168169 alias selectedVehicleApplication170 for DriverAssistanceVisionPilotSCOREReference::vehicleApplication;171 alias selectedMiddleware172 for DriverAssistanceVisionPilotSCOREReference::middleware;173 alias selectedOperatingSystem174 for DriverAssistanceVisionPilotSCOREReference::osPlatform;175 alias selectedHypervisor176 for DriverAssistanceVisionPilotSCOREReference::hypervisor;177 alias selectedGuestOperatingSystem178 for DriverAssistanceVisionPilotSCOREReference::guestOSPlatform;179 alias selectedGuestMiddleware180 for DriverAssistanceVisionPilotSCOREReference::guestMiddleware;181 alias selectedApplicationMiddlewareAdapter182 for DriverAssistanceVisionPilotSCOREReference::applicationMiddlewareAdapter;183184 view hmiDisplayProductLineConfigurationView {185 viewpoint selectedProductLineConfigurationViewpoint : ProductLineConfigurationViewpoint {186 frame hmiDisplayProductLineConfigurationConcern;187 }188 doc /*189 * The generated projection of the VisionPilot configuration and its seven190 * selected layers: six that the configuration selects, and the derived191 * adapter.192 */193 expose DriverAssistanceVisionPilotSCOREReference;194 expose selectedVehicleApplication;195 expose selectedMiddleware;196 expose selectedOperatingSystem;197 expose selectedHypervisor;198 expose selectedGuestOperatingSystem;199 expose selectedGuestMiddleware;200 expose selectedApplicationMiddlewareAdapter;201 attribute showAnnotationRows = false;202 attribute maxCompartmentEntries = 0;203 render asTreeDiagram;204 }205206 view hmiDisplayProductModelAssemblyView {207 viewpoint selectedProductModelAssemblyViewpoint : ProductModelAssemblyViewpoint {208 frame hmiDisplayProductModelAssemblyConcern;209 }210 doc /*211 * The configured product: its definition with the two parts and the two212 * bindings, and the usage HMI-CONFIG-001 that the phase-10 evidence213 * binds. The view filters out the phase-8 allocations, which target the214 * usage of the realization in phase 8, not this product.215 */216 expose HmiDisplayVisionPilotSCOREConfiguredProduct;217 expose HmiDisplayVisionPilotSCOREConfiguredProduct::platformStack;218 expose HmiDisplayVisionPilotSCOREConfiguredProduct::displayRealization;219 expose HmiDisplayVisionPilotSCOREConfiguredProduct::centralComputerOSBoundToSelectedOperatingSystem;220 expose HmiDisplayVisionPilotSCOREConfiguredProduct::centralComputerHypervisorBoundToSelectedHypervisor;221 expose configuredProduct;222 filter not (@ SysML::AllocationUsage);223 attribute showAnnotationRows = false;224 attribute maxCompartmentEntries = 0;225 render asTreeDiagram;226 }227}228