SynQ: An Embedded DSL for Synchronous System Design with Quantitative Types

📅 2025-05-05
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the substantial semantic gap, weak traceability, and difficulty in correctness assurance between specifications and implementations in high-complexity embedded systems design, this paper proposes a component-based design framework grounded in the perfect synchrony hypothesis. Innovatively integrating Quantitative Type Theory (QTT) with language embedding techniques, the framework defines an Embedded-Domain-Specific Language (EDSL) that uniformly supports formal specification, verification, modeling, simulation, and code generation—ensuring end-to-end semantic consistency across the design flow. Evaluated through a case study, the framework enables a fully semantically coherent, end-to-end design process, significantly enhancing correctness guarantees and design transparency. It establishes a novel, formal, and verifiable paradigm for automated embedded systems design.

Technology Category

Application Category

📝 Abstract
System design automation aims to manage the design of embedded systems with ever-increasing complexity. To the success of system design automation, there is still a lack of systematic and formal design process because an entire design process, from a system's specification to its implementation, has to deal with inherent concerns about the systems' different aspects and, consequently, inherent semantic gaps. These gaps make it hard for a design process to be traceable or transparent. Particularly, guaranteeing the correctness of produced implementations becomes the main challenge for a system design process. SynQ (Synchronous system design with Quantitative types) is an embedded domain specification language (EDSL) targeting the design of systems obeying the perfect synchrony hypothesis. SynQ is based on a component-based design framework and, by design, facilitates semantic coherency by leveraging the quantitative type theory (QTT) and language embedding. SynQ enables a semantically coherent design process, including formal specification and verification, modelling, simulation and code generation. This paper presents SynQ and its underlying formalism and demonstrates its features and potential for semantically coherent system design through a case study.
Problem

Research questions and friction points this paper is trying to address.

Lack of systematic formal design process for embedded systems
Challenges in ensuring correctness of system implementations
Semantic gaps hinder traceable and transparent design processes
Innovation

Methods, ideas, or system contributions that make the work stand out.

Embedded DSL for synchronous system design
Quantitative type theory for semantic coherency
Component-based framework with formal verification
🔎 Similar Papers
No similar papers found.
R
Rui Chen
School of EECS, KTH Royal Institute of Technology, Stockholm, Sweden
Ingo Sander
Ingo Sander
Professor, KTH Royal Institute of Technology
Embedded System Design Methodologies