PandA-2024.02
Data Structures | Macros | Typedefs | Enumerations
Parameter.hpp File Reference

this class is used to manage the command-line or XML options. More...

#include "custom_map.hpp"
#include "custom_set.hpp"
#include "exceptions.hpp"
#include "refcount.hpp"
#include "string_manipulation.hpp"
#include "config_HAVE_BAMBU_RESULTS_XML.hpp"
#include "config_HAVE_FROM_AADL_ASN_BUILT.hpp"
#include "config_HAVE_FROM_C_BUILT.hpp"
#include "config_HAVE_HLS_BUILT.hpp"
#include "config_HAVE_HOST_PROFILING_BUILT.hpp"
#include "config_HAVE_TECHNOLOGY_BUILT.hpp"
#include "config_HAVE_TO_C_BUILT.hpp"
#include "config_RELEASE.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <climits>
#include <filesystem>
#include <list>
#include <string>
#include <vector>
Include dependency graph for Parameter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  OptionMap
 
class  Parameter
 

Macros

#define PARAMETER_PARSED   INT_MIN
 An integer value to return if parameters have been right parsed. More...
 
#define PARAMETER_NOTPARSED   INT_MAX
 
#define BAMBU_OPTIONS
 
#define FRAMEWORK_OPTIONS
 
#define COMPILER_OPTIONS
 
#define SYNTHESIS_OPTIONS
 
#define SPIDER_OPTIONS
 
#define EUCALIPTUS_OPTIONS   (component_name)
 
#define TREE_PANDA_COMPILER_OPTIONS   (archive_files)(obj_files)(compress_archive)
 
#define OPTIONS_ENUM(r, data, elem)   BOOST_PP_CAT(OPT_, elem),
 
#define DEFAULT_OPT_BASE   512
 
#define OPT_READ_PARAMETERS_XML   DEFAULT_OPT_BASE
 
#define OPT_WRITE_PARAMETERS_XML   (1 + OPT_READ_PARAMETERS_XML)
 
#define OPT_DEBUG_CLASSES   (1 + OPT_WRITE_PARAMETERS_XML)
 
#define OPT_BENCHMARK_NAME   (1 + OPT_DEBUG_CLASSES)
 
#define OPT_BENCHMARK_FAKE_PARAMETERS   (1 + OPT_BENCHMARK_NAME)
 
#define INPUT_OPT_ERROR_ON_WARNING   (1 + OPT_BENCHMARK_FAKE_PARAMETERS)
 
#define OPT_OUTPUT_TEMPORARY_DIRECTORY   (1 + INPUT_OPT_ERROR_ON_WARNING)
 
#define INPUT_OPT_PRINT_DOT   (1 + OPT_OUTPUT_TEMPORARY_DIRECTORY)
 
#define INPUT_OPT_SEED   (1 + INPUT_OPT_PRINT_DOT)
 
#define INPUT_OPT_NO_CLEAN   (1 + INPUT_OPT_SEED)
 
#define INPUT_OPT_CONFIGURATION_NAME   (1 + INPUT_OPT_NO_CLEAN)
 
#define INPUT_OPT_MAX_TRANSFORMATIONS   (1 + INPUT_OPT_CONFIGURATION_NAME)
 
#define INPUT_OPT_FIND_MAX_TRANSFORMATIONS   (1 + INPUT_OPT_MAX_TRANSFORMATIONS)
 
#define INPUT_OPT_PANDA_PARAMETER   (1 + INPUT_OPT_FIND_MAX_TRANSFORMATIONS)
 
#define COMMON_SHORT_OPTIONS_STRING   "hVv:d:"
 define the default tool short option string More...
 
#define COMMON_LONG_OPTIONS
 define default TOOL long options More...
 
#define INPUT_OPT_CUSTOM_OPTIONS   1024
 
#define INPUT_OPT_COMPUTE_SIZEOF   (1 + INPUT_OPT_CUSTOM_OPTIONS)
 
#define INPUT_OPT_COMPILER   (1 + INPUT_OPT_COMPUTE_SIZEOF)
 
#define INPUT_OPT_GCC_CONFIG   (1 + INPUT_OPT_COMPILER)
 
#define INPUT_OPT_INCLUDE_SYSDIR   (1 + INPUT_OPT_GCC_CONFIG)
 
#define INPUT_OPT_PARAM   (1 + INPUT_OPT_INCLUDE_SYSDIR)
 
#define INPUT_OPT_READ_GCC_XML   (1 + INPUT_OPT_PARAM)
 
#define INPUT_OPT_STD   (1 + INPUT_OPT_READ_GCC_XML)
 
#define INPUT_OPT_USE_RAW   (1 + INPUT_OPT_STD)
 
#define INPUT_OPT_WRITE_GCC_XML   (1 + INPUT_OPT_USE_RAW)
 
#define LAST_GCC_OPT   INPUT_OPT_WRITE_GCC_XML
 
#define GCC_SHORT_OPTIONS_STRING   "cf:I:D:U:O::l:L:W:Em:g::"
 define the GCC short option string More...
 
#define GCC_LONG_OPTIONS_RAW_XML
 
#define GCC_LONG_OPTIONS_COMPILER   {"compiler", required_argument, nullptr, INPUT_OPT_COMPILER},
 
#define GCC_LONG_OPTIONS
 

Typedefs

using ParameterRef = refcount< Parameter >
 
using ParameterConstRef = refcount< const Parameter >
 

Enumerations

enum  enum_option
 Possible options. More...
 
enum  Parameters_FileFormat {
  Parameters_FileFormat::FF_UNKNOWN = 0, Parameters_FileFormat::FF_CSV, Parameters_FileFormat::FF_TEX, Parameters_FileFormat::FF_TGFF,
  Parameters_FileFormat::FF_VERILOG, Parameters_FileFormat::FF_VHDL, Parameters_FileFormat::FF_XML, Parameters_FileFormat::FF_XML_EXPERIMENTAL_SETUP,
  Parameters_FileFormat::FF_XML_SKIP_ROW, Parameters_FileFormat::FF_XML_SYM_SIM, Parameters_FileFormat::FF_XML_TEX_TABLE, Parameters_FileFormat::FF_XML_WGT_GM,
  Parameters_FileFormat::FF_XML_WGT_SYM
}
 File formats. More...
 

Detailed Description

this class is used to manage the command-line or XML options.

It has to be specialized with respect to the tool

Author
Christian Pilato pilat.nosp@m.o@el.nosp@m.et.po.nosp@m.limi.nosp@m..it
Marco Lattuada lattu.nosp@m.ada@.nosp@m.elet..nosp@m.poli.nosp@m.mi.it

Definition in file Parameter.hpp.

Macro Definition Documentation

◆ BAMBU_OPTIONS

#define BAMBU_OPTIONS
Value:
(chaining)(chaining_algorithm)(constraints_file)(context_switch)(controller_architecture)(datapath_architecture)( \
distram_threshold)(DSP_allocation_coefficient)(DSP_margin_combinational)(DSP_margin_pipelined)(DSP_fracturing)( \
estimate_logic_and_connections)(evaluation)(evaluation_mode)(evaluation_objectives)(experimental_setup)( \
export_core)(export_core_mode)(fsm_encoding)(fu_binding_algorithm)(generate_testbench)(generate_vcd)(hls_flow)( \
hls_div)(hls_fpdiv)(interface)(interface_type)(additional_top)(data_bus_bitsize)(addr_bus_bitsize)( \
libm_std_rounding)(liveness_algorithm)(scheduling_mux_margins)(scheduling_priority)(scheduling_algorithm)( \
simulate)(simulator)(simulation_output)(speculative)(pipelining)(storage_value_insertion_algorithm)(stg)( \
stg_algorithm)(register_allocation_algorithm)(register_grouping)(registered_inputs)(resp_model)( \
datapath_interconnection_algorithm)(insert_memory_profile)(top_file)(assert_debug)( \
memory_allocation_algorithm)(memory_allocation_policy)(xml_memory_allocation)(rom_duplication)(base_address)( \
reset_type)(reset_level)(reg_init_value)(clock_period_resource_fraction)(channels_type)(channels_number)( \
memory_controller_type)(soft_float)(soft_fp)(fp_subnormal)(max_sim_cycles)(sparse_memory)(max_ulp)( \
skip_pipe_parameter)(gcc_serialize_memory_accesses)(unaligned_access)(aligned_access)( \
backend_script_extensions)(backend_sdc_extensions)(VHDL_library)(bitvalue_ipa)(use_asynchronous_memories)( \
do_not_chain_memories)(bram_high_latency)(cdfc_module_binding_algorithm)(function_allocation_algorithm)( \
testbench_input_string)(testbench_input_file)(testbench_argv)(testbench_param_size)(testbench_map_mode)( \
weighted_clique_register_algorithm)(disable_function_proxy)(memory_mapped_top)(expose_globals)(connect_iob)( \
profiling_output)(disable_bounded_function)(discrepancy)(discrepancy_force)(discrepancy_hw)( \
discrepancy_no_load_pointers)(discrepancy_only)(discrepancy_permissive_ptrs)(generate_taste_architecture)( \
initial_internal_address)(mem_delay_read)(mem_delay_write)(tb_queue_size)(memory_banks_number)(mixed_design)( \
no_parse_c_python)(num_accelerators)(technology_file)(tb_extra_gcc_options)(timing_violation_abort)( \
top_design_name)(serialize_output)(use_ALUs)(range_analysis_mode)(fp_format)(fp_format_propagate)( \
fp_format_interface)(fp_rounding_mode)(fp_exception_mode)(parallel_backend)(architecture_xml)(lattice_root)( \
lattice_settings)(lattice_pmi_def)(lattice_inc_dirs)(xilinx_root)(xilinx_settings)(xilinx_vivado_settings)( \
xilinx_glbl)(mentor_root)(mentor_modelsim_bin)(mentor_optimizer)(verilator)(verilator_timescale_override)( \
verilator_parallel)(altera_root)(quartus_settings)(quartus_13_settings)(quartus_13_64bit)(nanoxplore_root)( \
nanoxplore_settings)(nanoxplore_bypass)(shared_input_registers)(inline_functions)(constraints_functions)( \
axi_burst_type)
Class definition for high level synthesis result evaluationThis class is the abstract class for all k...

Definition at line 96 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ COMMON_LONG_OPTIONS

#define COMMON_LONG_OPTIONS
Value:
{"help", no_argument, nullptr, 'h'}, {"verbosity", required_argument, nullptr, 'v'}, \
{"version", no_argument, nullptr, 'V'}, \
{"read-parameters-XML", required_argument, nullptr, OPT_READ_PARAMETERS_XML}, \
{"write-parameters-XML", required_argument, nullptr, OPT_WRITE_PARAMETERS_XML}, \
{"debug", required_argument, nullptr, 'd'}, {"debug-classes", required_argument, nullptr, OPT_DEBUG_CLASSES}, \
{"no-clean", no_argument, nullptr, INPUT_OPT_NO_CLEAN}, \
{"benchmark-name", required_argument, nullptr, OPT_BENCHMARK_NAME}, \
{"configuration-name", required_argument, nullptr, INPUT_OPT_CONFIGURATION_NAME}, \
{"benchmark-fake-parameters", required_argument, nullptr, OPT_BENCHMARK_FAKE_PARAMETERS}, \
{"output-temporary-directory", required_argument, nullptr, OPT_OUTPUT_TEMPORARY_DIRECTORY}, \
{"error-on-warning", no_argument, nullptr, INPUT_OPT_ERROR_ON_WARNING}, \
{"print-dot", no_argument, nullptr, INPUT_OPT_PRINT_DOT}, {"seed", required_argument, nullptr, INPUT_OPT_SEED}, \
{"max-transformations", required_argument, nullptr, INPUT_OPT_MAX_TRANSFORMATIONS}, \
{"find-max-transformations", no_argument, nullptr, INPUT_OPT_FIND_MAX_TRANSFORMATIONS}, \
{ \
"panda-parameter", required_argument, nullptr, INPUT_OPT_PANDA_PARAMETER \
}
#define INPUT_OPT_ERROR_ON_WARNING
Definition: Parameter.hpp:190
#define INPUT_OPT_NO_CLEAN
Definition: Parameter.hpp:194
#define OPT_READ_PARAMETERS_XML
Definition: Parameter.hpp:185
#define OPT_WRITE_PARAMETERS_XML
Definition: Parameter.hpp:186
#define INPUT_OPT_CONFIGURATION_NAME
Definition: Parameter.hpp:195
#define OPT_BENCHMARK_NAME
Definition: Parameter.hpp:188
#define INPUT_OPT_PRINT_DOT
Definition: Parameter.hpp:192
#define OPT_BENCHMARK_FAKE_PARAMETERS
Definition: Parameter.hpp:189
#define INPUT_OPT_MAX_TRANSFORMATIONS
Definition: Parameter.hpp:196
#define OPT_DEBUG_CLASSES
Definition: Parameter.hpp:187
#define INPUT_OPT_PANDA_PARAMETER
Definition: Parameter.hpp:198
#define INPUT_OPT_FIND_MAX_TRANSFORMATIONS
Definition: Parameter.hpp:197
#define INPUT_OPT_SEED
Definition: Parameter.hpp:193
#define OPT_OUTPUT_TEMPORARY_DIRECTORY
Definition: Parameter.hpp:191

define default TOOL long options

Definition at line 204 of file Parameter.hpp.

Referenced by tree_panda_gcc_parameter::Exec(), SpiderParameter::Exec(), EucalyptusParameter::Exec(), and BambuParameter::Exec().

◆ COMMON_SHORT_OPTIONS_STRING

#define COMMON_SHORT_OPTIONS_STRING   "hVv:d:"

define the default tool short option string

Definition at line 201 of file Parameter.hpp.

Referenced by tree_panda_gcc_parameter::Exec(), SpiderParameter::Exec(), EucalyptusParameter::Exec(), and BambuParameter::Exec().

◆ COMPILER_OPTIONS

#define COMPILER_OPTIONS
Value:
(gcc_config)(gcc_costs)(gcc_defines)(gcc_extra_options)(gcc_include_sysdir)(gcc_includes)(gcc_libraries)( \
gcc_library_directories)(gcc_openmp_simd)(compiler_opt_level)(gcc_m32_mx32)(gcc_optimizations)( \
gcc_optimization_set)(gcc_parameters)(gcc_plugindir)(gcc_read_xml)(gcc_standard)(gcc_undefines)(gcc_warnings)( \
gcc_c)(gcc_E)(gcc_S)(gcc_write_xml)

Definition at line 136 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ DEFAULT_OPT_BASE

#define DEFAULT_OPT_BASE   512

Definition at line 184 of file Parameter.hpp.

◆ EUCALIPTUS_OPTIONS

#define EUCALIPTUS_OPTIONS   (component_name)

Definition at line 151 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ FRAMEWORK_OPTIONS

#define FRAMEWORK_OPTIONS
Value:
(benchmark_name)(cat_args)(find_max_transformations)(max_transformations)(compatible_compilers)(compute_size_of)( \
configuration_name)(debug_level)(default_compiler)(dot_directory)(host_compiler)(ilp_max_time)(ilp_solver)( \
input_file)(input_format)(no_clean)(no_parse_files)(no_return_zero)(output_file)(output_level)( \
output_temporary_directory)(output_directory)(panda_parameter)(parse_pragma)(pretty_print)(print_dot)( \
profiling_method)(program_name)(read_parameter_xml)(revision)(seed)(test_multiple_non_deterministic_flows)( \
test_single_non_deterministic_flow)(top_functions_names)(xml_input_configuration)(xml_output_configuration)( \
write_parameter_xml)(ignore_parallelism)(ignore_mapping)(mapping)(sequence_length)(without_transformation)( \
blackbox)(input_libraries)(frontend_statistics)(exec_argv)(path)
string benchmark_name
Definition: test_panda.py:828

Definition at line 126 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ GCC_LONG_OPTIONS

#define GCC_LONG_OPTIONS
Value:
GCC_LONG_OPTIONS_COMPILER{"std", required_argument, nullptr, INPUT_OPT_STD}, \
GCC_LONG_OPTIONS_RAW_XML{"param", required_argument, nullptr, INPUT_OPT_PARAM}, \
{"Include-sysdir", no_argument, nullptr, INPUT_OPT_INCLUDE_SYSDIR}, \
{"gcc-config", no_argument, nullptr, INPUT_OPT_GCC_CONFIG}, \
{"compute-sizeof", no_argument, nullptr, INPUT_OPT_COMPUTE_SIZEOF}, \
{ \
"extra-gcc-options", required_argument, nullptr, INPUT_OPT_CUSTOM_OPTIONS \
}
#define INPUT_OPT_GCC_CONFIG
Definition: Parameter.hpp:226
#define INPUT_OPT_COMPUTE_SIZEOF
Definition: Parameter.hpp:224
#define INPUT_OPT_STD
Definition: Parameter.hpp:230
#define INPUT_OPT_PARAM
Definition: Parameter.hpp:228
#define INPUT_OPT_CUSTOM_OPTIONS
Definition: Parameter.hpp:223
#define INPUT_OPT_INCLUDE_SYSDIR
Definition: Parameter.hpp:227
#define GCC_LONG_OPTIONS_COMPILER
Definition: Parameter.hpp:246

Definition at line 248 of file Parameter.hpp.

Referenced by tree_panda_gcc_parameter::Exec(), and BambuParameter::Exec().

◆ GCC_LONG_OPTIONS_COMPILER

#define GCC_LONG_OPTIONS_COMPILER   {"compiler", required_argument, nullptr, INPUT_OPT_COMPILER},

Definition at line 246 of file Parameter.hpp.

◆ GCC_LONG_OPTIONS_RAW_XML

#define GCC_LONG_OPTIONS_RAW_XML
Value:
{"use-raw", no_argument, nullptr, INPUT_OPT_USE_RAW}, \
{"read-GCC-XML", required_argument, nullptr, INPUT_OPT_READ_GCC_XML}, \
{"write-GCC-XML", required_argument, nullptr, INPUT_OPT_WRITE_GCC_XML},
#define INPUT_OPT_READ_GCC_XML
Definition: Parameter.hpp:229
#define INPUT_OPT_USE_RAW
Definition: Parameter.hpp:231
#define INPUT_OPT_WRITE_GCC_XML
Definition: Parameter.hpp:232

Definition at line 239 of file Parameter.hpp.

◆ GCC_SHORT_OPTIONS_STRING

#define GCC_SHORT_OPTIONS_STRING   "cf:I:D:U:O::l:L:W:Em:g::"

define the GCC short option string

Definition at line 236 of file Parameter.hpp.

Referenced by tree_panda_gcc_parameter::Exec(), and BambuParameter::Exec().

◆ INPUT_OPT_COMPILER

#define INPUT_OPT_COMPILER   (1 + INPUT_OPT_COMPUTE_SIZEOF)

Definition at line 225 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_COMPUTE_SIZEOF

#define INPUT_OPT_COMPUTE_SIZEOF   (1 + INPUT_OPT_CUSTOM_OPTIONS)

Definition at line 224 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_CONFIGURATION_NAME

#define INPUT_OPT_CONFIGURATION_NAME   (1 + INPUT_OPT_NO_CLEAN)

Definition at line 195 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_CUSTOM_OPTIONS

#define INPUT_OPT_CUSTOM_OPTIONS   1024

Definition at line 223 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_ERROR_ON_WARNING

#define INPUT_OPT_ERROR_ON_WARNING   (1 + OPT_BENCHMARK_FAKE_PARAMETERS)

Definition at line 190 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_FIND_MAX_TRANSFORMATIONS

#define INPUT_OPT_FIND_MAX_TRANSFORMATIONS   (1 + INPUT_OPT_MAX_TRANSFORMATIONS)

Definition at line 197 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_GCC_CONFIG

#define INPUT_OPT_GCC_CONFIG   (1 + INPUT_OPT_COMPILER)

Definition at line 226 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_INCLUDE_SYSDIR

#define INPUT_OPT_INCLUDE_SYSDIR   (1 + INPUT_OPT_GCC_CONFIG)

Definition at line 227 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_MAX_TRANSFORMATIONS

#define INPUT_OPT_MAX_TRANSFORMATIONS   (1 + INPUT_OPT_CONFIGURATION_NAME)

Definition at line 196 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_NO_CLEAN

#define INPUT_OPT_NO_CLEAN   (1 + INPUT_OPT_SEED)

Definition at line 194 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_PANDA_PARAMETER

#define INPUT_OPT_PANDA_PARAMETER   (1 + INPUT_OPT_FIND_MAX_TRANSFORMATIONS)

Definition at line 198 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_PARAM

#define INPUT_OPT_PARAM   (1 + INPUT_OPT_INCLUDE_SYSDIR)

Definition at line 228 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_PRINT_DOT

#define INPUT_OPT_PRINT_DOT   (1 + OPT_OUTPUT_TEMPORARY_DIRECTORY)

Definition at line 192 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_READ_GCC_XML

#define INPUT_OPT_READ_GCC_XML   (1 + INPUT_OPT_PARAM)

Definition at line 229 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_SEED

#define INPUT_OPT_SEED   (1 + INPUT_OPT_PRINT_DOT)

Definition at line 193 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_STD

#define INPUT_OPT_STD   (1 + INPUT_OPT_READ_GCC_XML)

Definition at line 230 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_USE_RAW

#define INPUT_OPT_USE_RAW   (1 + INPUT_OPT_STD)

Definition at line 231 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ INPUT_OPT_WRITE_GCC_XML

#define INPUT_OPT_WRITE_GCC_XML   (1 + INPUT_OPT_USE_RAW)

Definition at line 232 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ LAST_GCC_OPT

#define LAST_GCC_OPT   INPUT_OPT_WRITE_GCC_XML

Definition at line 233 of file Parameter.hpp.

◆ OPT_BENCHMARK_FAKE_PARAMETERS

#define OPT_BENCHMARK_FAKE_PARAMETERS   (1 + OPT_BENCHMARK_NAME)

Definition at line 189 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPT_BENCHMARK_NAME

#define OPT_BENCHMARK_NAME   (1 + OPT_DEBUG_CLASSES)

Definition at line 188 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPT_DEBUG_CLASSES

#define OPT_DEBUG_CLASSES   (1 + OPT_WRITE_PARAMETERS_XML)

Definition at line 187 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPT_OUTPUT_TEMPORARY_DIRECTORY

#define OPT_OUTPUT_TEMPORARY_DIRECTORY   (1 + INPUT_OPT_ERROR_ON_WARNING)

Definition at line 191 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPT_READ_PARAMETERS_XML

#define OPT_READ_PARAMETERS_XML   DEFAULT_OPT_BASE

Definition at line 185 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPT_WRITE_PARAMETERS_XML

#define OPT_WRITE_PARAMETERS_XML   (1 + OPT_READ_PARAMETERS_XML)

Definition at line 186 of file Parameter.hpp.

Referenced by Parameter::ManageDefaultOptions().

◆ OPTIONS_ENUM

#define OPTIONS_ENUM (   r,
  data,
  elem 
)    BOOST_PP_CAT(OPT_, elem),

Definition at line 155 of file Parameter.hpp.

◆ PARAMETER_NOTPARSED

#define PARAMETER_NOTPARSED   INT_MAX

◆ PARAMETER_PARSED

#define PARAMETER_PARSED   INT_MIN

An integer value to return if parameters have been right parsed.

Definition at line 93 of file Parameter.hpp.

Referenced by tree_panda_gcc_parameter::Exec(), SpiderParameter::Exec(), EucalyptusParameter::Exec(), BambuParameter::Exec(), and main().

◆ SPIDER_OPTIONS

#define SPIDER_OPTIONS
Value:
(accuracy)(aggregated_features)(cross_validation)(experimental_setup_file)(latex_format_file)(max_bound)( \
maximum_error)(min_bound)(minimum_significance)(normalization_file)(normalization_sequences)(output_format)( \
precision)(processing_element_type)(skip_rows)(surviving_benchmarks)

Definition at line 146 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ SYNTHESIS_OPTIONS

#define SYNTHESIS_OPTIONS
Value:
(clock_period)(clock_name)(reset_name)(start_name)(done_name)(device_string)(synthesis_flow)(target_device_file)( \
target_device_script)(top_component)(writer_language)

Definition at line 142 of file Parameter.hpp.

Referenced by Parameter::Parameter().

◆ TREE_PANDA_COMPILER_OPTIONS

#define TREE_PANDA_COMPILER_OPTIONS   (archive_files)(obj_files)(compress_archive)

Definition at line 153 of file Parameter.hpp.

Referenced by Parameter::Parameter().

Typedef Documentation

◆ ParameterConstRef

Definition at line 759 of file Parameter.hpp.

◆ ParameterRef

Definition at line 758 of file Parameter.hpp.

Enumeration Type Documentation

◆ enum_option

Possible options.

Definition at line 159 of file Parameter.hpp.

◆ Parameters_FileFormat

enum Parameters_FileFormat
strong

File formats.

Enumerator
FF_UNKNOWN 

UNKNOWN.

FF_CSV 

(Input) comma separated value

FF_TEX 

(Output) Latex table

FF_TGFF 

(Input) task graph for free

FF_VERILOG 

(Input) verilog

FF_VHDL 

(Input) vhdl

FF_XML 

(Input/Output) XML

FF_XML_EXPERIMENTAL_SETUP 

(Input) XML storing experimental setup

FF_XML_SKIP_ROW 

(Input) XML benchhmarks to be execluded from training set

FF_XML_SYM_SIM 

(Input) XML storing symbolic symulation results

FF_XML_TEX_TABLE 

(Input) XML storing format of latex table to be produced

FF_XML_WGT_GM 

(Output) XML weights of single operations computed

FF_XML_WGT_SYM 

(Input/Output) XML symbolic weights

Definition at line 261 of file Parameter.hpp.


Generated on Mon Feb 12 2024 13:03:32 for PandA-2024.02 by doxygen 1.8.13