From graphical block diagram to juliac executable
Fredrik Bagge Carlson, Tim Besard, Benjamin Chung
We present an update on the synchronous programming capabilities in the Dyad modeling language. A synchronous program (discrete-time dynamical system), can now be implemented in a graphical block-diagram editor together with an acausal model of a continuous-time system, simulated, and code generated to a juliac/trim executable or C code. Under the hood, Dyad compiles to ModelingToolkit, which in turn lowers the synchronous program to the new domain-specifica language SynchJulia.jl, which in turn generates C code or executable julia code compiled with JuliaC.