void extract(YAML::Node params, std::map< std::string, std::map< std::string, int > > &settings)
Extract a map of page_name, param_name to their values by crawling the YAML tree.
Definition: Compile.cxx:595
Polarfire Interaction Library.
Definition: Backend.h:8
std::map< std::string, std::map< std::string, int > > defaults()
get the default parameter values as specified in the manual
Definition: Compile.cxx:550
void compile(const std::string &page, const std::string ¶m, const int &val, std::map< int, std::map< int, uint8_t > > ®isters)
Overlay a single parameter onto the input register map.
Definition: Compile.cxx:406
int str_to_int(std::string str)
Get an integer from the input string.
Definition: Compile.cxx:379
void extract(const std::vector< std::string > &setting_files, std::map< std::string, std::map< std::string, int > > &settings)
Extract the page name, parameter name, and parameter values from the YAML files into the passed setti...
Definition: Compile.cxx:561
std::map< std::string, std::map< std::string, int > > decompile(const std::map< int, std::map< int, uint8_t > > &compiled_config, bool be_careful)
unpack register values into the page names, parameter names and parameter values mapping
Definition: Compile.cxx:474
std::vector< std::string > parameters(const std::string &page)
get the parameter names for the input page-type
Definition: Compile.cxx:522
std::string upper_cp(const std::string &str)
Get a copy of the input string with all caps.
Definition: Compile.cxx:400