[][src]Enum xc2par::IntermediateGraphNodeVariant

pub enum IntermediateGraphNodeVariant {
    AndTerm {
        inputs_true: Vec<ObjPoolIndex<IntermediateGraphNet>>,
        inputs_comp: Vec<ObjPoolIndex<IntermediateGraphNet>>,
        output: ObjPoolIndex<IntermediateGraphNet>,
    },
    OrTerm {
        inputs: Vec<ObjPoolIndex<IntermediateGraphNet>>,
        output: ObjPoolIndex<IntermediateGraphNet>,
    },
    Xor {
        orterm_input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        andterm_input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        invert_out: bool,
        output: ObjPoolIndex<IntermediateGraphNet>,
    },
    Reg {
        mode: XC2MCRegMode,
        clkinv: bool,
        clkddr: bool,
        init_state: bool,
        set_input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        reset_input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        ce_input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        dt_input: ObjPoolIndex<IntermediateGraphNet>,
        clk_input: ObjPoolIndex<IntermediateGraphNet>,
        output: ObjPoolIndex<IntermediateGraphNet>,
    },
    BufgClk {
        input: ObjPoolIndex<IntermediateGraphNet>,
        output: ObjPoolIndex<IntermediateGraphNet>,
    },
    BufgGTS {
        input: ObjPoolIndex<IntermediateGraphNet>,
        output: ObjPoolIndex<IntermediateGraphNet>,
        invert: bool,
    },
    BufgGSR {
        input: ObjPoolIndex<IntermediateGraphNet>,
        output: ObjPoolIndex<IntermediateGraphNet>,
        invert: bool,
    },
    IOBuf {
        input: Option<ObjPoolIndex<IntermediateGraphNet>>,
        oe: Option<ObjPoolIndex<IntermediateGraphNet>>,
        output: Option<ObjPoolIndex<IntermediateGraphNet>>,
        schmitt_trigger: bool,
        termination_enabled: bool,
        slew_is_fast: bool,
        uses_data_gate: bool,
    },
    InBuf {
        output: ObjPoolIndex<IntermediateGraphNet>,
        schmitt_trigger: bool,
        termination_enabled: bool,
        uses_data_gate: bool,
    },
}

Variants

AndTerm

Fields of AndTerm

inputs_true: Vec<ObjPoolIndex<IntermediateGraphNet>>inputs_comp: Vec<ObjPoolIndex<IntermediateGraphNet>>output: ObjPoolIndex<IntermediateGraphNet>
OrTerm

Fields of OrTerm

inputs: Vec<ObjPoolIndex<IntermediateGraphNet>>output: ObjPoolIndex<IntermediateGraphNet>
Xor

Fields of Xor

orterm_input: Option<ObjPoolIndex<IntermediateGraphNet>>andterm_input: Option<ObjPoolIndex<IntermediateGraphNet>>invert_out: booloutput: ObjPoolIndex<IntermediateGraphNet>
Reg

Fields of Reg

mode: XC2MCRegModeclkinv: boolclkddr: boolinit_state: boolset_input: Option<ObjPoolIndex<IntermediateGraphNet>>reset_input: Option<ObjPoolIndex<IntermediateGraphNet>>ce_input: Option<ObjPoolIndex<IntermediateGraphNet>>dt_input: ObjPoolIndex<IntermediateGraphNet>clk_input: ObjPoolIndex<IntermediateGraphNet>output: ObjPoolIndex<IntermediateGraphNet>
BufgClk

Fields of BufgClk

input: ObjPoolIndex<IntermediateGraphNet>output: ObjPoolIndex<IntermediateGraphNet>
BufgGTS

Fields of BufgGTS

input: ObjPoolIndex<IntermediateGraphNet>output: ObjPoolIndex<IntermediateGraphNet>invert: bool
BufgGSR

Fields of BufgGSR

input: ObjPoolIndex<IntermediateGraphNet>output: ObjPoolIndex<IntermediateGraphNet>invert: bool
IOBuf

Fields of IOBuf

input: Option<ObjPoolIndex<IntermediateGraphNet>>oe: Option<ObjPoolIndex<IntermediateGraphNet>>output: Option<ObjPoolIndex<IntermediateGraphNet>>schmitt_trigger: booltermination_enabled: boolslew_is_fast: booluses_data_gate: bool
InBuf

Fields of InBuf

output: ObjPoolIndex<IntermediateGraphNet>schmitt_trigger: booltermination_enabled: booluses_data_gate: bool

Trait Implementations

impl Clone for IntermediateGraphNodeVariant[src]

impl Debug for IntermediateGraphNodeVariant[src]

impl<'de> Deserialize<'de> for IntermediateGraphNodeVariant[src]

impl Eq for IntermediateGraphNodeVariant[src]

impl Hash for IntermediateGraphNodeVariant[src]

impl PartialEq<IntermediateGraphNodeVariant> for IntermediateGraphNodeVariant[src]

impl Serialize for IntermediateGraphNodeVariant[src]

impl StructuralEq for IntermediateGraphNodeVariant[src]

impl StructuralPartialEq for IntermediateGraphNodeVariant[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.