• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Issue facing in executing the skill code..

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 12999
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue facing in executing the skill code..

varunkumar
varunkumar over 10 years ago

Hello,

My purpose is to create a GUI form in which I can pass the points in the form itself..error getting in hiCreatePoitnList function.

m  variable is a points I want to pass  as a input...to create a blockage layer on the given points.

procedure(metal_entry()

let((l m layer_list)

 

layer_list=list("zero" "M1" "M2" "M3" "M4" "M5" "M6" "B1" "B2" "IA" "IB")

 

cv=geGetEditCellView()

 

tlist=list("C28")

?formTitle "CREATE BLOCK"

?callback `block

?unmapAfterCB t

 

)

status = hiDisplayForm( Via_form )

 

)

)

 

 

hiSetBindKey("Layout" "Shift<Key>V" "metal_entry()")

 

 

 

procedure(block(aform)

 

 

if(aform->techField->value=="C28" then

layer_list=list("M1" "M2" "M3" "M4" "M5" "IA" "IB")

 

)

 

 

)

foreach(lay layer_list

 

dbCreateLayerBlockage(cv "lay" "routing" m)

 

))

 
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    The code was rather messy and hard to read - difficult to know your intentions. Maybe this is what you meant?

    procedure(metal_entry(m)
      let((layer_list tlist Techno MetalLayerT MetalLayerB point_list status cv)

        layer_list=list("zero" "M1" "M2" "M3" "M4" "M5" "M6" "B1" "B2" "IA" "IB")

        cv=geGetEditCellView()

        tlist=list("C28")

        Techno=hiCreateCyclicField(
          ?name 'techField
          ?prompt "technology"
          ?value "C28"
          ?defValue "C28"
          ?choices tlist
        )

        MetalLayerT=hiCreateCyclicField(
          ?name 'TOP_METAL
          ?prompt "top_layer"
          ?value "M1"
          ?defValue "M1"
          ?choices layer_list
        )

        MetalLayerB=hiCreateCyclicField(
          ?name 'BOTTOM_METAL
          ?prompt "bottom_layer"
          ?value "M1"
          ?defValue "M1"
          ?choices layer_list
        )

        point_list=hiCreatePointListField(
          ?name 'coordinate
          ?prompt "co-ordinate"
          ?value m
        )

        hiCreateAppForm(
          ?name 'Via_form
          ?fields list(Techno MetalLayerT MetalLayerB point_list)
          ?formTitle "CREATE BLOCK"
          ?callback `block
          ?unmapAfterCB t
        )
        status = hiDisplayForm( Via_form )
      )
    )

    hiSetBindKey("Layout" "Shift<Key>V" "metal_entry(list(0:0 1:0 1:1 0:1))")

    procedure(block(aform)
      if(aform->techField->value=="C28" then
        layer_list=list("M1" "M2" "M3" "M4" "M5" "IA" "IB")
      )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    The code was rather messy and hard to read - difficult to know your intentions. Maybe this is what you meant?

    procedure(metal_entry(m)
      let((layer_list tlist Techno MetalLayerT MetalLayerB point_list status cv)

        layer_list=list("zero" "M1" "M2" "M3" "M4" "M5" "M6" "B1" "B2" "IA" "IB")

        cv=geGetEditCellView()

        tlist=list("C28")

        Techno=hiCreateCyclicField(
          ?name 'techField
          ?prompt "technology"
          ?value "C28"
          ?defValue "C28"
          ?choices tlist
        )

        MetalLayerT=hiCreateCyclicField(
          ?name 'TOP_METAL
          ?prompt "top_layer"
          ?value "M1"
          ?defValue "M1"
          ?choices layer_list
        )

        MetalLayerB=hiCreateCyclicField(
          ?name 'BOTTOM_METAL
          ?prompt "bottom_layer"
          ?value "M1"
          ?defValue "M1"
          ?choices layer_list
        )

        point_list=hiCreatePointListField(
          ?name 'coordinate
          ?prompt "co-ordinate"
          ?value m
        )

        hiCreateAppForm(
          ?name 'Via_form
          ?fields list(Techno MetalLayerT MetalLayerB point_list)
          ?formTitle "CREATE BLOCK"
          ?callback `block
          ?unmapAfterCB t
        )
        status = hiDisplayForm( Via_form )
      )
    )

    hiSetBindKey("Layout" "Shift<Key>V" "metal_entry(list(0:0 1:0 1:1 0:1))")

    procedure(block(aform)
      if(aform->techField->value=="C28" then
        layer_list=list("M1" "M2" "M3" "M4" "M5" "IA" "IB")
      )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information