From d822353e85ba533f4f5cc248df44305f00ad7dec Mon Sep 17 00:00:00 2001 From: "R. Timothy Edwards" Date: Wed, 8 Oct 2025 10:08:29 -0400 Subject: [PATCH] One additional fix, since the previous fix needed to be made in both ext2spice.c AND ext2hier.c. --- ext2spice/ext2hier.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext2spice/ext2hier.c b/ext2spice/ext2hier.c index 8cebd42b..a9b45f80 100644 --- a/ext2spice/ext2hier.c +++ b/ext2spice/ext2hier.c @@ -915,7 +915,11 @@ spcdevHierVisit( /* except that the "gate" node is treated as an identifier */ /* only and is not output. */ - if (dev->dev_class != DEV_MSUBCKT) + if (dev->dev_class == DEV_DSUBCKT) + { + /* Do nothing; both terminals have already been output */ + } + else if (dev->dev_class != DEV_MSUBCKT) { if (dev->dev_nterm > 1) spcdevOutNode(hc->hc_hierName, source->dterm_node->efnode_name->efnn_hier,