OpenASIP  2.0
Public Member Functions | Static Private Attributes | List of all members
IPXactResetInterface Class Reference

#include <IPXactResetInterface.hh>

Inheritance diagram for IPXactResetInterface:
Inheritance graph
Collaboration diagram for IPXactResetInterface:
Collaboration graph

Public Member Functions

 IPXactResetInterface ()
 
virtual ~IPXactResetInterface ()
 
virtual bool mapPortsToInterface (const ProGe::NetlistBlock &toplevel)
 
- Public Member Functions inherited from IPXactInterface
 IPXactInterface ()
 
virtual ~IPXactInterface ()
 
virtual TCEString instanceName () const
 
virtual IPXact::Vlnv busType () const
 
virtual IPXact::Vlnv busAbstractionType () const
 
virtual IPXactModel::BusMode busMode () const
 
virtual const PlatInt::SignalMappingListinterfaceMapping () const
 
virtual void addSignalMapping (const TCEString &actualSignal, const TCEString &busSignal)
 
void setInstanceName (const TCEString &name)
 

Static Private Attributes

static const TCEString TTA_RESET_PORT = "rstx"
 
static const TCEString SPIRIT_RESET_PORT = "RESETn"
 
static const TCEString DEFAULT_INSTANCE_NAME = "rst_n"
 
static const TCEString VENDOR = "TUT"
 
static const TCEString LIBRARY ="ip.hwp.interface"
 
static const TCEString NAME ="reset.busdef"
 
static const TCEString BUS_VERSION = "1.0"
 
static const TCEString ABS_VENDOR
 
static const TCEString ABS_LIBRARY
 
static const TCEString ABS_NAME = "reset.absDef"
 
static const TCEString ABS_VERSION
 
static const IPXactModel::BusMode DEFAULT_BUS_MODE
 

Additional Inherited Members

- Protected Member Functions inherited from IPXactInterface
void setBusMode (IPXactModel::BusMode mode)
 
void setBusType (const TCEString &vendor, const TCEString &library, const TCEString &name, const TCEString &version)
 
void setBusAbsType (const TCEString &vendor, const TCEString &library, const TCEString &name, const TCEString &version)
 

Detailed Description

Definition at line 37 of file IPXactResetInterface.hh.

Constructor & Destructor Documentation

◆ IPXactResetInterface()

IPXactResetInterface::IPXactResetInterface ( )

◆ ~IPXactResetInterface()

IPXactResetInterface::~IPXactResetInterface ( )
virtual

Definition at line 62 of file IPXactResetInterface.cc.

62  {
63 }

Member Function Documentation

◆ mapPortsToInterface()

bool IPXactResetInterface::mapPortsToInterface ( const ProGe::NetlistBlock toplevel)
virtual

Implements IPXactInterface.

Definition at line 66 of file IPXactResetInterface.cc.

66  {
67  for (size_t i = 0; i < toplevel.portCount(); i++) {
68  if (toplevel.port(i).name() == TTA_RESET_PORT) {
70  return true;
71  }
72  }
73  TCEString msg = "Reset port " + TTA_RESET_PORT + " not found!";
74  InvalidData exc(__FILE__, __LINE__, "IPXactResetInterface", msg);
75  throw exc;
76 
77  return false;
78 }

References IPXactInterface::addSignalMapping(), ProGe::NetlistPort::name(), ProGe::NetlistBlock::port(), ProGe::NetlistBlock::portCount(), SPIRIT_RESET_PORT, and TTA_RESET_PORT.

Here is the call graph for this function:

Member Data Documentation

◆ ABS_LIBRARY

const TCEString IPXactResetInterface::ABS_LIBRARY
staticprivate
Initial value:

Definition at line 57 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ ABS_NAME

const TCEString IPXactResetInterface::ABS_NAME = "reset.absDef"
staticprivate

Definition at line 58 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ ABS_VENDOR

const TCEString IPXactResetInterface::ABS_VENDOR
staticprivate
Initial value:

Definition at line 56 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ ABS_VERSION

const TCEString IPXactResetInterface::ABS_VERSION
staticprivate
Initial value:

Definition at line 59 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ BUS_VERSION

const TCEString IPXactResetInterface::BUS_VERSION = "1.0"
staticprivate

Definition at line 55 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ DEFAULT_BUS_MODE

const IPXactModel::BusMode IPXactResetInterface::DEFAULT_BUS_MODE
staticprivate
Initial value:

Definition at line 61 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ DEFAULT_INSTANCE_NAME

const TCEString IPXactResetInterface::DEFAULT_INSTANCE_NAME = "rst_n"
staticprivate

Definition at line 51 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ LIBRARY

const TCEString IPXactResetInterface::LIBRARY ="ip.hwp.interface"
staticprivate

Definition at line 53 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ NAME

const TCEString IPXactResetInterface::NAME ="reset.busdef"
staticprivate

Definition at line 54 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().

◆ SPIRIT_RESET_PORT

const TCEString IPXactResetInterface::SPIRIT_RESET_PORT = "RESETn"
staticprivate

Definition at line 49 of file IPXactResetInterface.hh.

Referenced by mapPortsToInterface().

◆ TTA_RESET_PORT

const TCEString IPXactResetInterface::TTA_RESET_PORT = "rstx"
staticprivate

Definition at line 48 of file IPXactResetInterface.hh.

Referenced by mapPortsToInterface().

◆ VENDOR

const TCEString IPXactResetInterface::VENDOR = "TUT"
staticprivate

Definition at line 52 of file IPXactResetInterface.hh.

Referenced by IPXactResetInterface().


The documentation for this class was generated from the following files:
IPXactModel::SLAVE
@ SLAVE
Definition: IPXactModel.hh:54
IPXactInterface::setInstanceName
void setInstanceName(const TCEString &name)
Definition: IPXactInterface.cc:89
IPXactInterface::addSignalMapping
virtual void addSignalMapping(const TCEString &actualSignal, const TCEString &busSignal)
Definition: IPXactInterface.cc:79
IPXactInterface::IPXactInterface
IPXactInterface()
Definition: IPXactInterface.cc:36
IPXactResetInterface::NAME
static const TCEString NAME
Definition: IPXactResetInterface.hh:54
IPXactResetInterface::SPIRIT_RESET_PORT
static const TCEString SPIRIT_RESET_PORT
Definition: IPXactResetInterface.hh:49
IPXactResetInterface::VENDOR
static const TCEString VENDOR
Definition: IPXactResetInterface.hh:52
IPXactResetInterface::ABS_NAME
static const TCEString ABS_NAME
Definition: IPXactResetInterface.hh:58
IPXactResetInterface::ABS_VENDOR
static const TCEString ABS_VENDOR
Definition: IPXactResetInterface.hh:56
ProGe::NetlistBlock::portCount
virtual size_t portCount() const
Definition: BaseNetlistBlock.cc:248
IPXactInterface::setBusMode
void setBusMode(IPXactModel::BusMode mode)
Definition: IPXactInterface.cc:95
IPXactResetInterface::ABS_VERSION
static const TCEString ABS_VERSION
Definition: IPXactResetInterface.hh:59
InvalidData
Definition: Exception.hh:149
IPXactResetInterface::DEFAULT_BUS_MODE
static const IPXactModel::BusMode DEFAULT_BUS_MODE
Definition: IPXactResetInterface.hh:61
IPXactInterface::setBusType
void setBusType(const TCEString &vendor, const TCEString &library, const TCEString &name, const TCEString &version)
Definition: IPXactInterface.cc:101
IPXactResetInterface::TTA_RESET_PORT
static const TCEString TTA_RESET_PORT
Definition: IPXactResetInterface.hh:48
ProGe::NetlistPort::name
std::string name() const
Definition: NetlistPort.cc:283
IPXactResetInterface::LIBRARY
static const TCEString LIBRARY
Definition: IPXactResetInterface.hh:53
TCEString
Definition: TCEString.hh:53
IPXactResetInterface::DEFAULT_INSTANCE_NAME
static const TCEString DEFAULT_INSTANCE_NAME
Definition: IPXactResetInterface.hh:51
IPXactResetInterface::BUS_VERSION
static const TCEString BUS_VERSION
Definition: IPXactResetInterface.hh:55
IPXactResetInterface::ABS_LIBRARY
static const TCEString ABS_LIBRARY
Definition: IPXactResetInterface.hh:57
IPXactInterface::setBusAbsType
void setBusAbsType(const TCEString &vendor, const TCEString &library, const TCEString &name, const TCEString &version)
Definition: IPXactInterface.cc:114
ProGe::NetlistBlock::port
virtual NetlistPort * port(const std::string &portName, bool partialMatch=true)
Definition: NetlistBlock.cc:97