Skip to main content

carcosa

The carcosa element is designed to model complex, safety-critical compute systems—especially highly heterogeneous setups. Carcosa focuses on modeling how injected faults propagate through a system. Through a custom MMIO control protocol (hyades.h), Carcosa allows RISC-V guest binaries running on the Vanadis processor model to actively participate in host-driven action loops. The flow of data between sensors, CPUs and memory/injected faults are handles by the Hali component. Hali coordinates with Vanadis processes to actively intercept MMIO regions to keep multiple cores synchronized and coordinate their execution.

At a Glance

Source Code: sst-elements/.../carcosa  
SST Name: carcosa  
Maturity Level: Prototype (2)  
Development Path: Active  
Last Released: SST 16.1

Required dependencies​

None

Optional dependencies​

None

Elements​

Use sst-info carcosa or sst-info carcosa.<element> to see each element's parameters, ports, and statistics.

LibraryElementTypeDescription
carcosaHaliComponentInterface layer that routes data among sensors, CPUs, and the memory controller and coordinates fault injection; Halis connect to each other in a ring (left/right ports)
carcosaSensorComponentComponentSensor that sends a set number of events to its Hali (ifl port), as in a vehicle simulation
carcosaCarcosaCPUComponentSimple test CPU that issues random reads and writes through a StandardMem interface and connects to a Hali
carcosaFaultInjCPUComponentTest CPU like CarcosaCPU that also receives fault-injection events from its Hali
carcosaCarcosaMemCtrlComponentmemHierarchy-style memory controller that also connects to Halis (haliLinks_<N> ports) so faults can be injected into memory
carcosaFaultInjManagerSubComponentManages fault injection for a Hali; loaded automatically by each Hali
carcosaPingPongAgentSubComponentInterception agent for a Hali's interceptionAgent slot; exchanges command and status values with a Vanadis guest program through memory-mapped registers

See carcosa/tests for complete configurations, e.g. testhaliBacking.py (a ring of Halis with CPUs and caches), the testStuckAt*, testRandomFlip, testRandomDrop, and testCorruptMem* fault-injection tests, and testcarcosaPingPong.py (Vanadis with a PingPongAgent).