Packages

c

midas.widgets

MCRFileMap

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MCRFileMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MCRFileMap(bytesPerAddress: Int)

    bytesPerAddress

    The number of bytes of address space consumed by each bound register. Historical: MCR -> Midas Configuration Register

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allocate(entry: MCRMapEntry): Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindRegs(mcrIO: MCRIO): Unit
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. 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.

  11. def getAllRegs: Seq[(String, Int)]

    Return the name-address mapping of all registers.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def getSubstructRegs: Seq[(String, Int)]

    Return the name-address mapping of registers included in the substruct.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def lookupAddress(name: String): Option[Int]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def numRegs: Int
  21. def printCRs: Unit
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped