Go to the documentation of this file.
45 broker_(broker), cycle_(-1), node_(NULL), assignmentTried_(
false),
46 lastTriedAssignment_(-1) {
125 string msg =
"Ran out of possible assignments!";
150 string msg =
"No resource in the set of resources of this pending"
151 "assignment was assigned to the given node!";
virtual SchedulingResourceSet allAvailableResources(int cycle, const MoveNode &node, const TTAMachine::Bus *bus, const TTAMachine::FunctionUnit *srcFU, const TTAMachine::FunctionUnit *dstFU, int immWriteCycle, const TTAMachine::ImmediateUnit *immu, int immRegIndex) const
virtual bool isAlreadyAssigned(int cycle, const MoveNode &node, const TTAMachine::Bus *preassignedBus) const =0
virtual void assign(int cycle, MoveNode &node, SchedulingResource &res, int immWriteCycle, int immRegIndex)=0
SchedulingResourceSet availableResources_
ResourceBroker & broker()
virtual ~PendingAssignment()
const TTAMachine::FunctionUnit * srcFU_
bool isAssignmentPossible()
const TTAMachine::ImmediateUnit * immu_
void setRequest(int cycle, MoveNode &node, const TTAMachine::Bus *bus, const TTAMachine::FunctionUnit *srcFU, const TTAMachine::FunctionUnit *dstFU, int immWriteCycle, const TTAMachine::ImmediateUnit *immu, int immRegIndex)
virtual void unassign(MoveNode &node)=0
find Finds info of the inner loops in the false
PendingAssignment(ResourceBroker &broker)
const TTAMachine::Bus * bus_
SchedulingResource & resource(int index) const
const TTAMachine::FunctionUnit * dstFU_
ResourceBroker & broker_
Corresponding resource broker.