mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +00:00
SigSpec::remove_const() to return SigSpec&
This commit is contained in:
parent
0b6d47f8bf
commit
d63f105708
2 changed files with 3 additions and 2 deletions
|
@ -3297,7 +3297,7 @@ void RTLIL::SigSpec::replace(int offset, const RTLIL::SigSpec &with)
|
|||
check();
|
||||
}
|
||||
|
||||
void RTLIL::SigSpec::remove_const()
|
||||
RTLIL::SigSpec& RTLIL::SigSpec::remove_const()
|
||||
{
|
||||
if (packed())
|
||||
{
|
||||
|
@ -3331,6 +3331,7 @@ void RTLIL::SigSpec::remove_const()
|
|||
}
|
||||
|
||||
check();
|
||||
return *this;
|
||||
}
|
||||
|
||||
void RTLIL::SigSpec::remove(int offset, int length)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue