OpenASIP  2.0
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  */
44 public:
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
ProGeCmdLineOptions::~ProGeCmdLineOptions
virtual ~ProGeCmdLineOptions()
Definition: ProGeCmdLineOptions.cc:246
ProGeCmdLineOptions::printHelp
virtual void printHelp() const
Definition: ProGeCmdLineOptions.cc:552
ProGeCmdLineOptions::processorToGenerate
std::string processorToGenerate() const
Definition: ProGeCmdLineOptions.cc:256
ProGeCmdLineOptions::tpefName
std::string tpefName() const
Definition: ProGeCmdLineOptions.cc:356
ProGeCmdLineOptions::bemFile
std::string bemFile() const
Definition: ProGeCmdLineOptions.cc:267
ProGeCmdLineOptions::mode
std::string mode() const
ProGeCmdLineOptions::useAbsolutePaths
bool useAbsolutePaths() const
Definition: ProGeCmdLineOptions.cc:367
ProGeCmdLineOptions::icdArgList
std::vector< std::pair< std::string, std::string > > icdArgList() const
Definition: ProGeCmdLineOptions.cc:482
CmdLineOptions.hh
ProGeCmdLineOptions::generateTestbench
bool generateTestbench() const
Definition: ProGeCmdLineOptions.cc:372
ProGeCmdLineOptions::printVersion
virtual void printVersion() const
Definition: ProGeCmdLineOptions.cc:542
ProGeCmdLineOptions::asyncReset
bool asyncReset() const
Definition: ProGeCmdLineOptions.cc:436
ProGeCmdLineOptions::pluginParametersQuery
std::string pluginParametersQuery() const
Definition: ProGeCmdLineOptions.cc:321
ProGeCmdLineOptions
Definition: ProGeCmdLineOptions.hh:43
ProGeCmdLineOptions::idfFile
std::string idfFile() const
Definition: ProGeCmdLineOptions.cc:278
ProGeCmdLineOptions::commaSeparatedList
std::vector< std::string > commaSeparatedList(const std::string argumentName) const
Definition: ProGeCmdLineOptions.cc:444
ProGeCmdLineOptions::fuFrontRegistered
std::vector< std::string > fuFrontRegistered() const
Definition: ProGeCmdLineOptions.cc:513
ProGeCmdLineOptions::fuIcGateList
std::vector< std::string > fuIcGateList() const
Definition: ProGeCmdLineOptions.cc:503
ProGeCmdLineOptions::listAvailableIntegrators
bool listAvailableIntegrators() const
Definition: ProGeCmdLineOptions.cc:377
ProGeCmdLineOptions::hdbList
std::vector< std::string > hdbList() const
Definition: ProGeCmdLineOptions.cc:466
ProGeCmdLineOptions::fuBackRegistered
std::vector< std::string > fuBackRegistered() const
Definition: ProGeCmdLineOptions.cc:508
CmdLineOptions
Definition: CmdLineOptions.hh:54
ProGeCmdLineOptions::syncReset
bool syncReset() const
Definition: ProGeCmdLineOptions.cc:428
ProGeCmdLineOptions::clockFrequency
int clockFrequency() const
Definition: ProGeCmdLineOptions.cc:345
ProGeCmdLineOptions::imemType
std::string imemType() const
Definition: ProGeCmdLineOptions.cc:333
ProGeCmdLineOptions::simulationRuntime
std::string simulationRuntime() const
Definition: ProGeCmdLineOptions.cc:404
ProGeCmdLineOptions::preferHDLGeneration
bool preferHDLGeneration() const
Definition: ProGeCmdLineOptions.cc:526
ProGeCmdLineOptions::sharedOutputDirectory
std::string sharedOutputDirectory() const
Definition: ProGeCmdLineOptions.cc:310
ProGeCmdLineOptions::forceOutputDirectory
bool forceOutputDirectory() const
Definition: ProGeCmdLineOptions.cc:420
ProGeCmdLineOptions::fuMiddleRegistered
std::vector< std::string > fuMiddleRegistered() const
Definition: ProGeCmdLineOptions.cc:518
ProGeCmdLineOptions::ProGeCmdLineOptions
ProGeCmdLineOptions()
Definition: ProGeCmdLineOptions.cc:77
ProGeCmdLineOptions::dmemType
std::string dmemType() const
Definition: ProGeCmdLineOptions.cc:339
ProGeCmdLineOptions::deviceFamilyName
std::string deviceFamilyName() const
Definition: ProGeCmdLineOptions.cc:382
ProGeCmdLineOptions::hdl
std::string hdl() const
Definition: ProGeCmdLineOptions.cc:289
ProGeCmdLineOptions::outputDirectory
std::string outputDirectory() const
Definition: ProGeCmdLineOptions.cc:300
ProGeCmdLineOptions::resetAllRegisters
bool resetAllRegisters() const
Definition: ProGeCmdLineOptions.cc:534
ProGeCmdLineOptions::integratorName
std::string integratorName() const
Definition: ProGeCmdLineOptions.cc:327
ProGeCmdLineOptions::deviceName
std::string deviceName() const
Definition: ProGeCmdLineOptions.cc:391
ProGeCmdLineOptions::entityName
std::string entityName() const
Definition: ProGeCmdLineOptions.cc:362
ProGeCmdLineOptions::rfIcGateList
std::vector< std::string > rfIcGateList() const
Definition: ProGeCmdLineOptions.cc:474