cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar
Jackie_
Level VI

Optimize the computation

Hi,

 

I have a jsl code to compute the radial distance from the center of the wafer. The data table XYCoord has X, Y and wafer id cols.
It calculates the distance and adds a distance column 1mm from the center to the table
Currently, with 656k rows, it takes > 3- 4min for the process to finish, which is way too much.
Is there a way to optimize and make it faster? 
 
10 REPLIES 10
Jackie_
Level VI

Re: Optimize the computation

@jthi 

1. The center of the wafer is determined by calculating the ranges of the X and Y coordinates (i.e., the maximum minus the minimum values). The initial estimates for the center are computed as:
- CenterXCoord = xcoordmin + xcoordrange / 4
- CenterYCoord = ycoordmin + ycoordrange / 4

The code then iteratively adjusts these coordinates by dividing the coordinate range by 1.8 in each iteration until the X and Y centering conditions are met. The final center is found when the centering formulas for both axes

2. The radius is calculated from the wafer center to either the enter of the die "RadiusDieCenter" or the edge of the die "RadiusDieEdge"

3. Only the center of the die needs to belong within the calculated radii. The radius calculations focus on the distance from the wafer center to the center of each die.