OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
MachineResourceManager::ResourceID Struct Reference

#include <MachineResourceManager.hh>

Collaboration diagram for MachineResourceManager::ResourceID:
Collaboration graph

Public Member Functions

 ResourceID ()
 

Public Attributes

TPEF::MoveElement::FieldType type
 Resource type. More...
 
UValue unit
 TPEF Resource unit id. More...
 
UValue index
 TPEF Resource operand id or register file index. More...
 
UValue width
 Width of accessed port or other resource. More...
 

Detailed Description

Result type when getting resource.

Definition at line 91 of file MachineResourceManager.hh.

Constructor & Destructor Documentation

◆ ResourceID()

MachineResourceManager::ResourceID::ResourceID ( )
inline

Definition at line 92 of file MachineResourceManager.hh.

92  :
94  unit(0), index(0), width(0) {
95  }

Member Data Documentation

◆ index

UValue MachineResourceManager::ResourceID::index

◆ type

TPEF::MoveElement::FieldType MachineResourceManager::ResourceID::type

◆ unit

UValue MachineResourceManager::ResourceID::unit

◆ width

UValue MachineResourceManager::ResourceID::width

The documentation for this struct was generated from the following file:
TPEF::MoveElement::MF_NULL
@ MF_NULL
Illegal field.
Definition: MoveElement.hh:53
MachineResourceManager::ResourceID::index
UValue index
TPEF Resource operand id or register file index.
Definition: MachineResourceManager.hh:102
MachineResourceManager::ResourceID::type
TPEF::MoveElement::FieldType type
Resource type.
Definition: MachineResourceManager.hh:98
MachineResourceManager::ResourceID::width
UValue width
Width of accessed port or other resource.
Definition: MachineResourceManager.hh:104
MachineResourceManager::ResourceID::unit
UValue unit
TPEF Resource unit id.
Definition: MachineResourceManager.hh:100