43 #include "config_PANDA_DATA_INSTALLDIR.hpp" 55 const DesignFlowManagerConstRef _design_flow_manager,
76 const char* builtin_resources_data[] = {
77 "C_COMPLEX_IPs.data",
"C_FP_IPs.data",
"C_HLS_IPs.data",
"C_IO_IPs.data",
78 "C_MEM_IPs.data",
"C_PC_IPs.data",
"CS_COMPONENT.data",
"C_PROFILING_IPs.data",
79 "C_STD_IPs.data",
"C_VEC_IPs.data",
"NC_HLS_IPs.data",
"NC_MEM_IPs.data",
80 "NC_PC_IPs.data",
"NC_SF_IPs.data",
"NC_STD_IPs.data",
"NC_VEC_IPs.data",
81 "NC_wishbone_IPs.data",
"NC_CACHE_IPs.data",
"NC_DATAFLOW_IPs.data"};
83 for(i = 0; i <
sizeof(builtin_resources_data) /
sizeof(
char*); ++i)
86 builtin_resources_data[i]);
96 catch(
const char* msg)
98 THROW_ERROR(
"Error during parsing of technology file: " + std::string(msg));
100 catch(
const std::string& msg)
102 THROW_ERROR(
"Error during parsing of technology file number " +
STR(i) +
" : " + msg);
104 catch(
const std::exception& ex)
106 THROW_ERROR(
"Error during parsing of technology file: " + std::string(ex.what()));
110 THROW_ERROR(
"Error during parsing of technology file - unknown exception");
RelationshipType
The relationship type.
~LoadDefaultTechnology() override
Destructor.
Class specification of the manager of the technology library data structures.
void xload(const xml_element *node)
Load a technology manager from an xml file.
#define STR(s)
Macro which performs a lexical_cast to a string.
Auxiliary methods for manipulating string.
redefinition of set to manage ordered/unordered structures
const technology_managerRef TM
The technology manager.
utility function used to read files.
DesignFlowStep_Status
The status of a step.
void Exec()
Parse an XML document from a file.
#define THROW_ERROR(str_expr)
helper function used to throw an error in a standard way
const CustomUnorderedSet< TechnologyFlowStep_Type > ComputeTechnologyRelationships(const DesignFlowStep::RelationshipType relationship_type) const override
Return the set of analyses in relationship with this design step.
This class loads default technology libraries.
LoadDefaultTechnology(const technology_managerRef TM, const generic_deviceRef target, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters)
Constructor.
xml_documentRef get_document()
Obtain the parsed document.
DesignFlowStep_Status Exec() override
Execute the step.
std::string relocate_compiler_path(const std::string &path, bool resolve_path=false)