K-CIRCT: A Layered, Composable, and Executable Formal Semantics for CIRCT Dialects

CIRCT (Circuit Intermediate Representations Compilers and Tools) is an open-source compiler infrastructure that provides a unified toolchain and reusable intermediate representations for multiple hardware description languages (HDLs) across the phases of hardware design. Despite its growing adoption, CIRCT lacks formal semantics. We present K-CIRCT, the first formal semantic framework for CIRCT that enables RISC-V processor design formalization. To match CIRCT’s extensible architecture, we introduce a layered semantic framework: (1) the MLIR infrastructure layer, extensible for different MLIR-based domain compilers; (2) the CIRCT hardware layer for hardware-specific semantics, and (3) dialect-specific layers for individual CIRCT dialects. Using this framework, we formalized the semantics of the hw , comb , seq , and sv dialects with concise definitions. The framework ensures dialect composability through effectful functions, crucial for practical multi-dialect designs. K-CIRCT enables the generation of interpreters and formal verifiers for CIRCT. Based on the interpreter, we developed a simulator and validated K-CIRCT by simulating the well-known Rocket Chip RISC-V design. Our validation confirms the correctness and adequacy of our semantics for real-world hardware designs.

Authors

Institutions

Publication Details

Journal
Formal Aspects of Computing
Published
2026-11-21
DOI
https://doi.org/10.1145/3849806
Citations
5
Primary Topic
Embedded Systems Design Techniques
Type
article
Field-Weighted Citation Impact
3.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

K-CIRCT: A Layered, Composable, and Executable Formal Semantics for CIRCT Dialects

Jianhong Zhao, Yongwang Zhao, Jinhui Kang
5 citations
Formal Aspects of Computing
Embedded Systems Design Techniques
3.92
article

K-CIRCT: A Layered, Composable, and Executable Formal Semantics for CIRCT Dialects

Jianhong Zhao, Yongwang Zhao, Jinhui Kang
article en
5 citations

Abstract

CIRCT (Circuit Intermediate Representations Compilers and Tools) is an open-source compiler infrastructure that provides a unified toolchain and reusable intermediate representations for multiple hardware description languages (HDLs) across the phases of hardware design. Despite its growing adoption, CIRCT lacks formal semantics. We present K-CIRCT, the first formal semantic framework for CIRCT that enables RISC-V processor design formalization. To match CIRCT’s extensible architecture, we introduce a layered semantic framework: (1) the MLIR infrastructure layer, extensible for different MLIR-based domain compilers; (2) the CIRCT hardware layer for hardware-specific semantics, and (3) dialect-specific layers for individual CIRCT dialects. Using this framework, we formalized the semantics of the hw , comb , seq , and sv dialects with concise definitions. The framework ensures dialect composability through effectful functions, crucial for practical multi-dialect designs. K-CIRCT enables the generation of interpreters and formal verifiers for CIRCT. Based on the interpreter, we developed a simulator and validated K-CIRCT by simulating the well-known Rocket Chip RISC-V design. Our validation confirms the correctness and adequacy of our semantics for real-world hardware designs.

Formal Aspects of Computing
Zhejiang University of Science and Technology (CN), Zhejiang University (CN)
Openalex Percentile: Top 8%
Embedded Systems Design Techniques
3.92
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon