KiCad PCB EDA Suite
|
#include <kibis.h>
Public Member Functions | |
KIBIS () | |
Constructor for unitialized KIBIS members. | |
KIBIS (const std::string &aFileName, REPORTER *aReporter=nullptr) | |
KIBIS_MODEL * | GetModel (const std::string &aName) |
Return the model with name aName . | |
KIBIS_COMPONENT * | GetComponent (const std::string &aName) |
Return the component with name aName . | |
void | Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const |
Print a message. | |
Public Attributes | |
std::vector< KIBIS_COMPONENT > | m_components |
std::vector< KIBIS_MODEL > | m_models |
KIBIS_FILE | m_file |
std::string | m_cacheDir = "" |
Absolute path of the directory that will be used for caching. | |
KIBIS * | m_topLevel |
bool | m_valid |
REPORTER * | m_reporter |
Static Protected Member Functions | |
static std::string | doubleToString (double aNumber) |
Convert a double to string using scientific notation. | |
|
inline |
KIBIS::KIBIS | ( | const std::string & | aFileName, |
REPORTER * | aReporter = nullptr |
||
) |
Definition at line 93 of file kibis.cpp.
References KIBIS_COMPONENT::GetPin(), KIBIS_FILE::Init(), KIBIS_PIN::m_complementaryPin, IbisFile::m_components, m_components, IbisComponent::m_diffPin, IbisDiffPin::m_entries, m_file, IbisParser::m_ibisFile, IbisFile::m_models, m_models, IbisParser::m_parrot, KIBIS_COMPONENT::m_pins, IBIS_ANY::m_reporter, KIBIS_ANY::m_valid, IbisParser::ParseFile(), pin, IbisDiffPinEntry::pinA, and IbisDiffPinEntry::pinB.
|
staticprotectedinherited |
Convert a double to string using scientific notation.
aNumber | Number |
Definition at line 300 of file ibis_parser.cpp.
Referenced by KIBIS_MODEL::generateSquareWave(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), KIBIS_PIN::KuKdDriver(), IVtable::Spice(), KIBIS_MODEL::SpiceDie(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().
KIBIS_COMPONENT * KIBIS::GetComponent | ( | const std::string & | aName | ) |
Return the component with name aName .
Nullptr if not found
Definition at line 1404 of file kibis.cpp.
References m_components.
Referenced by BOOST_AUTO_TEST_CASE(), SIM_MODEL_IBIS::ChangePin(), and SPICE_GENERATOR_IBIS::IbisDevice().
KIBIS_MODEL * KIBIS::GetModel | ( | const std::string & | aName | ) |
Return the model with name aName .
Nullptr if not found
Definition at line 1393 of file kibis.cpp.
References m_models.
Referenced by BOOST_AUTO_TEST_CASE(), and SPICE_GENERATOR_IBIS::IbisDevice().
|
inlineinherited |
Print a message.
Call m_reporter->Report if m_reporter exists.
aMsg | Message |
aSeverity | Message sevirity |
Definition at line 65 of file ibis_parser.h.
References IBIS_ANY::m_reporter, and REPORTER::Report().
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeCommentChar(), IbisParser::changeContext(), IBIS_MATRIX_BANDED::Check(), IBIS_MATRIX_SPARSE::Check(), IBIS_MATRIX_FULL::Check(), IbisHeader::Check(), IbisComponentPackage::Check(), IbisComponentPin::Check(), IbisComponent::Check(), IVtable::Check(), IbisRamp::Check(), IbisModel::Check(), IbisPackageModel::Check(), KIBIS_WAVEFORM_PRBS::Check(), KIBIS_WAVEFORM_RECTANGULAR::Check(), IbisParser::checkEndofLine(), KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), IbisParser::getNextLine(), IVtable::InterpolatedI(), KIBIS_PIN::KuKdDriver(), IbisParser::onNewLine(), IbisParser::ParseFile(), IbisParser::readDiffPin(), IbisParser::readDouble(), IbisParser::readInt(), IbisParser::readMatrix(), IbisParser::readMatrixBanded(), IbisParser::readMatrixFull(), IbisParser::readMatrixSparse(), IbisParser::readModel(), IbisParser::readPackage(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readRamp(), IbisParser::readTypMinMaxValue(), IbisParser::readWaveform(), KIBIS_MODEL::TrimWaveform(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().
std::string KIBIS::m_cacheDir = "" |
Absolute path of the directory that will be used for caching.
Definition at line 464 of file kibis.h.
Referenced by KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), and SPICE_GENERATOR_IBIS::IbisDevice().
std::vector<KIBIS_COMPONENT> KIBIS::m_components |
Definition at line 459 of file kibis.h.
Referenced by GetComponent(), SIM_LIBRARY_IBIS::InitModel(), KIBIS(), main(), and SIM_LIBRARY_IBIS::ReadFile().
KIBIS_FILE KIBIS::m_file |
std::vector<KIBIS_MODEL> KIBIS::m_models |
Definition at line 460 of file kibis.h.
Referenced by GetModel(), KIBIS(), and KIBIS_COMPONENT::KIBIS_COMPONENT().
|
inherited |
Definition at line 56 of file ibis_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeContext(), IBIS_ANY::IBIS_ANY(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_ANY::Report(), and KIBIS_MODEL::TrimWaveform().
|
inherited |
Definition at line 56 of file kibis.h.
Referenced by KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), and KIBIS_COMPONENT::KIBIS_COMPONENT().
|
inherited |
Definition at line 57 of file kibis.h.
Referenced by BOOST_AUTO_TEST_CASE(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS_FILE::Init(), KIBIS(), KIBIS_COMPONENT::KIBIS_COMPONENT(), KIBIS_MODEL::KIBIS_MODEL(), KIBIS_PIN::KIBIS_PIN(), KIBIS_WAVEFORM::KIBIS_WAVEFORM(), and SIM_LIBRARY_IBIS::ReadFile().