Skip to content

Commit 8ffc583

Browse files
authored
Merge branch 'master' into openfpga
2 parents 755662b + 318e1c6 commit 8ffc583

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
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 = [email protected]:fpagliughi/sockpp.git
7-
url = [email protected]: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

libs/librrgraph/src/base/rr_graph_storage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,13 @@ class t_rr_graph_storage {
403403

404404
/** @brief Get the source node for the specified edge. */
405405
RRNodeId edge_src_node(const RREdgeId& edge) const {
406+
VTR_ASSERT_DEBUG(edge.is_valid());
406407
return edge_src_node_[edge];
407408
}
408409

409410
/** @brief Get the destination node for the specified edge. */
410411
RRNodeId edge_sink_node(const RREdgeId& edge) const {
412+
VTR_ASSERT_DEBUG(edge.is_valid());
411413
return edge_dest_node_[edge];
412414
}
413415

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
@@ -721,7 +721,11 @@ static void update_cluster_pb_stats(const t_pack_molecule* molecule,
721721
}
722722

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

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

vpr/src/route/connection_router.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ void ConnectionRouter<Heap>::timing_driven_expand_cheapest(t_heap* cheapest,
372372
VTR_LOGV_DEBUG(router_debug_, " Better cost to %d\n", inode);
373373
VTR_LOGV_DEBUG(router_debug_, " New total cost: %g\n", new_total_cost);
374374
VTR_LOGV_DEBUG(router_debug_, " New back cost: %g\n", new_back_cost);
375-
VTR_LOGV_DEBUG(router_debug_, " Setting path costs for associated node %d (from %d edge %zu)\n",
375+
VTR_LOGV_DEBUG(router_debug_ && (rr_nodes_.node_type(RRNodeId(cheapest->index)) != t_rr_type::SOURCE), " Setting path costs for associated node %d (from %d edge %zu)\n",
376376
cheapest->index,
377377
static_cast<size_t>(rr_graph_->edge_src_node(cheapest->prev_edge())),
378378
static_cast<size_t>(cheapest->prev_edge()));

0 commit comments

Comments
 (0)