![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
The Write 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 | AWUSER value to SCU |
[11:9] | ??? | 0x0 | UNDEFINED |
[13:12] | RW | 0x0 | AWADDR 1GB Page Decoder |
[31:14] | ??? | 0x0 | UNDEFINED |
Field : AWUSER value to SCU - user | |
This value is propagated to SCU as AWUSERS. Field Access Macros: | |
#define | ALT_ACPIDMAP_DYNWR_USER_LSB 4 |
#define | ALT_ACPIDMAP_DYNWR_USER_MSB 8 |
#define | ALT_ACPIDMAP_DYNWR_USER_WIDTH 5 |
#define | ALT_ACPIDMAP_DYNWR_USER_SET_MSK 0x000001f0 |
#define | ALT_ACPIDMAP_DYNWR_USER_CLR_MSK 0xfffffe0f |
#define | ALT_ACPIDMAP_DYNWR_USER_RESET 0x0 |
#define | ALT_ACPIDMAP_DYNWR_USER_GET(value) (((value) & 0x000001f0) >> 4) |
#define | ALT_ACPIDMAP_DYNWR_USER_SET(value) (((value) << 4) & 0x000001f0) |
Field : AWADDR 1GB Page Decoder - page | |
AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. Field Access Macros: | |
#define | ALT_ACPIDMAP_DYNWR_PAGE_LSB 12 |
#define | ALT_ACPIDMAP_DYNWR_PAGE_MSB 13 |
#define | ALT_ACPIDMAP_DYNWR_PAGE_WIDTH 2 |
#define | ALT_ACPIDMAP_DYNWR_PAGE_SET_MSK 0x00003000 |
#define | ALT_ACPIDMAP_DYNWR_PAGE_CLR_MSK 0xffffcfff |
#define | ALT_ACPIDMAP_DYNWR_PAGE_RESET 0x0 |
#define | ALT_ACPIDMAP_DYNWR_PAGE_GET(value) (((value) & 0x00003000) >> 12) |
#define | ALT_ACPIDMAP_DYNWR_PAGE_SET(value) (((value) << 12) & 0x00003000) |
Data Structures | |
struct | ALT_ACPIDMAP_DYNWR_s |
Macros | |
#define | ALT_ACPIDMAP_DYNWR_OFST 0x2c |
Typedefs | |
typedef struct ALT_ACPIDMAP_DYNWR_s | ALT_ACPIDMAP_DYNWR_t |
struct ALT_ACPIDMAP_DYNWR_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_DYNWR.
Data Fields | ||
---|---|---|
uint32_t | __pad0__: 4 | UNDEFINED |
uint32_t | user: 5 | AWUSER value to SCU |
uint32_t | __pad1__: 3 | UNDEFINED |
uint32_t | page: 2 | AWADDR 1GB Page Decoder |
uint32_t | __pad2__: 18 | UNDEFINED |
#define ALT_ACPIDMAP_DYNWR_USER_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_USER register field.
#define ALT_ACPIDMAP_DYNWR_USER_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_USER register field.
#define ALT_ACPIDMAP_DYNWR_USER_WIDTH 5 |
The width in bits of the ALT_ACPIDMAP_DYNWR_USER register field.
#define ALT_ACPIDMAP_DYNWR_USER_SET_MSK 0x000001f0 |
The mask used to set the ALT_ACPIDMAP_DYNWR_USER register field value.
#define ALT_ACPIDMAP_DYNWR_USER_CLR_MSK 0xfffffe0f |
The mask used to clear the ALT_ACPIDMAP_DYNWR_USER register field value.
#define ALT_ACPIDMAP_DYNWR_USER_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_DYNWR_USER register field.
#define ALT_ACPIDMAP_DYNWR_USER_GET | ( | value | ) | (((value) & 0x000001f0) >> 4) |
Extracts the ALT_ACPIDMAP_DYNWR_USER field value from a register.
#define ALT_ACPIDMAP_DYNWR_USER_SET | ( | value | ) | (((value) << 4) & 0x000001f0) |
Produces a ALT_ACPIDMAP_DYNWR_USER register field value suitable for setting the register.
#define ALT_ACPIDMAP_DYNWR_PAGE_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_PAGE register field.
#define ALT_ACPIDMAP_DYNWR_PAGE_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_PAGE register field.
#define ALT_ACPIDMAP_DYNWR_PAGE_WIDTH 2 |
The width in bits of the ALT_ACPIDMAP_DYNWR_PAGE register field.
#define ALT_ACPIDMAP_DYNWR_PAGE_SET_MSK 0x00003000 |
The mask used to set the ALT_ACPIDMAP_DYNWR_PAGE register field value.
#define ALT_ACPIDMAP_DYNWR_PAGE_CLR_MSK 0xffffcfff |
The mask used to clear the ALT_ACPIDMAP_DYNWR_PAGE register field value.
#define ALT_ACPIDMAP_DYNWR_PAGE_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_DYNWR_PAGE register field.
#define ALT_ACPIDMAP_DYNWR_PAGE_GET | ( | value | ) | (((value) & 0x00003000) >> 12) |
Extracts the ALT_ACPIDMAP_DYNWR_PAGE field value from a register.
#define ALT_ACPIDMAP_DYNWR_PAGE_SET | ( | value | ) | (((value) << 12) & 0x00003000) |
Produces a ALT_ACPIDMAP_DYNWR_PAGE register field value suitable for setting the register.
#define ALT_ACPIDMAP_DYNWR_OFST 0x2c |
The byte offset of the ALT_ACPIDMAP_DYNWR register from the beginning of the component.
typedef struct ALT_ACPIDMAP_DYNWR_s ALT_ACPIDMAP_DYNWR_t |
The typedef declaration for register ALT_ACPIDMAP_DYNWR.