Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | List of all members
trap::ToolsIf< issueWidth > Class Template Referenceabstract

Base class for all the tools (profilers, debugger, etc...) More...

#include <ToolsIf.hpp>

Inheritance diagram for trap::ToolsIf< issueWidth >:
Collaboration diagram for trap::ToolsIf< issueWidth >:

Public Member Functions

virtual bool newIssue (const issueWidth &curPC, const InstructionBase *curInstr)=0 throw ()
 
virtual bool emptyPipeline (const issueWidth &curPC) const =0 throw ()
 
virtual ~ToolsIf ()
 

Detailed Description

template<class issueWidth>
class trap::ToolsIf< issueWidth >

Base class for all the tools (profilers, debugger, etc...)

Constructor & Destructor Documentation

template<class issueWidth>
virtual trap::ToolsIf< issueWidth >::~ToolsIf ( )
inlinevirtual

Member Function Documentation

template<class issueWidth>
virtual bool trap::ToolsIf< issueWidth >::emptyPipeline ( const issueWidth &  curPC) const
throw (
)
pure virtual

Returns true if the pipeline has to be empty before being able to call the current tool, false otherwise

Implemented in trap::GDBStub< issueWidth >, trap::GDBStub< unsigned int >, trap::OSEmulator< issueWidth >, trap::Profiler< issueWidth >, IntrinsicManager< issueWidth >, and IntrinsicManager< unsigned int >.

template<class issueWidth>
virtual bool trap::ToolsIf< issueWidth >::newIssue ( const issueWidth &  curPC,
const InstructionBase curInstr 
)
throw (
)
pure virtual

The only method which is called to activate the tool it signals to the tool that a new instruction issue has been started; the tool can then take the appropriate actions. the return value specifies whether the processor should skip the issue of the current instruction

Implemented in trap::GDBStub< issueWidth >, trap::GDBStub< unsigned int >, trap::OSEmulator< issueWidth >, trap::Profiler< issueWidth >, IntrinsicManager< issueWidth >, and IntrinsicManager< unsigned int >.


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