Creating multipart PATHS with SKILL

Discussion in 'Cadence' started by Stavros Eleftherakis, Feb 4, 2005.

  1. Hello,
    I am trying an octagonal path of N turns in virtuoso writting with
    skill. Each turn has 8 seperate paths that they are pieced together
    with the command list() At my code i use the command dbCreatePath N
    times to build the path.But the last path of one turn is not coincide
    perfectly with the first path of the next turn (because of the 45
    degrees angle that differ).
    Can i have a loop into the command dbCreatePath like this ( to have a
    unique path) ? How can i fix this problem?
    Thank you very much,
    Stavros

    pcInst = dbCreatPath(pcCellView
    list(pcLayer pcPurpose)
    for(i 1 Nspires
    list((x1:y1)
    x2:y2)
    ....
    ....
    ); list
    i=i+1
    ) ;for
    )
     
    Stavros Eleftherakis, Feb 4, 2005
    #1
  2. How about
    having the loop outside of the
    dbCreate command and store to output in a list of points

    let( ( l_points )

    for( i 1 Nspires
    l_points = cons( l_newPoint l_points )
    ++i
    ) ;; close for

    dbCreatePath(
    d_cellView
    ( tx_layer [ t_purpose ] )
    l_points
    x_width
    )

    )

    ) ;; close let

    and why did you not use the 'rodCreatePath' function
    rather than dbCreatePath?

    Bernd
     
    Bernd Fischer, Feb 4, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.