Skip to content

Commit 2c6da93

Browse files
authored
Merge pull request #751 from os-fpga/finished_merging_packer_fix
finished merging packer_fix
2 parents 769ccd3 + 2dabe84 commit 2c6da93

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ FILE(COPY ${PACKER_SRC_DIR}/cluster.cpp
133133
${PACKER_SRC_DIR}/cluster_util.h
134134
${PACKER_SRC_DIR}/output_clustering.cpp
135135
${PACKER_SRC_DIR}/output_clustering.h
136-
# ${PACKER_SRC_DIR}/cluster_router.cpp
136+
${PACKER_SRC_DIR}/cluster_router.cpp
137137
${PACKER_SRC_DIR}/post_routing_pb_pin_fixup.cpp
138138
DESTINATION
139139
${VPR_DEST_DIR}/src/pack)

include/packer_fix/cluster.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
398398
* Since some of the primitives might fail legality, this structure temporarily
399399
* stores PartitionRegion information while the cluster is packed*/
400400
PartitionRegion temp_cluster_pr;
401+
NocGroupId temp_cluster_noc_grp_id = NocGroupId::INVALID();
401402

402-
#if 0
403403
start_new_cluster(helper_ctx.cluster_placement_stats, helper_ctx.primitives_list,
404404
clb_index, istart,
405405
num_used_type_instances,
@@ -413,8 +413,7 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
413413
packer_opts.enable_pin_feasibility_filter,
414414
balance_block_type_utilization,
415415
packer_opts.feasible_block_array_size,
416-
temp_cluster_pr);
417-
#endif ////00000000000000000000000000000000000000000000000000
416+
temp_cluster_pr, temp_cluster_noc_grp_id);
418417

419418
//initial molecule in cluster has been processed
420419
cluster_stats.num_molecules_processed++;
@@ -497,7 +496,6 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
497496
break;
498497
}
499498

500-
#if 0
501499
try_fill_cluster(packer_opts,
502500
cur_cluster_placement_stats_ptr,
503501
prev_molecule,
@@ -520,12 +518,12 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
520518
router_data,
521519
target_ext_pin_util,
522520
temp_cluster_pr,
521+
temp_cluster_noc_grp_id,
523522
block_pack_status,
524523
clustering_data.unclustered_list_head,
525524
unclustered_list_head_size,
526525
net_output_feeds_driving_block_input,
527526
primitive_candidate_block_types);
528-
#endif ////////000000000000000
529527

530528
i++;
531529

planning/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static const char* _pln_VERSION_STR = "pln0243";
1+
static const char* _pln_VERSION_STR = "pln0244";
22

33
#include "RS/rsEnv.h"
44
#include "util/pln_log.h"

0 commit comments

Comments
 (0)