TL;DR
CPPL introduces a compiler-mediated framework that enhances LLM-assisted hardware design by transforming it into a statically checkable frontend problem, improving correctness and optimization.
Contribution
It presents CPPL, a new hardware design framework combining a Python DSL and JSON IR to make LLM-generated hardware descriptions more reliable and compiler-friendly.
Findings
CPPL improves functional correctness over direct Verilog generation.
CIRCT optimization reduces post-synthesis AIG node counts.
The framework makes hardware design more analyzable and optimizable.
Abstract
Large language models (LLMs) have shown promise in register-transfer level (RTL) design automation, but direct RTL generation remains difficult to validate, optimize, and integrate with compiler-based hardware design flows. Hardware compiler infrastructures such as CIRCT provide typed intermediate representations, legality checks, and optimization passes, yet current LLMs struggle to emit raw compiler IR because of MLIR syntax, SSA discipline, dialect-specific operations, and strict width constraints. This paper presents CPPL, a compiler-mediated design framework that turns LLM-assisted hardware generation into a statically checkable frontend problem rather than an unconstrained RTL text-generation task. CPPL combines a Python frontend DSL for declaring module interfaces and hierarchy with CPPL IR, a JSON-based circuit IR designed to expose compiler-visible structure while remaining…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
