Guides

Embedded Software 2026 R1

Issue link: https://resources.randsim.com/i/1543876

Contents of this Issue

Navigation

Page 5 of 10

©2026. Proprietary. Do Not Share. 6 Configurable and efficient code generation What's New • Generate code for probes • Probes are internal flows that can be observed • Root interface as globals (a.k.a. global root context) • Option to use global variables for parameters of root operator(s) • Improved performance of generated code • Annotations for more control of memory in generated code • Generation of C99 compliant code User Benefits • Improved flexibility for integrating generated code • Improved performance of generated code /* RootGlobals::MyRoot */ extern void MyRoot_RootGlobals(void); extern outC_MyRoot_RootGlobals Ctxt_MyRoot_RootGlobals; /* RootGlobals::MyRoot/x */ extern swan_float32 x; /* RootGlobals::MyRoot/y */ extern swan_float32 y; /* RootGlobals::MyRoot/enable */ extern swan_bool enable; extern obsS_MyRoot_RootGlobals Obs_MyRoot_RootGlobals; Root interface as globals outC->o = swan_lit_int32(0); for (i1 = 0; i1 < 10; i1++) { outC->o = outC->o + (*a)[i1] * (*b)[i1]; } Optimizing iterator composition

Articles in this issue

view archives of Guides - Embedded Software 2026 R1