![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
This register controls the default protection assignment for a port. Ports which have explicit rules which define regions which are illegal to access should set the bits to pass by default. Ports which have explicit rules which define legal areas should set the bit to force all transactions to fail. Leaving this register to all zeros should be used for systems which do not desire any protection from the memory controller.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[9:0] | RW | Unknown | Port Default Action |
[31:10] | ??? | 0x0 | UNDEFINED |
Field : Port Default Action - portdefault | |
Determines the default action for a transactions from a port. Set a bit to a zero to indicate that all accesses from the port should pass by default, set a bit to a one if the default protection is to fail the access. Field Access Macros: | |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_LSB 0 |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_MSB 9 |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_WIDTH 10 |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_SET_MSK 0x000003ff |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_CLR_MSK 0xfffffc00 |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_RESET 0x0 |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_GET(value) (((value) & 0x000003ff) >> 0) |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_SET(value) (((value) << 0) & 0x000003ff) |
Data Structures | |
struct | ALT_SDR_CTL_PROTPORTDEFAULT_s |
Macros | |
#define | ALT_SDR_CTL_PROTPORTDEFAULT_OFST 0x8c |
Typedefs | |
typedef struct ALT_SDR_CTL_PROTPORTDEFAULT_s | ALT_SDR_CTL_PROTPORTDEFAULT_t |
struct ALT_SDR_CTL_PROTPORTDEFAULT_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_SDR_CTL_PROTPORTDEFAULT.
Data Fields | ||
---|---|---|
uint32_t | portdefault: 10 | Port Default Action |
uint32_t | __pad0__: 22 | UNDEFINED |
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_MSB 9 |
The Most Significant Bit (MSB) position of the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_WIDTH 10 |
The width in bits of the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_SET_MSK 0x000003ff |
The mask used to set the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field value.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_CLR_MSK 0xfffffc00 |
The mask used to clear the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field value.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_RESET 0x0 |
The reset value of the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field is UNKNOWN.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_GET | ( | value | ) | (((value) & 0x000003ff) >> 0) |
Extracts the ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT field value from a register.
#define ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT_SET | ( | value | ) | (((value) << 0) & 0x000003ff) |
Produces a ALT_SDR_CTL_PROTPORTDEFAULT_PORTDEFAULT register field value suitable for setting the register.
#define ALT_SDR_CTL_PROTPORTDEFAULT_OFST 0x8c |
The byte offset of the ALT_SDR_CTL_PROTPORTDEFAULT register from the beginning of the component.
typedef struct ALT_SDR_CTL_PROTPORTDEFAULT_s ALT_SDR_CTL_PROTPORTDEFAULT_t |
The typedef declaration for register ALT_SDR_CTL_PROTPORTDEFAULT.