Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62755

Forum Post: Create vias in a rectangular area

$
0
0
Hi! I'm using IC6.18 and I'm trying to write a SKILL function to create a via array in a specific area. I'm using this code: constraintGroupId=cstFindConstraintGroupIn(tfId "default") viaOpts=viaGetViaOptions(constraintGroupId) viaOpts~>createInRoute = nil ptArray=list('(0 27) '(20 27) '(20 37) '(0 37)) x1 = 0 y1=MicrostripGroundWidth/2+NGapTiles*TileL x2 = MicrostripL y2 = MicrostripGroundWidth/2 + NGapTiles*TileL + MicrostripSideViaWidth ptArray=list('(0 27) '(20 27) '(20 37) '(0 37)) ;ptArray=list('(x1 y1) '(x1 y2) '(x2 y2) '(x2 y1)) viaGenerateViasInArea(pcCellView ptArray viaOpts ?topAndBottomLayers list("M2" "M3")) It creates the vias if I define the ptArray as an array of fixed points. However, even in this case, the layout shows a white cross flashing which disappears as I comment the viaGenerateViasInArea line. Moreover, when I try to relate the area to some variables, I get error (see the commented ptArray definition). The error I get is this one: *Error* viaGenerateViasInArea: Invalid point list - ((x1 y1) (x1 y2) (x2 y2) (x2 y1)). I hope someone could help. Is there an easier way to generate vias in a specific area? Thank you.

Viewing all articles
Browse latest Browse all 62755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>