OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
DisassemblyFUPort Class Reference

#include <DisassemblyFUPort.hh>

Inheritance diagram for DisassemblyFUPort:
Inheritance graph
Collaboration diagram for DisassemblyFUPort:
Collaboration graph

Public Member Functions

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

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from DisassemblyElement
 DisassemblyElement ()
 

Detailed Description

Represents a function unit port in the disassembler.

Definition at line 41 of file DisassemblyFUPort.hh.

Constructor & Destructor Documentation

◆ DisassemblyFUPort()

DisassemblyFUPort::DisassemblyFUPort ( std::string  fuName,
std::string  port 
)

The constructor.

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

Definition at line 41 of file DisassemblyFUPort.cc.

41 :
43 fuName_(fuName),
44 port_(port) {
45}
std::string fuName_
Name of the function unit.
std::string port_
Name of the function unit port.

◆ ~DisassemblyFUPort()

DisassemblyFUPort::~DisassemblyFUPort ( )
virtual

The destructor.

Definition at line 51 of file DisassemblyFUPort.cc.

51 {
52}

Member Function Documentation

◆ toString()

std::string DisassemblyFUPort::toString ( ) const
virtual

Returns disassembly of the function unit port.

Returns
Disassembly of the function unit port as a string.

Implements DisassemblyElement.

Definition at line 61 of file DisassemblyFUPort.cc.

61 {
62 return fuName_ + "." + port_;
63}

References fuName_, and port_.

Referenced by SimulatorFrontend::compareState(), InfoPortsCommand::execute(), and TTAProgram::TerminalFUPort::toString().

Member Data Documentation

◆ fuName_

std::string DisassemblyFUPort::fuName_
private

Name of the function unit.

Definition at line 48 of file DisassemblyFUPort.hh.

Referenced by toString().

◆ port_

std::string DisassemblyFUPort::port_
private

Name of the function unit port.

Definition at line 50 of file DisassemblyFUPort.hh.

Referenced by toString().


The documentation for this class was generated from the following files: