Wires
SymbolIdentification(new_symbol, old_symbol)
Class formally identifying two symbols as equal.
Warning
This class should not be instantiated directly. It is automatically created and accessed when required.
PARAMETER | DESCRIPTION |
---|---|
new_symbol
|
the new symbol
TYPE:
|
old_symbol
|
the symbol to replace
TYPE:
|
Source code in psymple/build/wires.py
VariableAggregationWiring(child_ports, parent_port, output_name)
Stores the connection of child variable ports in a composite ported object to a specified parent port or internal variable.
Warning
This class should not be instantiated on its own. Instead, use
psymple.build.CompositePortedObject.add_variable_wire
or
psymple.build.CompositePortedObject.add_wires
.
PARAMETER | DESCRIPTION |
---|---|
child_ports
|
list of ports whose variables will be aggregated.
TYPE:
|
parent_port
|
variable port to expose the aggregation.
TYPE:
|
output_name
|
name to assign internally to the aggregation if it is not exposed.
TYPE:
|
Source code in psymple/build/wires.py
DirectedWire(source_port, destination_ports)
Stores the connection of an input port or child output port in a composite ported object to a child input ports and/or an output port.
Warning
This class should not be instantiated on its own. Instead, use
psymple.build.CompositePortedObject.add_directed_wire
or
psymple.build.CompositePortedObject.add_wires
.
PARAMETER | DESCRIPTION |
---|---|
source_port
|
initial port which the wire reads from.
TYPE:
|
destination_ports
|
list of ports to which the read value is provided.
TYPE:
|