3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-13 02:34:44 +00:00

Undo annoying commit bdc43c6592

This commit is contained in:
Akash Levy 2024-09-18 22:05:23 -07:00
parent db0317afc5
commit 03f740e2a4
2 changed files with 0 additions and 11 deletions

View file

@ -224,16 +224,6 @@ RTLIL::Const::Const(int val, int width)
}
}
RTLIL::Const::Const(long long val, int width)
{
flags = RTLIL::CONST_FLAG_NONE;
bits.reserve(width);
for (int i = 0; i < width; i++) {
bits.push_back((val & 1) != 0 ? State::S1 : State::S0);
val = val >> 1;
}
}
RTLIL::Const::Const(RTLIL::State bit, int width)
{
flags = RTLIL::CONST_FLAG_NONE;