Deployment view: process, thread, partition, container and OS/SoC nodes derived from allocations

Aperta
#370 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
24/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, rust, yaml

Direzione di ricerca

Start with the diagram-generation design in #334 and the parent work in #363, item 6, then inspect the repository’s model and diagram entry points. Define a small SysML model for the SoC, partitions, and processes and trace how it could produce the requested IR and SVG. Done means deployment structure, allocation checks, and the grid-tie example meet the listed acceptance criteria.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Part of #363 (item 6). Related to the diagram-generation design (#334).

Current state

The derived Allocation diagram draws logical and physical swimlanes joined by allocation edges. Deployment structure (process, thread, partition, container, OS, SoC) cannot be expressed or drawn as nested nodes.

Proposal

  1. Deployment structure. Hardware nodes (domain: hardware) contain execution environments (OS or hypervisor, partition, container), which contain deployment units (process, thread). A deploymentKind: on a part (soc, core, partition, container, process, thread) plus Allocation of software components onto them; nesting by composition.
  2. Derived Deployment diagram (diagramKind: Deployment): nested nodes (SoC > core > OS > process > thread) with the allocated components inside and the communication links between nodes (buses, IPC) labelled by interface. --config shows one product's deployment.
  3. Checks: a component allocated to nothing, allocated twice, or to a node that cannot host it (an ASIL/SIL above the partition's, a different OS); the timing and resource budgets (E) roll up per node.

Acceptance (tests first)

  • Golden IR/SVG for a small model with a SoC, two partitions and three processes.
  • A component allocated to two partitions is reported unless marked replicated.
  • Grid-tie model: the firmware drawn inside the STM32 core with its tasks.

Part of #272 (executable MBSE / software design).


Generated by Claude Code

Lingua principale
Rust
Stelle
8
Fork
1
Merge medio
3h 35m
PR unite (30g)
69

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sjames/syscribe

Tutte le issue di sjames/syscribe

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.