Struct libreda_lefdef::def_ast::Pin
source · pub struct Pin {
pub pin_name: String,
pub net_name: String,
pub special: bool,
pub direction: Option<PinDirection>,
pub net_expr: Option<String>,
pub supply_sensitivity: Option<String>,
pub ground_sensitivity: Option<String>,
pub signal_use: DEFSignalUse,
pub antenna_rules: (),
pub ports: Vec<PinPort>,
}Expand description
External pin definition in DEF. Associates an external pin name with the internal net name.
Fields§
§pin_name: StringName of the external pin.
net_name: StringName of the internal net.
special: boolMark the pin as ‘special’. Special pins are to be routed with a special router with special wiring.
direction: Option<PinDirection>Signal direction of the pin. Typically this is specified in the timing library, not in DEF.
net_expr: Option<String>TBD
supply_sensitivity: Option<String>Net name where this pin should be connected if it is tied HIGH (constant logical 1).
ground_sensitivity: Option<String>Net name where this pin should be connected if it is tied LOW (constant logical 0).
signal_use: DEFSignalUseType of the signal for this pin. Default is ‘SIGNAL’.
antenna_rules: ()Anntenna rules. TODO
ports: Vec<PinPort>Definitions of physical shapes of the pin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more