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

#include <kibis.h>

Inheritance diagram for KIBIS:
KIBIS_BASE IBIS_BASE

Public Member Functions

 KIBIS ()
 Constructor for unitialized KIBIS members.
 
 KIBIS (const std::string &aFileName, REPORTER *aReporter=nullptr)
 
KIBIS_MODELGetModel (const std::string &aName)
 Return the model with name aName .
 
KIBIS_COMPONENTGetComponent (const std::string &aName)
 Return the component with name aName .
 
void Report (const std::string &aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::vector< KIBIS_COMPONENTm_components
 
std::vector< KIBIS_MODELm_models
 
KIBIS_FILE m_file
 
std::string m_cacheDir = ""
 Absolute path of the directory that will be used for caching.
 
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 487 of file kibis.h.

Constructor & Destructor Documentation

◆ KIBIS() [1/2]

KIBIS::KIBIS ( )
inline

Constructor for unitialized KIBIS members.

Definition at line 491 of file kibis.h.

References KIBIS_BASE::KIBIS_BASE(), and m_file.

◆ KIBIS() [2/2]

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

◆ GetComponent()

KIBIS_COMPONENT * KIBIS::GetComponent ( const std::string & aName)

Return the component with name aName .

Nullptr if not found

Definition at line 1463 of file kibis.cpp.

References m_components.

Referenced by SIM_MODEL_IBIS::ChangePin(), and SPICE_GENERATOR_IBIS::IbisDevice().

◆ GetModel()

KIBIS_MODEL * KIBIS::GetModel ( const std::string & aName)

Return the model with name aName .

Nullptr if not found

Definition at line 1451 of file kibis.cpp.

References m_models, and model.

Referenced by SPICE_GENERATOR_IBIS::IbisDevice().

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

std::string KIBIS::m_cacheDir = ""

Absolute path of the directory that will be used for caching.

Definition at line 503 of file kibis.h.

Referenced by SPICE_GENERATOR_IBIS::IbisDevice().

◆ m_components

std::vector<KIBIS_COMPONENT> KIBIS::m_components

Definition at line 498 of file kibis.h.

Referenced by GetComponent(), KIBIS(), and main().

◆ m_file

KIBIS_FILE KIBIS::m_file

Definition at line 500 of file kibis.h.

Referenced by KIBIS(), and KIBIS().

◆ m_models

std::vector<KIBIS_MODEL> KIBIS::m_models

Definition at line 499 of file kibis.h.

Referenced by GetModel(), and KIBIS().

◆ m_Reporter

◆ m_topLevel

KIBIS* KIBIS_BASE::m_topLevel
inherited

◆ m_valid


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