Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87cf1d1

Browse files
authoredJun 5, 2024··
Merge branch 'master' into add_enable_pin_counting_filter_option_to_recluster_util
2 parents 46cce5e + a76e61b commit 87cf1d1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed
 

‎.gitmodules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
url = https://github.com/catchorg/Catch2.git
44
[submodule "libs/EXTERNAL/sockpp"]
55
path = libs/EXTERNAL/sockpp
6-
#url = git@github.com:fpagliughi/sockpp.git
7-
url = git@github.com:w0lek/sockpp.git # fork where in branch v1.0.0_no_complication_warnings there are compilation warnings fixes for upstream tag v1.0.0 of sockpp
6+
url = https://github.com/w0lek/sockpp.git # fork where in branch v1.0.0_no_complication_warnings there are compilation warnings fixes for upstream tag v1.0.0 of sockpp

‎vpr/src/base/read_place.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ void print_place(const char* net_file,
327327

328328
if (!place_ctx.block_locs.empty()) { //Only if placement exists
329329
for (auto blk_id : cluster_ctx.clb_nlist.blocks()) {
330-
fprintf(fp, "%s\t", cluster_ctx.clb_nlist.block_name(blk_id).c_str());
331-
if (strlen(cluster_ctx.clb_nlist.block_name(blk_id).c_str()) < 8)
330+
fprintf(fp, "%s\t", cluster_ctx.clb_nlist.block_pb(blk_id)->name);
331+
if (strlen(cluster_ctx.clb_nlist.block_pb(blk_id)->name) < 8)
332332
fprintf(fp, "\t");
333333

334334
fprintf(fp, "%d\t%d\t%d\t%d",

‎vpr/src/pack/re_cluster_util.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,11 @@ static void update_cluster_pb_stats(const t_pack_molecule* molecule,
722722
}
723723

724724
//Update atom netlist mapping
725-
atom_ctx.lookup.set_atom_clb(blk_id, clb_index);
725+
if (is_added) {
726+
atom_ctx.lookup.set_atom_clb(blk_id, clb_index);
727+
} else {
728+
atom_ctx.lookup.set_atom_clb(blk_id, ClusterBlockId::INVALID());
729+
}
726730

727731
const t_pb* atom_pb = atom_ctx.lookup.atom_pb(blk_id);
728732
VTR_ASSERT(atom_pb);

0 commit comments

Comments
 (0)
Please sign in to comment.