projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92dce21
)
Added SigMap::allbits()
author
Clifford Wolf
<clifford@clifford.at>
Mon, 31 Aug 2015 14:42:19 +0000
(16:42 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 31 Aug 2015 14:42:19 +0000
(16:42 +0200)
kernel/sigtools.h
patch
|
blob
|
history
diff --git
a/kernel/sigtools.h
b/kernel/sigtools.h
index 7082ace4c988cab3647c7cee4588e0759f063b0b..a9419f876038874125239badb5b46e7026a04d7c 100644
(file)
--- a/
kernel/sigtools.h
+++ b/
kernel/sigtools.h
@@
-421,6
+421,14
@@
struct SigMap
apply(sig);
return sig;
}
+
+ RTLIL::SigSpec allbits() const
+ {
+ RTLIL::SigSpec sig;
+ for (auto &it : bits)
+ sig.append(SigBit(it.first.first, it.first.second));
+ return sig;
+ }
};
YOSYS_NAMESPACE_END