Formal Verification and Verilog Code Generation for Coq-based Carry-Lookahead Adder Algorithm

This article describes the application of customized proof techniques for proving theorems related to arithmetic circuits in the Coq theorem prover and generating Verilog code from Coq. By illustrating the correctness verification process of a carry-lookahead adder (CLA) as an example, this set of proof strategies not only significantly simplifies the proof process but also enhances the efficiency of Coq formal verification in general. It is also possible to generate Verilog code for CLA of arbitrary size (up to 128 bits) based on Signal type. Additionally, the Verilog code for CLA generated from Coq can be run directly, has been synthesized and simulated in Quartus.

Authors

Institutions

Publication Details

Published
2024-10-25
DOI
https://doi.org/10.1109/icicm63644.2024.10814122
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formal Verification and Verilog Code Generation for Coq-based Carry-Lookahead Adder Algorithm

Kexin Chen, Gang Chen
Distributed and Parallel Computing Systems
article

Formal Verification and Verilog Code Generation for Coq-based Carry-Lookahead Adder Algorithm

Kexin Chen, Gang Chen
article en

Abstract

This article describes the application of customized proof techniques for proving theorems related to arithmetic circuits in the Coq theorem prover and generating Verilog code from Coq. By illustrating the correctness verification process of a carry-lookahead adder (CLA) as an example, this set of proof strategies not only significantly simplifies the proof process but also enhances the efficiency of Coq formal verification in general. It is also possible to generate Verilog code for CLA of arbitrary size (up to 128 bits) based on Signal type. Additionally, the Verilog code for CLA generated from Coq can be run directly, has been synthesized and simulated in Quartus.

Nanjing University of Aeronautics and Astronautics (CN)
Openalex Percentile: Top 71%
Distributed and Parallel Computing Systems
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.