projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9672e2
)
Recognize stand-alone obj pattern even when it contains a slash
author
Clifford Wolf
<clifford@clifford.at>
Tue, 13 Feb 2018 13:55:24 +0000
(14:55 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 13 Feb 2018 13:55:24 +0000
(14:55 +0100)
passes/cmds/select.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/select.cc
b/passes/cmds/select.cc
index ae301040aff2a4ae9b43acc7d3f69a5253ad36a4..a0720797f1fa39071c580add5dbe019a74c3203a 100644
(file)
--- a/
passes/cmds/select.cc
+++ b/
passes/cmds/select.cc
@@
-760,6
+760,9
@@
static void select_stmt(RTLIL::Design *design, std::string arg)
if (!design->selected_active_module.empty()) {
arg_mod = design->selected_active_module;
arg_memb = arg;
+ } else
+ if (GetSize(arg) >= 2 && arg[0] >= 'a' && arg[0] <= 'z' && arg[1] == ':') {
+ arg_mod = "*", arg_memb = arg;
} else {
size_t pos = arg.find('/');
if (pos == std::string::npos) {