spydrnet.Netlist.add_library

Netlist.add_library(library, position=None)[source]

add an already existing library to the netlist.

This library should not belong to another netlist. Use remove_library from other netlists before adding

Parameters:
  • library - Library – The library to be added to the netlist.

  • position - int, (default None) – When set, it is the index at which to add the library in the libraries list.