mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-05 13:56:04 +00:00
Remove unnecessary pack() from SigSpec::extend_u0()
This commit is contained in:
parent
d314c47a55
commit
dbb8354996
1 changed files with 0 additions and 2 deletions
|
|
@ -5251,8 +5251,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…
Add table
Add a link
Reference in a new issue