Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : Functionality Modification AHB Register - fn_mod_ahb

Description

Controls how AHB-lite burst transactions are converted to AXI tranactions.

Register Layout

Bits Access Reset Description
[0] RW 0x0 Read Increment Override
[1] RW 0x0 Write Increment Override
[31:2] ??? 0x0 UNDEFINED

Field : Read Increment Override - rd_incr_override

Controls how AHB-lite read burst transactions are converted to AXI tranactions.

Field Enumeration Values:

Enum Value Description
ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_DEFAULT 0x0 The L3 Interconnect converts AHB-lite read
: bursts to AXI transactions in accordance with
: the default behavior as specified in the ARM
: NIC-301 documentation.
ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_SINGLES 0x1 The L3 Interconnect converts AHB-lite read
: bursts to AXI single transactions.

Field Access Macros:

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_DEFAULT   0x0
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_SINGLES   0x1
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_LSB   0
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_MSB   0
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_WIDTH   1
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_SET_MSK   0x00000001
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_CLR_MSK   0xfffffffe
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_RESET   0x0
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_SET(value)   (((value) << 0) & 0x00000001)
 

Field : Write Increment Override - wr_incr_override

Controls how AHB-lite write burst transactions are converted to AXI tranactions.

Field Enumeration Values:

Enum Value Description
ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_DEFAULT 0x0 The L3 Interconnect converts AHB-lite write
: bursts to AXI transactions in accordance with
: the default behavior as specified in the ARM
: NIC-301 documentation.
ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_SINGLES 0x1 The L3 Interconnect converts AHB-lite write
: bursts to AXI single transactions.

Field Access Macros:

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_DEFAULT   0x0
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_SINGLES   0x1
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_LSB   1
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_MSB   1
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_WIDTH   1
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_SET_MSK   0x00000002
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_CLR_MSK   0xfffffffd
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_RESET   0x0
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_SET(value)   (((value) << 1) & 0x00000002)
 

Data Structures

struct  ALT_L3_FN_MOD_AHB_s
 

Macros

#define ALT_L3_FN_MOD_AHB_OFST   0x28
 
#define ALT_L3_FN_MOD_AHB_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L3_FN_MOD_AHB_OFST))
 

Typedefs

typedef struct ALT_L3_FN_MOD_AHB_s ALT_L3_FN_MOD_AHB_t
 

Data Structure Documentation

struct ALT_L3_FN_MOD_AHB_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_L3_FN_MOD_AHB.

Data Fields
uint32_t rd_incr_override: 1 Read Increment Override
uint32_t wr_incr_override: 1 Write Increment Override
uint32_t __pad0__: 30 UNDEFINED

Macro Definitions

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_DEFAULT   0x0

Enumerated value for register field ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE

The L3 Interconnect converts AHB-lite read bursts to AXI transactions in accordance with the default behavior as specified in the ARM NIC-301 documentation.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_E_SINGLES   0x1

Enumerated value for register field ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE

The L3 Interconnect converts AHB-lite read bursts to AXI single transactions.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_LSB   0

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

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_MSB   0

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

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_WIDTH   1

The width in bits of the ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE register field.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_SET_MSK   0x00000001

The mask used to set the ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE register field value.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_CLR_MSK   0xfffffffe

The mask used to clear the ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE register field value.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_RESET   0x0

The reset value of the ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE register field.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_GET (   value)    (((value) & 0x00000001) >> 0)

Extracts the ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE field value from a register.

#define ALT_L3_FN_MOD_AHB_RD_INCR_OVERRIDE_SET (   value)    (((value) << 0) & 0x00000001)

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

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_DEFAULT   0x0

Enumerated value for register field ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE

The L3 Interconnect converts AHB-lite write bursts to AXI transactions in accordance with the default behavior as specified in the ARM NIC-301 documentation.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_E_SINGLES   0x1

Enumerated value for register field ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE

The L3 Interconnect converts AHB-lite write bursts to AXI single transactions.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_LSB   1

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

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_MSB   1

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

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_WIDTH   1

The width in bits of the ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE register field.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_SET_MSK   0x00000002

The mask used to set the ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE register field value.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_CLR_MSK   0xfffffffd

The mask used to clear the ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE register field value.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_RESET   0x0

The reset value of the ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE register field.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_GET (   value)    (((value) & 0x00000002) >> 1)

Extracts the ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE field value from a register.

#define ALT_L3_FN_MOD_AHB_WR_INCR_OVERRIDE_SET (   value)    (((value) << 1) & 0x00000002)

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

#define ALT_L3_FN_MOD_AHB_OFST   0x28

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

#define ALT_L3_FN_MOD_AHB_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L3_FN_MOD_AHB_OFST))

The address of the ALT_L3_FN_MOD_AHB register.

Typedef Documentation

The typedef declaration for register ALT_L3_FN_MOD_AHB.