bug fixed in the SDC CB hierarchy writer

This commit is contained in:
tangxifan 2020-05-06 14:56:04 -06:00
parent 10e1a4b2fe
commit 99fa51cb49
1 changed files with 2 additions and 2 deletions

View File

@ -157,13 +157,13 @@ void print_pnr_sdc_routing_cb_hierarchy(const std::string& sdc_dir,
/* Create the file name for SDC */
std::string sdc_fname(sdc_dir + generate_connection_block_module_name(cb_type, gsb_coordinate) + std::string(SDC_FILE_NAME_POSTFIX));
fp << "- " << cb_module_name << "\n";
fp << "- " << cb_module_name << ":" << "\n";
/* Go through all the instance */
for (const size_t& instance_id : module_manager.child_module_instances(top_module, cb_module)) {
std::string cb_instance_name = module_manager.instance_name(top_module, cb_module, instance_id);
fp << " ";
fp << "- " << cb_instance_name << ":" << "\n";
fp << "- " << cb_instance_name << "\n";
}
fp << "\n";