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

#include <GlobalPackage.hh>

Collaboration diagram for ProGe::GlobalPackage:
Collaboration graph

Public Member Functions

 GlobalPackage ()=delete
 
 GlobalPackage (const std::string &entityName)
 
virtual ~GlobalPackage ()
 
const std::string name () const
 
const std::string fetchBlockAddressWidth () const
 
const std::string fetchBlockDataWidth () const
 
const std::string fetchBlockMAUWidth () const
 
const std::string instructionDataWidth () const
 

Private Attributes

std::string entityName_
 The entity name. More...
 

Detailed Description

Definition at line 45 of file GlobalPackage.hh.

Constructor & Destructor Documentation

◆ GlobalPackage() [1/2]

ProGe::GlobalPackage::GlobalPackage ( )
delete

◆ GlobalPackage() [2/2]

ProGe::GlobalPackage::GlobalPackage ( const std::string &  entityName)

Definition at line 38 of file GlobalPackage.cc.

39  : entityName_(entityName) {}

◆ ~GlobalPackage()

ProGe::GlobalPackage::~GlobalPackage ( )
virtual

Definition at line 41 of file GlobalPackage.cc.

41 {}

Member Function Documentation

◆ fetchBlockAddressWidth()

const std::string ProGe::GlobalPackage::fetchBlockAddressWidth ( ) const

Returns name of the constant that defines address width of instruction block visible outside the core.

Definition at line 56 of file GlobalPackage.cc.

56  {
57  return "IMEMADDRWIDTH";
58 }

Referenced by ProGe::ProcessorWrapperBlock::addInstructionMemory().

◆ fetchBlockDataWidth()

const std::string ProGe::GlobalPackage::fetchBlockDataWidth ( ) const

Returns name of the constant that defines instruction block width visible outside the core.

Definition at line 65 of file GlobalPackage.cc.

65  {
66  return "IMEMDATAWIDTH";
67 }

Referenced by ProGe::ProcessorWrapperBlock::addInstructionMemory().

◆ fetchBlockMAUWidth()

const std::string ProGe::GlobalPackage::fetchBlockMAUWidth ( ) const

Returns name of the constant that defines instruction block width in MAUs.

Definition at line 73 of file GlobalPackage.cc.

73  {
74  return "IMEMWIDTHINMAUS";
75 }

◆ instructionDataWidth()

const std::string ProGe::GlobalPackage::instructionDataWidth ( ) const

Return name of the constant that defines raw width of instruction.

Definition at line 81 of file GlobalPackage.cc.

81  {
82  return "INSTRUCTIONWIDTH";
83 }

◆ name()

const std::string ProGe::GlobalPackage::name ( ) const

Return name of this package.

Definition at line 47 of file GlobalPackage.cc.

47  {
48  return entityName_ + "_globals";
49 }

References entityName_.

Referenced by ProGe::ProcessorWrapperBlock::ProcessorWrapperBlock().

Member Data Documentation

◆ entityName_

std::string ProGe::GlobalPackage::entityName_
private

The entity name.

Definition at line 70 of file GlobalPackage.hh.

Referenced by name().


The documentation for this class was generated from the following files:
ProGe::GlobalPackage::entityName_
std::string entityName_
The entity name.
Definition: GlobalPackage.hh:70