slang/numeric/SVInt.h file

Arbitrary precision integer support.

Namespaces

namespace slang
Root namespace.
namespace std
STL namespace.

Classes

struct slang::logic_t
class slang::SVIntStorage
class slang::SVInt

Enums

enum class LiteralBase: uint8_t { Binary, Octal, Decimal, Hex }
Specifies the base of an integer (for converting to/from a string)

Typedefs

using bitwidth_t = uint32_t
A type that can represent the largest possible bit width of a SystemVerilog integer.

Functions

auto clog2(const SVInt& v) -> uint32_t
Returns the ceiling of the log_2 of the value. If value is zero, returns zero.