mirror of https://github.com/YosysHQ/yosys.git
Remove unnecessary pack() from SigSpec::extend_u0()
This commit is contained in:
parent
b612c1bb39
commit
619f49eabe
|
|
@ -5259,8 +5259,6 @@ void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
|
||||||
{
|
{
|
||||||
cover("kernel.rtlil.sigspec.extend_u0");
|
cover("kernel.rtlil.sigspec.extend_u0");
|
||||||
|
|
||||||
pack();
|
|
||||||
|
|
||||||
if (width_ > width)
|
if (width_ > width)
|
||||||
remove(width, width_ - width);
|
remove(width, width_ - width);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue