Skip to content

How to efficiently get IO pins positions and reuse them #1235

Answered by rovinski
lustefan97 asked this question in Q&A
Discussion options

You must be logged in to vote

@lustefan97 You're getting caught by Tcl syntax. Braces ({}) create literal expressions and don't allow dereferencing variables with $.
When you use -location {$one $two} it resolves to a list of the two strings $one $two which are indeed not convertible to doubles.

Change the line to this and it should work:

place_pin -pin_name [$bterm getName] -layer met5 -location [list $one $two] -pin_size {1.6 1.6}

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
6 replies
@vijayank88
Comment options

@lustefan97
Comment options

@vijayank88
Comment options

@vijayank88
Comment options

@lustefan97
Comment options

Comment options

You must be logged in to vote
3 replies
@lustefan97
Comment options

@maliberty
Comment options

@lustefan97
Comment options

Comment options

You must be logged in to vote
7 replies
@maliberty
Comment options

@maliberty
Comment options

@lustefan97
Comment options

@rovinski
Comment options

Answer selected by lustefan97
@rovinski
Comment options

@lustefan97
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants