KiCad PCB EDA Suite
Loading...
Searching...
No Matches
IbisSubmodel Class Reference

#include <ibis_parser.h>

Inheritance diagram for IbisSubmodel:
IBIS_INPUT

Public Member Functions

 IbisSubmodel (REPORTER *aReporter)
 
virtual ~IbisSubmodel ()
 
bool Check () override
 Check if the data held by the object is valid.
 

Public Attributes

std::string m_name
 
IBIS_SUBMODEL_TYPE m_type = IBIS_SUBMODEL_TYPE::UNDEFINED
 
TypMinMaxValue m_VtriggerR
 
TypMinMaxValue m_VtriggerF
 
TypMinMaxValue m_offDelay
 
IVtable m_pullup
 
IVtable m_pulldown
 
IVtable m_GNDClamp
 
IVtable m_POWERClamp
 
IVtable m_GNDPulse
 
IVtable m_POWERPulse
 
IbisRamp m_ramp
 
std::vector< IbisWaveform * > m_risingWaveforms
 
std::vector< IbisWaveform * > m_fallingWaveforms
 

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

REPORTERm_Reporter
 

Detailed Description

Definition at line 627 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisSubmodel()

IbisSubmodel::IbisSubmodel ( REPORTER * aReporter)
inline

◆ ~IbisSubmodel()

virtual IbisSubmodel::~IbisSubmodel ( )
inlinevirtual

Definition at line 644 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IbisSubmodel::Check ( )
overridevirtual

Check if the data held by the object is valid.

Returns
true in case of success

Reimplemented from IBIS_INPUT.

Definition at line 705 of file ibis_parser.cpp.

References _, BUS_HOLD, DYNAMIC_CLAMP, FALL_BACK, m_GNDClamp, m_GNDPulse, m_name, m_offDelay, m_POWERClamp, m_POWERPulse, m_pulldown, m_pullup, m_ramp, m_type, m_VtriggerF, m_VtriggerR, IBIS_BASE::Report(), RPT_SEVERITY_ACTION, RPT_SEVERITY_ERROR, and UNDEFINED.

◆ doubleToString()

std::string IBIS_BASE::doubleToString ( double aNumber)
staticprotectedinherited

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

Definition at line 281 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().

◆ Report()

void IBIS_BASE::Report ( const std::string & aMsg,
SEVERITY aSeverity = RPT_SEVERITY_INFO ) const
inlineinherited

Print a message.

Call m_Reporter->Report if m_Reporter exists.

Parameters
aMsgMessage
aSeverityMessage sevirity

Definition at line 68 of file ibis_parser.h.

References m_Reporter, and RPT_SEVERITY_INFO.

Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeCommentChar(), IbisParser::changeContext(), IBIS_MATRIX::Check(), IbisComponent::Check(), IbisComponentPackage::Check(), IbisComponentPin::Check(), IbisHeader::Check(), IbisModel::Check(), IbisPackageModel::Check(), IbisRamp::Check(), IbisSubmodel::Check(), IVtable::Check(), KIBIS_WAVEFORM_PRBS::Check(), KIBIS_WAVEFORM_PRBS::Check(), KIBIS_WAVEFORM_RECTANGULAR::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::readAddSubmodel(), IbisParser::readDiffPin(), IbisParser::readDouble(), IbisParser::readDvdt(), IbisParser::readInt(), IbisParser::readMatrixBandedOrFull(), IbisParser::readMatrixBandwidth(), IbisParser::readMatrixPinIndex(), IbisParser::readMatrixRow(), IbisParser::readMatrixSparse(), IbisParser::readMatrixType(), IbisParser::readModel(), IbisParser::readPackage(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readRamp(), IbisParser::readSubmodel(), IbisParser::readSubmodelSpec(), IbisParser::readTypMinMaxValue(), IbisParser::readWaveform(), KIBIS_MODEL::TrimWaveform(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().

Member Data Documentation

◆ m_fallingWaveforms

std::vector<IbisWaveform*> IbisSubmodel::m_fallingWaveforms

Definition at line 660 of file ibis_parser.h.

◆ m_GNDClamp

IVtable IbisSubmodel::m_GNDClamp

Definition at line 654 of file ibis_parser.h.

Referenced by Check(), IbisSubmodel(), and KIBIS_SUBMODEL::KIBIS_SUBMODEL().

◆ m_GNDPulse

IVtable IbisSubmodel::m_GNDPulse

Definition at line 656 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_name

std::string IbisSubmodel::m_name

Definition at line 647 of file ibis_parser.h.

Referenced by Check(), and KIBIS_SUBMODEL::KIBIS_SUBMODEL().

◆ m_offDelay

TypMinMaxValue IbisSubmodel::m_offDelay

Definition at line 651 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_POWERClamp

IVtable IbisSubmodel::m_POWERClamp

Definition at line 655 of file ibis_parser.h.

Referenced by Check(), IbisSubmodel(), and KIBIS_SUBMODEL::KIBIS_SUBMODEL().

◆ m_POWERPulse

IVtable IbisSubmodel::m_POWERPulse

Definition at line 657 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_pulldown

IVtable IbisSubmodel::m_pulldown

Definition at line 653 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_pullup

IVtable IbisSubmodel::m_pullup

Definition at line 652 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_ramp

IbisRamp IbisSubmodel::m_ramp

Definition at line 658 of file ibis_parser.h.

Referenced by Check(), and IbisSubmodel().

◆ m_Reporter

◆ m_risingWaveforms

std::vector<IbisWaveform*> IbisSubmodel::m_risingWaveforms

Definition at line 659 of file ibis_parser.h.

◆ m_type

◆ m_VtriggerF

TypMinMaxValue IbisSubmodel::m_VtriggerF

Definition at line 650 of file ibis_parser.h.

Referenced by Check(), IbisSubmodel(), and KIBIS_MODEL::KIBIS_MODEL().

◆ m_VtriggerR

TypMinMaxValue IbisSubmodel::m_VtriggerR

Definition at line 649 of file ibis_parser.h.

Referenced by Check(), IbisSubmodel(), and KIBIS_MODEL::KIBIS_MODEL().


The documentation for this class was generated from the following files: