Corrected error in the new expansion of the cifoutput "bloat-all"

rule to include CIF templayers;  the connection mask was not
correctly generated for the CIF templayer, leading to bad GDS
output.
This commit is contained in:
Tim Edwards 2020-06-15 15:41:27 -04:00
parent f1c432585a
commit 8297386a6c
1 changed files with 13 additions and 4 deletions

View File

@ -1101,10 +1101,19 @@ cifBloatAllFunc(tile, bls)
* is not used).
*/
TTMaskZero(&connect);
for (i = 0; i < TT_MAXTYPES; i++)
if (bloats->bl_distance[i] != 0)
TTMaskSetType(&connect, i);
if (bloats->bl_plane < 0)
{
/* bl_plane == -1 indicates bloating into a CIF templayer, and */
/* so the only connecting type should be CIF_SOLIDTYPE. */
TTMaskSetType(&connect, CIF_SOLIDTYPE);
}
else
{
TTMaskZero(&connect);
for (i = 0; i < TT_MAXTYPES; i++)
if (bloats->bl_distance[i] != 0)
TTMaskSetType(&connect, i);
}
/* This search function is based on drcCheckArea */