fix bug in duplicate pin addition

This commit is contained in:
tangxifan 2019-12-26 16:24:05 -07:00
parent ef9ed2ccbc
commit b374056e78
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void add_grid_module_duplicated_pb_type_ports(ModuleManager& module_manager,
module_manager.add_port(grid_module, grid_upper_port, pin_type2type_map[pin_class_type]);
std::string lower_port_name = generate_grid_duplicated_port_name(iheight, side, ipin, false);
BasicPort grid_lower_port(upper_port_name, 0, 0);
BasicPort grid_lower_port(lower_port_name, 0, 0);
/* Add the port to the module */
module_manager.add_port(grid_module, grid_lower_port, pin_type2type_map[pin_class_type]);
}