Skip to content

v0.3.87

Compare
Choose a tag to compare
@lukasc-ubc lukasc-ubc released this 10 Jan 10:15
· 459 commits to master since this release
e100326
  • new function: SiEPIC.utils.layout.make_pin(): creates a PinRec path and text; used for PCells
  • new function: SiEPIC.utils.layout.layout_waveguide_sbend_bezier(): draws a layout for an S-Bend; can be called by a PCell
  • new function: SiEPIC.utils.layout.y_splitter_tree(): creates a layout of a splitter tree
  • layout functions: auto detect DPoint vs. Point types
  • bug fix: function find_components: when requesting a specific instance, when two instances had the same origin and facing opposite directions, it would not necessarily return the correct one. Added extra checking for name matching. If no exact name matched, return the one with matching origin.
  • new function: Inst.find_pin(): Returns one pin that matches the text exactly. Useful for sub-circuits, with ports with specific names.
  • improvement to function SiEPIC.scripts.connect_pins_with_waveguide(): previously only works for routing between two components. Now can route between sub-circuits, if the instance only has one pin with the matching name.