KiCad PCB EDA Suite
|
#include <ibis_parser.h>
Public Member Functions | |
IbisModel (REPORTER *aReporter) | |
virtual | ~IbisModel () |
bool | Check () override |
Check if the data held by the object is valid. | |
Public Attributes | |
std::string | m_name |
IBIS_MODEL_TYPE | m_type = IBIS_MODEL_TYPE::UNDEFINED |
double | m_vinl = 0.8 |
double | m_vinh = 2 |
double | m_vref = 0 |
double | m_rref = 0 |
double | m_cref = 0 |
double | m_vmeas = 0 |
IBIS_MODEL_ENABLE | m_enable = IBIS_MODEL_ENABLE::UNDEFINED |
IBIS_MODEL_POLARITY | m_polarity = IBIS_MODEL_POLARITY::UNDEFINED |
TypMinMaxValue | m_C_comp |
TypMinMaxValue | m_voltageRange |
TypMinMaxValue | m_temperatureRange |
TypMinMaxValue | m_pullupReference |
TypMinMaxValue | m_pulldownReference |
TypMinMaxValue | m_GNDClampReference |
TypMinMaxValue | m_POWERClampReference |
TypMinMaxValue | m_Rgnd |
TypMinMaxValue | m_Rpower |
TypMinMaxValue | m_Rac |
TypMinMaxValue | m_Cac |
IVtable | m_GNDClamp |
IVtable | m_POWERClamp |
IVtable | m_pullup |
IVtable | m_pulldown |
std::vector< IbisWaveform * > | m_risingWaveforms |
std::vector< IbisWaveform * > | m_fallingWaveforms |
IbisRamp | m_ramp |
Private Member Functions | |
void | Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const |
Print a message. | |
Static Private Member Functions | |
static std::string | doubleToString (double aNumber) |
Convert a double to string using scientific notation. | |
Private Attributes | |
REPORTER * | m_reporter |
Definition at line 516 of file ibis_parser.h.
|
inline |
Definition at line 519 of file ibis_parser.h.
|
inlinevirtual |
Definition at line 539 of file ibis_parser.h.
|
overridevirtual |
Check if the data held by the object is valid.
Reimplemented from IBIS_INPUT.
Definition at line 464 of file ibis_parser.cpp.
References _, TypMinMaxValue::Check(), IVtable::Check(), IbisRamp::Check(), isNumberNA(), m_C_comp, m_cref, m_GNDClamp, m_GNDClampReference, m_name, m_POWERClamp, m_POWERClampReference, m_pulldown, m_pulldownReference, m_pullup, m_pullupReference, m_ramp, m_rref, m_temperatureRange, m_type, m_vinh, m_vinl, m_vmeas, m_voltageRange, m_vref, IBIS_ANY::Report(), RPT_SEVERITY_ACTION, and RPT_SEVERITY_ERROR.
Referenced by IbisParser::changeContext().
|
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().
|
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(), 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().
TypMinMaxValue IbisModel::m_C_comp |
Definition at line 556 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_Cac |
Definition at line 566 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_cref = 0 |
Definition at line 550 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
IBIS_MODEL_ENABLE IbisModel::m_enable = IBIS_MODEL_ENABLE::UNDEFINED |
Definition at line 552 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
std::vector<IbisWaveform*> IbisModel::m_fallingWaveforms |
Definition at line 572 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().
IVtable IbisModel::m_GNDClamp |
Definition at line 567 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_GNDClampReference |
Definition at line 561 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
std::string IbisModel::m_name |
Definition at line 542 of file ibis_parser.h.
Referenced by IbisParser::changeContext(), Check(), and KIBIS_MODEL::KIBIS_MODEL().
IBIS_MODEL_POLARITY IbisModel::m_polarity = IBIS_MODEL_POLARITY::UNDEFINED |
Definition at line 553 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
IVtable IbisModel::m_POWERClamp |
Definition at line 568 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_POWERClampReference |
Definition at line 562 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IVtable IbisModel::m_pulldown |
Definition at line 570 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_pulldownReference |
Definition at line 560 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IVtable IbisModel::m_pullup |
Definition at line 569 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_pullupReference |
Definition at line 559 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_Rac |
Definition at line 565 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IbisRamp IbisModel::m_ramp |
Definition at line 573 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readRamp().
|
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::KIBIS(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_ANY::Report(), and KIBIS_MODEL::TrimWaveform().
TypMinMaxValue IbisModel::m_Rgnd |
Definition at line 563 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
std::vector<IbisWaveform*> IbisModel::m_risingWaveforms |
Definition at line 571 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().
TypMinMaxValue IbisModel::m_Rpower |
Definition at line 564 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_rref = 0 |
Definition at line 549 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_temperatureRange |
Definition at line 558 of file ibis_parser.h.
Referenced by IbisParser::changeContext(), Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IBIS_MODEL_TYPE IbisModel::m_type = IBIS_MODEL_TYPE::UNDEFINED |
Definition at line 543 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vinh = 2 |
Definition at line 547 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vinl = 0.8 |
Definition at line 546 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vmeas = 0 |
Definition at line 551 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_voltageRange |
Definition at line 557 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_vref = 0 |
Definition at line 548 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().