1. Type-based initialization analysis of a synchronous dataflow language.
- Author
-
Colaço, Jean-Louis and Pouzet, Marc
- Subjects
DATA flow computing ,PROGRAMMING languages ,COMPUTER science ,INFORMATION technology ,ELECTRONIC data processing ,TECHNOLOGY - Abstract
One of the appreciated features of the synchronous dataflow approach is that a program defines a perfectly deterministic behavior. But the use of the delay primitive leads to undefined values at the first cycle; thus a dataflow program is really deterministic only if it can be shown that such undefined values do not affect the behavior of the system.This paper presents aninitialization analysisthat guarantees the deterministic behavior of programs. This property being undecidable in general, the paper proposes a safe approximation of the property, precise enough for most dataflow programs. This analysis is aone-bitanalysis - expressions are either initialized or uninitialized - and is defined as an inference-type system with subtyping constraints. This analysis has been implemented in theLucid Synchronecompiler and in a newScade-Lustreprototype compiler at Esterel Technologies. The analysis gives very good results in practice. [ABSTRACT FROM AUTHOR]
- Published
- 2004
- Full Text
- View/download PDF