English

From Boolean Functional Equations to Control Software

Systems and Control 2012-05-23 v4 Logic in Computer Science Software Engineering

Abstract

Many software as well digital hardware automatic synthesis methods define the set of implementations meeting the given system specifications with a boolean relation K. In such a context a fundamental step in the software (hardware) synthesis process is finding effective solutions to the functional equation defined by K. This entails finding a (set of) boolean function(s) F (typically represented using OBDDs, Ordered Binary Decision Diagrams) such that: 1) for all x for which K is satisfiable, K(x, F(x)) = 1 holds; 2) the implementation of F is efficient with respect to given implementation parameters such as code size or execution time. While this problem has been widely studied in digital hardware synthesis, little has been done in a software synthesis context. Unfortunately the approaches developed for hardware synthesis cannot be directly used in a software context. This motivates investigation of effective methods to solve the above problem when F has to be implemented with software. In this paper we present an algorithm that, from an OBDD representation for K, generates a C code implementation for F that has the same size as the OBDD for F and a WCET (Worst Case Execution Time) at most O(nr), being n = |x| the number of arguments of functions in F and r the number of functions in F.

Keywords

Cite

@article{arxiv.1106.0468,
  title  = {From Boolean Functional Equations to Control Software},
  author = {Federico Mari and Igor Melatti and Ivano Salvo and Enrico Tronci},
  journal= {arXiv preprint arXiv:1106.0468},
  year   = {2012}
}
R2 v1 2026-06-21T18:16:49.511Z