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§
Sourcefn name(&self) -> &str
fn name(&self) -> &str
Human-readable name for this target (e.g., "Xilinx UltraScale+", "TSMC 12nm").
Sourcefn clock_gating(&self) -> ClockGating
fn clock_gating(&self) -> ClockGating
Clock gating strategy for this target.
Sourcefn multiplier_strategy(&self) -> MultiplierStrategy
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".