Another correction to fix the tile type for port drivers in

extresist, as the tile type was being set to a transistor gate
type and not the type of the port.
This commit is contained in:
Tim Edwards 2019-10-15 09:51:25 -04:00
parent 097f4fb28c
commit e969097f84
1 changed files with 6 additions and 0 deletions

View File

@ -988,6 +988,12 @@ ResCheckSimNodes(celldef, resisdata)
gparams.rg_tranloc = &node->drivepoint;
gparams.rg_status |= DRIVEONLY;
}
if (node->status & PORTNODE)
{
/* The node is a port, not a transistor, so make */
/* sure rg_ttype is set accordingly. */
gparams.rg_ttype = node->rs_ttype;
}
}
if (gparams.rg_tranloc == NULL && node->status & FORCE)
{