Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : noc_addr_remap_value

Description

Address remap register. This register drives the remap bits for the NOC.

This is read / write register.

Register Layout

Bits Access Reset Description
[0] RW 0x0 ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0
[1] RW 0x0 ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1
[31:2] ??? 0x0 UNDEFINED

Field : remap0

if this bit is 0 ROM is also mapped to base address 0x0000_0000

if this bit is 1 ROM is NOT available at base address 0x0000_0000

Note:

ROM is always available at base address 0xFFFC_0000

RAM is always available at base address 0xFFE0_0000

Field Access Macros:

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_LSB   0
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_MSB   0
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_WIDTH   1
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_SET_MSK   0x00000001
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_CLR_MSK   0xfffffffe
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_RESET   0x0
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_SET(value)   (((value) << 0) & 0x00000001)
 

Field : remap1

if this bit is 0 RAM is NOT available at base address 0x0000_0000

if this bit is 1 RAM is also mapped to base address 0x0000_0000, as long as ROM is not being mapped to the same base address because of remap0

Note:

ROM is always available at base address 0xFFFC_0000

RAM is always available at base address 0xFFE0_0000

Field Access Macros:

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_LSB   1
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_MSB   1
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_WIDTH   1
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_SET_MSK   0x00000002
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_CLR_MSK   0xfffffffd
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_RESET   0x0
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_SET(value)   (((value) << 1) & 0x00000002)
 

Data Structures

struct  ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_s
 

Macros

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_RESET   0x00000000
 
#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_OFST   0x80
 

Typedefs

typedef struct
ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_s 
ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_t
 

Data Structure Documentation

struct ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_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_SYSMGR_NOC_ADDR_REMAP_VALUE.

Data Fields
uint32_t remap0: 1 ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0
uint32_t remap1: 1 ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1
uint32_t __pad0__: 30 UNDEFINED

Macro Definitions

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_LSB   0

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_MSB   0

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_WIDTH   1

The width in bits of the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0 register field.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_SET_MSK   0x00000001

The mask used to set the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0 register field value.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_CLR_MSK   0xfffffffe

The mask used to clear the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0 register field value.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0_RESET   0x0

The reset value of the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0 register field.

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

Extracts the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP0 field value from a register.

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

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_LSB   1

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_MSB   1

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_WIDTH   1

The width in bits of the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1 register field.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_SET_MSK   0x00000002

The mask used to set the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1 register field value.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_CLR_MSK   0xfffffffd

The mask used to clear the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1 register field value.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1_RESET   0x0

The reset value of the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1 register field.

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

Extracts the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_REMAP1 field value from a register.

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

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

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_RESET   0x00000000

The reset value of the ALT_SYSMGR_NOC_ADDR_REMAP_VALUE register.

#define ALT_SYSMGR_NOC_ADDR_REMAP_VALUE_OFST   0x80

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

Typedef Documentation