• 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 SKILL
  3. Program to place the bus pins

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 16120
  • 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

Program to place the bus pins

Muralidhar
Muralidhar over 8 years ago

Hi,

I am trying to write a program to place the buspins for example APT<4:46> in given pitch in given layer.  For this I wrote a program as given below

procedure( buspins()

cv=geGetEditCellView()

point=enterpoint()

pin="APT<4:46>"

pins=parseString(pin "<>")

name=car(pins)

num1=cadr(pins)

num2=parseString(num1 ":")

start_num=car(num2)

start_num=evalstring(start_num)

end_num=cadr(num2)

end_num=evalstring(end_num)

when(start_num!=end_num

label1=buildString(list(name "<") "")

label2=buildString(list(label1 start_num) "")

label1=buildString(list(label2 ">") "")

dbCreateLabel(cv list("M2"  "label") point label "centerCenter"  "R0"   "roman"   0.28)

start_num=start_num+1

return()

))))

when I am trying to excute this progrm I got the error in virtuoso is        "Error* ilGetString: arg must be symbol or string "

I think this is due to start_num variable is a number not a symbol or string. start_num contains a number without double quotes.

If that number is in double quotes (by removing start_num=evalstring(start_num) line)  label created but we can't do addition operation for it i.e., start_num=start_num+1.

So, how to add double quotes to a number. Is there any instruction for it. otherwise please tell me how to do this program.

Thanks,

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago
    atoi()
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago
    atoi()
    • 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