Home Forums Nazca Questions and Answers Linear tapers

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6492
    iv_tern
    Member

    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.

    #6495
    Xaveer
    Moderator

    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

    #6504
    iv_tern
    Member

    Typo on my part, meant to say replace with strt_p2p. For some reason I thought taper_p2p was around for much longer.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.