CommonOps

dfhdl.internals.CommonOps
object CommonOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CommonOps.type

Members list

Extensions

Extensions

extension [T](list: List[T])
def reduceTree(f: (T, T) => T): T
extension (value: BigInt)
def asSigned(ofWidth: Int): BigInt
def asUnsigned(ofWidth: Int): BigInt
def asUnsigned: BigInt
def bitsWidth(signed: Boolean): Int
def toBitVector(width: Int): BitVector
def truncateAsUnsigned(width: Int): BigInt
extension (value: Int)
def bitsWidth(signed: Boolean): Int
extension (value: BigInt.type)
def maxSignedFromWidth(width: Int): BigInt
def maxUnsignedFromWidth(width: Int): BigInt
def minSignedFromWidth(width: Int): BigInt
extension (value: Int)
def toBitVector(width: Int): BitVector
def toPaddedString(maxValue: Int, padWithZeros: Boolean): String
def toPaddedString(maxValue: Int): String
extension (value: Boolean)
def toBitVector(width: Int): BitVector