Modified possibly incorrect use of DBSrCellDefs in extresist to

ignore internal cells (select, yank, etc.).
This commit is contained in:
Tim Edwards 2018-01-02 10:03:16 -05:00
parent 6827b13ca3
commit ec402bd57a
1 changed files with 3 additions and 0 deletions

View File

@ -575,6 +575,9 @@ resSubcircuitFunc(cellDef, rdata)
CellDef *cellDef;
ResisData *rdata;
{
if ((cellDef->cd_flags & CDINTERNAL) == CDINTERNAL)
return 0;
if (cellDef != rdata->mainDef)
if (DBIsSubcircuit(cellDef))
ExtResisForDef(cellDef, rdata);