33 def __init__(self, netlist, blueprint, instantiating_component):
48 netlist.sheets.append(self)
49 if instantiating_component
is not None:
50 instantiating_component.subsheets.append(self)
54 for net_blueprint
in self.blueprint.nets:
57 for component_blueprint
in self.blueprint.components:
82 sheet.components.append(self)
83 sheet.components_by_blueprint[blueprint] = self
86 for pin_blueprint
in blueprint.pins:
87 if pin_blueprint.ob
is not None and pin_blueprint.ob.data().is_bus:
93 sheet.local_nets_by_blueprint[pin_blueprint.net])
100 def __init__(self, component, blueprint, local_net):
120 component.cpins.append(self)
121 local_net.cpins.append(self)
123 assert blueprint
not in component.cpins_by_blueprint
124 component.cpins_by_blueprint[blueprint] = self
126 if blueprint.number
is not None:
127 component.cpins_by_number[blueprint.number] = self
136 sheet.local_nets.append(self)
137 sheet.local_nets_by_blueprint[blueprint] = self
local_net
The LocalNet object to which this pin is connected.
Instantiation of a schematic page.
component
The component object to which this pin belongs.
blueprint
The blueprint Pin object of which this is an instance.