KiCad PCB EDA Suite
|
#include <kibis.h>
Public Member Functions | |
KIBIS_WAVEFORM_PRBS (KIBIS &aTopLevel) | |
std::vector< std::pair< int, double > > | GenerateBitSequence () const override |
bool | Check (const IbisWaveform *aRisingWf, const IbisWaveform *aFallingWf) const override |
bool | Check (const dvdtTypMinMax &aRisingRp, const dvdtTypMinMax &aFallingRp) const override |
void | SetBits (int aBits) |
double | GetDuration () const override |
KIBIS_WAVEFORM_TYPE | GetType () const |
void | Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const |
Print a message. | |
Public Attributes | |
double | m_bitrate = 10e6 |
double | m_delay = 0 |
int | m_bits = 10 |
bool | inverted = false |
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. | |
Protected Attributes | |
KIBIS_WAVEFORM_TYPE | m_type = KIBIS_WAVEFORM_TYPE::NONE |
|
inline |
Definition at line 125 of file kibis.h.
References KIBIS_WAVEFORM::m_type.
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1595 of file kibis.cpp.
References _, m_bitrate, m_bits, dvdt::m_dt, IBIS_ANY::Report(), RPT_SEVERITY_ERROR, and dvdtTypMinMax::value.
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1627 of file kibis.cpp.
References _, m_bitrate, m_bits, VTtable::m_entries, IbisWaveform::m_table, IBIS_ANY::Report(), RPT_SEVERITY_ERROR, and RPT_SEVERITY_WARNING.
|
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().
|
overridevirtual |
Reimplemented from KIBIS_WAVEFORM.
Definition at line 1470 of file kibis.cpp.
References KIBIS_WAVEFORM::inverted, m_bitrate, and m_bits.
|
inlineoverridevirtual |
Reimplemented from KIBIS_WAVEFORM.
|
inlineinherited |
Definition at line 75 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 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(), 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().
|
inline |
Definition at line 137 of file kibis.h.
References std::abs(), and m_bits.
Referenced by SPICE_GENERATOR_IBIS::IbisDevice().
|
inherited |
Definition at line 77 of file kibis.h.
Referenced by KIBIS_WAVEFORM_RECTANGULAR::GenerateBitSequence(), GenerateBitSequence(), KIBIS_WAVEFORM_STUCK_HIGH::GenerateBitSequence(), KIBIS_WAVEFORM_STUCK_LOW::GenerateBitSequence(), KIBIS_PIN::getKuKdNoWaveform(), KIBIS_PIN::KuKdDriver(), and KIBIS_PIN::writeSpiceDiffDriver().
double KIBIS_WAVEFORM_PRBS::m_bitrate = 10e6 |
Definition at line 129 of file kibis.h.
Referenced by Check(), GenerateBitSequence(), GetDuration(), and SPICE_GENERATOR_IBIS::IbisDevice().
int KIBIS_WAVEFORM_PRBS::m_bits = 10 |
Definition at line 131 of file kibis.h.
Referenced by Check(), GenerateBitSequence(), GetDuration(), and SetBits().
double KIBIS_WAVEFORM_PRBS::m_delay = 0 |
Definition at line 130 of file kibis.h.
Referenced by SPICE_GENERATOR_IBIS::IbisDevice().
|
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().
|
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().
|
protectedinherited |
Definition at line 98 of file kibis.h.
Referenced by KIBIS_WAVEFORM::GetType(), KIBIS_WAVEFORM_HIGH_Z::KIBIS_WAVEFORM_HIGH_Z(), KIBIS_WAVEFORM_PRBS(), KIBIS_WAVEFORM_RECTANGULAR::KIBIS_WAVEFORM_RECTANGULAR(), KIBIS_WAVEFORM_STUCK_HIGH::KIBIS_WAVEFORM_STUCK_HIGH(), and KIBIS_WAVEFORM_STUCK_LOW::KIBIS_WAVEFORM_STUCK_LOW().
|
inherited |
Definition at line 57 of file kibis.h.
Referenced by BOOST_AUTO_TEST_CASE(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS_FILE::Init(), KIBIS::KIBIS(), KIBIS_COMPONENT::KIBIS_COMPONENT(), KIBIS_MODEL::KIBIS_MODEL(), KIBIS_PIN::KIBIS_PIN(), KIBIS_WAVEFORM::KIBIS_WAVEFORM(), and SIM_LIBRARY_IBIS::ReadFile().