Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/extensions/score_metamodel/metamodel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ needs_types:
optional_links:
implements: logic_arc_int, real_arc_int_op
uses: logic_arc_int, real_arc_int_op
consists_of: comp, sw_unit
consists_of: comp
tags:
- architecture_element
parts: 2
Expand Down Expand Up @@ -682,7 +682,7 @@ needs_types:
satisfies: comp_arc_sta
optional_links:
belongs_to: comp # TODO: make it mandatory
includes: sw_unit
includes: sw_unit, sw_unit_int
parts: 3

# req-Id: tool_req__docs_dd_dyn
Expand All @@ -699,6 +699,7 @@ needs_types:
satisfies: comp_arc_sta
optional_links:
belongs_to: comp # TODO: make it mandatory
includes: sw_unit, sw_unit_int
parts: 3

sw_unit:
Expand All @@ -707,16 +708,21 @@ needs_types:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
optional_links:
belongs_to: comp # TODO: make it mandatory
parts: 3

sw_unit_int:
title: Software unit interfaces
title: Software unit interface
color: #FEDCD2
style: card
mandatory_options:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
optional_links:
belongs_to: comp # TODO: make it mandatory
implements: real_arc_int, real_arc_int_op
parts: 3

# DFA (Dependent Failure Analysis)
Expand Down
Loading