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

#include <kibis.h>

Inheritance diagram for KIBIS_COMPONENT:
KIBIS_ANY IBIS_ANY

Public Member Functions

 KIBIS_COMPONENT (KIBIS &aToplevel, const IbisComponent &aSource, IbisParser &aParser)
 
KIBIS_PINGetPin (const std::string &aPinNumber)
 Get a pin by its number ( 1, 2, A1, A2, ... )
 
void Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::string m_name
 Name of the component.
 
std::string m_manufacturer
 Name of the manufacturer.
 
std::vector< KIBIS_PINm_pins
 
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 432 of file kibis.h.

Constructor & Destructor Documentation

◆ KIBIS_COMPONENT()

Member Function Documentation

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

◆ GetPin()

KIBIS_PIN * KIBIS_COMPONENT::GetPin ( const std::string &  aPinNumber)

Get a pin by its number ( 1, 2, A1, A2, ... )

Parameters
aPinNumberpin number
Returns
pointer to a KIBIS_PIN, or nullptr if there is no matching pin

Definition at line 327 of file kibis.cpp.

References m_pins, and pin.

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

◆ Report()

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

Member Data Documentation

◆ m_manufacturer

std::string KIBIS_COMPONENT::m_manufacturer

Name of the manufacturer.

Definition at line 439 of file kibis.h.

Referenced by KIBIS_COMPONENT().

◆ m_name

std::string KIBIS_COMPONENT::m_name

Name of the component.

Definition at line 437 of file kibis.h.

Referenced by BOOST_AUTO_TEST_CASE(), SIM_LIBRARY_IBIS::InitModel(), KIBIS_COMPONENT(), main(), and SIM_LIBRARY_IBIS::ReadFile().

◆ m_pins

std::vector<KIBIS_PIN> KIBIS_COMPONENT::m_pins

◆ m_reporter

◆ m_topLevel

KIBIS* KIBIS_ANY::m_topLevel
inherited

◆ m_valid


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