case class MaskMapping(base: BigInt, mask: BigInt) extends AddressMapping with Product with Serializable
Creates an address mapping using a bit mask.
MaskMapping(0x0000, 0x8000) => matches 0x0000-0x8000 MaskMapping(0x40, 0xF0) => matches 0x40 - 0x4F
- base
Address offset to use. Must be inside the mask
- mask
Bit mask applied to the address before the check
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MaskMapping
- Serializable
- Serializable
- Product
- Equals
- AddressMapping
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
MaskMapping(base: BigInt, mask: BigInt)
- base
Address offset to use. Must be inside the mask
- mask
Bit mask applied to the address before the check
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
- val base: BigInt
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
foreach(body: (BigInt) ⇒ Unit): Unit
- Definition Classes
- AddressMapping
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
highestBound: Nothing
- Definition Classes
- MaskMapping → AddressMapping
-
def
hit(address: BigInt): Boolean
- Definition Classes
- MaskMapping → AddressMapping
-
def
hit(address: UInt): Bool
- Definition Classes
- MaskMapping → AddressMapping
-
def
intersect(that: AddressMapping): AddressMapping
- Definition Classes
- AddressMapping
-
def
intersectImpl(that: AddressMapping, path: List[AddressMapping] = Nil): AddressMapping
- Definition Classes
- AddressMapping
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lowerBound: BigInt
- Definition Classes
- MaskMapping → AddressMapping
- val mask: BigInt
-
def
maxSequentialSize: BigInt
- Definition Classes
- AddressMapping
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
randomPick(): BigInt
- Definition Classes
- MaskMapping → AddressMapping
-
def
randomPick(bytes: BigInt, aligned: Boolean): BigInt
- Definition Classes
- AddressMapping
-
def
removeOffset(address: UInt): UInt
- Definition Classes
- MaskMapping → AddressMapping
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
width: Int
- Definition Classes
- AddressMapping
-
def
withOffset(addressOffset: BigInt): AddressMapping
- Definition Classes
- MaskMapping → AddressMapping
-
def
withOffset(t: AddressTransformer): AddressMapping
- Definition Classes
- AddressMapping
-
def
withOffsetInvert(t: AddressTransformer): AddressMapping
- Definition Classes
- AddressMapping
Deprecated Value Members
-
def
applyOffset(addressOffset: BigInt): AddressMapping
- Definition Classes
- AddressMapping
- Annotations
- @deprecated
- Deprecated
Use withOffset instead
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated