pub enum MultiplierStrategy {
DspInference,
StandardCell,
Behavioral,
}Expand description
Multiplier implementation strategy.
FPGAs have dedicated DSP blocks; ASICs use standard cell logic.
Variants§
DspInference
Infer DSP blocks (FPGA).
The synthesis tool maps multiplications to hard DSP slices.
StandardCell
Use standard cell logic (ASIC).
Multiplications are synthesized from standard gates.
Behavioral
Behavioral (let the synthesis tool decide).
No technology-specific hints; the tool chooses.
Trait Implementations§
Source§impl Clone for MultiplierStrategy
impl Clone for MultiplierStrategy
Source§fn clone(&self) -> MultiplierStrategy
fn clone(&self) -> MultiplierStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MultiplierStrategy
Source§impl Debug for MultiplierStrategy
impl Debug for MultiplierStrategy
impl Eq for MultiplierStrategy
Source§impl Hash for MultiplierStrategy
impl Hash for MultiplierStrategy
Source§impl PartialEq for MultiplierStrategy
impl PartialEq for MultiplierStrategy
Source§fn eq(&self, other: &MultiplierStrategy) -> bool
fn eq(&self, other: &MultiplierStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MultiplierStrategy
Auto Trait Implementations§
impl Freeze for MultiplierStrategy
impl RefUnwindSafe for MultiplierStrategy
impl Send for MultiplierStrategy
impl Sync for MultiplierStrategy
impl Unpin for MultiplierStrategy
impl UnsafeUnpin for MultiplierStrategy
impl UnwindSafe for MultiplierStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more