Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : Read AXI Master Mapping Register for Dynamic Virtual ID Remap - dynrd

Description

The Read AXI Master Mapping Register contains the USER, and ADDR page signals mapping values for transaction that dynamically remapped to one of the available 3-bit virtual IDs.

Register Layout

Bits Access Reset Description
[3:0] ??? 0x0 UNDEFINED
[8:4] RW 0x0 ARUSER value to SCU
[11:9] ??? 0x0 UNDEFINED
[13:12] RW 0x0 ARADDR 1GB Page Decoder
[31:14] ??? 0x0 UNDEFINED

Field : ARUSER value to SCU - user

This value is propagated to SCU as ARUSERS.

Field Access Macros:

#define ALT_ACPIDMAP_DYNRD_USER_LSB   4
 
#define ALT_ACPIDMAP_DYNRD_USER_MSB   8
 
#define ALT_ACPIDMAP_DYNRD_USER_WIDTH   5
 
#define ALT_ACPIDMAP_DYNRD_USER_SET_MSK   0x000001f0
 
#define ALT_ACPIDMAP_DYNRD_USER_CLR_MSK   0xfffffe0f
 
#define ALT_ACPIDMAP_DYNRD_USER_RESET   0x0
 
#define ALT_ACPIDMAP_DYNRD_USER_GET(value)   (((value) & 0x000001f0) >> 4)
 
#define ALT_ACPIDMAP_DYNRD_USER_SET(value)   (((value) << 4) & 0x000001f0)
 

Field : ARADDR 1GB Page Decoder - page

ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.

Field Access Macros:

#define ALT_ACPIDMAP_DYNRD_PAGE_LSB   12
 
#define ALT_ACPIDMAP_DYNRD_PAGE_MSB   13
 
#define ALT_ACPIDMAP_DYNRD_PAGE_WIDTH   2
 
#define ALT_ACPIDMAP_DYNRD_PAGE_SET_MSK   0x00003000
 
#define ALT_ACPIDMAP_DYNRD_PAGE_CLR_MSK   0xffffcfff
 
#define ALT_ACPIDMAP_DYNRD_PAGE_RESET   0x0
 
#define ALT_ACPIDMAP_DYNRD_PAGE_GET(value)   (((value) & 0x00003000) >> 12)
 
#define ALT_ACPIDMAP_DYNRD_PAGE_SET(value)   (((value) << 12) & 0x00003000)
 

Data Structures

struct  ALT_ACPIDMAP_DYNRD_s
 

Macros

#define ALT_ACPIDMAP_DYNRD_OFST   0x28
 

Typedefs

typedef struct ALT_ACPIDMAP_DYNRD_s ALT_ACPIDMAP_DYNRD_t
 

Data Structure Documentation

struct ALT_ACPIDMAP_DYNRD_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_ACPIDMAP_DYNRD.

Data Fields
uint32_t __pad0__: 4 UNDEFINED
uint32_t user: 5 ARUSER value to SCU
uint32_t __pad1__: 3 UNDEFINED
uint32_t page: 2 ARADDR 1GB Page Decoder
uint32_t __pad2__: 18 UNDEFINED

Macro Definitions

#define ALT_ACPIDMAP_DYNRD_USER_LSB   4

The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_USER register field.

#define ALT_ACPIDMAP_DYNRD_USER_MSB   8

The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_USER register field.

#define ALT_ACPIDMAP_DYNRD_USER_WIDTH   5

The width in bits of the ALT_ACPIDMAP_DYNRD_USER register field.

#define ALT_ACPIDMAP_DYNRD_USER_SET_MSK   0x000001f0

The mask used to set the ALT_ACPIDMAP_DYNRD_USER register field value.

#define ALT_ACPIDMAP_DYNRD_USER_CLR_MSK   0xfffffe0f

The mask used to clear the ALT_ACPIDMAP_DYNRD_USER register field value.

#define ALT_ACPIDMAP_DYNRD_USER_RESET   0x0

The reset value of the ALT_ACPIDMAP_DYNRD_USER register field.

#define ALT_ACPIDMAP_DYNRD_USER_GET (   value)    (((value) & 0x000001f0) >> 4)

Extracts the ALT_ACPIDMAP_DYNRD_USER field value from a register.

#define ALT_ACPIDMAP_DYNRD_USER_SET (   value)    (((value) << 4) & 0x000001f0)

Produces a ALT_ACPIDMAP_DYNRD_USER register field value suitable for setting the register.

#define ALT_ACPIDMAP_DYNRD_PAGE_LSB   12

The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_PAGE register field.

#define ALT_ACPIDMAP_DYNRD_PAGE_MSB   13

The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_PAGE register field.

#define ALT_ACPIDMAP_DYNRD_PAGE_WIDTH   2

The width in bits of the ALT_ACPIDMAP_DYNRD_PAGE register field.

#define ALT_ACPIDMAP_DYNRD_PAGE_SET_MSK   0x00003000

The mask used to set the ALT_ACPIDMAP_DYNRD_PAGE register field value.

#define ALT_ACPIDMAP_DYNRD_PAGE_CLR_MSK   0xffffcfff

The mask used to clear the ALT_ACPIDMAP_DYNRD_PAGE register field value.

#define ALT_ACPIDMAP_DYNRD_PAGE_RESET   0x0

The reset value of the ALT_ACPIDMAP_DYNRD_PAGE register field.

#define ALT_ACPIDMAP_DYNRD_PAGE_GET (   value)    (((value) & 0x00003000) >> 12)

Extracts the ALT_ACPIDMAP_DYNRD_PAGE field value from a register.

#define ALT_ACPIDMAP_DYNRD_PAGE_SET (   value)    (((value) << 12) & 0x00003000)

Produces a ALT_ACPIDMAP_DYNRD_PAGE register field value suitable for setting the register.

#define ALT_ACPIDMAP_DYNRD_OFST   0x28

The byte offset of the ALT_ACPIDMAP_DYNRD register from the beginning of the component.

Typedef Documentation

The typedef declaration for register ALT_ACPIDMAP_DYNRD.