[Lib] Fixed a bug in writer

This commit is contained in:
tangxifan 2022-02-17 17:12:07 -08:00
parent 4b3f906f11
commit e60d7d12b7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ int write_xml_bus(std::fstream& fp,
write_xml_attribute(fp, XML_PIN_INDEX_ATTRIBUTE_NAME, bus_group.pin_index(pin_id));
write_xml_attribute(fp, XML_PIN_NAME_ATTRIBUTE_NAME, bus_group.pin_name(pin_id).c_str());
fp << "</" << XML_PIN_NODE_NAME << "/>" << "\n";
fp << "/>" << "\n";
}
openfpga::write_tab_to_file(fp, 1);