aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2023-01-30 16:14:24 +0100
committerGitHub <noreply@github.com>2023-01-30 16:14:24 +0100
commitc235802f4acf85b04c175a6b643aed17dd4c6f8c (patch)
treefdef94bb6219fec593acaf4b4ec2b75edc291805 /kernel/rtlil.h
parent419f91a2b99fbd1b61b09682947dbb782c19a97d (diff)
parentb08a8807044980b7906362848f62291ede50e696 (diff)
downloadyosys-c235802f4acf85b04c175a6b643aed17dd4c6f8c.tar.gz
yosys-c235802f4acf85b04c175a6b643aed17dd4c6f8c.tar.bz2
yosys-c235802f4acf85b04c175a6b643aed17dd4c6f8c.zip
Merge pull request #3650 from jix/rtlil_roundtrip_z_bits
backends/rtlil: Do not shorten a value with z bits to 'x
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 42bb66da8..7c7669caa 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -686,6 +686,7 @@ struct RTLIL::Const
bool is_fully_ones() const;
bool is_fully_def() const;
bool is_fully_undef() const;
+ bool is_fully_undef_x_only() const;
bool is_onehot(int *pos = nullptr) const;
inline RTLIL::Const extract(int offset, int len = 1, RTLIL::State padding = RTLIL::State::S0) const {