![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
The Write AXI Master Mapping Register contains the USER, ADDR page, and ID signals mapping values for particular transaction with 12-bit ID which locks the fixed 3-bit virtual ID.
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 |
[15:14] | ??? | 0x0 | UNDEFINED |
[27:16] | RW | 0x0 | Remap Master ID |
[30:28] | ??? | 0x0 | UNDEFINED |
[31] | RW | 0x0 | Force Mapping |
Field : AWUSER value to SCU - user | |
This value is propagated to SCU as AWUSERS. Field Access Macros: | |
#define | ALT_ACPIDMAP_VID3WR_USER_LSB 4 |
#define | ALT_ACPIDMAP_VID3WR_USER_MSB 8 |
#define | ALT_ACPIDMAP_VID3WR_USER_WIDTH 5 |
#define | ALT_ACPIDMAP_VID3WR_USER_SET_MSK 0x000001f0 |
#define | ALT_ACPIDMAP_VID3WR_USER_CLR_MSK 0xfffffe0f |
#define | ALT_ACPIDMAP_VID3WR_USER_RESET 0x0 |
#define | ALT_ACPIDMAP_VID3WR_USER_GET(value) (((value) & 0x000001f0) >> 4) |
#define | ALT_ACPIDMAP_VID3WR_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_VID3WR_PAGE_LSB 12 |
#define | ALT_ACPIDMAP_VID3WR_PAGE_MSB 13 |
#define | ALT_ACPIDMAP_VID3WR_PAGE_WIDTH 2 |
#define | ALT_ACPIDMAP_VID3WR_PAGE_SET_MSK 0x00003000 |
#define | ALT_ACPIDMAP_VID3WR_PAGE_CLR_MSK 0xffffcfff |
#define | ALT_ACPIDMAP_VID3WR_PAGE_RESET 0x0 |
#define | ALT_ACPIDMAP_VID3WR_PAGE_GET(value) (((value) & 0x00003000) >> 12) |
#define | ALT_ACPIDMAP_VID3WR_PAGE_SET(value) (((value) << 12) & 0x00003000) |
Field : Remap Master ID - mid | |
The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit ID to use. Field Access Macros: | |
#define | ALT_ACPIDMAP_VID3WR_MID_LSB 16 |
#define | ALT_ACPIDMAP_VID3WR_MID_MSB 27 |
#define | ALT_ACPIDMAP_VID3WR_MID_WIDTH 12 |
#define | ALT_ACPIDMAP_VID3WR_MID_SET_MSK 0x0fff0000 |
#define | ALT_ACPIDMAP_VID3WR_MID_CLR_MSK 0xf000ffff |
#define | ALT_ACPIDMAP_VID3WR_MID_RESET 0x0 |
#define | ALT_ACPIDMAP_VID3WR_MID_GET(value) (((value) & 0x0fff0000) >> 16) |
#define | ALT_ACPIDMAP_VID3WR_MID_SET(value) (((value) << 16) & 0x0fff0000) |
Field : Force Mapping - force | |
Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set to 0 to allow the 3-bit ID N to be dynamically allocated. Field Access Macros: | |
#define | ALT_ACPIDMAP_VID3WR_FORCE_LSB 31 |
#define | ALT_ACPIDMAP_VID3WR_FORCE_MSB 31 |
#define | ALT_ACPIDMAP_VID3WR_FORCE_WIDTH 1 |
#define | ALT_ACPIDMAP_VID3WR_FORCE_SET_MSK 0x80000000 |
#define | ALT_ACPIDMAP_VID3WR_FORCE_CLR_MSK 0x7fffffff |
#define | ALT_ACPIDMAP_VID3WR_FORCE_RESET 0x0 |
#define | ALT_ACPIDMAP_VID3WR_FORCE_GET(value) (((value) & 0x80000000) >> 31) |
#define | ALT_ACPIDMAP_VID3WR_FORCE_SET(value) (((value) << 31) & 0x80000000) |
Data Structures | |
struct | ALT_ACPIDMAP_VID3WR_s |
Macros | |
#define | ALT_ACPIDMAP_VID3WR_OFST 0xc |
Typedefs | |
typedef struct ALT_ACPIDMAP_VID3WR_s | ALT_ACPIDMAP_VID3WR_t |
struct ALT_ACPIDMAP_VID3WR_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_VID3WR.
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__: 2 | UNDEFINED |
uint32_t | mid: 12 | Remap Master ID |
uint32_t | __pad3__: 3 | UNDEFINED |
uint32_t | force: 1 | Force Mapping |
#define ALT_ACPIDMAP_VID3WR_USER_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_USER register field.
#define ALT_ACPIDMAP_VID3WR_USER_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_USER register field.
#define ALT_ACPIDMAP_VID3WR_USER_WIDTH 5 |
The width in bits of the ALT_ACPIDMAP_VID3WR_USER register field.
#define ALT_ACPIDMAP_VID3WR_USER_SET_MSK 0x000001f0 |
The mask used to set the ALT_ACPIDMAP_VID3WR_USER register field value.
#define ALT_ACPIDMAP_VID3WR_USER_CLR_MSK 0xfffffe0f |
The mask used to clear the ALT_ACPIDMAP_VID3WR_USER register field value.
#define ALT_ACPIDMAP_VID3WR_USER_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_VID3WR_USER register field.
#define ALT_ACPIDMAP_VID3WR_USER_GET | ( | value | ) | (((value) & 0x000001f0) >> 4) |
Extracts the ALT_ACPIDMAP_VID3WR_USER field value from a register.
#define ALT_ACPIDMAP_VID3WR_USER_SET | ( | value | ) | (((value) << 4) & 0x000001f0) |
Produces a ALT_ACPIDMAP_VID3WR_USER register field value suitable for setting the register.
#define ALT_ACPIDMAP_VID3WR_PAGE_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field.
#define ALT_ACPIDMAP_VID3WR_PAGE_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field.
#define ALT_ACPIDMAP_VID3WR_PAGE_WIDTH 2 |
The width in bits of the ALT_ACPIDMAP_VID3WR_PAGE register field.
#define ALT_ACPIDMAP_VID3WR_PAGE_SET_MSK 0x00003000 |
The mask used to set the ALT_ACPIDMAP_VID3WR_PAGE register field value.
#define ALT_ACPIDMAP_VID3WR_PAGE_CLR_MSK 0xffffcfff |
The mask used to clear the ALT_ACPIDMAP_VID3WR_PAGE register field value.
#define ALT_ACPIDMAP_VID3WR_PAGE_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_VID3WR_PAGE register field.
#define ALT_ACPIDMAP_VID3WR_PAGE_GET | ( | value | ) | (((value) & 0x00003000) >> 12) |
Extracts the ALT_ACPIDMAP_VID3WR_PAGE field value from a register.
#define ALT_ACPIDMAP_VID3WR_PAGE_SET | ( | value | ) | (((value) << 12) & 0x00003000) |
Produces a ALT_ACPIDMAP_VID3WR_PAGE register field value suitable for setting the register.
#define ALT_ACPIDMAP_VID3WR_MID_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_MID register field.
#define ALT_ACPIDMAP_VID3WR_MID_MSB 27 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_MID register field.
#define ALT_ACPIDMAP_VID3WR_MID_WIDTH 12 |
The width in bits of the ALT_ACPIDMAP_VID3WR_MID register field.
#define ALT_ACPIDMAP_VID3WR_MID_SET_MSK 0x0fff0000 |
The mask used to set the ALT_ACPIDMAP_VID3WR_MID register field value.
#define ALT_ACPIDMAP_VID3WR_MID_CLR_MSK 0xf000ffff |
The mask used to clear the ALT_ACPIDMAP_VID3WR_MID register field value.
#define ALT_ACPIDMAP_VID3WR_MID_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_VID3WR_MID register field.
#define ALT_ACPIDMAP_VID3WR_MID_GET | ( | value | ) | (((value) & 0x0fff0000) >> 16) |
Extracts the ALT_ACPIDMAP_VID3WR_MID field value from a register.
#define ALT_ACPIDMAP_VID3WR_MID_SET | ( | value | ) | (((value) << 16) & 0x0fff0000) |
Produces a ALT_ACPIDMAP_VID3WR_MID register field value suitable for setting the register.
#define ALT_ACPIDMAP_VID3WR_FORCE_LSB 31 |
The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field.
#define ALT_ACPIDMAP_VID3WR_FORCE_MSB 31 |
The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field.
#define ALT_ACPIDMAP_VID3WR_FORCE_WIDTH 1 |
The width in bits of the ALT_ACPIDMAP_VID3WR_FORCE register field.
#define ALT_ACPIDMAP_VID3WR_FORCE_SET_MSK 0x80000000 |
The mask used to set the ALT_ACPIDMAP_VID3WR_FORCE register field value.
#define ALT_ACPIDMAP_VID3WR_FORCE_CLR_MSK 0x7fffffff |
The mask used to clear the ALT_ACPIDMAP_VID3WR_FORCE register field value.
#define ALT_ACPIDMAP_VID3WR_FORCE_RESET 0x0 |
The reset value of the ALT_ACPIDMAP_VID3WR_FORCE register field.
#define ALT_ACPIDMAP_VID3WR_FORCE_GET | ( | value | ) | (((value) & 0x80000000) >> 31) |
Extracts the ALT_ACPIDMAP_VID3WR_FORCE field value from a register.
#define ALT_ACPIDMAP_VID3WR_FORCE_SET | ( | value | ) | (((value) << 31) & 0x80000000) |
Produces a ALT_ACPIDMAP_VID3WR_FORCE register field value suitable for setting the register.
#define ALT_ACPIDMAP_VID3WR_OFST 0xc |
The byte offset of the ALT_ACPIDMAP_VID3WR register from the beginning of the component.
typedef struct ALT_ACPIDMAP_VID3WR_s ALT_ACPIDMAP_VID3WR_t |
The typedef declaration for register ALT_ACPIDMAP_VID3WR.