OpenASIP
2.0
|
#include <ParserStructs.hh>
Public Types | |
enum | TermType { BUS, FUNCTION_UNIT, INDEX } |
Public Member Functions | |
std::string | toString () const |
Public Attributes | |
TermType | type |
Type of terminal that is represented by this object. More... | |
BusTerm | busTerm |
The bus term, if type field is BUS. Otherwise not used. More... | |
FUTerm | fuTerm |
The fu term, if type field is FUNCTION_UNIT. Otherwise not used. More... | |
IndexTerm | indexTerm |
The index term, if type field is INDEX. Otherwise not used. More... | |
Parsed data of register term
This is used for presenting any type of port or register reference.
Register term can be BusTerm, FUTerm or IndexTerm.
Definition at line 136 of file ParserStructs.hh.
Register term types.
Enumerator | |
---|---|
BUS | Bus term. |
FUNCTION_UNIT | FU term. |
INDEX | Index term. |
Definition at line 142 of file ParserStructs.hh.
|
inline |
String representation of term for error message generation.
Definition at line 161 of file ParserStructs.hh.
References BUS, busTerm, FUNCTION_UNIT, fuTerm, INDEX, indexTerm, BusTerm::toString(), FUTerm::toString(), IndexTerm::toString(), and type.
Referenced by CodeSectionCreator::addMove(), ParserSource::toString(), ParserGuard::toString(), and ParserMove::toString().
BusTerm RegisterTerm::busTerm |
The bus term, if type field is BUS. Otherwise not used.
Definition at line 152 of file ParserStructs.hh.
Referenced by MachineResourceManager::resourceID(), and toString().
FUTerm RegisterTerm::fuTerm |
The fu term, if type field is FUNCTION_UNIT. Otherwise not used.
Definition at line 154 of file ParserStructs.hh.
Referenced by MachineResourceManager::functionUnitPortResource(), MachineResourceManager::resourceID(), and toString().
IndexTerm RegisterTerm::indexTerm |
The index term, if type field is INDEX. Otherwise not used.
Definition at line 156 of file ParserStructs.hh.
Referenced by MachineResourceManager::indexResource(), MachineResourceManager::registerFileIndexReference(), MachineResourceManager::resourceID(), MachineResourceManager::rFPortOrFUIndexReference(), and toString().
TermType RegisterTerm::type |
Type of terminal that is represented by this object.
Definition at line 149 of file ParserStructs.hh.
Referenced by MachineResourceManager::resourceID(), and toString().