class MCRFileMap extends AnyRef
Manages the metadata associated with a widget's configuration registers (exposed via the control bus). Registers are incrementally allocated, which each register consuming a fixed number of bytes of the address space.
This derives from a very early form of CSR handling in Rocket Chip which has since been replaced with diplomacy and its regmapper utilities.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MCRFileMap
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- def allocate(entry: MCRMapEntry): Int
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bindRegs(mcrIO: MCRIO): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def genAddressMap(base: BigInt, sb: StringBuilder): Unit
Append the C++ representation of the address map to a string builder.
Append the C++ representation of the address map to a string builder.
- base
Base address of the widget MMIO registers.
- sb
Builder to append to.
- def getAllRegs: Seq[(String, Int)]
Return the name-address mapping of all registers.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getSubstructRegs: Seq[(String, Int)]
Return the name-address mapping of registers included in the substruct.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lookupAddress(name: String): Option[Int]
- 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 numRegs: Int
- def printCRs: Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])