object BitUtils
- Source
- BitUtils.scala
- Alphabetic
- By Inheritance
- BitUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeMaskBig(bitWidth: Int): Big
creates a mask for all bits
creates a mask for all bits
- bitWidth
size of signal
-
def
makeMaskInt(bitWidth: Int): Int
creates a mask for all bits
creates a mask for all bits
- bitWidth
size of signal
-
def
makeMaskLong(bitWidth: Int): Long
creates a mask for all bits
creates a mask for all bits
- bitWidth
size of signal
-
def
makeMsbMaskBig(bitWidth: Int): Big
creates a mask for just the sign bit
creates a mask for just the sign bit
- bitWidth
size of signal
-
def
makeMsbMaskInt(bitWidth: Int): Int
creates a mask for just the sign bit
creates a mask for just the sign bit
- bitWidth
size of signal
-
def
makeMsbMaskLong(bitWidth: Int): Long
creates a mask for just the sign bit
creates a mask for just the sign bit
- bitWidth
size of signal
-
def
makeNextPowerOfTwoBig(bitWidth: Int): Big
creates the next power of two, a mask with just one bit at bitWidth + 1
creates the next power of two, a mask with just one bit at bitWidth + 1
- bitWidth
size of signal
-
def
makeNextPowerOfTwoInt(bitWidth: Int): Int
creates the next power of two, a mask with just one bit at bitWidth + 1
creates the next power of two, a mask with just one bit at bitWidth + 1
- bitWidth
size of signal
-
def
makeNextPowerOfTwoLong(bitWidth: Int): Long
creates the next power of two, a mask with just one bit at bitWidth + 1
creates the next power of two, a mask with just one bit at bitWidth + 1
- bitWidth
size of signal
-
def
makeUnsignedMaskBig(bitWidth: Int): Big
creates a mask for only the unsigned bits
creates a mask for only the unsigned bits
- bitWidth
size of signal
-
def
makeUnsignedMaskInt(bitWidth: Int): Int
creates a mask for only the unsigned bits
creates a mask for only the unsigned bits
- bitWidth
size of signal
-
def
makeUnsignedMaskLong(bitWidth: Int): Int
creates a mask for only the unsigned bits
creates a mask for only the unsigned bits
- bitWidth
size of signal
- def maskToWidthBig(value: Big, bitWidth: Int): Big
- def maskToWidthInt(value: Int, bitWidth: Int): Int
- def maskToWidthLong(value: Long, bitWidth: Int): Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()