Skip to main content

synthesize_from_spec

Function synthesize_from_spec 

Source
pub fn synthesize_from_spec(
    spec: &str,
    config: &SynthesisConfig,
) -> SynthesisResult
Expand description

Synthesize a hardware circuit from an English specification.

This is the top-level entry point that orchestrates the full pipeline:

  1. Parse the spec and build a kernel-level specification type
  2. Try tactic-based proof search (try_hw_auto)
  3. If tactics succeed, extract Verilog from the proof term
  4. Return the result with proof term and Verilog