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)
1327
1327
}
1328
1328
else
1329
1329
{
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
+ }
1333
1341
if (pmask == 0 ) TiToRect (tile , & area );
1334
1342
if (bloats -> bl_plane < 0 )
1335
1343
{
Original file line number Diff line number Diff line change @@ -895,6 +895,24 @@ DBIsContact(type)
895
895
return FALSE;
896
896
}
897
897
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
+
898
916
/*
899
917
* ----------------------------------------------------------------------------
900
918
*
Original file line number Diff line number Diff line change @@ -829,7 +829,6 @@ extern void DBTechInitContact();
829
829
extern void DBTechFinalContact ();
830
830
extern void DBTechFinalConnect ();
831
831
extern void DBTechInitConnect ();
832
- extern bool DBIsContact ();
833
832
834
833
/* Cell symbol table */
835
834
extern void DBCellInit ();
@@ -899,6 +898,8 @@ extern Plane *DBCellGenerateSimpleSubstrate();
899
898
extern TileType DBPlaneToResidue ();
900
899
extern TileType DBTechFindStacking ();
901
900
extern bool DBIsContact ();
901
+ extern PlaneMask DBLayerPlanes ();
902
+
902
903
extern TileTypeBitMask * DBResidueMask ();
903
904
extern void DBFullResidueMask ();
904
905
You can’t perform that action at this time.
0 commit comments