Skip to content

Commit

Permalink
Merge pull request #983 from ra3xdh/revert_bjt_sub
Browse files Browse the repository at this point in the history
Fix of BJTsub and Diode device
  • Loading branch information
ra3xdh authored Oct 4, 2024
2 parents 3fabf3b + 7c9dfdb commit 419faec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qucs/components/bjtsub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Basic_BJT::Basic_BJT()
BJTsub::BJTsub()
{
Description = QObject::tr("bipolar junction transistor with substrate");
Simulator = spicecompat::simQucsator;
Simulator = spicecompat::simAll;
createSymbol();
tx = x2+4;
ty = y1+4;
Expand Down
2 changes: 1 addition & 1 deletion qucs/components/componentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ ComponentDialog::ComponentDialog(Component *c, Schematic *d)
connect(ButtDown, SIGNAL(clicked()), SLOT(slotButtDown()));

QStringList allowedFillFromSPICE;
allowedFillFromSPICE<<"_BJT"<<"JFET"<<"MOSFET"<<"_MOSFET"<<"Diode";
allowedFillFromSPICE<<"_BJT"<<"JFET"<<"MOSFET"<<"_MOSFET"<<"Diode"<<"BJT";
ButtFillFromSpice = new QPushButton(tr("Fill from SPICE .MODEL"));
if (!allowedFillFromSPICE.contains(Comp->Model)) {
ButtFillFromSpice->setEnabled(false);
Expand Down
2 changes: 1 addition & 1 deletion qucs/components/diode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ QString Diode::spice_netlist(bool isXyce)
<<"Nr"<<"Ffe"<<"Temp"<<"Area"<<"Symbol"<<"UseGlobTemp"; // spice-incompatible parameters
} else {
spice_tr<<"Tbv"<<"Tcv";
spice_incompat<<"Cp"<<"Isr"<<"Nr"<<"Ffe"<<"Temp"<<"Area"<<"Symbol"<<"UseGLobTemp";
spice_incompat<<"Cp"<<"Isr"<<"Nr"<<"Ffe"<<"Temp"<<"Area"<<"Symbol"<<"UseGlobTemp";
}

QString par_str;
Expand Down

0 comments on commit 419faec

Please sign in to comment.