From ee3c12d6d9cbdb213c3c203d563c040867c70770 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 27 Mar 2018 14:12:57 +0200 Subject: [PATCH] Chenged "extensions_map" to "extensions_list" in hierarchy.cc Signed-off-by: Clifford Wolf --- passes/hierarchy/hierarchy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 21a232572..ba960faf4 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -173,14 +173,14 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check for (auto &dir : libdirs) { - static const std::map extensions_map = + static const vector> extensions_list = { {".v", "verilog"}, {".sv", "verilog -sv"}, {".il", "ilang"} }; - for (auto &ext : extensions_map) + for (auto &ext : extensions_list) { filename = dir + "/" + RTLIL::unescape_id(cell->type) + ext.first; if (check_file_exists(filename)) {