ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
eda_circuit_example.CircuitComponent Class Reference

Public Member Functions

 __init__ (self, str name, geometry, str component_type="generic")
 add_pin (self, zlayout.Point point, str pin_name="")
 __init__ (self, str name, geometry, str component_type="generic")
 add_pin (self, zlayout.Point point, str pin_name="")

Public Attributes

 name = name
 geometry = geometry
 component_type = component_type
list pins = []

Detailed Description

Represents a circuit component with properties.

Definition at line 22 of file eda_circuit_example.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

eda_circuit_example.CircuitComponent.__init__ ( self,
str name,
geometry,
str component_type = "generic" )

Definition at line 25 of file eda_circuit_example.py.

◆ __init__() [2/2]

eda_circuit_example.CircuitComponent.__init__ ( self,
str name,
geometry,
str component_type = "generic" )

Definition at line 25 of file eda_circuit_example.py.

Member Function Documentation

◆ add_pin() [1/2]

eda_circuit_example.CircuitComponent.add_pin ( self,
zlayout.Point point,
str pin_name = "" )
Add a pin to the component.

Definition at line 31 of file eda_circuit_example.py.

Here is the call graph for this function:

◆ add_pin() [2/2]

eda_circuit_example.CircuitComponent.add_pin ( self,
zlayout.Point point,
str pin_name = "" )
Add a pin to the component.

Definition at line 31 of file eda_circuit_example.py.

Member Data Documentation

◆ component_type

eda_circuit_example.CircuitComponent.component_type = component_type

Definition at line 28 of file eda_circuit_example.py.

◆ geometry

eda_circuit_example.CircuitComponent.geometry = geometry

Definition at line 27 of file eda_circuit_example.py.

◆ name

eda_circuit_example.CircuitComponent.name = name

Definition at line 26 of file eda_circuit_example.py.

◆ pins

list eda_circuit_example.CircuitComponent.pins = []

Definition at line 29 of file eda_circuit_example.py.


The documentation for this class was generated from the following files: