aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_heap.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
committerD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
commit94e8847d674388c3c8ac663fa4912bb8029b2951 (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /common/placer_heap.cc
parent5fc3e8e4d2d82396e8ade480192379ccff95a931 (diff)
downloadnextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.gz
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.bz2
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.zip
cleanup: Spelling fixes
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common/placer_heap.cc')
-rw-r--r--common/placer_heap.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index 63d53b2d..f10d4139 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -195,8 +195,8 @@ class HeAPPlacer
}
if (cfg.placeAllAtOnce) {
- // Never want to deal with LUTs, FFs, MUXFxs seperately,
- // for now disable all single-cell-type runs and only have heteregenous
+ // Never want to deal with LUTs, FFs, MUXFxs separately,
+ // for now disable all single-cell-type runs and only have heterogeneous
// runs
heap_runs.clear();
}
@@ -205,7 +205,7 @@ class HeAPPlacer
// The main HeAP placer loop
log_info("Running main analytical placer.\n");
while (stalled < 5 && (solved_hpwl <= legal_hpwl * 0.8)) {
- // Alternate between particular Bel types and all bels
+ // Alternate between particular bel types and all bels
for (auto &run : heap_runs) {
auto run_startt = std::chrono::high_resolution_clock::now();
@@ -321,7 +321,7 @@ class HeAPPlacer
std::vector<std::vector<std::vector<std::vector<BelId>>>> fast_bels;
std::unordered_map<IdString, std::tuple<int, int>> bel_types;
- // For fast handling of heterogeneosity during initial placement without full legalisation,
+ // For fast handling of heterogeneity during initial placement without full legalisation,
// for each Bel type this goes from x or y to the nearest x or y where a Bel of a given type exists
// This is particularly important for the iCE40 architecture, where multipliers and BRAM only exist at the
// edges and corners respectively
@@ -1595,7 +1595,7 @@ class HeAPPlacer
std::accumulate(right_bels_v.begin(), right_bels_v.end(), 0) == 0)
return {};
- // Peturb the source cut to eliminate overutilisation
+ // Perturb the source cut to eliminate overutilisation
auto is_part_overutil = [&](bool r) {
double delta = 0;
for (size_t t = 0; t < left_cells_v.size(); t++) {