Skip to content

Commit d2585f8

Browse files
Merge pull request #3095 from AlexandreSinger/feature-ap-mass-report
[AP][Legalizer] Added Ability to Generate a Mass Report
2 parents 7933a6c + 94f81e4 commit d2585f8

16 files changed

+660
-55
lines changed

doc/src/vpr/command_line_usage.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,6 +1336,15 @@ Analytical Placement is generally split into three stages:
13361336

13371337
**Default:** ``1``
13381338

1339+
.. option:: --ap_generate_mass_report {on | off}
1340+
1341+
Controls whether to generate a report on how the partial legalizer
1342+
within the AP flow calculates the mass of primitives and the
1343+
capacity of tiles on the device. This report is useful when
1344+
debugging the partial legalizer.
1345+
1346+
**Default:** ``off``
1347+
13391348

13401349
.. _router_options:
13411350

vpr/src/analytical_place/analytical_placement_flow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ static PartialPlacement run_global_placer(const t_ap_opts& ap_opts,
144144
device_ctx.physical_tile_types,
145145
pre_cluster_timing_manager,
146146
ap_opts.ap_timing_tradeoff,
147+
ap_opts.generate_mass_report,
147148
ap_opts.num_threads,
148149
ap_opts.log_verbosity);
149150
return global_placer->place();

0 commit comments

Comments
 (0)