pub struct StaticInvoke {
pub comp: RRC<Cell>,
pub latency: u64,
pub inputs: Vec<(Id, RRC<Port>)>,
pub outputs: Vec<(Id, RRC<Port>)>,
pub attributes: Attributes,
pub ref_cells: Vec<(Id, RRC<Cell>)>,
pub comb_group: Option<RRC<CombGroup>>,
}Expand description
Data for a StaticInvoke control statement
Fields§
§comp: RRC<Cell>Cell that is being invoked.
latency: u64StaticLatency
inputs: Vec<(Id, RRC<Port>)>Mapping from name of input ports in comp to the port connected to it.
outputs: Vec<(Id, RRC<Port>)>Mapping from name of output ports in comp to the port connected to it.
attributes: AttributesAttributes attached to this control statement.
ref_cells: Vec<(Id, RRC<Cell>)>Mapping from name of external cell in ‘comp’ to the cell connected to it.
comb_group: Option<RRC<CombGroup>>Optional combinational group that is active when the invoke is active.
Trait Implementations§
Source§impl Debug for StaticInvoke
impl Debug for StaticInvoke
Source§impl GetAttributes for StaticInvoke
impl GetAttributes for StaticInvoke
Source§fn get_attributes(&self) -> &Attributes
fn get_attributes(&self) -> &Attributes
Returns an
Attributes instanceSource§fn get_mut_attributes(&mut self) -> &mut Attributes
fn get_mut_attributes(&mut self) -> &mut Attributes
Returns a mutable
Attributes instanceAuto Trait Implementations§
impl Freeze for StaticInvoke
impl !RefUnwindSafe for StaticInvoke
impl !Send for StaticInvoke
impl !Sync for StaticInvoke
impl Unpin for StaticInvoke
impl !UnwindSafe for StaticInvoke
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