Skip to content

Commit c33f7b9

Browse files
committed
Fix typo
1 parent f81dbf2 commit c33f7b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

passes/hierarchy/keep_hierarchy.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
USING_YOSYS_NAMESPACE
2424
PRIVATE_NAMESPACE_BEGIN
2525

26-
struct ThresholdHiearchyKeeping {
26+
struct ThresholdHierarchyKeeping {
2727
Design *design;
2828
CellCosts costs;
2929
dict<Module *, int> done;
3030
pool<Module *> in_progress;
3131
uint64_t threshold;
3232

33-
ThresholdHiearchyKeeping(Design *design, uint64_t threshold)
33+
ThresholdHierarchyKeeping(Design *design, uint64_t threshold)
3434
: design(design), costs(design), threshold(threshold) {}
3535

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

119-
ThresholdHiearchyKeeping worker(design, min_cost);
119+
ThresholdHierarchyKeeping worker(design, min_cost);
120120
worker.visit(top);
121121
} else {
122122
for (auto module : design->selected_modules()) {

0 commit comments

Comments
 (0)