how to pass cutSpace value while creating via object :

Discussion in 'Cadence' started by Indrakumar, Nov 13, 2009.

  1. Indrakumar

    Indrakumar Guest

    hi i am trying to update the cutSpace value to the via Object in
    layout.
    Can anyone help me in doing that..
    Thanks
     
    Indrakumar, Nov 13, 2009
    #1
  2. Indrakumar

    Riad KACED Guest

    Hi,

    I would recommand using the cdsViaDevice in the techfile (assuming
    IC5141). This would give you access to a couple of parameters called
    xCutSpacing and yCutSpacing. Those parameters are off the top of my
    head available through the add via form.

    Cheers,
    Riad.
     
    Riad KACED, Nov 15, 2009
    #2
  3. Indrakumar

    Indrakumar Guest

    Hi Riad,
    Thanks for replying but i won't to update those parameters using skill
    code. . (FYI: i am using version IC6.1.3)
    I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
    command.
    but I want to know how can i pass parameters for this command and how
    do i update parameters when its already placed in layout.
    Please help me in doing the same thing. .
    Thanks. ..

    Indra
     
    Indrakumar, Nov 16, 2009
    #3
  4. Indrakumar

    Indrakumar Guest

    sorry typo.. :-(

    Hi Riad,

    Thanks for replying but i want to update those parameters using skill
    code. . (FYI: i am using version IC6.1.3)
    I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
    command.
    but I want to know how can i pass parameters for this command and how
    do i update parameters when its already placed in layout.
    Please help me in doing the same thing. .
    Thanks. ..
     
    Indrakumar, Nov 16, 2009
    #4
  5. Indrakumar wrote, on 11/16/09 06:40:
    dbCreateVia(cv via_def 0:0 "R0"
    list(
    list("cutRows" 4)
    list("cutColumns" 6)
    list("cutSpacing" list(1.0 2.0))
    )
    )

    The fifth argument to dbCreateVia is a list of lists. Each is a key-value pair
    in a sublist (i.e. an "assoc" list). In the case of cutSpacing, you specify a
    list of the x and y cut spacing.

    Note that to modify an existing via, you have to delete the via and add a new
    one - this is because each parameter change needs a replacement of the via. That
    said, there's a function to set a specific parameter on a via instance back to
    its default, and this replaces the via master - I'll file an enhancement request
    for a function to update a via's parameters in place.

    Hang on, I just had an idea - and it worked:

    dbReplacePropList(viaId
    list(
    list("cutRows" 'int 4)
    list("cutColumns" 'int 7)
    list("cutSpacing" 'list list(0.8 1.5))
    )
    )

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 30, 2009
    #5
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.