OpenASIP 2.2
Loading...
Searching...
No Matches
PIGTextGenerator.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 PIGTextGenerator.cc
26 *
27 * Implementation of PIGTextGenerator class.
28 *
29 * @author Lasse Laasonen 2005 (lasse.laasonen-no.spam-tut.fi)
30 * @note rating: red
31 */
32
33#include "PIGTextGenerator.hh"
34
35/**
36 * The constructor.
37 */
40 "Encoding for instruction template '%1%' is missing from BEM.");
42 "Empty instruction template missing in machine.");
44 "BEM defines a move slot for bus '%1%' which does not exist "
45 "in the machine.");
47 "BEM defines an immediate slot that is not used by any "
48 "instruction template of the machine.");
50 "BEM does not define an encoding for always-true guard "
51 "expression for bus '%1%'.");
53 "BEM does not define an encoding for '%1%' FU guard expression "
54 "of port '%2%' of function unit '%3%'.");
56 "BEM does not define an encoding for '%1%' GPR guard expression "
57 "of register '%2%' of register file '%3%'.");
59 "BEM does not define an encoding for NOP on bus '%1%'.");
61 "BEM does not define an encoding for socket '%1%' at the %2% "
62 "of bus '%3%'.");
64 "BEM does not define an encoding for port of immediate unit "
65 "'%1%' which is connected to socket '%2%', in move slot '%3%'.");
67 "BEM does not define an encoding for port of register file "
68 "'%1%' which is connected to socket '%2%', in move slot '%3%'.");
70 "BEM does not define an encoding for opcode setting port of "
71 "function unit '%1%' for operation '%2%'.");
73 "Osal operation for operation code name '%1%' in function unit "
74 "'%2%' was not found.");
76 "BEM does not define an encoding for port '%1%' of function "
77 "unit '%2%' which is connected to socket '%3%'.");
79 "BEM does not define an encoding for immediate in the source "
80 "field of bus '%1%'.");
82 "File '%1%' not found.");
83}
84
85
86/**
87 * The destructor.
88 */
@ TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED
virtual ~PIGTextGenerator()
virtual void addText(int textId, const std::string &templateString)