📖 Architectural & Engineering Overview

EQY (Equivalence checking with Yosys) is an open-source formal equivalence checker developed by YosysHQ. In modern ASIC and FPGA flows, logic synthesis and place-and-route tools perform aggressive optimizations, retiming, and gate transformations. EQY mathematically proves that the post-synthesis or post-implementation gate-level netlist behaves with 100% functional identity to the original golden RTL specification. It eliminates the need for slow, non-exhaustive gate-level simulations.

Role in the Hardware Ecosystem: Formal Equivalence Checking (LEC) between RTL and Post-Synthesis Netlists. Whether deployed in academic research labs or continuous integration pipelines at silicon startups, EQY provides a dependable, license-free pillar of the open-source electronics movement.

⚡ Key Capabilities & Features

  • ✔ Proves complete functional equivalence using state-of-the-art SMT solvers
  • ✔ Identifies exact counterexamples when synthesis optimizations introduce logic bugs
  • ✔ Automated partition strategy breaking large designs into manageable combinatorial cones
  • ✔ Seamless integration into Yosys synthesis regression flows
  • ✔ Permissive ISC open-source license

💻 Practical Workflow Example: Equivalence Check Configuration (equiv.eqy)

[options]
mode eq

[gold]
read_verilog -sv cpu_golden.v
prep -top cpu

[gate]
read_verilog -sv cpu_synthesized.v
prep -top cpu

[strategy simple]
use sat
depth 10

# Execute:
# eqy -f equiv.eqy

⚖️ Engineering Evaluation: Strengths & Limitations

✔ Key Advantages

  • + Exhaustive mathematical verification: 100% proof coverage without writing vectors
  • + Essential for mission-critical and automotive safety hardware signoff
  • + Pinpoints exact mismatches down to the failing flip-flop or logic gate

✖ Engineering Trade-offs

  • − Advanced retiming or structural pipelining changes require specialized match hints
  • − Memory-intensive on very deep sequential state machines