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

#include <kibis.h>

Inheritance diagram for KIBIS_SUBMODEL:
KIBIS_BASE IBIS_BASE

Public Member Functions

 KIBIS_SUBMODEL (KIBIS &aTopLevel, const IbisSubmodel &aSource, IBIS_SUBMODEL_MODE aMode)
 
bool HasGNDClamp () const
 Return true if the model has a clamp diode to the gnd net.
 
bool HasPOWERClamp () const
 Return true if the model has a clamp diode to the power net.
 
void Report (const std::string &aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::string m_name
 
IBIS_SUBMODEL_TYPE m_type = IBIS_SUBMODEL_TYPE::UNDEFINED
 
IBIS_SUBMODEL_MODE m_mode = IBIS_SUBMODEL_MODE::ALL
 
IVtable m_GNDClamp
 
IVtable m_POWERClamp
 
KIBISm_topLevel
 
bool m_valid
 
REPORTERm_Reporter
 

Static Protected Member Functions

static std::string doubleToString (double aNumber)
 Convert a double to string using scientific notation.
 

Detailed Description

Definition at line 245 of file kibis.h.

Constructor & Destructor Documentation

◆ KIBIS_SUBMODEL()

Member Function Documentation

◆ 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().

◆ HasGNDClamp()

bool KIBIS_SUBMODEL::HasGNDClamp ( ) const

Return true if the model has a clamp diode to the gnd net.

Definition at line 251 of file kibis.cpp.

References m_GNDClamp.

◆ HasPOWERClamp()

bool KIBIS_SUBMODEL::HasPOWERClamp ( ) const

Return true if the model has a clamp diode to the power net.

Definition at line 257 of file kibis.cpp.

References m_POWERClamp.

◆ 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_GNDClamp

IVtable KIBIS_SUBMODEL::m_GNDClamp

Definition at line 255 of file kibis.h.

Referenced by HasGNDClamp(), and KIBIS_SUBMODEL().

◆ m_mode

IBIS_SUBMODEL_MODE KIBIS_SUBMODEL::m_mode = IBIS_SUBMODEL_MODE::ALL

Definition at line 252 of file kibis.h.

Referenced by KIBIS_SUBMODEL().

◆ m_name

std::string KIBIS_SUBMODEL::m_name

Definition at line 250 of file kibis.h.

Referenced by KIBIS_SUBMODEL().

◆ m_POWERClamp

IVtable KIBIS_SUBMODEL::m_POWERClamp

Definition at line 256 of file kibis.h.

Referenced by HasPOWERClamp(), and KIBIS_SUBMODEL().

◆ m_Reporter

◆ m_topLevel

KIBIS* KIBIS_BASE::m_topLevel
inherited

◆ m_type

Definition at line 251 of file kibis.h.

Referenced by KIBIS_SUBMODEL().

◆ m_valid


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