projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c652774
)
Chenged "extensions_map" to "extensions_list" in hierarchy.cc
author
Clifford Wolf
<clifford@clifford.at>
Tue, 27 Mar 2018 12:12:57 +0000
(14:12 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 27 Mar 2018 12:12:57 +0000
(14:12 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/hierarchy/hierarchy.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/hierarchy.cc
b/passes/hierarchy/hierarchy.cc
index 21a232572e2d9453a2d2630e35a9998d334ebca8..ba960faf4f6823d34430a1f2c6338cb8caf43f01 100644
(file)
--- 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<std::string, std::string> extensions_map
=
+ static const
vector<pair<string, string>> 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)) {