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:
parent
f1c432585a
commit
8297386a6c
17
cif/CIFgen.c
17
cif/CIFgen.c
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue