spydrnet.Port.add_pin

Port.add_pin(pin, position=None)[source]

Add a pin to the port at the given position.

Parameters:
  • pin - (Pin) the pin to be added to the port.

  • position - (int, default None) the index at which to add the pin