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

#include <IPXactAddressSpace.hh>

Collaboration diagram for IPXactAddressSpace:
Collaboration graph

Public Member Functions

 IPXactAddressSpace (const TCEString &name, int range, int memLocationWidth, int mauWidth)
 
 IPXactAddressSpace (const MemInfo &memory)
 
TCEString name () const
 
int memRange () const
 
int memLocationWidth () const
 
int mauWidth () const
 

Private Member Functions

 IPXactAddressSpace ()
 

Private Attributes

TCEString name_
 
int range_
 
int memLocationWidth_
 
int mauWidth_
 

Detailed Description

Definition at line 38 of file IPXactAddressSpace.hh.

Constructor & Destructor Documentation

◆ IPXactAddressSpace() [1/3]

IPXactAddressSpace::IPXactAddressSpace ( const TCEString name,
int  range,
int  memLocationWidth,
int  mauWidth 
)

Definition at line 34 of file IPXactAddressSpace.cc.

38  :
41 }

◆ IPXactAddressSpace() [2/3]

IPXactAddressSpace::IPXactAddressSpace ( const MemInfo memory)

Definition at line 43 of file IPXactAddressSpace.cc.

43  :
44  name_(memory.asName), range_(1 << memory.asAddrw),
45  memLocationWidth_(memory.mauWidth*memory.widthInMaus),
46  mauWidth_(memory.mauWidth) {
47 }

◆ IPXactAddressSpace() [3/3]

IPXactAddressSpace::IPXactAddressSpace ( )
private

Member Function Documentation

◆ mauWidth()

int IPXactAddressSpace::mauWidth ( ) const

Definition at line 69 of file IPXactAddressSpace.cc.

69  {
70 
71  return mauWidth_;
72 }

References mauWidth_.

Referenced by IPXactModel::addAddressSpaceObject().

◆ memLocationWidth()

int IPXactAddressSpace::memLocationWidth ( ) const

Definition at line 63 of file IPXactAddressSpace.cc.

63  {
64 
65  return memLocationWidth_;
66 }

References memLocationWidth_.

Referenced by IPXactModel::addAddressSpaceObject().

◆ memRange()

int IPXactAddressSpace::memRange ( ) const

Definition at line 57 of file IPXactAddressSpace.cc.

57  {
58 
59  return range_;
60 }

References range_.

Referenced by IPXactModel::addAddressSpaceObject().

◆ name()

TCEString IPXactAddressSpace::name ( ) const

Definition at line 51 of file IPXactAddressSpace.cc.

51  {
52 
53  return name_;
54 }

References name_.

Referenced by IPXactModel::addAddressSpaceObject().

Member Data Documentation

◆ mauWidth_

int IPXactAddressSpace::mauWidth_
private

Definition at line 67 of file IPXactAddressSpace.hh.

Referenced by mauWidth().

◆ memLocationWidth_

int IPXactAddressSpace::memLocationWidth_
private

Definition at line 66 of file IPXactAddressSpace.hh.

Referenced by memLocationWidth().

◆ name_

TCEString IPXactAddressSpace::name_
private

Definition at line 64 of file IPXactAddressSpace.hh.

Referenced by name().

◆ range_

int IPXactAddressSpace::range_
private

Definition at line 65 of file IPXactAddressSpace.hh.

Referenced by memRange().


The documentation for this class was generated from the following files:
IPXactAddressSpace::mauWidth
int mauWidth() const
Definition: IPXactAddressSpace.cc:69
IPXactAddressSpace::name
TCEString name() const
Definition: IPXactAddressSpace.cc:51
MemInfo::asAddrw
int asAddrw
Definition: MemoryGenerator.hh:72
MemInfo::asName
TCEString asName
Definition: MemoryGenerator.hh:74
IPXactAddressSpace::mauWidth_
int mauWidth_
Definition: IPXactAddressSpace.hh:67
MemInfo::widthInMaus
int widthInMaus
Definition: MemoryGenerator.hh:70
IPXactAddressSpace::range_
int range_
Definition: IPXactAddressSpace.hh:65
MemInfo::mauWidth
int mauWidth
Definition: MemoryGenerator.hh:69
IPXactAddressSpace::memLocationWidth_
int memLocationWidth_
Definition: IPXactAddressSpace.hh:66
IPXactAddressSpace::memLocationWidth
int memLocationWidth() const
Definition: IPXactAddressSpace.cc:63
IPXactAddressSpace::name_
TCEString name_
Definition: IPXactAddressSpace.hh:64