Struct calyx::ir::Invoke

source · []
pub struct Invoke {
    pub comp: RRC<Cell>,
    pub inputs: Vec<(Id, RRC<Port>)>,
    pub outputs: Vec<(Id, RRC<Port>)>,
    pub attributes: Attributes,
    pub comb_group: Option<RRC<CombGroup>>,
    pub ref_cells: Vec<(Id, RRC<Cell>)>,
}
Expand description

Data for an invoke control statement.

Fields

comp: RRC<Cell>

Cell that is being invoked.

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: Attributes

Attributes attached to this control statement.

comb_group: Option<RRC<CombGroup>>

Optional combinational group that is active when the invoke is active.

ref_cells: Vec<(Id, RRC<Cell>)>

Mapping from name of external cell in ‘comp’ to the cell connected to it.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.