Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Dec 3, 2024
1 parent f81dbf2 commit c33f7b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions passes/hierarchy/keep_hierarchy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN

struct ThresholdHiearchyKeeping {
struct ThresholdHierarchyKeeping {
Design *design;
CellCosts costs;
dict<Module *, int> done;
pool<Module *> in_progress;
uint64_t threshold;

ThresholdHiearchyKeeping(Design *design, uint64_t threshold)
ThresholdHierarchyKeeping(Design *design, uint64_t threshold)
: design(design), costs(design), threshold(threshold) {}

uint64_t visit(RTLIL::Module *module) {
Expand Down Expand Up @@ -116,7 +116,7 @@ struct KeepHierarchyPass : public Pass {
if (!top)
log_cmd_error("'-min_cost' mode requires a single top module in the design\n");

ThresholdHiearchyKeeping worker(design, min_cost);
ThresholdHierarchyKeeping worker(design, min_cost);
worker.visit(top);
} else {
for (auto module : design->selected_modules()) {
Expand Down

0 comments on commit c33f7b9

Please sign in to comment.