Enum xc2bit::XC2BitstreamBits [] [src]

pub enum XC2BitstreamBits {
    XC2C32 {
        fb: [XC2BitstreamFB; 2],
        iobs: [XC2MCSmallIOB; 32],
        inpin: XC2ExtraIBuf,
        global_nets: XC2GlobalNets,
        ivoltage: bool,
        ovoltage: bool,
    },
    XC2C32A {
        fb: [XC2BitstreamFB; 2],
        iobs: [XC2MCSmallIOB; 32],
        inpin: XC2ExtraIBuf,
        global_nets: XC2GlobalNets,
        legacy_ivoltage: bool,
        legacy_ovoltage: bool,
        ivoltage: [bool; 2],
        ovoltage: [bool; 2],
    },
    XC2C64 {
        fb: [XC2BitstreamFB; 4],
        iobs: [[XC2MCSmallIOB; 32]; 2],
        global_nets: XC2GlobalNets,
        ivoltage: bool,
        ovoltage: bool,
    },
    XC2C64A {
        fb: [XC2BitstreamFB; 4],
        iobs: [[XC2MCSmallIOB; 32]; 2],
        global_nets: XC2GlobalNets,
        legacy_ivoltage: bool,
        legacy_ovoltage: bool,
        ivoltage: [bool; 2],
        ovoltage: [bool; 2],
    },
    XC2C128 {
        fb: [XC2BitstreamFB; 8],
        iobs: [[XC2MCLargeIOB; 25]; 4],
        global_nets: XC2GlobalNets,
        clock_div: XC2ClockDiv,
        data_gate: bool,
        use_vref: bool,
        ivoltage: [bool; 2],
        ovoltage: [bool; 2],
    },
    XC2C256 {
        fb: [XC2BitstreamFB; 16],
        iobs: [[XC2MCLargeIOB; 23]; 8],
        global_nets: XC2GlobalNets,
        clock_div: XC2ClockDiv,
        data_gate: bool,
        use_vref: bool,
        ivoltage: [bool; 2],
        ovoltage: [bool; 2],
    },
    XC2C384 {
        fb: [XC2BitstreamFB; 24],
        iobs: [[XC2MCLargeIOB; 24]; 10],
        global_nets: XC2GlobalNets,
        clock_div: XC2ClockDiv,
        data_gate: bool,
        use_vref: bool,
        ivoltage: [bool; 4],
        ovoltage: [bool; 4],
    },
    XC2C512 {
        fb: [XC2BitstreamFB; 32],
        iobs: [[XC2MCLargeIOB; 27]; 10],
        global_nets: XC2GlobalNets,
        clock_div: XC2ClockDiv,
        data_gate: bool,
        use_vref: bool,
        ivoltage: [bool; 4],
        ovoltage: [bool; 4],
    },
}

The actual bitstream bits for each possible Coolrunner-II part

Variants

Fields of XC2C32

Voltage level control

false = low, true = high

Voltage level control

false = low, true = high

Fields of XC2C32A

Legacy voltage level control, should almost always be set to false

false = low, true = high

Legacy voltage level control, should almost always be set to false

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Fields of XC2C64

Voltage level control

false = low, true = high

Voltage level control

false = low, true = high

Fields of XC2C64A

Legacy voltage level control, should almost always be set to false

false = low, true = high

Legacy voltage level control, should almost always be set to false

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Fields of XC2C128

Whether the DataGate feature is used

Whether I/O standards with VREF are used

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Fields of XC2C256

Whether the DataGate feature is used

Whether I/O standards with VREF are used

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Fields of XC2C384

Whether the DataGate feature is used

Whether I/O standards with VREF are used

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Fields of XC2C512

Whether the DataGate feature is used

Whether I/O standards with VREF are used

Voltage level control for each I/O bank

false = low, true = high

Voltage level control for each I/O bank

false = low, true = high

Methods

impl XC2BitstreamBits
[src]

[src]

Helper to convert ourself into a XC2Device enum because an XC2Device enum has various useful methods

[src]

Helper to extract only the function block data without having to perform an explicit match

[src]

Helper to extract only the function block data without having to perform an explicit match

[src]

Helper to extract only the I/O data without having to perform an explicit match

[src]

Helper to extract only the I/O data without having to perform an explicit match

[src]

Helper to extract only the I/O data without having to perform an explicit match

[src]

Helper to extract only the I/O data without having to perform an explicit match

[src]

Helper to extract only the global net data without having to perform an explicit match

[src]

Helper to extract only the global net data without having to perform an explicit match

[src]

[src]

Convert the actual bitstream bits to crbit format

[src]

Dump a human-readable explanation of the bitstream to the given writer object.

[src]

Write a .jed representation of the bitstream to the given jed object.

Trait Implementations

impl Copy for XC2BitstreamBits
[src]

impl Clone for XC2BitstreamBits
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for XC2BitstreamBits
[src]

impl PartialEq for XC2BitstreamBits
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for XC2BitstreamBits
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for XC2BitstreamBits
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations