summaryrefslogtreecommitdiff
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-23 21:34:14 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-23 21:34:14 +0200
commit2a41afb7b2415f824ea1f60337050c9f41c0e33f (patch)
treeaf7db353746c8177ffa374ba2667b3fac850bc48 /kernel/rtlil.h
parent20a7965f61a43b8c367b1042081a57b5a4005b33 (diff)
Added RTLIL::SigSpec::repeat()
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index a13164c3..95de5f8c 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -565,6 +565,8 @@ public:
void extend(int width, bool is_signed = false);
void extend_u0(int width, bool is_signed = false);
+ RTLIL::SigSpec repeat(int num) const;
+
bool operator <(const RTLIL::SigSpec &other) const;
bool operator ==(const RTLIL::SigSpec &other) const;
inline bool operator !=(const RTLIL::SigSpec &other) const { return !(*this == other); }