Yosys is a framework for RTL synthesis with broad Verilog support, scriptable passes, and ASIC or FPGA mapping flows.
Overview
Yosys is an open synthesis environment for hardware description languages. It focuses on RTL written in Verilog-2005 and a synthesizable subset of SystemVerilog, backed by sv-elab and slang libraries for broader SystemVerilog parsing.
You drive the tool interactively, via command scripts, or from other automation. Internal passes elaborate designs, optimize logic, map to technology libraries, and emit netlists or interchange formats such as BLIF, EDIF, BTOR, SMT-LIB, or Verilog. Built-in formal flows support property checking and equivalence reasoning when paired with companion tools like SBY.
Mapping flows can target ASIC standard cells described in Liberty files, Xilinx 7-Series FPGAs, and Lattice iCE40 or ECP5 devices. The synth command bundles a default script; techmap, ABC, and dfflibmap steps connect logic and flip-flops to a chosen cell library.
Yosys ships in the Tabby CAD Suite and OSS CAD Suite bundles and is packaged on several Linux distributions. It also acts as a backend for formal verification and mutation-testing tooling in the same ecosystem.
Key features
- Verilog-2005 and SystemVerilog frontends
- Scriptable synthesis pass pipeline
- Interactive shell and batch scripts
- Liberty-based ASIC cell mapping
- Xilinx and Lattice FPGA mapping
- Formal verification front-end integration
- RTLIL internal netlist representation
- Default synth and prep command flows
Use cases
- Synthesizing RTL to gate-level netlists
- FPGA bitstream preparation flows
- Formal equivalence and property checking prep
- Custom hardware compilation pipelines