28#include <pegtl/contrib/parse_tree.hpp>
39 aReporter.
Report( wxString::Format(
_(
"Invalid IBIS file '%s'" ), aFilePath ),
48 std::vector<SCH_PIN*> pins = { &pinA, &pinB };
67 if( kcomp.
m_name != aCompName )
88 for( std::pair<std::string, std::string> aInfo :
m_diffPins )
90 if( aInfo.first == aComp && aInfo.second == aPinNumber )
std::vector< KIBIS_PIN > m_pins
std::string m_name
Name of the component.
std::string m_pinNumber
Pin Number Examples : 1, 2, 3 ( or for BGA ), A1, A2, A3, etc...
std::string m_signalName
Name of the pin Examples : "VCC", "GPIOA", "CLK", etc...
std::vector< KIBIS_COMPONENT > m_components
A pure virtual class used to derive REPORTER objects from.
virtual REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)=0
Report a string with a given severity.
void SetNumber(const wxString &aNumber)
void ReadFile(const wxString &aFilePath, REPORTER &aReporter) override
Read library from a source file.
bool InitModel(SIM_MODEL_IBIS &aModel, wxString aCompName)
std::vector< std::pair< std::string, std::string > > m_diffPins
bool isPinDiff(const std::string &aComp, const std::string &aPinNumber) const
virtual void ReadFile(const wxString &aFilePath, REPORTER &aReporter)=0
Read library from a source file.
std::vector< std::string > m_modelNames
std::vector< std::unique_ptr< SIM_MODEL > > m_models
std::vector< std::pair< std::string, std::string > > m_ibisPins
std::string m_componentName
static std::unique_ptr< SIM_MODEL > Create(TYPE aType, const std::vector< SCH_PIN * > &aPins, REPORTER &aReporter)