kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Chen, Rui
Publications (4 of 4) Show all publications
Chen, R. & Sander, I. (2025). Towards Coherent Semantics: a Quantitatively Typed EDSL for Synchronous System Design. In: Proceedings 2025 Design, Automation & Test in Europe Conference (DATE): . Paper presented at Design, Automation & Test in Europe Conference, DATE 2025, Lyon, France, March 31 - April 2, 2025. Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Towards Coherent Semantics: a Quantitatively Typed EDSL for Synchronous System Design
2025 (English)In: Proceedings 2025 Design, Automation & Test in Europe Conference (DATE), Institute of Electrical and Electronics Engineers (IEEE), 2025Conference paper, Published paper (Refereed)
Abstract [en]

We present SynQ, an embedded DSL (EDSL) targeting synchronous system design with quantitative types. SynQ is designed to facilitate semantically coherent system design processes by language embedding and advanced type systems. The current case study indicates the potential for a seamless system design process.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
Keywords
embedded system design, synchronous systems, embedded domain-specific language, functional language
National Category
Embedded Systems
Identifiers
urn:nbn:se:kth:diva-364829 (URN)10.23919/DATE64628.2025.10992876 (DOI)001506972600133 ()2-s2.0-105006923977 (Scopus ID)
Conference
Design, Automation & Test in Europe Conference, DATE 2025, Lyon, France, March 31 - April 2, 2025
Funder
Vinnova, 2021-02484
Note

QC 20250702

Available from: 2025-06-16 Created: 2025-06-16 Last updated: 2025-11-19Bibliographically approved
Chen, R. & Sander, I. (2024). A Quantitative Type Approach to Formal Component-Based System Design. In: 2024 forum on specification & design languages, FDL 2024: . Paper presented at 27th Forum on Specification and Design Languages (FDL), SEP 04-06, 2024, KTH Royal Inst Technol, Stockholm, SWEDEN (pp. 27-36). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>A Quantitative Type Approach to Formal Component-Based System Design
2024 (English)In: 2024 forum on specification & design languages, FDL 2024, Institute of Electrical and Electronics Engineers (IEEE) , 2024, p. 27-36Conference paper, Published paper (Refereed)
Abstract [en]

Functional programming languages are recognised for their high abstraction level, high expressiveness, formal semantics, and correspondence to formal logic. However, the utilisation of functional languages in system design is limited because the existence of stateful, black-box components, e.g., simulation models and legacy components, breaks the functional languages' ground. Existing solutions to this situation, e.g. monads, are sub-optimal due to their ad-hoc and over-constrained nature. To address this challenge, we employ the quantitative type theory (QTT), which combines the dependent and linear (resource) type systems, for component specification. QTT enables stateful components to be used as pure functions with minimised restrictions. To this end, a functional language with QTT can be used for glue specification in a component-based design framework with all its advantages leveraged. The proposed approach is demonstrated by a case study in which a QTT-based RV32I instruction set architecture (ISA) specification in Idris2, a Haskell-like language, is simulated, verified, transformed and implemented in Verilog HDL by utilising properties of pure functions, which confirms the advantages of the proposed approach.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Series
International Forum on Design Languages, ISSN 1636-9874
Keywords
embedded systems, component-based system design, functional language, quantitative type theory
National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-356034 (URN)10.1109/FDL63219.2024.10673844 (DOI)001324887800004 ()2-s2.0-85206261708 (Scopus ID)
Conference
27th Forum on Specification and Design Languages (FDL), SEP 04-06, 2024, KTH Royal Inst Technol, Stockholm, SWEDEN
Funder
Vinnova, 2021-02484Vinnova, 2019-02743
Note

Part of ISBN 979-8-3315-0458-8, 979-8-3315-0457-1

QC 20241111

Available from: 2024-11-11 Created: 2024-11-11 Last updated: 2025-06-12Bibliographically approved
Jordao, R., Bahrami, F., Chen, R. & Sander, I. (2022). A multi-view and programming language agnostic framework for model-driven engineering. In: PROCEEDINGS OF THE 2022 FORUM ON SPECIFICATION & DESIGN LANGUAGES (FDL): . Paper presented at Forum on Specification and Design Languages (FDL), SEP 14-16, 2022, Linz, AUSTRIA. Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>A multi-view and programming language agnostic framework for model-driven engineering
2022 (English)In: PROCEEDINGS OF THE 2022 FORUM ON SPECIFICATION & DESIGN LANGUAGES (FDL), Institute of Electrical and Electronics Engineers (IEEE) , 2022Conference paper, Published paper (Refereed)
Abstract [en]

Model-driven engineering (MDE) addresses the complexity of modern-day embedded system design. Multiple MDE frameworks are often integrated into a design process to use each MDE framework's state-of-the-art tools for increased productivity. However, this integration requires substantial development effort. In this paper, we propose an MDE, framework based on a formalism of system graphs and trait hierarchies for programming-language-agnostic integration between tools within our framework and with tools of other MDE frameworks. Implementing our framework for each programming language is a one-time development effort. We evaluate our proposal in an MDE design process by developing a Java supporting library and an AMALTHEA connector. Then we perform an MDE, industrial avionics case study with both. The evaluation shows that our framework facilitates the integration of different tools and the independent development of different system parts. Therefore, our framework is a reliable MDE, framework that lowers the effort of integrating tools to benefit from their combined state-of-the-art.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2022
Series
International Forum on Design Languages, ISSN 1636-9874
Keywords
Model-driven Engineering, System Modelling, Collaborative Tools
National Category
Embedded Systems
Identifiers
urn:nbn:se:kth:diva-322481 (URN)10.1109/FDL56239.2022.9925666 (DOI)000889465700011 ()2-s2.0-85141766551 (Scopus ID)
Conference
Forum on Specification and Design Languages (FDL), SEP 14-16, 2022, Linz, AUSTRIA
Note

Part of proceedings: ISBN 978-1-6654-7332-3

QC 20221216

Available from: 2022-12-16 Created: 2022-12-16 Last updated: 2023-10-25Bibliographically approved
Sander, I., Söderquist, I., Ekman, M., Jordao, R., Bahrami, F., Chen, R. & Åhlander, A. (2022). TOWARDS CORRECT-BY-CONSTRUCTION DESIGN OF SAFETY-CRITICAL EMBEDDED AVIONICS SYSTEMS. In: 33rd Congress of the International Council of the Aeronautical Sciences, ICAS 2022: . Paper presented at 33rd Congress of the International Council of the Aeronautical Sciences, ICAS 2022, Stockholm, Sweden, Sep 4 2022 - Sep 9 2022 (pp. 1637-1658). International Council of the Aeronautical Sciences
Open this publication in new window or tab >>TOWARDS CORRECT-BY-CONSTRUCTION DESIGN OF SAFETY-CRITICAL EMBEDDED AVIONICS SYSTEMS
Show others...
2022 (English)In: 33rd Congress of the International Council of the Aeronautical Sciences, ICAS 2022, International Council of the Aeronautical Sciences , 2022, p. 1637-1658Conference paper, Published paper (Refereed)
Abstract [en]

New methodologies are needed for the development of avionics systems to meet today’s software explosion in complexity and related cost due to the increased functionality in the aircraft. Current design flows for software-intensive systems do not have a clear path from the functional specification to the final implementation and cannot provide real-time guarantees. The situation will become even more difficult because, in the future, more and more applications will share the same computation nodes and the network in a distributed hierarchical network-based system. In order to overcome the present situation, a novel methodology for a correct-by-construction design of safety-critical embedded avionics systems has been created and formulated within the Vinnova NFFP7 project CORRECT. Correct-by-construction design is a radical departure from current design practice, with the potential to decrease the verification costs for future systems significantly. The paper presents the underlying foundation of the methodology, its carefully selected ingredients, and discuss available results and existing tool support. The methodology is based on a disciplined system modelling environment grounded on a sound formal foundation, a design space exploration technique, and a clear path to hardware and software synthesis. An industrial case study investigates the potential of the methodology.

Place, publisher, year, edition, pages
International Council of the Aeronautical Sciences, 2022
Keywords
Correct-by-Construction Design, Design Space Exploration, Integrated Modular Avionics, System Modelling, System Synthesis
National Category
Embedded Systems
Identifiers
urn:nbn:se:kth:diva-333305 (URN)2-s2.0-85159674343 (Scopus ID)
Conference
33rd Congress of the International Council of the Aeronautical Sciences, ICAS 2022, Stockholm, Sweden, Sep 4 2022 - Sep 9 2022
Note

Part of ISBN 9781713871163

QC 20230801

Available from: 2023-08-01 Created: 2023-08-01 Last updated: 2023-08-01Bibliographically approved
Organisations

Search in DiVA

Show all publications