OpenASIP 2.2
Loading...
Searching...
No Matches
ProGeCmdLineOptions.hh
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 ProGeCmdLineOptions.hh
26 *
27 * Declaration of ProGeCmdLineOptions class.
28 *
29 * @author Lasse Laasonen 2005 (lasse.laasonen-no.spam-tut.fi)
30 * @author Otto Esko 2008 (otto.esko-no.spam-tut.fi)
31 * @note rating: red
32 */
33
34#ifndef TTA_PROGE_CMD_LINE_OPTIONS_HH
35#define TTA_PROGE_CMD_LINE_OPTIONS_HH
36
37#include <utility> // std::pair
38#include "CmdLineOptions.hh"
39/**
40 * Command line options for the command line interface of ProGe
41 * (generateprocessor).
42 */
44public:
46 virtual ~ProGeCmdLineOptions();
47
48 std::string processorToGenerate() const;
49 std::string bemFile() const;
50 std::string idfFile() const;
51 std::string hdl() const;
52 std::string outputDirectory() const;
53 std::string sharedOutputDirectory() const;
54 std::string pluginParametersQuery() const;
55 bool generateTestbench() const;
56
57 std::string mode() const;
58
59 // platform integrator params
60 std::string integratorName() const;
61 std::string imemType() const;
62 std::string dmemType() const;
63 int clockFrequency() const;
64 std::string tpefName() const;
65 std::string entityName() const;
66 bool useAbsolutePaths() const;
67 bool listAvailableIntegrators() const;
68 std::string deviceFamilyName() const;
69 std::string deviceName() const;
70 std::string simulationRuntime() const;
71 bool forceOutputDirectory() const;
72 bool asyncReset() const;
73 bool syncReset() const;
74 std::vector<std::string> commaSeparatedList(const std::string argumentName) const;
75 std::vector<std::string> hdbList() const;
76 std::vector<std::string> rfIcGateList() const;
77 std::vector<std::string> fuIcGateList() const;
78 std::vector<std::pair<std::string, std::string>> icdArgList() const;
79 bool preferHDLGeneration() const;
80 bool resetAllRegisters() const;
81 std::vector<std::string> fuBackRegistered() const;
82 std::vector<std::string> fuFrontRegistered() const;
83 std::vector<std::string> fuMiddleRegistered() const;
84
85 virtual void printVersion() const;
86 virtual void printHelp() const;
87};
88
89#endif
std::string mode() const
bool listAvailableIntegrators() const
std::string pluginParametersQuery() const
std::vector< std::pair< std::string, std::string > > icdArgList() const
std::vector< std::string > commaSeparatedList(const std::string argumentName) const
std::string tpefName() const
virtual void printVersion() const
std::vector< std::string > fuFrontRegistered() const
std::vector< std::string > hdbList() const
std::string hdl() const
std::string sharedOutputDirectory() const
virtual void printHelp() const
std::vector< std::string > rfIcGateList() const
std::string processorToGenerate() const
std::string imemType() const
std::string bemFile() const
std::string deviceFamilyName() const
std::vector< std::string > fuIcGateList() const
std::string idfFile() const
std::string dmemType() const
std::string outputDirectory() const
std::string simulationRuntime() const
std::string integratorName() const
std::string deviceName() const
std::string entityName() const
std::vector< std::string > fuMiddleRegistered() const
std::vector< std::string > fuBackRegistered() const