mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrects "ext2spice hierarchy off" when subcircuits with ports are
present. Note, however, this fix breaks the use of "ext2spice subcircuit descend off" because subcircuits are always descended into. It's not clear that "subcircuit descend off" worked at all before, anyway. That still needs fixing.
This commit is contained in:
@@ -875,7 +875,8 @@ runexttospice:
|
||||
sprintf(spcesDefaultOut, "%s.spice", inName);
|
||||
|
||||
/* Read the hierarchical description of the input circuit */
|
||||
if (EFReadFile(inName, TRUE, esDoExtResis, FALSE, TRUE) == FALSE)
|
||||
if (EFReadFile(inName, esDoHierarchy, esDoExtResis, FALSE, TRUE)
|
||||
== FALSE)
|
||||
{
|
||||
EFDone();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user