Hi,
Does anyone has an idea on how to code the DRC rule :
via spacing within an array of (at least) 3x3 vias spaced by less than 0.5um ? This rule has a maximum of 0.3um.
I also have another difficulty to code :
minimum of 2 contacts between a poly polygon and a metal1 poygon
Thanks, Best regards,
Laurent
Comments
Hi Laurent,
counting functions are missing yet - but if performance does not count, it's fairly simple to add a custom method to select polygons by their number of holes:
I think that this new function can also be used to solve problem #2 in a similar way.
Regards,
Matthias
Thanks Matthias,
You method unfortunatly also detects arrays of 2x3 or 2xmany, so I improved with a function :
Where 1.6=0.2+0.5+0.2+0.5+0.2 assuming that 0.2um is the via size and 0.5um is the via spacing for the array.
Best regards,
Laurent
Hi Laurent,
I'm not sure - 2x3 should not be detected, because "with_holes(9, nil)" should detect all clusters with at least 9 vias. However, in the case of 2x5 for example you're right - since those are more than 9 vias, a 2x5 array will be detected.
Matthias