mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-14 21:08:47 +00:00
SigSpec::extend_u0() to return *this
This commit is contained in:
parent
5f00d335d4
commit
b29f26f6c7
|
@ -3426,7 +3426,7 @@ void RTLIL::SigSpec::append_bit(const RTLIL::SigBit &bit)
|
|||
check();
|
||||
}
|
||||
|
||||
void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
|
||||
RTLIL::SigSpec& RTLIL::SigSpec::extend_u0(int width, bool is_signed)
|
||||
{
|
||||
cover("kernel.rtlil.sigspec.extend_u0");
|
||||
|
||||
|
@ -3443,6 +3443,7 @@ void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
|
|||
append(padding);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
RTLIL::SigSpec RTLIL::SigSpec::repeat(int num) const
|
||||
|
|
|
@ -776,7 +776,7 @@ public:
|
|||
void append(const RTLIL::SigSpec &signal);
|
||||
void append_bit(const RTLIL::SigBit &bit);
|
||||
|
||||
void extend_u0(int width, bool is_signed = false);
|
||||
RTLIL::SigSpec& extend_u0(int width, bool is_signed = false);
|
||||
|
||||
RTLIL::SigSpec repeat(int num) const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue