V
vlsidesign
Guest
Basically I want a program to generate some information about the pads
and the text found on them.
Let's say all my pad master cellnames are called "signal" "dvdd" "dvss"
"avdd" and "avss" (maybe have the names in a file to be read in). Also
I have a label on the pads top level metal (metal6). I want to a
program to find each pad, and and find the pad's center point, and then
find the pad metal label located on top of it. I then would like a
printout to a file:
pad_label pad_type pad_center_coordinates
"DATA1" "SIGNAL" (30, 300)
......
I have some skill code already. I have to first use the interactive
search for the pads, and select them all, and then I can execute my
code to determine the pad center point. I wanted to somehow use skill
code search, and select, but wasn't quite sure how. Here is my code:
pads=geGetObjectSelectedSet()
file = outfile("~/pad_coords.txt")
foreach(pad pads
padBox = car(pad~>bBox)
padName = car(pad~>cellName)
iName = car(pad~>name)
print(padName file)
print(iName file)
x1 = caar(padBox)
y1 = cadar(padBox)
x2 = caadr(padBox)foreach(text texts
ltext=car(text~>theLabel)
print(ltext file)
y2 = cadadr(padBox)
newX = x1 + (x2-x1)/2
newY = y1 + (y2-y1)/2
print(newX:newY file)
println(" " file)
) ;end foreach
close(file)
I also use the search to locate the text, and then I can run my other
script to extract the info from that. Here is that script:
texts=geGetObjectSelectedSet()
file = outfile("padlabels.txt")
foreach(text texts
ltext=car(text~>theLabel)
print(ltext file)
xytext=car(text~>xy)
println(xytext file)
) ;end foreach
close(file)
If I had a script that could automate the search, and then match up the
the label with the pad, and print it out. This info would be then used
for the packaging guys for the bonding diagram.
Thanks for any help.
and the text found on them.
Let's say all my pad master cellnames are called "signal" "dvdd" "dvss"
"avdd" and "avss" (maybe have the names in a file to be read in). Also
I have a label on the pads top level metal (metal6). I want to a
program to find each pad, and and find the pad's center point, and then
find the pad metal label located on top of it. I then would like a
printout to a file:
pad_label pad_type pad_center_coordinates
"DATA1" "SIGNAL" (30, 300)
......
I have some skill code already. I have to first use the interactive
search for the pads, and select them all, and then I can execute my
code to determine the pad center point. I wanted to somehow use skill
code search, and select, but wasn't quite sure how. Here is my code:
pads=geGetObjectSelectedSet()
file = outfile("~/pad_coords.txt")
foreach(pad pads
padBox = car(pad~>bBox)
padName = car(pad~>cellName)
iName = car(pad~>name)
print(padName file)
print(iName file)
x1 = caar(padBox)
y1 = cadar(padBox)
x2 = caadr(padBox)foreach(text texts
ltext=car(text~>theLabel)
print(ltext file)
y2 = cadadr(padBox)
newX = x1 + (x2-x1)/2
newY = y1 + (y2-y1)/2
print(newX:newY file)
println(" " file)
) ;end foreach
close(file)
I also use the search to locate the text, and then I can run my other
script to extract the info from that. Here is that script:
texts=geGetObjectSelectedSet()
file = outfile("padlabels.txt")
foreach(text texts
ltext=car(text~>theLabel)
print(ltext file)
xytext=car(text~>xy)
println(xytext file)
) ;end foreach
close(file)
If I had a script that could automate the search, and then match up the
the label with the pad, and print it out. This info would be then used
for the packaging guys for the bonding diagram.
Thanks for any help.