OpenASIP
2.0
|
#include <BrokerDirector.hh>
Public Member Functions | |
BrokerDirector (const TTAMachine::Machine &machine, AssignmentPlan &plan) | |
virtual | ~BrokerDirector () |
Public Member Functions inherited from ResourceManager | |
ResourceManager (const TTAMachine::Machine &machine) | |
virtual | ~ResourceManager () |
virtual bool | canAssign (int cycle, MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1) const =0 |
virtual void | assign (int cycle, MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1)=0 |
virtual void | unassign (MoveNode &node)=0 |
virtual int | earliestCycle (MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1) const =0 |
virtual int | earliestCycle (int cycle, MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1) const =0 |
virtual int | latestCycle (MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1) const =0 |
virtual int | latestCycle (int cycle, MoveNode &node, const TTAMachine::Bus *bus=nullptr, const TTAMachine::FunctionUnit *srcFU=nullptr, const TTAMachine::FunctionUnit *dstFU=nullptr, int immWriteCycle=-1, const TTAMachine::ImmediateUnit *immu=nullptr, int immRegIndex=-1) const =0 |
virtual bool | supportsExternalAssignments () const =0 |
virtual int | largestCycle () const =0 |
virtual int | smallestCycle () const =0 |
const TTAMachine::Machine & | machine () const |
virtual TTAProgram::Instruction * | instruction (int cycle) const =0 |
Protected Attributes | |
AssignmentPlan * | plan_ |
Assignment plan. More... | |
Base interface for broker directors.
Definition at line 42 of file BrokerDirector.hh.
BrokerDirector::BrokerDirector | ( | const TTAMachine::Machine & | machine, |
AssignmentPlan & | plan | ||
) |
Constructor.
machine | Target machine. |
plan | Resource assignment plan. |
Definition at line 41 of file BrokerDirector.cc.
|
virtual |
|
protected |
Assignment plan.
Definition at line 49 of file BrokerDirector.hh.
Referenced by SimpleBrokerDirector::assign(), SimpleBrokerDirector::busBroker(), SimpleBrokerDirector::canAssign(), SimpleBrokerDirector::clear(), SimpleBrokerDirector::executionPipelineBroker(), SimpleBrokerDirector::immediateUnitBroker(), SimpleBrokerDirector::instructionTemplateBroker(), and SimpleBrokerDirector::unassign().