File tree Expand file tree Collapse file tree 4 files changed +32
-5
lines changed Expand file tree Collapse file tree 4 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1- 8.3.506
1+ 8.3.507
Original file line number Diff line number Diff line change @@ -1327,9 +1327,17 @@ cifBloatAllFunc(tile, bls)
13271327 }
13281328 else
13291329 {
1330- int pNum = DBPlane (type );
1331- pmask = (bloats -> bl_plane < 0 ) ? 0 :
1332- CoincidentPlanes (connect , PlaneNumToMaskBit (pNum ));
1330+ if (DBIsContact (type ))
1331+ {
1332+ pmask = (bloats -> bl_plane < 0 ) ? 0 :
1333+ CoincidentPlanes (connect , DBLayerPlanes (type ));
1334+ }
1335+ else
1336+ {
1337+ int pNum = DBPlane (type );
1338+ pmask = (bloats -> bl_plane < 0 ) ? 0 :
1339+ CoincidentPlanes (connect , PlaneNumToMaskBit (pNum ));
1340+ }
13331341 if (pmask == 0 ) TiToRect (tile , & area );
13341342 if (bloats -> bl_plane < 0 )
13351343 {
Original file line number Diff line number Diff line change @@ -895,6 +895,24 @@ DBIsContact(type)
895895 return FALSE;
896896}
897897
898+ /*
899+ * ----------------------------------------------------------------------------
900+ *
901+ * DBLayerPlanes --
902+ *
903+ * Like LayerPlaneMask(), except as a subroutine, not a macro. For export
904+ * to other routines.
905+ *
906+ * ----------------------------------------------------------------------------
907+ */
908+
909+ PlaneMask
910+ DBLayerPlanes (type )
911+ TileType type ;
912+ {
913+ return LayerPlaneMask (type );
914+ }
915+
898916/*
899917 * ----------------------------------------------------------------------------
900918 *
Original file line number Diff line number Diff line change @@ -829,7 +829,6 @@ extern void DBTechInitContact();
829829extern void DBTechFinalContact ();
830830extern void DBTechFinalConnect ();
831831extern void DBTechInitConnect ();
832- extern bool DBIsContact ();
833832
834833 /* Cell symbol table */
835834extern void DBCellInit ();
@@ -899,6 +898,8 @@ extern Plane *DBCellGenerateSimpleSubstrate();
899898extern TileType DBPlaneToResidue ();
900899extern TileType DBTechFindStacking ();
901900extern bool DBIsContact ();
901+ extern PlaneMask DBLayerPlanes ();
902+
902903extern TileTypeBitMask * DBResidueMask ();
903904extern void DBFullResidueMask ();
904905
You can’t perform that action at this time.
0 commit comments