Add compatibility mode for netlist code.
(The non-A compatibility modes only run on included files.) Fixes https://gitlab.com/kicad/code/kicad/issues/13589
This commit is contained in:
parent
55bf6b6773
commit
f7ebaf1bab
|
@ -392,15 +392,15 @@ std::vector<std::string> NGSPICE::GetSettingCommands() const
|
|||
break;
|
||||
|
||||
case NGSPICE_MODEL_MODE::PSPICE:
|
||||
commands.emplace_back( "set ngbehavior=ps" );
|
||||
commands.emplace_back( "set ngbehavior=psa" );
|
||||
break;
|
||||
|
||||
case NGSPICE_MODEL_MODE::LTSPICE:
|
||||
commands.emplace_back( "set ngbehavior=lt" );
|
||||
commands.emplace_back( "set ngbehavior=lta" );
|
||||
break;
|
||||
|
||||
case NGSPICE_MODEL_MODE::LT_PSPICE:
|
||||
commands.emplace_back( "set ngbehavior=ltps" );
|
||||
commands.emplace_back( "set ngbehavior=ltpsa" );
|
||||
break;
|
||||
|
||||
case NGSPICE_MODEL_MODE::HSPICE:
|
||||
|
|
Loading…
Reference in New Issue