![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
This register should be set to a zero in any bit which corresponds to a port which does mostly sequential memory accesses. For ports with highly random accesses, the bit should be set to a one.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[9:0] | ??? | Unknown | UNDEFINED |
[19:10] | RW | Unknown | Auto-precharge Enable |
[31:20] | ??? | 0x0 | UNDEFINED |
Field : Auto-precharge Enable - autopchen | |
One bit per control port. Set bit N to a 1 to have the controller request an automatic precharge following bus command completion (close the row automatically). Set to a zero to request that the controller attempt to keep a row open. For random dominated operations this register should be set to a 1 for all active ports. Field Access Macros: | |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_LSB 10 |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_MSB 19 |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_WIDTH 10 |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_SET_MSK 0x000ffc00 |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_CLR_MSK 0xfff003ff |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_RESET 0x0 |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_GET(value) (((value) & 0x000ffc00) >> 10) |
#define | ALT_SDR_CTL_PORTCFG_AUTOPCHEN_SET(value) (((value) << 10) & 0x000ffc00) |
Data Structures | |
struct | ALT_SDR_CTL_PORTCFG_s |
Macros | |
#define | ALT_SDR_CTL_PORTCFG_OFST 0x7c |
Typedefs | |
typedef struct ALT_SDR_CTL_PORTCFG_s | ALT_SDR_CTL_PORTCFG_t |
struct ALT_SDR_CTL_PORTCFG_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_PORTCFG.
Data Fields | ||
---|---|---|
uint32_t | __pad0__: 10 | UNDEFINED |
uint32_t | autopchen: 10 | Auto-precharge Enable |
uint32_t | __pad1__: 12 | UNDEFINED |
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_LSB 10 |
The Least Significant Bit (LSB) position of the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_MSB 19 |
The Most Significant Bit (MSB) position of the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_WIDTH 10 |
The width in bits of the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_SET_MSK 0x000ffc00 |
The mask used to set the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field value.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_CLR_MSK 0xfff003ff |
The mask used to clear the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field value.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_RESET 0x0 |
The reset value of the ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field is UNKNOWN.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_GET | ( | value | ) | (((value) & 0x000ffc00) >> 10) |
Extracts the ALT_SDR_CTL_PORTCFG_AUTOPCHEN field value from a register.
#define ALT_SDR_CTL_PORTCFG_AUTOPCHEN_SET | ( | value | ) | (((value) << 10) & 0x000ffc00) |
Produces a ALT_SDR_CTL_PORTCFG_AUTOPCHEN register field value suitable for setting the register.
#define ALT_SDR_CTL_PORTCFG_OFST 0x7c |
The byte offset of the ALT_SDR_CTL_PORTCFG register from the beginning of the component.
typedef struct ALT_SDR_CTL_PORTCFG_s ALT_SDR_CTL_PORTCFG_t |
The typedef declaration for register ALT_SDR_CTL_PORTCFG.