SkillAgentSearch skills...

DatapathBench

A collection of datapath circuit design and verification benchmarks

Install / Use

/learn @cowardsa/DatapathBench
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

DatapathBench

A collection of simple datapath circuit design and verification benchmarks. Each directory contains alternative (but equivalent) representations of a single module (named <dir>):

Note that the .mlir representations do not support parameterisation therefore each file is a specific instatiation of the module.

Evaluation

We provide a script for reporting the different flows shown in the picture below. Every evaluation must specify a bitwidth, and you can optionally specify a single benchmark to run.

python3 eval_bench.py <bitwidth> [benchmark]
<p align="center"><img src="flows.png"/></p>

Verification (WIP)

The verification challenge is to prove the equivalence of these represenatations. Example smtlib encodings are shared in the <dir>/smtlib/ that prove the equivalnce between <dir>/mlir/<dir>.comb.mlir and <dir>/mlir/<dir>.datapath.mlir (for the bitwidth specified in the .smt2 filename).

View on GitHub
GitHub Stars19
CategoryDesign
Updated3d ago
Forks0

Languages

SMT

Security Score

90/100

Audited on Apr 3, 2026

No findings