#define SOME_REGISTER_MAP_CHIP_ID_REG 0x00000000 
#define SOME_REGISTER_MAP_CHIP_ID_REG_REV_NUM_MASK 0x0000000F
#define SOME_REGISTER_MAP_CHIP_ID_REG_PART_NUM_MASK 0xFFFFFFF0

#define SOME_REGISTER_MAP_LINK_STATUS 0x00000004 
#define SOME_REGISTER_MAP_LINK_STATUS_PORT0_MASK 0x0000000F
#define SOME_REGISTER_MAP_LINK_STATUS_PORT1_MASK 0x000000F0
#define SOME_REGISTER_MAP_LINK_STATUS_PORT2_MASK 0x00000F00
#define SOME_REGISTER_MAP_LINK_STATUS_PORT3_MASK 0x0000F000

#define SOME_REGISTER_MAP_MYREGINST 0x00000010 
#define SOME_REGISTER_MAP_MYREGINST_DATA0_MASK 0x00000003
#define SOME_REGISTER_MAP_MYREGINST_DATA1_MASK 0x0000000C
#define SOME_REGISTER_MAP_MYREGINST_DATA2_MASK 0x00000030
#define SOME_REGISTER_MAP_MYREGINST_DATA3_MASK 0x000000C0
#define SOME_REGISTER_MAP_MYREGINST_DATA4_MASK 0x00000300
#define SOME_REGISTER_MAP_MYREGINST_DATA5_MASK 0x00000C00
#define SOME_REGISTER_MAP_MYREGINST_DATA6_MASK 0x00003000
#define SOME_REGISTER_MAP_MYREGINST_DATA7_MASK 0x0000C000
#define SOME_REGISTER_MAP_MYREGINST_DATA8_MASK 0x00030000
#define SOME_REGISTER_MAP_MYREGINST_DATA9_MASK 0x000C0000
#define SOME_REGISTER_MAP_MYREGINST_DATA10_MASK 0x00300000
#define SOME_REGISTER_MAP_MYREGINST_DATA11_MASK 0x00C00000
#define SOME_REGISTER_MAP_MYREGINST_DATA12_MASK 0x03000000
#define SOME_REGISTER_MAP_MYREGINST_DATA13_MASK 0x0C000000
#define SOME_REGISTER_MAP_MYREGINST_DATA14_MASK 0x30000000
#define SOME_REGISTER_MAP_MYREGINST_DATA15_MASK 0xC0000000

#define SOME_REGISTER_MAP_SPI4_PKT_COUNT 0x00000020 
#define SOME_REGISTER_MAP_SPI4_PKT_COUNT_PORT1_MASK 0x0000FFFF
#define SOME_REGISTER_MAP_SPI4_PKT_COUNT_PORT0_MASK 0xFFFF0000

#define SOME_REGISTER_MAP_GIGE_PKT_COUNT_REG 0x00000024 
#define SOME_REGISTER_MAP_GIGE_PKT_COUNT_REG_PORT3_MASK 0x000000FF
#define SOME_REGISTER_MAP_GIGE_PKT_COUNT_REG_PORT2_MASK 0x0000FF00
#define SOME_REGISTER_MAP_GIGE_PKT_COUNT_REG_PORT1_MASK 0x00FF0000
#define SOME_REGISTER_MAP_GIGE_PKT_COUNT_REG_PORT0_MASK 0xFF000000

#define SOME_REGISTER_MAP_FIFO_PORT_0_HEAD 0x00000100 
#define SOME_REGISTER_MAP_FIFO_PORT_0_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_0_TAIL 0x00000104 
#define SOME_REGISTER_MAP_FIFO_PORT_0_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_0_STATUS 0x00000108 
#define SOME_REGISTER_MAP_FIFO_PORT_0_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_0_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_0_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_0_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_1_HEAD 0x00000110 
#define SOME_REGISTER_MAP_FIFO_PORT_1_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_1_TAIL 0x00000114 
#define SOME_REGISTER_MAP_FIFO_PORT_1_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_1_STATUS 0x00000118 
#define SOME_REGISTER_MAP_FIFO_PORT_1_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_1_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_1_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_1_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_2_HEAD 0x00000120 
#define SOME_REGISTER_MAP_FIFO_PORT_2_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_2_TAIL 0x00000124 
#define SOME_REGISTER_MAP_FIFO_PORT_2_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_2_STATUS 0x00000128 
#define SOME_REGISTER_MAP_FIFO_PORT_2_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_2_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_2_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_2_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_3_HEAD 0x00000130 
#define SOME_REGISTER_MAP_FIFO_PORT_3_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_3_TAIL 0x00000134 
#define SOME_REGISTER_MAP_FIFO_PORT_3_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_3_STATUS 0x00000138 
#define SOME_REGISTER_MAP_FIFO_PORT_3_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_3_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_3_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_3_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_4_HEAD 0x00000140 
#define SOME_REGISTER_MAP_FIFO_PORT_4_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_4_TAIL 0x00000144 
#define SOME_REGISTER_MAP_FIFO_PORT_4_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_4_STATUS 0x00000148 
#define SOME_REGISTER_MAP_FIFO_PORT_4_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_4_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_4_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_4_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_5_HEAD 0x00000150 
#define SOME_REGISTER_MAP_FIFO_PORT_5_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_5_TAIL 0x00000154 
#define SOME_REGISTER_MAP_FIFO_PORT_5_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_5_STATUS 0x00000158 
#define SOME_REGISTER_MAP_FIFO_PORT_5_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_5_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_5_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_5_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_6_HEAD 0x00000160 
#define SOME_REGISTER_MAP_FIFO_PORT_6_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_6_TAIL 0x00000164 
#define SOME_REGISTER_MAP_FIFO_PORT_6_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_6_STATUS 0x00000168 
#define SOME_REGISTER_MAP_FIFO_PORT_6_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_6_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_6_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_6_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_FIFO_PORT_7_HEAD 0x00000170 
#define SOME_REGISTER_MAP_FIFO_PORT_7_HEAD_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_7_TAIL 0x00000174 
#define SOME_REGISTER_MAP_FIFO_PORT_7_TAIL_DATA_MASK 0xFFFFFFFF

#define SOME_REGISTER_MAP_FIFO_PORT_7_STATUS 0x00000178 
#define SOME_REGISTER_MAP_FIFO_PORT_7_STATUS_FULL_MASK 0x00000001
#define SOME_REGISTER_MAP_FIFO_PORT_7_STATUS_EMPTY_MASK 0x00000002
#define SOME_REGISTER_MAP_FIFO_PORT_7_STATUS_ALMOST_EMPTY_MASK 0x00000010
#define SOME_REGISTER_MAP_FIFO_PORT_7_STATUS_ALMOST_FULL_MASK 0x00000020

#define SOME_REGISTER_MAP_VC_PKT_COUNT_0 0x00001000 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_0_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_0_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_1 0x00001010 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_1_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_1_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_2 0x00001020 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_2_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_2_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_3 0x00001030 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_3_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_3_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_4 0x00001040 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_4_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_4_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_5 0x00001050 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_5_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_5_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_6 0x00001060 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_6_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_6_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_7 0x00001070 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_7_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_7_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_8 0x00001080 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_8_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_8_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_9 0x00001090 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_9_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_9_ACTIVE_MASK 0x80000000

#define SOME_REGISTER_MAP_VC_PKT_COUNT_10 0x000010A0 
#define SOME_REGISTER_MAP_VC_PKT_COUNT_10_VC_COUNT_MASK 0x7FFFFFFF
#define SOME_REGISTER_MAP_VC_PKT_COUNT_10_ACTIVE_MASK 0x80000000


