It looks like you're new here. If you want to get involved, click one of these buttons!
I am seeing something peculiar with "Detailed Layer Statistics" while using large instance arrays.
If I have a cell, MY_CELL, with a single polygon in it and then place MY_CELL in a 1000 x 1000 Array Instance in the top cell, when I look at "Detailed Layer Statistics", then I see 1,000,000 total boxes, which is correct (1000x1000=1,000,000).
If I then modify my array size a few times, I get the following values from "Detailed Layer Statistics"
X * Y=detailed layer box count
10 * 10 = 100
100 * 100 = 1,000
1,000 * 1,000 = 1,000,000
10,000 * 10,000 = 100,000,000
100,000 * 100,000 = 1,410,065,408
That last one really throws me... it says there are 1.4B boxes, when there should be 10B. I thought this maybe was just an overflow error in detailed layer statistics, but I opened the file in a commercial EDA viewer, and it also said there were 1.4B cell placements instead of 10B, which doubles down on the confusion.
The 100k * 100k Array Instance represents my use case, but it doesn't seem to work to create it as a single array. As a workaround, I created a second cell, ONETENTH, and put a 10k * 10k Array Instance of MY_CELL in it and then placed ONETENTH as an ArrayInstance in Top as 10 * 10. This gives me the 10B placements that I need.
Have I run into some oasis spec limit, or have I perhaps hit an upper bound of a variable in klayout?