mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Fix spfile Xyce netlist entry
This commit is contained in:
parent
43eebdb71e
commit
260651f8d2
@ -207,7 +207,7 @@ QString SParamFile::spice_netlist(bool isXyce)
|
||||
QString s_mod = "YLIN_" + Name + "_model";
|
||||
for(int i = 0; i < Np; i++) {
|
||||
QString p_in = spicecompat::normalize_node_name(Ports.at(i)->Connection->Name);
|
||||
QString p_com = spicecompat::normalize_node_name(Ports.at(Np-1)->Connection->Name);
|
||||
QString p_com = spicecompat::normalize_node_name(Ports.at(Np)->Connection->Name);
|
||||
s += QString(" %1 %2").arg(p_in).arg(p_com);
|
||||
}
|
||||
s += QString(" %1\n").arg(s_mod);
|
||||
|
Loading…
x
Reference in New Issue
Block a user