Class CsrMap

java.lang.Object
cbsw.CsrMap

public class CsrMap extends Object

This class encapsulates a register set and map.

  • Field Details

    • type

      public String type

      A type that identifies the device for this CsrMap.

    • csrSize

      public int csrSize

      The register map size in bytes.

    • csrAddress

      public int csrAddress

      The register address offset in bytes.

    • csrStep

      public int csrStep

      The register address step in bytes between repeated blocks.

    • descriptors

      public ArrayList<RegisterDescriptor> descriptors

      The register descriptors.

    • hash

      The map of register names to descriptors.

  • Constructor Details

    • CsrMap

      public CsrMap(CsrMap csrMap)

      Constructor called by CsrMapAdapter.

      Parameters:
      csrMap - A CsrMap to clone.
    • CsrMap

      public CsrMap()

      No-argument constructor required by unmarshaller.