PandA-2024.02
Public Types | Public Member Functions | Data Fields
DesignParameters Struct Reference

#include <DesignParameters.hpp>

Public Types

using map_t = std::map< std::string, std::string >
 Parameters map type. More...
 

Public Member Functions

DesignParametersRef clone () const
 Returns a clone of the current parameter configuration. More...
 
void assign (const std::string &name, const std::string &value, bool checkExisting)
 Assigns a value to a saved parameter. More...
 
std::string get_value (const std::string &name) const
 Returns the value associated with a parameter name. More...
 

Data Fields

std::string component_name
 Name of the component. More...
 
std::string chain_name
 Name of the flow. More...
 
map_t parameter_values
 Map between the name of the parameter and the corresponding string-based value. More...
 

Detailed Description

Definition at line 55 of file DesignParameters.hpp.

Member Typedef Documentation

◆ map_t

using DesignParameters::map_t = std::map<std::string, std::string>

Parameters map type.

Definition at line 64 of file DesignParameters.hpp.

Member Function Documentation

◆ assign()

void DesignParameters::assign ( const std::string &  name,
const std::string &  value,
bool  checkExisting 
)
inline

◆ clone()

DesignParametersRef DesignParameters::clone ( ) const
inline

Returns a clone of the current parameter configuration.

Definition at line 72 of file DesignParameters.hpp.

References chain_name, component_name, parameter_values, and lenet_tvm::params.

Referenced by BackendFlow::CreateScripts().

Here is the caller graph for this function:

◆ get_value()

std::string DesignParameters::get_value ( const std::string &  name) const
inline

Returns the value associated with a parameter name.

Parameters
nameParameter name.
Returns
a string representing the parameter value.

Definition at line 108 of file DesignParameters.hpp.

References THROW_ERROR.

Referenced by xst_wrapper::EvaluateVariables(), and xst_wrapper::GenerateProjectFile().

Here is the caller graph for this function:

Field Documentation

◆ chain_name

std::string DesignParameters::chain_name

◆ component_name

std::string DesignParameters::component_name

◆ parameter_values

map_t DesignParameters::parameter_values

The documentation for this struct was generated from the following file:

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