fprime/Ref/Top/instances.fpp
Thomas Boyer-Chammard d014f30a96
Add Framing subtopologies and use them within Com subtopologies (#4113)
* Update ComX subtopologies to not include ComStub and update Ref

* Cosmetic updates

* Working FramingCcsds subtopology used in ComCcsds

* Revert Ref to use ComCcsds

* Move FramingSubtopology into ComCcsds build module

* Working ComFprime subtopology

* Cosmetic updates

* formatting
2025-09-03 18:04:37 -07:00

105 lines
3.2 KiB
Fortran

module Ref {
# ----------------------------------------------------------------------
# Base ID Convention
# ----------------------------------------------------------------------
#
# All Base IDs follow the 8-digit hex format: 0xDSSCCxxx
#
# Where:
# D = Deployment digit (1-F)
# SS = Subtopology digits (00 for main topology, 01-FF)
# CC = Component digits (00-FF)
# xxx = Reserved for internal component items (events, commands, telemetry)
#
# ----------------------------------------------------------------------
# Defaults
# ----------------------------------------------------------------------
module Default {
constant QUEUE_SIZE = 10
constant STACK_SIZE = 64 * 1024
}
# ----------------------------------------------------------------------
# Active component instances
# ----------------------------------------------------------------------
instance blockDrv: Ref.BlockDriver base id 0x10000000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 140
instance rateGroup1Comp: Svc.ActiveRateGroup base id 0x10001000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 120
instance rateGroup2Comp: Svc.ActiveRateGroup base id 0x10002000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 119
instance rateGroup3Comp: Svc.ActiveRateGroup base id 0x10003000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 118
instance pingRcvr: Ref.PingReceiver base id 0x10004000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 100
instance typeDemo: Ref.TypeDemo base id 0x10005000
instance cmdSeq: Svc.CmdSequencer base id 0x10006000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 97
instance dpDemo: Ref.DpDemo base id 0x0A10 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 96
# ----------------------------------------------------------------------
# Queued component instances
# ----------------------------------------------------------------------
instance sendBuffComp: Ref.SendBuff base id 0x10010000 \
queue size Default.QUEUE_SIZE
instance SG1: Ref.SignalGen base id 0x10011000 \
queue size Default.QUEUE_SIZE
instance SG2: Ref.SignalGen base id 0x10012000 \
queue size Default.QUEUE_SIZE
instance SG3: Ref.SignalGen base id 0x10013000 \
queue size Default.QUEUE_SIZE
instance SG4: Ref.SignalGen base id 0x10014000 \
queue size Default.QUEUE_SIZE
instance SG5: Ref.SignalGen base id 0x10015000 \
queue size Default.QUEUE_SIZE
# ----------------------------------------------------------------------
# Passive component instances
# ----------------------------------------------------------------------
instance posixTime: Svc.PosixTime base id 0x10020000
instance rateGroupDriverComp: Svc.RateGroupDriver base id 0x10021000
instance recvBuffComp: Ref.RecvBuff base id 0x10022000
instance systemResources: Svc.SystemResources base id 0x10023000
instance linuxTimer: Svc.LinuxTimer base id 0x10024000
instance comDriver: Drv.TcpClient base id 0x10025000
}