Skip to main content

Target

Trait Target 

Source
pub trait Target {
    // Required methods
    fn name(&self) -> &str;
    fn clock_gating(&self) -> ClockGating;
    fn multiplier_strategy(&self) -> MultiplierStrategy;
}
Expand description

A synthesis target with technology-specific cell selection.

Implementations provide the concrete cell choices for clock gating, multiplier inference, and other technology-dependent features.

Required Methods§

Source

fn name(&self) -> &str

Human-readable name for this target (e.g., "Xilinx UltraScale+", "TSMC 12nm").

Source

fn clock_gating(&self) -> ClockGating

Clock gating strategy for this target.

Source

fn multiplier_strategy(&self) -> MultiplierStrategy

Multiplier implementation strategy.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§