Corrected segfault condition when running "lef write" on a cell

with split tiles (error caused by previous commit).
This commit is contained in:
Tim Edwards 2020-05-25 16:13:42 -04:00
parent 994c6aaf57
commit 84f63ad545
1 changed files with 3 additions and 1 deletions

View File

@ -537,9 +537,11 @@ lefYankContacts(tile, cdata)
/* Ignore marked tiles */
if (tile->ti_client != (ClientData)CLIENTDEFAULT) return 0;
ttype = TiGetTypeExact(tile);
/* Ignore split tiles */
if (IsSplit(tile)) return 0;
/* Output geometry only for defined contact layers, on their home plane */
ttype = TiGetType(tile);
if (!DBIsContact(ttype)) return 0;
/* If this is a stacked contact, find any residue contact type with a */