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_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
 
std::vector< IbisWaveform * > m_risingWaveforms
 
std::vector< IbisWaveform * > m_fallingWaveforms
 
IbisRamp m_ramp
 

Private Member Functions

void Report (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 516 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisModel()

IbisModel::IbisModel ( REPORTER aReporter)
inline

Definition at line 519 of file ibis_parser.h.

◆ ~IbisModel()

virtual IbisModel::~IbisModel ( )
inlinevirtual

Definition at line 539 of file ibis_parser.h.

Member Function Documentation

◆ Check()

◆ doubleToString()

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

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

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

◆ Report()

Member Data Documentation

◆ m_C_comp

TypMinMaxValue IbisModel::m_C_comp

Definition at line 556 of file ibis_parser.h.

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

◆ m_Cac

TypMinMaxValue IbisModel::m_Cac

Definition at line 566 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().

◆ m_cref

double IbisModel::m_cref = 0

Definition at line 550 of file ibis_parser.h.

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

◆ m_enable

IBIS_MODEL_ENABLE IbisModel::m_enable = IBIS_MODEL_ENABLE::UNDEFINED

Definition at line 552 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().

◆ m_fallingWaveforms

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

Definition at line 572 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().

◆ m_GNDClamp

IVtable IbisModel::m_GNDClamp

Definition at line 567 of file ibis_parser.h.

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

◆ m_GNDClampReference

TypMinMaxValue IbisModel::m_GNDClampReference

Definition at line 561 of file ibis_parser.h.

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

◆ m_name

std::string IbisModel::m_name

Definition at line 542 of file ibis_parser.h.

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

◆ m_polarity

IBIS_MODEL_POLARITY IbisModel::m_polarity = IBIS_MODEL_POLARITY::UNDEFINED

Definition at line 553 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readModel().

◆ m_POWERClamp

IVtable IbisModel::m_POWERClamp

Definition at line 568 of file ibis_parser.h.

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

◆ m_POWERClampReference

TypMinMaxValue IbisModel::m_POWERClampReference

Definition at line 562 of file ibis_parser.h.

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

◆ m_pulldown

IVtable IbisModel::m_pulldown

Definition at line 570 of file ibis_parser.h.

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

◆ m_pulldownReference

TypMinMaxValue IbisModel::m_pulldownReference

Definition at line 560 of file ibis_parser.h.

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

◆ m_pullup

IVtable IbisModel::m_pullup

Definition at line 569 of file ibis_parser.h.

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

◆ m_pullupReference

TypMinMaxValue IbisModel::m_pullupReference

Definition at line 559 of file ibis_parser.h.

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

◆ m_Rac

TypMinMaxValue IbisModel::m_Rac

Definition at line 565 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().

◆ m_ramp

IbisRamp IbisModel::m_ramp

Definition at line 573 of file ibis_parser.h.

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

◆ m_reporter

◆ m_Rgnd

TypMinMaxValue IbisModel::m_Rgnd

Definition at line 563 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().

◆ m_risingWaveforms

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

Definition at line 571 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::readWaveform().

◆ m_Rpower

TypMinMaxValue IbisModel::m_Rpower

Definition at line 564 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL(), and IbisParser::parseModel().

◆ m_rref

double IbisModel::m_rref = 0

Definition at line 549 of file ibis_parser.h.

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

◆ m_temperatureRange

TypMinMaxValue IbisModel::m_temperatureRange

◆ m_type

IBIS_MODEL_TYPE IbisModel::m_type = IBIS_MODEL_TYPE::UNDEFINED

Definition at line 543 of file ibis_parser.h.

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

◆ m_vinh

double IbisModel::m_vinh = 2

Definition at line 547 of file ibis_parser.h.

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

◆ m_vinl

double IbisModel::m_vinl = 0.8

Definition at line 546 of file ibis_parser.h.

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

◆ m_vmeas

double IbisModel::m_vmeas = 0

Definition at line 551 of file ibis_parser.h.

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

◆ m_voltageRange

TypMinMaxValue IbisModel::m_voltageRange

Definition at line 557 of file ibis_parser.h.

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

◆ m_vref

double IbisModel::m_vref = 0

Definition at line 548 of file ibis_parser.h.

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


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