From e969097f847e7ae982c5a0f813a8805ec85ecb71 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 15 Oct 2019 09:51:25 -0400 Subject: [PATCH] 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. --- resis/ResRex.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resis/ResRex.c b/resis/ResRex.c index a1c98d9e..b31299e8 100644 --- a/resis/ResRex.c +++ b/resis/ResRex.c @@ -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) {