Publication | Open Access
Mechanized semantics and verified compilation for a dataflow synchronous language with reset
20
Citations
31
References
2019
Year
EngineeringVerificationComputer-aided VerificationSoftware EngineeringSoftware AnalysisFormal VerificationAssembly CodeFormal TechniqueCompilersProgramming LanguagesVerified CompilationMechanized ReasoningFormal SpecificationData FlowRuntime VerificationDataflow Synchronous LanguageComputer ScienceSource LanguageSoftware DesignSpecification LanguageProgram AnalysisAutomated ReasoningFormal MethodsSystem Software
Specifications based on block diagrams and state machines are used to design control software, especially in the certified development of safety-critical applications. Tools like SCADE Suite and Simulink/Stateflow are equipped with compilers that translate such specifications into executable code. They provide programming languages for composing functions over streams as typified by Dataflow Synchronous Languages like Lustre. Recent work builds on CompCert to specify and verify a compiler for the core of Lustre in the Coq Interactive Theorem Prover. It formally links the stream-based semantics of the source language to the sequential memory manipulations of generated assembly code. We extend this work to treat a primitive for resetting subsystems. Our contributions include new semantic rules that are suitable for mechanized reasoning, a novel intermediate language for generating optimized code, and proofs of correctness for the associated compilation passes.
| Year | Citations | |
|---|---|---|
Page 1
Page 1