OpenASIP  2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ProGe::MemoryBusInterface Class Reference

#include <MemoryBusInterface.hh>

Inheritance diagram for ProGe::MemoryBusInterface:
Inheritance graph
Collaboration diagram for ProGe::MemoryBusInterface:
Collaboration graph

Public Member Functions

 MemoryBusInterface (const TCEString &addressSpaceName=TCEString())
 
 MemoryBusInterface (SignalGroup groupType, const TCEString &addressSpaceName=TCEString())
 
virtual ~MemoryBusInterface ()
 
virtual MemoryBusInterfaceclone (bool asMirrored=false) const
 
TCEString addressSpace () const
 
- Public Member Functions inherited from ProGe::NetlistPortGroup
 NetlistPortGroup (SignalGroup signalGroup=SignalGroup())
 
template<typename... PortType>
 NetlistPortGroup (SignalGroup groupType, PortType... ts)
 
virtual ~NetlistPortGroup ()
 
size_t portCount () const
 
const NetlistPortportAt (size_t index) const
 
NetlistPortportAt (size_t index)
 
void addPort (NetlistPort &port)
 
bool hasPortBySignal (SignalType type) const
 
const NetlistPortportBySignal (SignalType type) const
 
void clear ()
 
bool hasParent () const
 
const BaseNetlistBlockparent () const
 
BaseNetlistBlockparent ()
 
void assignSignalGroup (SignalGroup signalGroup)
 
SignalGroup assignedSignalGroup () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 

Private Member Functions

 MemoryBusInterface ()
 
 MemoryBusInterface (const MemoryBusInterface &, bool asMirrored=false)
 

Private Attributes

TCEString addressSpaceName_ = TCEString()
 Name of the address space the memory bus is bound. More...
 

Additional Inherited Members

- Public Types inherited from ProGe::NetlistPortGroup
typedef std::vector< NetlistPort * > PortContainerType
 
typedef PortContainerType::iterator iterator
 
typedef PortContainerType::const_iterator const_iterator
 
typedef PortContainerType::reverse_iterator reverse_iterator
 
typedef PortContainerType::const_reverse_iterator const_reverse_iterator
 
- Protected Member Functions inherited from ProGe::NetlistPortGroup
 NetlistPortGroup (const NetlistPortGroup &, bool asMirrored=false)
 

Detailed Description

Definition at line 46 of file MemoryBusInterface.hh.

Constructor & Destructor Documentation

◆ MemoryBusInterface() [1/4]

ProGe::MemoryBusInterface::MemoryBusInterface ( const TCEString addressSpaceName = TCEString())

Definition at line 38 of file MemoryBusInterface.cc.

39  : NetlistPortGroup(SignalGroup()),
40  addressSpaceName_(addressSpaceName) {
41 }

◆ MemoryBusInterface() [2/4]

ProGe::MemoryBusInterface::MemoryBusInterface ( SignalGroup  groupType,
const TCEString addressSpaceName = TCEString() 
)

Definition at line 43 of file MemoryBusInterface.cc.

46  : NetlistPortGroup(groupType),
47  addressSpaceName_(addressSpaceName) {
48 }

◆ ~MemoryBusInterface()

ProGe::MemoryBusInterface::~MemoryBusInterface ( )
virtual

Definition at line 57 of file MemoryBusInterface.cc.

57  {
58 }

◆ MemoryBusInterface() [3/4]

ProGe::MemoryBusInterface::MemoryBusInterface ( )
private

◆ MemoryBusInterface() [4/4]

ProGe::MemoryBusInterface::MemoryBusInterface ( const MemoryBusInterface otherMemIf,
bool  asMirrored = false 
)
private

Definition at line 50 of file MemoryBusInterface.cc.

53  : NetlistPortGroup(otherMemIf, asMirrored),
54  addressSpaceName_(otherMemIf.addressSpaceName_) {
55 }

Member Function Documentation

◆ addressSpace()

TCEString ProGe::MemoryBusInterface::addressSpace ( ) const

◆ clone()

MemoryBusInterface * ProGe::MemoryBusInterface::clone ( bool  asMirrored = false) const
virtual

Clones the NetlistPort and and its ports without parent block reference since it would break unique port name constraint.

Reimplemented from ProGe::NetlistPortGroup.

Definition at line 61 of file MemoryBusInterface.cc.

61  {
62  MemoryBusInterface* newIF = new MemoryBusInterface(*this, asMirrored);
63  return newIF;
64 }

Member Data Documentation

◆ addressSpaceName_

TCEString ProGe::MemoryBusInterface::addressSpaceName_ = TCEString()
private

Name of the address space the memory bus is bound.

Definition at line 65 of file MemoryBusInterface.hh.

Referenced by addressSpace().


The documentation for this class was generated from the following files:
ProGe::MemoryBusInterface::addressSpaceName_
TCEString addressSpaceName_
Name of the address space the memory bus is bound.
Definition: MemoryBusInterface.hh:65
ProGe::NetlistPortGroup::NetlistPortGroup
NetlistPortGroup()
Definition: NetlistPortGroup.cc:46
ProGe::MemoryBusInterface::MemoryBusInterface
MemoryBusInterface()