Iterates over the child circuits of this circuit Sets a value indicating whether the circuit can be purged on Netlist#purge. Gets a value indicating whether the circuit can be purged on Netlist#purge. Gets the device object for a given name (const version). Gets the device object for a given ID (const version). Marks the object as no longer owned by the script side.Ĭonnects the given pin with the given net.Ĭreates a new bound Device object inside the circuitĬreates a new Net object inside the circuitĬreates a new Pin object inside the circuitĬreates a new bound SubCircuit object inside the circuit Marks the object as managed by the script side. Returns a value indicating whether the reference is a const reference Returns a value indicating whether the object was already destroyed The Circuit class has been introduced in version 0.26. Circuits must be added to a netlist using Netlist#add to become part of the netlist. The Circuit object is only valid if the netlist object is alive. Nets are created using create_net and are represented by objects of the Net class. Nets connect terminals of devices and pins of subcircuits or the circuit itself. Terminals and pins are described by integer ID's in the context of most methods.įinally, the circuit consists of the nets. Subcircuits are created using the create_subcircuit method.ĭevices are connected through 'terminals', subcircuits are connected through their pins. Devices are created using the create_device method. ![]() Subcircuits are other circuits to which nets from this circuit connect. Devices are basic devices such as resistors or transistors. Components are devices (class Device) and subcircuits (class SubCircuit). Pins are created using create_pin and are represented by the Pin class.įurthermore, a circuit manages the components of the netlist. KLayout Documentation (Qt 4): Main Index » Class Index » API reference - Class Circuit API reference - Class Circuitĭescription: Circuits are the basic building blocks of the netlistĪ circuit has pins by which it can connect to the outside.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |