aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-17 10:44:11 -0700
committerEddie Hung <eddie@fpgeh.com>2019-07-17 10:44:11 -0700
commitd63f1057083d625d4317da2b6934d0531129d961 (patch)
treeb7831bfb09651e1970f1190fe7624f3134fcc0ae /kernel/rtlil.h
parent0b6d47f8bfe3117817398a7a84a2d93dd339335b (diff)
downloadyosys-d63f1057083d625d4317da2b6934d0531129d961.tar.gz
yosys-d63f1057083d625d4317da2b6934d0531129d961.tar.bz2
yosys-d63f1057083d625d4317da2b6934d0531129d961.zip
SigSpec::remove_const() to return SigSpec&
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 8d88cc97c..b484f5306 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -767,7 +767,7 @@ public:
void remove2(const std::set<RTLIL::SigBit> &pattern, RTLIL::SigSpec *other);
void remove(int offset, int length = 1);
- void remove_const();
+ RTLIL::SigSpec& remove_const();
RTLIL::SigSpec extract(const RTLIL::SigSpec &pattern, const RTLIL::SigSpec *other = NULL) const;
RTLIL::SigSpec extract(const pool<RTLIL::SigBit> &pattern, const RTLIL::SigSpec *other = NULL) const;