3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Renamed extend_un0() to extend_u0() and use it in genrtlil

This commit is contained in:
Clifford Wolf 2013-11-07 18:17:10 +01:00
parent 0e1661f84e
commit 947bd9b96b
4 changed files with 12 additions and 8 deletions

View file

@ -940,7 +940,7 @@ void RTLIL::SigSpec::extend(int width, bool is_signed)
optimize();
}
void RTLIL::SigSpec::extend_un0(int width, bool is_signed)
void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
{
if (this->width > width)
remove(width, this->width - width);