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 (const 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 555 of file ibis_parser.h.
|
inline |
Definition at line 558 of file ibis_parser.h.
|
inlinevirtual |
Definition at line 578 of file ibis_parser.h.
|
overridevirtual |
Check if the data held by the object is valid.
Reimplemented from IBIS_INPUT.
Definition at line 480 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_BASE::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 311 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 67 of file ibis_parser.h.
References IBIS_BASE::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 595 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_Cac |
Definition at line 605 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_cref = 0 |
Definition at line 589 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 591 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
std::vector<IbisWaveform*> IbisModel::m_fallingWaveforms |
Definition at line 611 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().
IVtable IbisModel::m_GNDClamp |
Definition at line 606 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_GNDClampReference |
Definition at line 600 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
std::string IbisModel::m_name |
Definition at line 581 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 592 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
IVtable IbisModel::m_POWERClamp |
Definition at line 607 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_POWERClampReference |
Definition at line 601 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IVtable IbisModel::m_pulldown |
Definition at line 609 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_pulldownReference |
Definition at line 599 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IVtable IbisModel::m_pullup |
Definition at line 608 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_pullupReference |
Definition at line 598 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
TypMinMaxValue IbisModel::m_Rac |
Definition at line 604 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
IbisRamp IbisModel::m_ramp |
Definition at line 612 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readRamp().
|
inherited |
Definition at line 74 of file ibis_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeContext(), IBIS_BASE::IBIS_BASE(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS::KIBIS(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_BASE::Report(), and KIBIS_MODEL::TrimWaveform().
TypMinMaxValue IbisModel::m_Rgnd |
Definition at line 602 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
std::vector<IbisWaveform*> IbisModel::m_risingWaveforms |
Definition at line 610 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().
TypMinMaxValue IbisModel::m_Rpower |
Definition at line 603 of file ibis_parser.h.
Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_rref = 0 |
Definition at line 588 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_temperatureRange |
Definition at line 597 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 582 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vinh = 2 |
Definition at line 586 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vinl = 0.8 |
Definition at line 585 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
double IbisModel::m_vmeas = 0 |
Definition at line 590 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().
TypMinMaxValue IbisModel::m_voltageRange |
Definition at line 596 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().
double IbisModel::m_vref = 0 |
Definition at line 587 of file ibis_parser.h.
Referenced by Check(), KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().