FlipV

class ipkiss3.all.FlipV

Specifies that a vertically mirrored version of the instance must be placed.

If the instance has transformations, then these transformations are taken into account when the instance is flipped.

#
###
#####
------
#####
###
#

See also

FlipH

Examples

>>> i3.FlipV(['inst1', 'inst2', 'inst3'])
>>> i3.FlipV('inst1', 'inst2', 'inst3')
>>> i3.FlipV('inst1')
import si_fab.all as pdk
import ipkiss3.all as i3
import matplotlib.pyplot as plt

rr = pdk.RacetrackResonator()
i3.PCell()
circuit = i3.Circuit(
    insts={"rr1": rr, "rr2": rr},
    specs=[
        i3.Place("rr1", position=(0, 0)),
        i3.Place("rr2", (0, -50), relative_to="rr1"),
        i3.FlipV("rr2"),  # flipping the second racetrack resonator vertically
    ],
)
circuit.Layout().visualize(show=True)
../../../../_images/ipkiss3-all-FlipV-1.png