vpr: Add post-filtering netlist pattern echo file
diff --git a/vpr/src/pack/prepack.cpp b/vpr/src/pack/prepack.cpp
index e3e4f46..415e757 100644
--- a/vpr/src/pack/prepack.cpp
+++ b/vpr/src/pack/prepack.cpp
@@ -1364,13 +1364,18 @@
}
{ //Debug
- std::ofstream ofs_matches("pack_pattern_matches.echo");
+ std::ofstream ofs_matches("pack_pattern_matches.raw.echo");
write_pack_pattern_matches(ofs_matches, raw_netlist_matches, atom_ctx.nlist);
}
//Some matches may be redundant or invalid (e.g. match only external blocks), so remove them
auto final_netlist_matches = filter_netlist_pattern_matches(raw_netlist_matches);
+ { //Debug
+ std::ofstream ofs_matches("pack_pattern_matches.filtered.echo");
+ write_pack_pattern_matches(ofs_matches, final_netlist_matches, atom_ctx.nlist);
+ }
+
//Convert the final matches to molecules for use during packing
PackMolecules molecules = create_molecules(final_netlist_matches, atom_ctx.nlist);