summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/sigtools.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sigtools.h b/kernel/sigtools.h
index 7082ace4..a9419f87 100644
--- 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