CIRCT 22.0.0git
Loading...
Searching...
No Matches
Functions
Values.cpp File Reference
#include "esi/Values.h"
#include <algorithm>
#include <cstring>
#include <format>
Include dependency graph for Values.cpp:

Go to the source code of this file.

Functions

static std::string toPowerOfTwoString (const BitVector &bv, unsigned bitsPerDigit, bool uppercase)
 
static std::string toDecimalString (const BitVector &bv)
 

Function Documentation

◆ toDecimalString()

static std::string toDecimalString ( const BitVector bv)
static

Definition at line 321 of file Values.cpp.

References esi::BitVector::getBit(), and esi::BitVector::width().

Referenced by esi::operator<<(), and esi::BitVector::toString().

◆ toPowerOfTwoString()

static std::string toPowerOfTwoString ( const BitVector bv,
unsigned  bitsPerDigit,
bool  uppercase 
)
static

Definition at line 289 of file Values.cpp.

References esi::BitVector::getBit(), and esi::BitVector::width().

Referenced by esi::operator<<(), and esi::BitVector::toString().