textual-notation-of-model/packages/features/middleware/middleware_score_functional_architecture.sysml
1 view(s) · 18 declared member(s) Jump to source ↓
view scoreMiddlewareRequirementFunctionMappingViewsource ↓
| Viewpoint | selected (System |
|---|---|
| View type | MVD:: |
| Framed concerns |
|
| Exposes | reqreqreqreqreqreqreqreqreqreqreqtranslatemiddlewarecarryDE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV middleware functional architecture for the Eclipse S-CORE3 * realization.4 *5 * INC-MW-011, phase 6: the functions that carry the requirements of the6 * middleware integration layer, REQ-MW-010 to REQ-MW-020. The functional7 * architecture of INC-MW-006 holds for the S-CORE member (ASM-MW-023): a8 * requirement is allocated to a baseline function where one carries it, and9 * a function is added where none does, for the reference vehicle speed with10 * its VSS type and for the one-way HMI path. Two requirements are carried by11 * no function. REQ-MW-017 constrains the layer's interfaces and12 * configuration (ASM-MW-028); phase 10 verifies it by inspection. REQ-MW-01813 * constrains the adapter process, which phase 8 defines; GAP-MW-034 records14 * its phase-8 risk. An allocation assigns responsibility only (allocatedTo);15 * it asserts no satisfaction. No closed slice is edited, no transport or16 * technology is selected, and no safety, cybersecurity, compliance or17 * freedom-from-interference claim is made.18 */1920package DE4SDV_MiddlewareSCOREFunctionalArchitecture {21 private import COVESA_VSS::**;22 private import DE4SDV_TraceVocabulary::AllocatableFunction;23 private import DE4SDV_MiddlewareFunctionalArchitecture::Features::Middleware::FunctionalArchitecture::*;24 private import DE4SDV_MiddlewareSCOREOperationalContext::AEBSSignalFrame;25 private import DE4SDV_MiddlewareSCORENeedsRequirements::*;26 private import DE4SDV_Stakeholders::*;27 private import SAF_Viewpoints::*;28 private import SysideViews::**;2930 action translateReferenceSpeed : TranslateVehicleSignal {31 doc /*32 * The baseline signal translation for the reference vehicle speed: it33 * takes the speed samples of the vehicle-speed provider, carried over34 * S-CORE communication, as speedSample and gives the translated speed to35 * the velocity input of the Autoware vehicle velocity converter as its36 * signal response.37 */38 in signalRequest;39 out signalResponse;40 in speedSample : Vehicle_Speed;41 }4243 action carryAEBSSignalFramesToHMI : AllocatableFunction {44 doc /*45 * Carries the AEBS signal frames of the AEBS stack on the Linux host one46 * way to the HMI application in the AAOS SDV guest; it takes no input47 * from the guest.48 */49 in aebsSignalFrame : AEBSSignalFrame;50 out deliveredFrame : AEBSSignalFrame;51 }5253 /* Requirement-to-function allocations: the reference vehicle speed. */54 allocation speedDeliveryResponsibility55 allocate reqDeliverReferenceVehicleSpeed to translateReferenceSpeed;56 allocation nonFiniteSpeedResponsibility57 allocate reqWithholdNonFiniteSpeedSample to translateReferenceSpeed;58 allocation speedAtMostOnceResponsibility59 allocate reqDeliverSpeedSampleAtMostOnce to translateReferenceSpeed;60 allocation aebVelocityInputExclusionResponsibility61 allocate reqNoSpeedSampleToAEBVelocityInput to translateReferenceSpeed;62 allocation staleSpeedIndicationResponsibility63 allocate reqIndicateStaleReferenceVehicleSpeed to MiddlewareIntegrationFunctionalFlow::forwardHealth;6465 /* Requirement-to-function allocations: the HMI path. */66 allocation frameOrderResponsibility67 allocate reqDeliverAEBSSignalsInSourceOrder to carryAEBSSignalFramesToHMI;68 allocation frameProvenanceResponsibility69 allocate reqPreserveAEBSSignalProvenance to carryAEBSSignalFramesToHMI;70 allocation oneWayHMIPathResponsibility71 allocate reqNoApplicationDataFromHMIGuest to carryAEBSSignalFramesToHMI;72 allocation unsubscribedFrameDiscardResponsibility73 allocate reqDiscardFramesWhileHMIUnsubscribed to carryAEBSSignalFramesToHMI;7475 concern scoreMiddlewareFunctionAllocationConcern : FunctionalBehaviorConcern {76 doc /*77 * System architects and open-source reviewers need each requirement of the78 * middleware integration layer mapped to the function that carries it, a79 * baseline function of INC-MW-006 or a function added for the S-CORE80 * member.81 */82 subject;83 stakeholder systemArchitect : SystemArchitect;84 stakeholder reviewer : OpenSourceReviewer;85 }8687 view scoreMiddlewareRequirementFunctionMappingView : MVD::MatrixView {88 viewpoint selectedFunctionalBreakdownViewpoint : SystemFunctionalBreakdownStructureViewpoint {89 frame scoreMiddlewareFunctionAllocationConcern;90 }91 view :>> rowView {92 expose reqDeliverReferenceVehicleSpeed;93 expose reqWithholdNonFiniteSpeedSample;94 expose reqIndicateStaleReferenceVehicleSpeed;95 expose reqDeliverSpeedSampleAtMostOnce;96 expose reqDeliverAEBSSignalsInSourceOrder;97 expose reqPreserveAEBSSignalProvenance;98 expose reqNoApplicationDataFromHMIGuest;99 expose reqNoEmergencyCommandOnMiddleware;100 expose reqTerminateAdapterOnException;101 expose reqDiscardFramesWhileHMIUnsubscribed;102 expose reqNoSpeedSampleToAEBVelocityInput;103 attribute :>> includeReferenceElements = true;104 attribute :>> representation = Rep::name;105 }106 view :>> columnView {107 expose translateReferenceSpeed;108 expose middlewareIntegrationFunctionalFlow::forwardHealth;109 expose carryAEBSSignalFramesToHMI;110 attribute :>> includeReferenceElements = true;111 attribute :>> representation = Rep::name;112 }113 view :>> cellView {114 expose DE4SDV_MiddlewareSCOREFunctionalArchitecture::*;115 attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;116 }117 }118}119