#ifndef BUILD_TOP_MODULE_MEMORY_H #define BUILD_TOP_MODULE_MEMORY_H /******************************************************************** * Include header files that are required by function declaration *******************************************************************/ #include #include #include "vtr_ndmatrix.h" #include "module_manager.h" #include "circuit_types.h" #include "circuit_library.h" #include "decoder_library.h" #include "device_grid.h" #include "device_rr_gsb.h" /******************************************************************** * Function declaration *******************************************************************/ /* begin namespace openfpga */ namespace openfpga { void organize_top_module_memory_modules(ModuleManager& module_manager, const ModuleId& top_module, const CircuitLibrary& circuit_lib, const e_config_protocol_type& sram_orgz_type, const CircuitModelId& sram_model, const DeviceGrid& grids, const vtr::Matrix& grid_instance_ids, const DeviceRRGSB& device_rr_gsb, const vtr::Matrix& sb_instance_ids, const std::map>& cb_instance_ids, const bool& compact_routing_hierarchy); void add_top_module_nets_memory_config_bus(ModuleManager& module_manager, DecoderLibrary& decoder_lib, const ModuleId& parent_module, const e_config_protocol_type& sram_orgz_type, const e_circuit_model_design_tech& mem_tech); } /* end namespace openfpga */ #endif