Corrected the output of the new "dsubcircuit" device which was

generating output for one of the device nodes twice in the
netlist.
This commit is contained in:
R. Timothy Edwards 2025-10-08 10:04:38 -04:00
parent d3a0228958
commit 4951f013d5
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1 @@
8.3.558
8.3.559

View File

@ -2905,7 +2905,11 @@ spcdevVisit(
/* 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(hierName, source->dterm_node->efnode_name->efnn_hier,