From c33f7b92f73af3d4d7cdfed6e6dc287d38ddb267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Tue, 3 Dec 2024 11:11:02 +0100 Subject: [PATCH] Fix typo --- passes/hierarchy/keep_hierarchy.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/passes/hierarchy/keep_hierarchy.cc b/passes/hierarchy/keep_hierarchy.cc index 7253004e4..61c66551b 100644 --- a/passes/hierarchy/keep_hierarchy.cc +++ b/passes/hierarchy/keep_hierarchy.cc @@ -23,14 +23,14 @@ USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN -struct ThresholdHiearchyKeeping { +struct ThresholdHierarchyKeeping { Design *design; CellCosts costs; dict done; pool 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) { @@ -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()) {