textual-notation-of-model/packages/features/ee/ee_architecture_variability_configuration.sysml
2 view(s) · 40 declared member(s) Jump to source ↓
view eeProductLineConfigurationViewsource ↓
| Viewpoint | ee (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | Drivereeeeeeeeeeeeee |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view eeProductModelAssemblyViewsource ↓
| Viewpoint | ee (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | EEEEEEEEEEEEconfigured |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV E/E architecture variability and configuration model slice.3 *4 * INC-EE-001, phase 9: the configured product of the vehicle network, with5 * the configuration identity EE-CONFIG-001. It composes three parts. The6 * first is the platform-stack projection that the configurator generates7 * from the receipt of the feature configuration8 * driver_assistance_visionpilot_score_reference.sysml. The second is the9 * phase 8 E/E realization of the vehicle network (nodes, links and CAN FD /10 * IEEE 1722 carriers). The third is the phase 8 software realization of the11 * vehicle network (software elements, execution layers and local node-level12 * HAL boundaries).13 *14 * Phase 3 records no feature-model delta for the vehicle network and leaves15 * open whether the governed scope admits the reference vehicle network as16 * common content. This phase therefore reuses the existing VisionPilot17 * S-CORE reference configuration of the driver-assistance increment without18 * changing any feature, constraint, shared asset, feature configuration,19 * receipt or projection: the configured product types its platform stack by20 * the generated projection DriverAssistanceVisionPilotSCOREReference. The21 * same configuration configures DRIVING-CONFIG-002 and HMI-CONFIG-001; by22 * the kernel, one configuration can configure more than one configured23 * product. The feature configuration and the generated projection own the24 * variant selections. No element of this package restates them. Its docs25 * name the selected layers, and a guard test keeps those names equal to the26 * committed receipt.27 *28 * Rule 5 of the increment workflow (dependency form) is applied beside its29 * client: eeVehicleNetworkSystem carries no feature link because phase 330 * classes the vehicle network as common-candidate content with no feature in31 * the feature model; only REQ-EE-002 names the Eclipse S-CORE path, so32 * DE4SDV_EEArchitectureNeedsRequirements declares its dependency on the33 * feature eclipseSCORE, and the other nine requirements carry no feature34 * link. This package holds no rule-5 link of its own.35 *36 * The receipt records the configuration as valid, and the governed scope37 * does not admit it; the phase 9 package of the driver-assistance increment38 * states why. So the configured product specializes ProductLineConfiguredProduct39 * and no member-product type. This slice is configuration evidence only: it40 * proves no runtime behavior, no timing budget and no requirement41 * satisfaction.42 */4344package DE4SDV_EEArchitectureVariabilityConfiguration {45 private import DE4SDV_MethodViewpoints::*;46 private import DE4SDV_Stakeholders::*;47 private import DE4SDV_EEArchitecturePhysicalEERealization::EEVehicleNetworkPhysicalSystem;48 private import DE4SDV_EEArchitecturePhysicalSoftwareRealization::EEVehicleNetworkSoftwareSystem;49 private import DE4SDV_ProductLine::ProductLineConfiguredProduct;50 private import Views::*;5152 part def EEVehicleNetworkVisionPilotSCOREConfiguredProduct :> ProductLineConfiguredProduct {53 doc /*54 * The configured product of the vehicle network in the VisionPilot55 * S-CORE reference configuration. It pairs the generated platform-stack56 * projection with both phase 8 realizations of INC-EE-001: the E/E57 * topology (central computer, two zone controllers, Ethernet backbone,58 * CAN FD buses, direct link and actuation ECU) and the software59 * realization (three node software stacks, four software elements and60 * local node-level HAL boundaries). The local parts compose the61 * projection and the phase 8 realizations; they select no variant.62 *63 * Two bindings connect the central computer's referenced main-side64 * platform layers to the selected stack: eeSwCentralOS binds to the65 * selected operating system, Linux (osPlatform), and eeSwCentralSCORE66 * binds to the selected middleware, Eclipse S-CORE (middleware).67 *68 * The microcontroller embedded runtime layers on the actuation zone69 * controller (eeSwZoneRuntime) and the actuation ECU (eeSwActRuntime)70 * remain unbound: SDVPlatformStack models one central SoC and has no71 * microcontroller RTOS or board layer (gapEESwRuntimeNotSelected). The72 * configuration also selects VisionPilot, the derived73 * VisionPilot-to-S-CORE adapter, KVM, Android, AAOS SDV guest74 * middleware, adaptive cruise control, lane-keep assist and the HMI75 * display; INC-EE-001 does not vary or judge those layers and consumes76 * only the driving command emerging from the main-side Eclipse S-CORE77 * path.78 *79 * The definition specializes no member-product type because the governed80 * scope does not admit the reused configuration and INC-EE-001 admits no81 * member before phase 10 and phase 11. It specializes the kernel's82 * ProductLineConfiguredProduct.83 */84 part eePlatformStack : DriverAssistanceVisionPilotSCOREReference;85 part eePhysicalTopology : EEVehicleNetworkPhysicalSystem;86 part eeSoftwareRealization : EEVehicleNetworkSoftwareSystem;87 binding eeCentralOSBoundToSelectedOperatingSystem88 bind eeSoftwareRealization.eeCentralSoftware.eeSwCentralOS = eePlatformStack.osPlatform;89 binding eeCentralSCOREBoundToSelectedMiddleware90 bind eeSoftwareRealization.eeCentralSoftware.eeSwCentralSCORE = eePlatformStack.middleware;91 }9293 part <'EE-CONFIG-001'> configuredProduct : EEVehicleNetworkVisionPilotSCOREConfiguredProduct {94 doc /*95 * EE-CONFIG-001: the configuration identity that phase 10 evidence of96 * INC-EE-001 binds, as DRIVING-CONFIG-002 and HMI-CONFIG-001 bind their97 * evidence. The identity is bound to the exact receipt from which the98 * configurator generated the platform-stack projection. receiptSha256 is99 * the SHA-256 of100 * model-based-product-line-engineering/feature-models/receipts/sdv_product_line.receipt.json,101 * the receipt recording the evaluation of the feature configuration102 * driverAssistanceVisionPilotSCOREReference. A receipt re-cut keeps this103 * identity and rebinds receiptSha256 here. The pull request that rebinds104 * it states whether the configuration's own receipt record changed.105 * Evidence that binds EE-CONFIG-001 also records the receipt SHA-256 it106 * ran against.107 *108 * The product inherits four open gaps of phase 8: the central computer109 * handover between increments (gapEECentralComputerHandover),110 * configuration files named by role only111 * (gapEEConfigurationNamedByRole), concrete OS/RTOS/board selection112 * (gapEESwRuntimeNotSelected) and runnable software implementation113 * (gapEESwImplementationOpen). The System 2 testbed choice114 * (gapEEBenchPlatform) and the recorded command stream binding115 * (gapEERecordedCommandStream) belong to the verification environment116 * rather than System 1, so this configured product does not inherit them.117 *118 * Configuration evidence only. This usage proves no vehicle-network,119 * software, HAL or platform behavior and no requirement satisfaction.120 */121 attribute receiptSha256 : ScalarValues::String = "ef8c84d63b93419982888ef0e5c69df1e75458fb0745131868ecb68d64c0d9a7";122 }123124 dependency eeConfiguredPhysicalTopologyTrace125 from configuredProduct::eePhysicalTopology126 to DE4SDV_EEArchitecturePhysicalEERealization::eeVehicleNetworkPhysicalSystem;127 dependency eeConfiguredSoftwareRealizationTrace128 from configuredProduct::eeSoftwareRealization129 to DE4SDV_EEArchitecturePhysicalSoftwareRealization::eeVehicleNetworkSoftwareSystem;130 dependency eeConfiguredProductCentralComputerHandoverGap131 from configuredProduct132 to DE4SDV_EEArchitecturePhysicalEERealization::gapEECentralComputerHandover;133 dependency eeConfiguredProductConfigNamedByRoleGap134 from configuredProduct135 to DE4SDV_EEArchitecturePhysicalEERealization::gapEEConfigurationNamedByRole;136 dependency eeConfiguredProductSwRuntimeGap137 from configuredProduct138 to DE4SDV_EEArchitecturePhysicalSoftwareRealization::gapEESwRuntimeNotSelected;139 dependency eeConfiguredProductSwImplementationGap140 from configuredProduct141 to DE4SDV_EEArchitecturePhysicalSoftwareRealization::gapEESwImplementationOpen;142143 concern eeProductLineConfigurationConcern : ProductLineConfigurationConcern {144 doc /*145 * Product-line engineers, system architects and open-source reviewers146 * need the variant selections of EE-CONFIG-001 in the platform-stack147 * projection generated from its receipt, the projection of the148 * VisionPilot S-CORE reference configuration. The main side selects149 * VisionPilot, Eclipse S-CORE and Linux; the hypervisor is KVM; the150 * guest side selects Android with the AAOS SDV middleware; and the151 * derived adapter is the VisionPilot-to-S-CORE adapter. This concern is152 * about variant choices, not assembly.153 */154 subject;155 stakeholder productLineEngineer : ProductLineEngineer;156 stakeholder systemArchitect : SystemArchitect;157 stakeholder reviewer : OpenSourceReviewer;158 }159160 concern eeProductModelAssemblyConcern : ProductModelAssemblyConcern {161 doc /*162 * System architects, verification engineers and open-source reviewers163 * need the assembly of EE-CONFIG-001: the platform-stack projection164 * paired with the phase 8 E/E topology and software realization, and the165 * two bindings linking the central computer's referenced main-side OS166 * and Eclipse S-CORE layers to the selected Linux and Eclipse S-CORE167 * variants, while microcontroller embedded runtime layers stay unbound.168 * Phase 10 then verifies one configured product. This concern is about169 * assembled assets, not the variation space.170 */171 subject;172 stakeholder systemArchitect : SystemArchitect;173 stakeholder verificationEngineer : VerificationEngineer;174 stakeholder reviewer : OpenSourceReviewer;175 }176177 alias eeSelectedVehicleApplication178 for DriverAssistanceVisionPilotSCOREReference::vehicleApplication;179 alias eeSelectedMiddleware180 for DriverAssistanceVisionPilotSCOREReference::middleware;181 alias eeSelectedOperatingSystem182 for DriverAssistanceVisionPilotSCOREReference::osPlatform;183 alias eeSelectedHypervisor184 for DriverAssistanceVisionPilotSCOREReference::hypervisor;185 alias eeSelectedGuestOperatingSystem186 for DriverAssistanceVisionPilotSCOREReference::guestOSPlatform;187 alias eeSelectedGuestMiddleware188 for DriverAssistanceVisionPilotSCOREReference::guestMiddleware;189 alias eeSelectedApplicationMiddlewareAdapter190 for DriverAssistanceVisionPilotSCOREReference::applicationMiddlewareAdapter;191192 view eeProductLineConfigurationView {193 viewpoint eeProductLineConfigurationViewpoint : ProductLineConfigurationViewpoint {194 frame eeProductLineConfigurationConcern;195 }196 doc /*197 * The generated projection of the reused VisionPilot S-CORE reference198 * configuration and its seven selected platform-stack layers: six199 * selected by the feature configuration and the derived adapter.200 */201 expose DriverAssistanceVisionPilotSCOREReference;202 expose eeSelectedVehicleApplication;203 expose eeSelectedMiddleware;204 expose eeSelectedOperatingSystem;205 expose eeSelectedHypervisor;206 expose eeSelectedGuestOperatingSystem;207 expose eeSelectedGuestMiddleware;208 expose eeSelectedApplicationMiddlewareAdapter;209 attribute showAnnotationRows = false;210 attribute maxCompartmentEntries = 0;211 render asTreeDiagram;212 }213214 view eeProductModelAssemblyView {215 viewpoint eeProductModelAssemblyViewpoint : ProductModelAssemblyViewpoint {216 frame eeProductModelAssemblyConcern;217 }218 doc /*219 * The configured product of INC-EE-001: its definition with the220 * platform-stack projection, the phase 8 E/E topology, the phase 8221 * software realization and the two central-computer layer bindings,222 * together with the configured product usage EE-CONFIG-001 that phase 10223 * evidence binds. Phase 8 allocations are filtered out because they224 * target the standalone phase 8 usages rather than this assembled225 * product.226 */227 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct;228 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct::eePlatformStack;229 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct::eePhysicalTopology;230 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct::eeSoftwareRealization;231 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct::eeCentralOSBoundToSelectedOperatingSystem;232 expose EEVehicleNetworkVisionPilotSCOREConfiguredProduct::eeCentralSCOREBoundToSelectedMiddleware;233 expose configuredProduct;234 filter not (@ SysML::AllocationUsage);235 attribute showAnnotationRows = false;236 attribute maxCompartmentEntries = 0;237 render asTreeDiagram;238 }239}240