slang/numeric/SVInt.h file

Arbitrary precision integer support.

Namespaces

namespace slang
Root namespace.
namespace std
STL namespace.

Classes

struct slang::logic_t
Represents a single 4-state bit.
class slang::SVIntStorage
POD base class for SVInt that contains all data members.
class slang::SVInt
SystemVerilog arbitrary precision integer type.

Typedefs

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

Functions

auto literalBaseFromChar(char base, LiteralBase& result) -> bool
Specifies the base of an integer (for converting to/from a string)
auto clog2(const SVInt& v) -> uint32_t
Returns the ceiling of the log_2 of the value. If value is zero, returns zero.