KiCad PCB EDA Suite
|
#include <sim_model_l_mutual.h>
Public Member Functions | |
std::string | ItemModelName (const SPICE_ITEM &aItem) const override |
std::string | ItemParams () const override |
SPICE_GENERATOR (const SIM_MODEL &aModel) | |
virtual std::string | ModelName (const SPICE_ITEM &aItem) const |
virtual std::string | ModelLine (const SPICE_ITEM &aItem) const |
virtual std::string | ItemLine (const SPICE_ITEM &aItem) const |
virtual std::string | ItemName (const SPICE_ITEM &aItem) const |
virtual std::string | ItemPins (const SPICE_ITEM &aItem) const |
virtual std::string | TunerCommand (const SPICE_ITEM &aItem, double aValue) const |
virtual std::vector< std::string > | CurrentNames (const SPICE_ITEM &aItem) const |
virtual std::string | Preview (const SPICE_ITEM &aItem) const |
Protected Member Functions | |
virtual std::vector< std::reference_wrapper< const SIM_MODEL_PIN > > | GetPins () const |
Protected Attributes | |
const SIM_MODEL & | m_model |
Definition at line 32 of file sim_model_l_mutual.h.
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_IBIS, SPICE_GENERATOR_NGSPICE, and SPICE_GENERATOR_SUBCKT.
Definition at line 220 of file spice_generator.cpp.
References ItemName().
Referenced by SPICE_GENERATOR_NGSPICE::CurrentNames(), and SCH_EDITOR_CONTROL::SimProbe().
|
inlineprotectedvirtualinherited |
Reimplemented in SPICE_GENERATOR_SWITCH.
Definition at line 68 of file spice_generator.h.
References m_model.
Referenced by SPICE_GENERATOR_IBIS::CurrentNames(), SPICE_GENERATOR_SUBCKT::CurrentNames(), ItemLine(), ItemPins(), and SPICE_GENERATOR_RAW_SPICE::ItemPins().
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_BEHAVIORAL, SPICE_GENERATOR_IDEAL, SPICE_GENERATOR_SOURCE, and SPICE_GENERATOR_SWITCH.
Definition at line 116 of file spice_generator.cpp.
References GetPins(), ItemModelName(), ItemName(), ItemParams(), ItemPins(), m_model, pin, SPICE_ITEM::pinNetNames, SPICE_ITEM::pinNumbers, and result.
Referenced by SPICE_GENERATOR_BEHAVIORAL::ItemLine(), SPICE_GENERATOR_IDEAL::ItemLine(), SPICE_GENERATOR_SOURCE::ItemLine(), SPICE_GENERATOR_SWITCH::ItemLine(), Preview(), and SPICE_GENERATOR_SPICE::Preview().
|
inlineoverridevirtual |
Reimplemented from SPICE_GENERATOR.
Definition at line 37 of file sim_model_l_mutual.h.
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_RAW_SPICE.
Definition at line 142 of file spice_generator.cpp.
References m_model, and SPICE_ITEM::refName.
Referenced by CurrentNames(), SPICE_GENERATOR_IBIS::CurrentNames(), SPICE_GENERATOR_NGSPICE::CurrentNames(), SPICE_GENERATOR_SUBCKT::CurrentNames(), ItemLine(), SCH_EDIT_FRAME::RefreshOperatingPointDisplay(), SCH_SYMBOL::ResolveTextVar(), SPICE_GENERATOR_IDEAL::TunerCommand(), SPICE_GENERATOR_R_POT::TunerCommand(), and SPICE_GENERATOR_SOURCE::TunerCommand().
|
overridevirtual |
Reimplemented from SPICE_GENERATOR.
Definition at line 28 of file sim_model_l_mutual.cpp.
References SIM_MODEL::PARAM::info, SIM_MODEL::PARAM::INFO::isSpiceInstanceParam, SPICE_GENERATOR::m_model, result, SIM_VALUE::ToSpice(), and SIM_MODEL::PARAM::value.
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_RAW_SPICE.
Definition at line 151 of file spice_generator.cpp.
References GetPins(), pin, SPICE_ITEM::pinNetNames, SPICE_ITEM::pinNumbers, SPICE_ITEM::refName, and result.
Referenced by ItemLine().
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_BEHAVIORAL, SPICE_GENERATOR_IBIS, SPICE_GENERATOR_IDEAL, SPICE_GENERATOR_R_POT, SPICE_GENERATOR_RAW_SPICE, SPICE_GENERATOR_SOURCE, SPICE_GENERATOR_SUBCKT, and SPICE_GENERATOR_TLINE.
Definition at line 44 of file spice_generator.cpp.
References SIM_MODEL::PARAM::INFO::category, SIM_MODEL::PARAM::info, SIM_MODEL::SPICE_INFO::isDefaultLevel, SIM_MODEL::PARAM::INFO::isSpiceInstanceParam, SIM_MODEL::SPICE_INFO::level, m_model, SPICE_ITEM::modelName, SIM_MODEL::SPICE_INFO::modelType, name, SIM_MODEL::PARAM::INFO::name, result, SIM_MODEL::PARAM::INFO::spiceModelName, SIM_VALUE::ToSpice(), SIM_MODEL::PARAM::value, and SIM_MODEL::SPICE_INFO::version.
Referenced by Preview(), and SPICE_GENERATOR_SPICE::Preview().
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_IBIS.
Definition at line 32 of file spice_generator.cpp.
References SPICE_ITEM::baseModelName, m_model, and SPICE_ITEM::refName.
Referenced by NETLIST_EXPORTER_SPICE::readModel().
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_RAW_SPICE, and SPICE_GENERATOR_SPICE.
Definition at line 226 of file spice_generator.cpp.
References ItemLine(), and ModelLine().
Referenced by DIALOG_SIM_MODEL< T >::updateModelCodeTab().
|
inline |
Definition at line 49 of file spice_generator.h.
|
virtualinherited |
Reimplemented in SPICE_GENERATOR_IDEAL, SPICE_GENERATOR_R_POT, and SPICE_GENERATOR_SOURCE.
Definition at line 213 of file spice_generator.cpp.
Referenced by SIMULATOR_FRAME_UI::applyTuners().
|
protectedinherited |
Definition at line 73 of file spice_generator.h.
Referenced by SPICE_GENERATOR_NGSPICE::CurrentNames(), SPICE_GENERATOR_SOURCE::getParamValueString(), GetPins(), SPICE_GENERATOR_SWITCH::GetPins(), SPICE_GENERATOR_IBIS::IbisDevice(), ItemLine(), SPICE_GENERATOR_BEHAVIORAL::ItemLine(), SPICE_GENERATOR_IDEAL::ItemLine(), SPICE_GENERATOR_SOURCE::ItemLine(), SPICE_GENERATOR_SWITCH::ItemLine(), ItemName(), SPICE_GENERATOR_RAW_SPICE::ItemName(), ItemParams(), SPICE_GENERATOR_L_MUTUAL::ItemParams(), SPICE_GENERATOR_RAW_SPICE::ItemParams(), SPICE_GENERATOR_SWITCH::ItemParams(), ModelLine(), SPICE_GENERATOR_R_POT::ModelLine(), SPICE_GENERATOR_TLINE::ModelLine(), ModelName(), SPICE_GENERATOR_SPICE::Preview(), and SPICE_GENERATOR().