mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 14:53:42 +00:00
backends/rtlil: Do not shorten a value with z bits to 'x
This commit is contained in:
parent
541fdffff2
commit
b08a880704
4 changed files with 22 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue