Skip to content

Commit 92f42a1

Browse files
committed
apply comments
1 parent e7cddac commit 92f42a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

vpr/src/base/stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int count_netlist_clocks();
2828
* @brief Calculate the device utilization
2929
*
3030
* Calculate the device utilization (i.e. fraction of used grid tiles)
31-
* foor the specified grid and resource requirements
31+
* for the specified grid and resource requirements
3232
*/
3333
float calculate_device_utilization(const DeviceGrid& grid, const std::map<t_logical_block_type_ptr, size_t>& instance_counts);
3434

vpr/src/base/vpr_api.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) {
385385
}
386386

387387
vpr_create_device(vpr_setup, arch);
388+
// If packing is not skipped, cluster netlist contain valid information, so
389+
// we can print the resource usage and device utilization
388390
if (vpr_setup.PackerOpts.doPacking != STAGE_SKIP) {
389391
float target_device_utilization = vpr_setup.PackerOpts.target_device_utilization;
390392
// Print the number of resources in netlist and number of resources available in architecture

0 commit comments

Comments
 (0)