Skip to content

Commit

Permalink
Undo annoying commit bdc43c6
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Sep 19, 2024
1 parent db0317a commit 03f740e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions kernel/rtlil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion kernel/rtlil.h
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ struct RTLIL::Const
Const() : flags(RTLIL::CONST_FLAG_NONE) {}
Const(const std::string &str);
Const(int val, int width = 32);
Const(long long val, int width = 32);
Const(RTLIL::State bit, int width = 1);
Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; }
Const(const std::vector<bool> &bits);
Expand Down

0 comments on commit 03f740e

Please sign in to comment.