OpenASIP  2.0
MachineTestReportTextGenerator.cc
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2009 Tampere University.
3 
4  This file is part of TTA-Based Codesign Environment (TCE).
5 
6  Permission is hereby granted, free of charge, to any person obtaining a
7  copy of this software and associated documentation files (the "Software"),
8  to deal in the Software without restriction, including without limitation
9  the rights to use, copy, modify, merge, publish, distribute, sublicense,
10  and/or sell copies of the Software, and to permit persons to whom the
11  Software is furnished to do so, subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in
14  all copies or substantial portions of the Software.
15 
16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  DEALINGS IN THE SOFTWARE.
23  */
24 /**
25  * @file MachineTestReportTextGenerator.cc
26  *
27  * Implementation of MachineTestReportTextGenerator class.
28  *
29  * @author Lasse Laasonen 2004 (lasse.laasonen-no.spam-tut.fi)
30  */
31 
33 
34 
35 /**
36  * Constructor.
37  */
40  "Connection of socket '%1%' and segment '%2%' of bus "
41  "'%3%' already exists.");
43  "Socket '%1%' and bus '%2%' are not registered to the same "
44  "machine.");
46  "Direction of socket '%1%' can be neither input nor output "
47  "because connection to port is '%2%' of unit '%3%' is illegal "
48  "if the direction is input and connection to port '%4%' of unit "
49  "'%5%' is illegal in the case that direction is output.");
51  "Socket '%1%' and unit '%2%' are not registrered to the same "
52  "machine.");
54  "Connection of socket '%1%' and port '%2%' of unit '%3%' "
55  "already exists.");
57  "Connection of socket '%1%' and port '%2%' of register file "
58  "'%3%' is illegal because two ports of a register file cannot "
59  "be connected to the same socket.");
61  "Connection of socket '%1%' and port '%2%' of unit '%3%' is "
62  "illegal because of the direction of the socket.");
64  "Connection of socket '%1%' and port '%2%' of unit '%3%' is "
65  "illegal because the port has maximum number of connections.");
67  "Buses '%1%' and '%2%' are not registered to the same machine.");
69  "Bridging buses '%1%' and '%2%' would create a loop into the "
70  "bus chain.");
72  "There is already a bridge between buses '%1%' and '%2%'.");
74  "Cannot bridge buses '%1%' and '%2%' because bus '%3%' would be "
75  "branched.");
77  "Direction of socket '%1%' can never be set to UNKNOWN.");
79  "Direction of socket '%1%' cannot be set because it has no "
80  "segments connected.");
82  "Direction of socket '%1%' cannot be '%2%' because it is "
83  "connected to port '%3%' of unit '%4%' which is already "
84  "connected to another socket of the same direction.");
86  "Direction of socket '%1%' cannot be '%2%' because it is "
87  "connected to port '%3%' of unit '%4%' which doesn't allow "
88  "sockets of that direction to be connected.");
89 }
90 
91 
92 /**
93  * Destructor.
94  */
96 }
MachineTestReportTextGenerator.hh
MachineTestReportTextGenerator::MachineTestReportTextGenerator
MachineTestReportTextGenerator()
Definition: MachineTestReportTextGenerator.cc:38
MachineTestReportTextGenerator::TXT_SOCKET_SEGMENT_CONN_EXISTS
@ TXT_SOCKET_SEGMENT_CONN_EXISTS
Definition: MachineTestReportTextGenerator.hh:47
MachineTestReportTextGenerator::TXT_SOCKET_SEGMENT_CONN_BOTH_DIRS_ARE_ILLEGAL
@ TXT_SOCKET_SEGMENT_CONN_BOTH_DIRS_ARE_ILLEGAL
Definition: MachineTestReportTextGenerator.hh:49
MachineTestReportTextGenerator::TXT_BRIDGE_EXISTS
@ TXT_BRIDGE_EXISTS
Definition: MachineTestReportTextGenerator.hh:57
MachineTestReportTextGenerator::TXT_SOCKET_SAME_DIR_CONN
@ TXT_SOCKET_SAME_DIR_CONN
Definition: MachineTestReportTextGenerator.hh:61
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
MachineTestReportTextGenerator::TXT_BRIDGE_BRANCHED_BUS
@ TXT_BRIDGE_BRANCHED_BUS
Definition: MachineTestReportTextGenerator.hh:58
MachineTestReportTextGenerator::TXT_SOCKET_FORBIDDEN_DIR
@ TXT_SOCKET_FORBIDDEN_DIR
Definition: MachineTestReportTextGenerator.hh:62
MachineTestReportTextGenerator::TXT_SOCKET_PORT_CONN_RF_PORT_CONN_EXISTS
@ TXT_SOCKET_PORT_CONN_RF_PORT_CONN_EXISTS
Definition: MachineTestReportTextGenerator.hh:52
MachineTestReportTextGenerator::TXT_BRIDGE_ILLEGAL_REG
@ TXT_BRIDGE_ILLEGAL_REG
Definition: MachineTestReportTextGenerator.hh:55
MachineTestReportTextGenerator::~MachineTestReportTextGenerator
virtual ~MachineTestReportTextGenerator()
Definition: MachineTestReportTextGenerator.cc:95
MachineTestReportTextGenerator::TXT_SOCKET_PORT_CONN_MAX_CONN
@ TXT_SOCKET_PORT_CONN_MAX_CONN
Definition: MachineTestReportTextGenerator.hh:54
MachineTestReportTextGenerator::TXT_SOCKET_PORT_CONN_EXISTS
@ TXT_SOCKET_PORT_CONN_EXISTS
Definition: MachineTestReportTextGenerator.hh:51
MachineTestReportTextGenerator::TXT_SOCKET_PORT_CONN_ILLEGAL_REG
@ TXT_SOCKET_PORT_CONN_ILLEGAL_REG
Definition: MachineTestReportTextGenerator.hh:50
MachineTestReportTextGenerator::TXT_BRIDGE_LOOP
@ TXT_BRIDGE_LOOP
Definition: MachineTestReportTextGenerator.hh:56
MachineTestReportTextGenerator::TXT_SOCKET_SEGMENT_CONN_ILLEGAL_REG
@ TXT_SOCKET_SEGMENT_CONN_ILLEGAL_REG
Definition: MachineTestReportTextGenerator.hh:48
MachineTestReportTextGenerator::TXT_SOCKET_NO_CONN
@ TXT_SOCKET_NO_CONN
Definition: MachineTestReportTextGenerator.hh:60
MachineTestReportTextGenerator::TXT_SOCKET_PORT_CONN_WRONG_SOCKET_DIR
@ TXT_SOCKET_PORT_CONN_WRONG_SOCKET_DIR
Definition: MachineTestReportTextGenerator.hh:53
MachineTestReportTextGenerator::TXT_SOCKET_DIR_UNKNOWN
@ TXT_SOCKET_DIR_UNKNOWN
Definition: MachineTestReportTextGenerator.hh:59