Struct xc2bit::XC2GlobalNets [] [src]

pub struct XC2GlobalNets {
    pub gck_enable: [bool; 3],
    pub gsr_enable: bool,
    pub gsr_invert: bool,
    pub gts_enable: [bool; 4],
    pub gts_invert: [bool; 4],
    pub global_pu: bool,
}

Represents the configuration of the global nets. Coolrunner-II parts have various global control signals that have dedicated low-skew paths.

Fields

Controls whether the three global clock nets are enabled or not

Controls whether the global set/reset net is enabled or not

Controls the polarity of the global set/reset signal

false = active low, true = active high

Controls whether the four global tristate nets are enabled or not

Controls the polarity of the global tristate signal

false = used as T, true = used as !T

Controls the mode of the global termination

false = keeper, true = pull-up

Methods

impl XC2GlobalNets
[src]

[src]

Dump a human-readable explanation of the global net configuration to the given writer object.

[src]

Write the crbit representation of the global net settings to the given fuse_array.

[src]

Internal function to read the global nets

[src]

Internal function to read the global nets

Trait Implementations

impl Copy for XC2GlobalNets
[src]

impl Clone for XC2GlobalNets
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for XC2GlobalNets
[src]

impl PartialEq for XC2GlobalNets
[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 XC2GlobalNets
[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 XC2GlobalNets
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for XC2GlobalNets
[src]

[src]

Returns a "default" global net configuration which has everything disabled.

Auto Trait Implementations

impl Send for XC2GlobalNets

impl Sync for XC2GlobalNets