piel.models.physical.electrical.pcb
===================================

.. py:module:: piel.models.physical.electrical.pcb


Functions
---------

.. autoapisummary::

   piel.models.physical.electrical.pcb.create_pcb


Module Contents
---------------

.. py:function:: create_pcb(pcb_name: str = None, port_name_list: List[str] = None, connection_tuple_list: List[Tuple[str, str]] = None, port_factory: Optional[Callable[[str], piel.types.PhysicalPort]] = None, **kwargs) -> piel.types.PCB

   Defines a PCB component instantiation.

   :param port_name_list: The list of port names. Defaults to None.
   :type port_name_list: List[str], optional
   :param connection_tuple_list: The list of connections between connection. Defaults to None.
   :type connection_tuple_list: List[Tuple[str, str]], optional
   :param port_factory: The factory function to create the connection.
                        Needs to contain the port definition parameters. Defaults to None.
   :type port_factory: Optional[Callable[[str], PhysicalPort]], optional


