diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 0740ef297..7092eb0ed 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -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; diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 131c7a433..713718499 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -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 &bits) : bits(bits) { flags = CONST_FLAG_NONE; } Const(const std::vector &bits);