KiCad PCB EDA Suite
|
#include <kibis.h>
Public Member Functions | |
KIBIS_WAVEFORM_RECTANGULAR (KIBIS *aTopLevel) | |
std::vector< std::pair< int, double > > | GenerateBitSequence () override |
bool | Check (IbisWaveform *aRisingWf, IbisWaveform *aFallingWf) override |
bool | Check (dvdtTypMinMax aRisingRp, dvdtTypMinMax aFallingRp) override |
double | GetDuration () override |
KIBIS_WAVEFORM_TYPE | GetType () |
void | Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) |
Print a message. More... | |
Public Attributes | |
double | m_ton = 100e-9 |
double | m_toff = 100e-9 |
double | m_delay = 0 |
int | m_cycles = 1 |
bool | inverted = false |
KIBIS * | m_topLevel |
bool | m_valid |
REPORTER * | m_reporter |
Protected Member Functions | |
std::string | doubleToString (double aNumber) |
Convert a double to string using scientific notation. More... | |
Protected Attributes | |
KIBIS_WAVEFORM_TYPE | m_type = KIBIS_WAVEFORM_TYPE::NONE |
|
inline |
Definition at line 90 of file kibis.h.
References KIBIS_WAVEFORM::m_type.
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1561 of file kibis.cpp.
References _, m_cycles, dvdt::m_dt, m_toff, m_ton, IBIS_ANY::Report(), RPT_SEVERITY_ERROR, and dvdtTypMinMax::value.
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1515 of file kibis.cpp.
References _, m_cycles, m_toff, m_ton, IBIS_ANY::Report(), RPT_SEVERITY_ERROR, and RPT_SEVERITY_WARNING.
|
protectedinherited |
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().
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1462 of file kibis.cpp.
References KIBIS_WAVEFORM::inverted, m_cycles, m_delay, m_toff, and m_ton.
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 67 of file kibis.h.
References KIBIS_WAVEFORM::m_type.
Referenced by KIBIS_PIN::getKuKdNoWaveform(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), KIBIS_PIN::KuKdDriver(), and main().
|
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 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(), 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::readString(), IbisParser::readTypMinMaxValue(), IbisParser::readWaveform(), KIBIS_MODEL::TrimWaveform(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().
|
inherited |
Definition at line 69 of file kibis.h.
Referenced by GenerateBitSequence(), KIBIS_WAVEFORM_PRBS::GenerateBitSequence(), KIBIS_WAVEFORM_STUCK_HIGH::GenerateBitSequence(), KIBIS_WAVEFORM_STUCK_LOW::GenerateBitSequence(), KIBIS_PIN::getKuKdNoWaveform(), KIBIS_PIN::KuKdDriver(), and KIBIS_PIN::writeSpiceDiffDriver().
int KIBIS_WAVEFORM_RECTANGULAR::m_cycles = 1 |
Definition at line 97 of file kibis.h.
Referenced by Check(), GenerateBitSequence(), GetDuration(), SPICE_GENERATOR_KIBIS::IbisDevice(), and main().
double KIBIS_WAVEFORM_RECTANGULAR::m_delay = 0 |
Definition at line 96 of file kibis.h.
Referenced by GenerateBitSequence(), SPICE_GENERATOR_KIBIS::IbisDevice(), and main().
|
inherited |
Definition at line 56 of file ibis_parser.h.
Referenced by IbisParser::changeContext(), IBIS_ANY::IBIS_ANY(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_ANY::Report(), and KIBIS_MODEL::TrimWaveform().
double KIBIS_WAVEFORM_RECTANGULAR::m_toff = 100e-9 |
Definition at line 95 of file kibis.h.
Referenced by Check(), GenerateBitSequence(), GetDuration(), SPICE_GENERATOR_KIBIS::IbisDevice(), and main().
double KIBIS_WAVEFORM_RECTANGULAR::m_ton = 100e-9 |
Definition at line 94 of file kibis.h.
Referenced by Check(), GenerateBitSequence(), GetDuration(), SPICE_GENERATOR_KIBIS::IbisDevice(), and main().
|
inherited |
Definition at line 48 of file kibis.h.
Referenced by KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), KIBIS_ANY::KIBIS_ANY(), and KIBIS_COMPONENT::KIBIS_COMPONENT().
|
protectedinherited |
Definition at line 84 of file kibis.h.
Referenced by KIBIS_WAVEFORM::GetType(), KIBIS_WAVEFORM_HIGH_Z::KIBIS_WAVEFORM_HIGH_Z(), KIBIS_WAVEFORM_PRBS::KIBIS_WAVEFORM_PRBS(), KIBIS_WAVEFORM_RECTANGULAR(), KIBIS_WAVEFORM_STUCK_HIGH::KIBIS_WAVEFORM_STUCK_HIGH(), and KIBIS_WAVEFORM_STUCK_LOW::KIBIS_WAVEFORM_STUCK_LOW().
|
inherited |
Definition at line 49 of file kibis.h.
Referenced by SPICE_GENERATOR_KIBIS::IbisDevice(), KIBIS_FILE::Init(), KIBIS::KIBIS(), KIBIS_ANY::KIBIS_ANY(), KIBIS_COMPONENT::KIBIS_COMPONENT(), KIBIS_MODEL::KIBIS_MODEL(), KIBIS_PIN::KIBIS_PIN(), KIBIS_WAVEFORM::KIBIS_WAVEFORM(), and SIM_LIBRARY_KIBIS::ReadFile().