OpenFPGA/openfpga/src/fabric/rename_modules.h

43 lines
1.6 KiB
C
Raw Normal View History

#ifndef RENAME_MODULES_H
#define RENAME_MODULES_H
/********************************************************************
* Include header files that are required by function declaration
*******************************************************************/
#include "device_rr_gsb.h"
2023-09-16 01:32:40 -05:00
#include "fabric_tile.h"
#include "module_manager.h"
2023-09-16 01:32:40 -05:00
#include "module_name_map.h"
/********************************************************************
* Function declaration
*******************************************************************/
/* begin namespace openfpga */
namespace openfpga {
2023-09-16 01:32:40 -05:00
int init_fabric_module_name_map(ModuleNameMap& module_name_map,
const ModuleManager& module_manager,
const bool& verbose);
2023-09-16 01:32:40 -05:00
int update_module_map_name_with_indexing_names(ModuleNameMap& module_name_map,
const DeviceRRGSB& device_rr_gsb,
const FabricTile& fabric_tile,
const bool& verbose);
2023-09-16 01:32:40 -05:00
int rename_fabric_modules(ModuleManager& module_manager,
const ModuleNameMap& module_name_map,
const bool& verbose);
2023-09-23 14:15:31 -05:00
int partial_rename_fabric_modules(ModuleManager& module_manager,
2023-09-23 14:15:53 -05:00
const ModuleNameMap& module_name_map,
const bool& verbose);
2023-09-23 14:15:31 -05:00
2023-09-23 14:15:53 -05:00
int update_module_name_map_with_user_version(
ModuleNameMap& curr_module_name_map,
const ModuleNameMap& user_module_name_map, const bool& verbose);
} /* end namespace openfpga */
#endif