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

#include <DisassemblyFUOpcodePort.hh>

Inheritance diagram for DisassemblyFUOpcodePort:
Inheritance graph
Collaboration diagram for DisassemblyFUOpcodePort:
Collaboration graph

Public Member Functions

 DisassemblyFUOpcodePort (std::string fuName, std::string port, std::string opName)
 
virtual ~DisassemblyFUOpcodePort ()
 
virtual std::string toString () const
 
- Public Member Functions inherited from DisassemblyElement
virtual ~DisassemblyElement ()
 

Private Attributes

std::string fuName_
 Name of the function unit. More...
 
std::string port_
 Name of the function unit port. More...
 
std::string opName_
 Name of the operation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DisassemblyElement
 DisassemblyElement ()
 

Detailed Description

Definition at line 38 of file DisassemblyFUOpcodePort.hh.

Constructor & Destructor Documentation

◆ DisassemblyFUOpcodePort()

DisassemblyFUOpcodePort::DisassemblyFUOpcodePort ( std::string  fuName,
std::string  port,
std::string  opName 
)

The constructor.

Parameters
fuNameName of the function unit.
portName of the function unit port.
opNameName of the operation.

Definition at line 45 of file DisassemblyFUOpcodePort.cc.

46  :
48  fuName_(fuName),
49  port_(port),
51 }

◆ ~DisassemblyFUOpcodePort()

DisassemblyFUOpcodePort::~DisassemblyFUOpcodePort ( )
virtual

The Destructor.

Definition at line 57 of file DisassemblyFUOpcodePort.cc.

57  {
58 }

Member Function Documentation

◆ toString()

string DisassemblyFUOpcodePort::toString ( ) const
virtual

Returns disassembly of the opcode port.

Returns
Disassembly of the opcode port as a string.

Implements DisassemblyElement.

Definition at line 67 of file DisassemblyFUOpcodePort.cc.

67  {
68  return fuName_ + "." + port_ + "." + opName_;
69 }

References fuName_, opName_, and port_.

Referenced by TTAProgram::TerminalFUPort::toString().

Member Data Documentation

◆ fuName_

std::string DisassemblyFUOpcodePort::fuName_
private

Name of the function unit.

Definition at line 46 of file DisassemblyFUOpcodePort.hh.

Referenced by toString().

◆ opName_

std::string DisassemblyFUOpcodePort::opName_
private

Name of the operation.

Definition at line 50 of file DisassemblyFUOpcodePort.hh.

Referenced by toString().

◆ port_

std::string DisassemblyFUOpcodePort::port_
private

Name of the function unit port.

Definition at line 48 of file DisassemblyFUOpcodePort.hh.

Referenced by toString().


The documentation for this class was generated from the following files:
DisassemblyFUOpcodePort::opName_
std::string opName_
Name of the operation.
Definition: DisassemblyFUOpcodePort.hh:50
DisassemblyElement::DisassemblyElement
DisassemblyElement()
Definition: DisassemblyElement.cc:38
DisassemblyFUOpcodePort::fuName_
std::string fuName_
Name of the function unit.
Definition: DisassemblyFUOpcodePort.hh:46
DisassemblyFUOpcodePort::port_
std::string port_
Name of the function unit port.
Definition: DisassemblyFUOpcodePort.hh:48
StringTools::stringToLower
static std::string stringToLower(const std::string &source)
Definition: StringTools.cc:160