| 106 | return true; |
| 107 | } |
| 108 | void DefWriter::writeCompBlock(FILE* os, std::vector<Node> const& vNode, std::vector<PlaceDB::index_type> const& vNodeIndex, |
| 109 | PlaceDB::coordinate_type const* x, PlaceDB::coordinate_type const* y) const |
| 110 | { |
| 111 | fprintf(os, "COMPONENTS %lu ;\n", vNodeIndex.size()); |
| 112 | for (auto node_id : vNodeIndex) |
| 113 | { |
| 114 | writeComp(os, vNode.at(node_id), x, y); |
| 115 | } |
| 116 | fprintf(os, "END COMPONENTS\n"); |
| 117 | } |
| 118 | void DefWriter::writeComp(FILE* os, Node const& n, |
| 119 | PlaceDB::coordinate_type const* x, PlaceDB::coordinate_type const* y) const |
| 120 | { |