Home › Forums › Nazca › Questions and Answers › Linear tapers
Hey all,
What version of nazca do I need for straight p2p tapers to work? I get an error:
‘Interconnect’ object has no attribute ‘taper_p2p’
Replacing with taper_p2p gives a proper interconnect.
Hi iv_tern,
The taper_p2p functionality was added in 0.5.13 which is available on the website. An example:
import nazca as nd import nazca.demofab as demo s1 = demo.deep.strt(10, 1).put(0) s2 = demo.deep.strt(10, 3).put(30) demo.deep.taper_p2p(s1.pin["b0"], s2.pin["a0"]).put() nd.export_gds()
I’m not quite sure what you mean with “Replacing with taper_p2p gives a proper interconnect”.
Xaveer
Typo on my part, meant to say replace with strt_p2p. For some reason I thought taper_p2p was around for much longer.