Go to the documentation of this file.
32 #ifndef TTA_MACHINE_TESTER_HH
33 #define TTA_MACHINE_TESTER_HH
virtual bool canConnect(const TTAMachine::Socket &socket, const TTAMachine::Segment &segment)
bool noConnections_
Indicates if the reason for failure when tried to set socket direction was that the socket has no seg...
TTAMachine::Machine * machine
the architecture definition of the estimated processor
MachineTester(const TTAMachine::Machine &machine)
bool unknownSocketDirection() const
virtual bool canBridge(const TTAMachine::Bus &source, const TTAMachine::Bus &destination)
const TTAMachine::Machine * machine_
The machine on which the tests are carried out.
bool illegalRegistration() const
const TTAMachine::Bus * branchedBus_
If the reason for failure when trying to bridge two busses is that a branch in the bus chain would be...
bool noConnections() const
TTAMachine::Port * sameDirOutputSocketConn_
If the reason for failure when tried to set socket direction to output was that the socket is connect...
MachineTester & operator=(const MachineTester &tester)
bool wrongSocketDirection() const
TTAMachine::Port * sameDirInputSocketConn_
If the reason for failure when tried to set socket direction to input was that the socket is connecte...
TTAMachine::Bus * branchedBus() const
bool registerFilePortAlreadyConnected() const
TTAMachine::Port * sameDirSocketConnection(TTAMachine::Socket::Direction direction) const
static bool isValidComponentName(const std::string &name)
bool wrongSocketDirection_
Indicates if the reason for failure when trying to connect a socket to a port was that the direction ...
bool legalPortConnections(const TTAMachine::Socket &socket, TTAMachine::Socket::Direction direction)
static bool areInSameChain(const TTAMachine::Bus &bus1, const TTAMachine::Bus &bus2)
bool connectionExists() const
TTAMachine::Port * forbiddenInputSocketDir_
If the reason for failure when tried to set socket direction to input was the socket is connected to ...
bool loop_
Indicates if the reason for failure when trying to bridge two busses is that a loop in the bus chain ...
TTAMachine::Port * forbiddenSocketDirection(TTAMachine::Socket::Direction direction) const
virtual bool canSetDirection(const TTAMachine::Socket &socket, TTAMachine::Socket::Direction direction)
bool unknownDir_
Indicates if tried to set the socket direction to Socket::UNKNOWN.
bool rfPortAlreadyConnected_
Indicates if the reason for failure is that a port of register file is already connected to a particu...
bool maxConnections() const
bool illegalRegistration_
Indicates if the reason for last test failure was illegal registration.
bool maxConnections_
Indicates if the reason for failure when trying to connect a socket to a port was that this connectio...
bool connectionExists_
Indicates if the reason for the last test failure is that the tested connection already exists.