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

#include <ibis_parser.h>

Inheritance diagram for IbisModel:
IBIS_INPUT

Public Member Functions

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

Public Attributes

std::string m_name
 
IBIS_MODEL_TYPE m_type = IBIS_MODEL_TYPE::UNDEFINED
 
double m_vinl = 0.8
 
double m_vinh = 2
 
double m_vref = 0
 
double m_rref = 0
 
double m_cref = 0
 
double m_vmeas = 0
 
IBIS_MODEL_ENABLE m_enable = IBIS_MODEL_ENABLE::UNDEFINED
 
IBIS_MODEL_POLARITY m_polarity = IBIS_MODEL_POLARITY::UNDEFINED
 
TypMinMaxValue m_C_comp
 
TypMinMaxValue m_C_comp_gnd_clamp
 
TypMinMaxValue m_C_comp_power_clamp
 
TypMinMaxValue m_C_comp_pullup
 
TypMinMaxValue m_C_comp_pulldown
 
TypMinMaxValue m_voltageRange
 
TypMinMaxValue m_temperatureRange
 
TypMinMaxValue m_pullupReference
 
TypMinMaxValue m_pulldownReference
 
TypMinMaxValue m_GNDClampReference
 
TypMinMaxValue m_POWERClampReference
 
TypMinMaxValue m_Rgnd
 
TypMinMaxValue m_Rpower
 
TypMinMaxValue m_Rac
 
TypMinMaxValue m_Cac
 
IVtable m_GNDClamp
 
IVtable m_POWERClamp
 
IVtable m_pullup
 
IVtable m_pulldown
 
IVtable m_ISSO_PU
 
IVtable m_ISSO_PD
 
IVtable m_compositeCurrent
 
std::vector< IbisWaveform * > m_risingWaveforms
 
std::vector< IbisWaveform * > m_fallingWaveforms
 
IbisRamp m_ramp
 
std::vector< IbisSubmodelModem_submodels
 

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 539 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisModel()

◆ ~IbisModel()

virtual IbisModel::~IbisModel ( )
inlinevirtual

Definition at line 569 of file ibis_parser.h.

Member Function Documentation

◆ Check()

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

TypMinMaxValue IbisModel::m_C_comp

Definition at line 586 of file ibis_parser.h.

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

◆ m_C_comp_gnd_clamp

TypMinMaxValue IbisModel::m_C_comp_gnd_clamp

Definition at line 587 of file ibis_parser.h.

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

◆ m_C_comp_power_clamp

TypMinMaxValue IbisModel::m_C_comp_power_clamp

Definition at line 588 of file ibis_parser.h.

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

◆ m_C_comp_pulldown

TypMinMaxValue IbisModel::m_C_comp_pulldown

Definition at line 590 of file ibis_parser.h.

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

◆ m_C_comp_pullup

TypMinMaxValue IbisModel::m_C_comp_pullup

Definition at line 589 of file ibis_parser.h.

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

◆ m_Cac

TypMinMaxValue IbisModel::m_Cac

Definition at line 600 of file ibis_parser.h.

Referenced by IbisModel(), and KIBIS_MODEL::KIBIS_MODEL().

◆ m_compositeCurrent

IVtable IbisModel::m_compositeCurrent

Definition at line 607 of file ibis_parser.h.

Referenced by Check(), and IbisModel().

◆ m_cref

double IbisModel::m_cref = 0

Definition at line 580 of file ibis_parser.h.

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

◆ m_enable

Definition at line 582 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().

◆ m_fallingWaveforms

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

Definition at line 609 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().

◆ m_GNDClamp

IVtable IbisModel::m_GNDClamp

Definition at line 601 of file ibis_parser.h.

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

◆ m_GNDClampReference

TypMinMaxValue IbisModel::m_GNDClampReference

Definition at line 595 of file ibis_parser.h.

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

◆ m_ISSO_PD

IVtable IbisModel::m_ISSO_PD

Definition at line 606 of file ibis_parser.h.

Referenced by Check(), and IbisModel().

◆ m_ISSO_PU

IVtable IbisModel::m_ISSO_PU

Definition at line 605 of file ibis_parser.h.

Referenced by Check(), and IbisModel().

◆ m_name

std::string IbisModel::m_name

Definition at line 572 of file ibis_parser.h.

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

◆ m_polarity

Definition at line 583 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().

◆ m_POWERClamp

IVtable IbisModel::m_POWERClamp

Definition at line 602 of file ibis_parser.h.

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

◆ m_POWERClampReference

TypMinMaxValue IbisModel::m_POWERClampReference

Definition at line 596 of file ibis_parser.h.

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

◆ m_pulldown

IVtable IbisModel::m_pulldown

Definition at line 604 of file ibis_parser.h.

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

◆ m_pulldownReference

TypMinMaxValue IbisModel::m_pulldownReference

Definition at line 594 of file ibis_parser.h.

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

◆ m_pullup

IVtable IbisModel::m_pullup

Definition at line 603 of file ibis_parser.h.

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

◆ m_pullupReference

TypMinMaxValue IbisModel::m_pullupReference

Definition at line 593 of file ibis_parser.h.

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

◆ m_Rac

TypMinMaxValue IbisModel::m_Rac

Definition at line 599 of file ibis_parser.h.

Referenced by IbisModel(), and KIBIS_MODEL::KIBIS_MODEL().

◆ m_ramp

IbisRamp IbisModel::m_ramp

Definition at line 610 of file ibis_parser.h.

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

◆ m_Reporter

◆ m_Rgnd

TypMinMaxValue IbisModel::m_Rgnd

Definition at line 597 of file ibis_parser.h.

Referenced by IbisModel(), and KIBIS_MODEL::KIBIS_MODEL().

◆ m_risingWaveforms

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

Definition at line 608 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().

◆ m_Rpower

TypMinMaxValue IbisModel::m_Rpower

Definition at line 598 of file ibis_parser.h.

Referenced by IbisModel(), and KIBIS_MODEL::KIBIS_MODEL().

◆ m_rref

double IbisModel::m_rref = 0

Definition at line 579 of file ibis_parser.h.

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

◆ m_submodels

std::vector<IbisSubmodelMode> IbisModel::m_submodels

Definition at line 612 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().

◆ m_temperatureRange

TypMinMaxValue IbisModel::m_temperatureRange

Definition at line 592 of file ibis_parser.h.

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

◆ m_type

Definition at line 573 of file ibis_parser.h.

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

◆ m_vinh

double IbisModel::m_vinh = 2

Definition at line 577 of file ibis_parser.h.

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

◆ m_vinl

double IbisModel::m_vinl = 0.8

Definition at line 576 of file ibis_parser.h.

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

◆ m_vmeas

double IbisModel::m_vmeas = 0

Definition at line 581 of file ibis_parser.h.

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

◆ m_voltageRange

TypMinMaxValue IbisModel::m_voltageRange

Definition at line 591 of file ibis_parser.h.

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

◆ m_vref

double IbisModel::m_vref = 0

Definition at line 578 of file ibis_parser.h.

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


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