EMU EMAX 1/2 fixes.
[SCSI2SD-V6.git] / software / SCSI2SD / v4 / SCSI2SD.cydsn / Generated_Source / PSoC5 / cyfitterrv.inc
index ce5d807..bd7edfe 100644 (file)
@@ -3,85 +3,111 @@ INCLUDED_CYFITTERRV_INC EQU 1
     GET cydevicerv.inc
     GET cydevicerv_trm.inc
 
-; Debug_Timer_Interrupt
-Debug_Timer_Interrupt__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-Debug_Timer_Interrupt__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-Debug_Timer_Interrupt__INTC_MASK EQU 0x02
-Debug_Timer_Interrupt__INTC_NUMBER EQU 1
-Debug_Timer_Interrupt__INTC_PRIOR_NUM EQU 7
-Debug_Timer_Interrupt__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_1
-Debug_Timer_Interrupt__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-Debug_Timer_Interrupt__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; SCSI_RX_DMA_COMPLETE
-SCSI_RX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-SCSI_RX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-SCSI_RX_DMA_COMPLETE__INTC_MASK EQU 0x01
-SCSI_RX_DMA_COMPLETE__INTC_NUMBER EQU 0
-SCSI_RX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
-SCSI_RX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_0
-SCSI_RX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-SCSI_RX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; SCSI_TX_DMA_COMPLETE
-SCSI_TX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-SCSI_TX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-SCSI_TX_DMA_COMPLETE__INTC_MASK EQU 0x08
-SCSI_TX_DMA_COMPLETE__INTC_NUMBER EQU 3
-SCSI_TX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
-SCSI_TX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_3
-SCSI_TX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-SCSI_TX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; Debug_Timer_TimerHW
-Debug_Timer_TimerHW__CAP0 EQU CYREG_TMR0_CAP0
-Debug_Timer_TimerHW__CAP1 EQU CYREG_TMR0_CAP1
-Debug_Timer_TimerHW__CFG0 EQU CYREG_TMR0_CFG0
-Debug_Timer_TimerHW__CFG1 EQU CYREG_TMR0_CFG1
-Debug_Timer_TimerHW__CFG2 EQU CYREG_TMR0_CFG2
-Debug_Timer_TimerHW__CNT_CMP0 EQU CYREG_TMR0_CNT_CMP0
-Debug_Timer_TimerHW__CNT_CMP1 EQU CYREG_TMR0_CNT_CMP1
-Debug_Timer_TimerHW__PER0 EQU CYREG_TMR0_PER0
-Debug_Timer_TimerHW__PER1 EQU CYREG_TMR0_PER1
-Debug_Timer_TimerHW__PM_ACT_CFG EQU CYREG_PM_ACT_CFG3
-Debug_Timer_TimerHW__PM_ACT_MSK EQU 0x01
-Debug_Timer_TimerHW__PM_STBY_CFG EQU CYREG_PM_STBY_CFG3
-Debug_Timer_TimerHW__PM_STBY_MSK EQU 0x01
-Debug_Timer_TimerHW__RT0 EQU CYREG_TMR0_RT0
-Debug_Timer_TimerHW__RT1 EQU CYREG_TMR0_RT1
-Debug_Timer_TimerHW__SR0 EQU CYREG_TMR0_SR0
+; LED1
+LED1__0__MASK EQU 0x02
+LED1__0__PC EQU CYREG_PRT0_PC1
+LED1__0__PORT EQU 0
+LED1__0__SHIFT EQU 1
+LED1__AG EQU CYREG_PRT0_AG
+LED1__AMUX EQU CYREG_PRT0_AMUX
+LED1__BIE EQU CYREG_PRT0_BIE
+LED1__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+LED1__BYP EQU CYREG_PRT0_BYP
+LED1__CTL EQU CYREG_PRT0_CTL
+LED1__DM0 EQU CYREG_PRT0_DM0
+LED1__DM1 EQU CYREG_PRT0_DM1
+LED1__DM2 EQU CYREG_PRT0_DM2
+LED1__DR EQU CYREG_PRT0_DR
+LED1__INP_DIS EQU CYREG_PRT0_INP_DIS
+LED1__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+LED1__LCD_EN EQU CYREG_PRT0_LCD_EN
+LED1__MASK EQU 0x02
+LED1__PORT EQU 0
+LED1__PRT EQU CYREG_PRT0_PRT
+LED1__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+LED1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+LED1__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+LED1__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+LED1__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+LED1__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+LED1__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+LED1__PS EQU CYREG_PRT0_PS
+LED1__SHIFT EQU 1
+LED1__SLW EQU CYREG_PRT0_SLW
 
-; SD_RX_DMA_COMPLETE
-SD_RX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-SD_RX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-SD_RX_DMA_COMPLETE__INTC_MASK EQU 0x10
-SD_RX_DMA_COMPLETE__INTC_NUMBER EQU 4
-SD_RX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
-SD_RX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_4
-SD_RX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-SD_RX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+; SD_CD
+SD_CD__0__MASK EQU 0x20
+SD_CD__0__PC EQU CYREG_PRT3_PC5
+SD_CD__0__PORT EQU 3
+SD_CD__0__SHIFT EQU 5
+SD_CD__AG EQU CYREG_PRT3_AG
+SD_CD__AMUX EQU CYREG_PRT3_AMUX
+SD_CD__BIE EQU CYREG_PRT3_BIE
+SD_CD__BIT_MASK EQU CYREG_PRT3_BIT_MASK
+SD_CD__BYP EQU CYREG_PRT3_BYP
+SD_CD__CTL EQU CYREG_PRT3_CTL
+SD_CD__DM0 EQU CYREG_PRT3_DM0
+SD_CD__DM1 EQU CYREG_PRT3_DM1
+SD_CD__DM2 EQU CYREG_PRT3_DM2
+SD_CD__DR EQU CYREG_PRT3_DR
+SD_CD__INP_DIS EQU CYREG_PRT3_INP_DIS
+SD_CD__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
+SD_CD__LCD_EN EQU CYREG_PRT3_LCD_EN
+SD_CD__MASK EQU 0x20
+SD_CD__PORT EQU 3
+SD_CD__PRT EQU CYREG_PRT3_PRT
+SD_CD__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
+SD_CD__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
+SD_CD__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
+SD_CD__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
+SD_CD__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
+SD_CD__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
+SD_CD__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
+SD_CD__PS EQU CYREG_PRT3_PS
+SD_CD__SHIFT EQU 5
+SD_CD__SLW EQU CYREG_PRT3_SLW
 
-; SD_TX_DMA_COMPLETE
-SD_TX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-SD_TX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-SD_TX_DMA_COMPLETE__INTC_MASK EQU 0x20
-SD_TX_DMA_COMPLETE__INTC_NUMBER EQU 5
-SD_TX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
-SD_TX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_5
-SD_TX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-SD_TX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+; SD_CS
+SD_CS__0__MASK EQU 0x10
+SD_CS__0__PC EQU CYREG_PRT3_PC4
+SD_CS__0__PORT EQU 3
+SD_CS__0__SHIFT EQU 4
+SD_CS__AG EQU CYREG_PRT3_AG
+SD_CS__AMUX EQU CYREG_PRT3_AMUX
+SD_CS__BIE EQU CYREG_PRT3_BIE
+SD_CS__BIT_MASK EQU CYREG_PRT3_BIT_MASK
+SD_CS__BYP EQU CYREG_PRT3_BYP
+SD_CS__CTL EQU CYREG_PRT3_CTL
+SD_CS__DM0 EQU CYREG_PRT3_DM0
+SD_CS__DM1 EQU CYREG_PRT3_DM1
+SD_CS__DM2 EQU CYREG_PRT3_DM2
+SD_CS__DR EQU CYREG_PRT3_DR
+SD_CS__INP_DIS EQU CYREG_PRT3_INP_DIS
+SD_CS__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
+SD_CS__LCD_EN EQU CYREG_PRT3_LCD_EN
+SD_CS__MASK EQU 0x10
+SD_CS__PORT EQU 3
+SD_CS__PRT EQU CYREG_PRT3_PRT
+SD_CS__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
+SD_CS__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
+SD_CS__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
+SD_CS__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
+SD_CS__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
+SD_CS__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
+SD_CS__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
+SD_CS__PS EQU CYREG_PRT3_PS
+SD_CS__SHIFT EQU 4
+SD_CS__SLW EQU CYREG_PRT3_SLW
 
-; SCSI_Parity_Error
-SCSI_Parity_Error_sts_sts_reg__0__MASK EQU 0x01
-SCSI_Parity_Error_sts_sts_reg__0__POS EQU 0
-SCSI_Parity_Error_sts_sts_reg__MASK EQU 0x01
-SCSI_Parity_Error_sts_sts_reg__MASK_REG EQU CYREG_B1_UDB11_MSK
-SCSI_Parity_Error_sts_sts_reg__MASK_ST_AUX_CTL_REG EQU CYREG_B1_UDB11_MSK_ACTL
-SCSI_Parity_Error_sts_sts_reg__PER_ST_AUX_CTL_REG EQU CYREG_B1_UDB11_MSK_ACTL
-SCSI_Parity_Error_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB11_ACTL
-SCSI_Parity_Error_sts_sts_reg__STATUS_CNT_REG EQU CYREG_B1_UDB11_ST_CTL
-SCSI_Parity_Error_sts_sts_reg__STATUS_CONTROL_REG EQU CYREG_B1_UDB11_ST_CTL
-SCSI_Parity_Error_sts_sts_reg__STATUS_REG EQU CYREG_B1_UDB11_ST
+; USBFS_arb_int
+USBFS_arb_int__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_arb_int__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_arb_int__INTC_MASK EQU 0x400000
+USBFS_arb_int__INTC_NUMBER EQU 22
+USBFS_arb_int__INTC_PRIOR_NUM EQU 6
+USBFS_arb_int__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_22
+USBFS_arb_int__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_arb_int__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
 ; USBFS_bus_reset
 USBFS_bus_reset__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
@@ -93,90 +119,131 @@ USBFS_bus_reset__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_23
 USBFS_bus_reset__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
 USBFS_bus_reset__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
-; SCSI_CTL_PHASE
-SCSI_CTL_PHASE_Sync_ctrl_reg__0__MASK EQU 0x01
-SCSI_CTL_PHASE_Sync_ctrl_reg__0__POS EQU 0
-SCSI_CTL_PHASE_Sync_ctrl_reg__1__MASK EQU 0x02
-SCSI_CTL_PHASE_Sync_ctrl_reg__1__POS EQU 1
-SCSI_CTL_PHASE_Sync_ctrl_reg__2__MASK EQU 0x04
-SCSI_CTL_PHASE_Sync_ctrl_reg__2__POS EQU 2
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB15_ACTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB15_CTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB15_ST_CTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB15_CTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB15_ST_CTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__MASK EQU 0x07
-SCSI_CTL_PHASE_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB15_MSK_ACTL
-SCSI_CTL_PHASE_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB15_MSK
-SCSI_CTL_PHASE_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB15_MSK_ACTL
+; USBFS_Dm
+USBFS_Dm__0__MASK EQU 0x80
+USBFS_Dm__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC1
+USBFS_Dm__0__PORT EQU 15
+USBFS_Dm__0__SHIFT EQU 7
+USBFS_Dm__AG EQU CYREG_PRT15_AG
+USBFS_Dm__AMUX EQU CYREG_PRT15_AMUX
+USBFS_Dm__BIE EQU CYREG_PRT15_BIE
+USBFS_Dm__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+USBFS_Dm__BYP EQU CYREG_PRT15_BYP
+USBFS_Dm__CTL EQU CYREG_PRT15_CTL
+USBFS_Dm__DM0 EQU CYREG_PRT15_DM0
+USBFS_Dm__DM1 EQU CYREG_PRT15_DM1
+USBFS_Dm__DM2 EQU CYREG_PRT15_DM2
+USBFS_Dm__DR EQU CYREG_PRT15_DR
+USBFS_Dm__INP_DIS EQU CYREG_PRT15_INP_DIS
+USBFS_Dm__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+USBFS_Dm__LCD_EN EQU CYREG_PRT15_LCD_EN
+USBFS_Dm__MASK EQU 0x80
+USBFS_Dm__PORT EQU 15
+USBFS_Dm__PRT EQU CYREG_PRT15_PRT
+USBFS_Dm__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+USBFS_Dm__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+USBFS_Dm__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+USBFS_Dm__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+USBFS_Dm__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+USBFS_Dm__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+USBFS_Dm__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+USBFS_Dm__PS EQU CYREG_PRT15_PS
+USBFS_Dm__SHIFT EQU 7
+USBFS_Dm__SLW EQU CYREG_PRT15_SLW
 
-; SCSI_Filtered
-SCSI_Filtered_sts_sts_reg__0__MASK EQU 0x01
-SCSI_Filtered_sts_sts_reg__0__POS EQU 0
-SCSI_Filtered_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB13_14_ACTL
-SCSI_Filtered_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB13_14_ST
-SCSI_Filtered_sts_sts_reg__1__MASK EQU 0x02
-SCSI_Filtered_sts_sts_reg__1__POS EQU 1
-SCSI_Filtered_sts_sts_reg__2__MASK EQU 0x04
-SCSI_Filtered_sts_sts_reg__2__POS EQU 2
-SCSI_Filtered_sts_sts_reg__3__MASK EQU 0x08
-SCSI_Filtered_sts_sts_reg__3__POS EQU 3
-SCSI_Filtered_sts_sts_reg__4__MASK EQU 0x10
-SCSI_Filtered_sts_sts_reg__4__POS EQU 4
-SCSI_Filtered_sts_sts_reg__MASK EQU 0x1F
-SCSI_Filtered_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB13_MSK
-SCSI_Filtered_sts_sts_reg__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL
-SCSI_Filtered_sts_sts_reg__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL
-SCSI_Filtered_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB13_ACTL
-SCSI_Filtered_sts_sts_reg__STATUS_CNT_REG EQU CYREG_B0_UDB13_ST_CTL
-SCSI_Filtered_sts_sts_reg__STATUS_CONTROL_REG EQU CYREG_B0_UDB13_ST_CTL
-SCSI_Filtered_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB13_ST
+; USBFS_Dp
+USBFS_Dp__0__MASK EQU 0x40
+USBFS_Dp__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC0
+USBFS_Dp__0__PORT EQU 15
+USBFS_Dp__0__SHIFT EQU 6
+USBFS_Dp__AG EQU CYREG_PRT15_AG
+USBFS_Dp__AMUX EQU CYREG_PRT15_AMUX
+USBFS_Dp__BIE EQU CYREG_PRT15_BIE
+USBFS_Dp__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+USBFS_Dp__BYP EQU CYREG_PRT15_BYP
+USBFS_Dp__CTL EQU CYREG_PRT15_CTL
+USBFS_Dp__DM0 EQU CYREG_PRT15_DM0
+USBFS_Dp__DM1 EQU CYREG_PRT15_DM1
+USBFS_Dp__DM2 EQU CYREG_PRT15_DM2
+USBFS_Dp__DR EQU CYREG_PRT15_DR
+USBFS_Dp__INP_DIS EQU CYREG_PRT15_INP_DIS
+USBFS_Dp__INTSTAT EQU CYREG_PICU15_INTSTAT
+USBFS_Dp__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+USBFS_Dp__LCD_EN EQU CYREG_PRT15_LCD_EN
+USBFS_Dp__MASK EQU 0x40
+USBFS_Dp__PORT EQU 15
+USBFS_Dp__PRT EQU CYREG_PRT15_PRT
+USBFS_Dp__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+USBFS_Dp__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+USBFS_Dp__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+USBFS_Dp__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+USBFS_Dp__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+USBFS_Dp__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+USBFS_Dp__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+USBFS_Dp__PS EQU CYREG_PRT15_PS
+USBFS_Dp__SHIFT EQU 6
+USBFS_Dp__SLW EQU CYREG_PRT15_SLW
+USBFS_Dp__SNAP EQU CYREG_PICU_15_SNAP_15
 
-; SCSI_Out_Bits
-SCSI_Out_Bits_Sync_ctrl_reg__0__MASK EQU 0x01
-SCSI_Out_Bits_Sync_ctrl_reg__0__POS EQU 0
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB13_14_ACTL
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB13_14_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB13_14_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB13_14_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB13_14_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB13_14_MSK
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB13_14_MSK
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB13_14_MSK
-SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB13_14_MSK
-SCSI_Out_Bits_Sync_ctrl_reg__1__MASK EQU 0x02
-SCSI_Out_Bits_Sync_ctrl_reg__1__POS EQU 1
-SCSI_Out_Bits_Sync_ctrl_reg__2__MASK EQU 0x04
-SCSI_Out_Bits_Sync_ctrl_reg__2__POS EQU 2
-SCSI_Out_Bits_Sync_ctrl_reg__3__MASK EQU 0x08
-SCSI_Out_Bits_Sync_ctrl_reg__3__POS EQU 3
-SCSI_Out_Bits_Sync_ctrl_reg__4__MASK EQU 0x10
-SCSI_Out_Bits_Sync_ctrl_reg__4__POS EQU 4
-SCSI_Out_Bits_Sync_ctrl_reg__5__MASK EQU 0x20
-SCSI_Out_Bits_Sync_ctrl_reg__5__POS EQU 5
-SCSI_Out_Bits_Sync_ctrl_reg__6__MASK EQU 0x40
-SCSI_Out_Bits_Sync_ctrl_reg__6__POS EQU 6
-SCSI_Out_Bits_Sync_ctrl_reg__7__MASK EQU 0x80
-SCSI_Out_Bits_Sync_ctrl_reg__7__POS EQU 7
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB13_ACTL
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB13_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB13_ST_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB13_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB13_ST_CTL
-SCSI_Out_Bits_Sync_ctrl_reg__MASK EQU 0xFF
-SCSI_Out_Bits_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL
-SCSI_Out_Bits_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB13_MSK
-SCSI_Out_Bits_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB13_MSK_ACTL
+; USBFS_dp_int
+USBFS_dp_int__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_dp_int__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_dp_int__INTC_MASK EQU 0x1000
+USBFS_dp_int__INTC_NUMBER EQU 12
+USBFS_dp_int__INTC_PRIOR_NUM EQU 7
+USBFS_dp_int__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_12
+USBFS_dp_int__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_dp_int__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
-; USBFS_arb_int
-USBFS_arb_int__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_arb_int__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_arb_int__INTC_MASK EQU 0x400000
-USBFS_arb_int__INTC_NUMBER EQU 22
-USBFS_arb_int__INTC_PRIOR_NUM EQU 7
-USBFS_arb_int__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_22
-USBFS_arb_int__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_arb_int__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+; USBFS_ep_0
+USBFS_ep_0__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_ep_0__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_ep_0__INTC_MASK EQU 0x1000000
+USBFS_ep_0__INTC_NUMBER EQU 24
+USBFS_ep_0__INTC_PRIOR_NUM EQU 7
+USBFS_ep_0__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_24
+USBFS_ep_0__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_ep_0__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; USBFS_ep_1
+USBFS_ep_1__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_ep_1__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_ep_1__INTC_MASK EQU 0x80
+USBFS_ep_1__INTC_NUMBER EQU 7
+USBFS_ep_1__INTC_PRIOR_NUM EQU 7
+USBFS_ep_1__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_7
+USBFS_ep_1__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_ep_1__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; USBFS_ep_2
+USBFS_ep_2__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_ep_2__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_ep_2__INTC_MASK EQU 0x100
+USBFS_ep_2__INTC_NUMBER EQU 8
+USBFS_ep_2__INTC_PRIOR_NUM EQU 7
+USBFS_ep_2__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_8
+USBFS_ep_2__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_ep_2__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; USBFS_ep_3
+USBFS_ep_3__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_ep_3__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_ep_3__INTC_MASK EQU 0x200
+USBFS_ep_3__INTC_NUMBER EQU 9
+USBFS_ep_3__INTC_PRIOR_NUM EQU 7
+USBFS_ep_3__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_9
+USBFS_ep_3__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_ep_3__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; USBFS_ep_4
+USBFS_ep_4__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+USBFS_ep_4__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+USBFS_ep_4__INTC_MASK EQU 0x400
+USBFS_ep_4__INTC_NUMBER EQU 10
+USBFS_ep_4__INTC_PRIOR_NUM EQU 7
+USBFS_ep_4__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_10
+USBFS_ep_4__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+USBFS_ep_4__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
 ; USBFS_sof_int
 USBFS_sof_int__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
@@ -188,2175 +255,270 @@ USBFS_sof_int__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_21
 USBFS_sof_int__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
 USBFS_sof_int__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
-; SCSI_Out_Ctl
-SCSI_Out_Ctl_Sync_ctrl_reg__0__MASK EQU 0x01
-SCSI_Out_Ctl_Sync_ctrl_reg__0__POS EQU 0
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB11_ACTL
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B1_UDB11_CTL
-SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B1_UDB11_ST_CTL
-SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B1_UDB11_CTL
-SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B1_UDB11_ST_CTL
-SCSI_Out_Ctl_Sync_ctrl_reg__MASK EQU 0x01
-SCSI_Out_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB11_MSK_ACTL
-SCSI_Out_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B1_UDB11_MSK
-SCSI_Out_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB11_MSK_ACTL
+; USBFS_USB
+USBFS_USB__ARB_CFG EQU CYREG_USB_ARB_CFG
+USBFS_USB__ARB_EP1_CFG EQU CYREG_USB_ARB_EP1_CFG
+USBFS_USB__ARB_EP1_INT_EN EQU CYREG_USB_ARB_EP1_INT_EN
+USBFS_USB__ARB_EP1_SR EQU CYREG_USB_ARB_EP1_SR
+USBFS_USB__ARB_EP2_CFG EQU CYREG_USB_ARB_EP2_CFG
+USBFS_USB__ARB_EP2_INT_EN EQU CYREG_USB_ARB_EP2_INT_EN
+USBFS_USB__ARB_EP2_SR EQU CYREG_USB_ARB_EP2_SR
+USBFS_USB__ARB_EP3_CFG EQU CYREG_USB_ARB_EP3_CFG
+USBFS_USB__ARB_EP3_INT_EN EQU CYREG_USB_ARB_EP3_INT_EN
+USBFS_USB__ARB_EP3_SR EQU CYREG_USB_ARB_EP3_SR
+USBFS_USB__ARB_EP4_CFG EQU CYREG_USB_ARB_EP4_CFG
+USBFS_USB__ARB_EP4_INT_EN EQU CYREG_USB_ARB_EP4_INT_EN
+USBFS_USB__ARB_EP4_SR EQU CYREG_USB_ARB_EP4_SR
+USBFS_USB__ARB_EP5_CFG EQU CYREG_USB_ARB_EP5_CFG
+USBFS_USB__ARB_EP5_INT_EN EQU CYREG_USB_ARB_EP5_INT_EN
+USBFS_USB__ARB_EP5_SR EQU CYREG_USB_ARB_EP5_SR
+USBFS_USB__ARB_EP6_CFG EQU CYREG_USB_ARB_EP6_CFG
+USBFS_USB__ARB_EP6_INT_EN EQU CYREG_USB_ARB_EP6_INT_EN
+USBFS_USB__ARB_EP6_SR EQU CYREG_USB_ARB_EP6_SR
+USBFS_USB__ARB_EP7_CFG EQU CYREG_USB_ARB_EP7_CFG
+USBFS_USB__ARB_EP7_INT_EN EQU CYREG_USB_ARB_EP7_INT_EN
+USBFS_USB__ARB_EP7_SR EQU CYREG_USB_ARB_EP7_SR
+USBFS_USB__ARB_EP8_CFG EQU CYREG_USB_ARB_EP8_CFG
+USBFS_USB__ARB_EP8_INT_EN EQU CYREG_USB_ARB_EP8_INT_EN
+USBFS_USB__ARB_EP8_SR EQU CYREG_USB_ARB_EP8_SR
+USBFS_USB__ARB_INT_EN EQU CYREG_USB_ARB_INT_EN
+USBFS_USB__ARB_INT_SR EQU CYREG_USB_ARB_INT_SR
+USBFS_USB__ARB_RW1_DR EQU CYREG_USB_ARB_RW1_DR
+USBFS_USB__ARB_RW1_RA EQU CYREG_USB_ARB_RW1_RA
+USBFS_USB__ARB_RW1_RA_MSB EQU CYREG_USB_ARB_RW1_RA_MSB
+USBFS_USB__ARB_RW1_WA EQU CYREG_USB_ARB_RW1_WA
+USBFS_USB__ARB_RW1_WA_MSB EQU CYREG_USB_ARB_RW1_WA_MSB
+USBFS_USB__ARB_RW2_DR EQU CYREG_USB_ARB_RW2_DR
+USBFS_USB__ARB_RW2_RA EQU CYREG_USB_ARB_RW2_RA
+USBFS_USB__ARB_RW2_RA_MSB EQU CYREG_USB_ARB_RW2_RA_MSB
+USBFS_USB__ARB_RW2_WA EQU CYREG_USB_ARB_RW2_WA
+USBFS_USB__ARB_RW2_WA_MSB EQU CYREG_USB_ARB_RW2_WA_MSB
+USBFS_USB__ARB_RW3_DR EQU CYREG_USB_ARB_RW3_DR
+USBFS_USB__ARB_RW3_RA EQU CYREG_USB_ARB_RW3_RA
+USBFS_USB__ARB_RW3_RA_MSB EQU CYREG_USB_ARB_RW3_RA_MSB
+USBFS_USB__ARB_RW3_WA EQU CYREG_USB_ARB_RW3_WA
+USBFS_USB__ARB_RW3_WA_MSB EQU CYREG_USB_ARB_RW3_WA_MSB
+USBFS_USB__ARB_RW4_DR EQU CYREG_USB_ARB_RW4_DR
+USBFS_USB__ARB_RW4_RA EQU CYREG_USB_ARB_RW4_RA
+USBFS_USB__ARB_RW4_RA_MSB EQU CYREG_USB_ARB_RW4_RA_MSB
+USBFS_USB__ARB_RW4_WA EQU CYREG_USB_ARB_RW4_WA
+USBFS_USB__ARB_RW4_WA_MSB EQU CYREG_USB_ARB_RW4_WA_MSB
+USBFS_USB__ARB_RW5_DR EQU CYREG_USB_ARB_RW5_DR
+USBFS_USB__ARB_RW5_RA EQU CYREG_USB_ARB_RW5_RA
+USBFS_USB__ARB_RW5_RA_MSB EQU CYREG_USB_ARB_RW5_RA_MSB
+USBFS_USB__ARB_RW5_WA EQU CYREG_USB_ARB_RW5_WA
+USBFS_USB__ARB_RW5_WA_MSB EQU CYREG_USB_ARB_RW5_WA_MSB
+USBFS_USB__ARB_RW6_DR EQU CYREG_USB_ARB_RW6_DR
+USBFS_USB__ARB_RW6_RA EQU CYREG_USB_ARB_RW6_RA
+USBFS_USB__ARB_RW6_RA_MSB EQU CYREG_USB_ARB_RW6_RA_MSB
+USBFS_USB__ARB_RW6_WA EQU CYREG_USB_ARB_RW6_WA
+USBFS_USB__ARB_RW6_WA_MSB EQU CYREG_USB_ARB_RW6_WA_MSB
+USBFS_USB__ARB_RW7_DR EQU CYREG_USB_ARB_RW7_DR
+USBFS_USB__ARB_RW7_RA EQU CYREG_USB_ARB_RW7_RA
+USBFS_USB__ARB_RW7_RA_MSB EQU CYREG_USB_ARB_RW7_RA_MSB
+USBFS_USB__ARB_RW7_WA EQU CYREG_USB_ARB_RW7_WA
+USBFS_USB__ARB_RW7_WA_MSB EQU CYREG_USB_ARB_RW7_WA_MSB
+USBFS_USB__ARB_RW8_DR EQU CYREG_USB_ARB_RW8_DR
+USBFS_USB__ARB_RW8_RA EQU CYREG_USB_ARB_RW8_RA
+USBFS_USB__ARB_RW8_RA_MSB EQU CYREG_USB_ARB_RW8_RA_MSB
+USBFS_USB__ARB_RW8_WA EQU CYREG_USB_ARB_RW8_WA
+USBFS_USB__ARB_RW8_WA_MSB EQU CYREG_USB_ARB_RW8_WA_MSB
+USBFS_USB__BUF_SIZE EQU CYREG_USB_BUF_SIZE
+USBFS_USB__BUS_RST_CNT EQU CYREG_USB_BUS_RST_CNT
+USBFS_USB__CR0 EQU CYREG_USB_CR0
+USBFS_USB__CR1 EQU CYREG_USB_CR1
+USBFS_USB__CWA EQU CYREG_USB_CWA
+USBFS_USB__CWA_MSB EQU CYREG_USB_CWA_MSB
+USBFS_USB__DMA_THRES EQU CYREG_USB_DMA_THRES
+USBFS_USB__DMA_THRES_MSB EQU CYREG_USB_DMA_THRES_MSB
+USBFS_USB__DYN_RECONFIG EQU CYREG_USB_DYN_RECONFIG
+USBFS_USB__EP_ACTIVE EQU CYREG_USB_EP_ACTIVE
+USBFS_USB__EP_TYPE EQU CYREG_USB_EP_TYPE
+USBFS_USB__EP0_CNT EQU CYREG_USB_EP0_CNT
+USBFS_USB__EP0_CR EQU CYREG_USB_EP0_CR
+USBFS_USB__EP0_DR0 EQU CYREG_USB_EP0_DR0
+USBFS_USB__EP0_DR1 EQU CYREG_USB_EP0_DR1
+USBFS_USB__EP0_DR2 EQU CYREG_USB_EP0_DR2
+USBFS_USB__EP0_DR3 EQU CYREG_USB_EP0_DR3
+USBFS_USB__EP0_DR4 EQU CYREG_USB_EP0_DR4
+USBFS_USB__EP0_DR5 EQU CYREG_USB_EP0_DR5
+USBFS_USB__EP0_DR6 EQU CYREG_USB_EP0_DR6
+USBFS_USB__EP0_DR7 EQU CYREG_USB_EP0_DR7
+USBFS_USB__MEM_DATA EQU CYREG_USB_MEM_DATA_MBASE
+USBFS_USB__PM_ACT_CFG EQU CYREG_PM_ACT_CFG5
+USBFS_USB__PM_ACT_MSK EQU 0x01
+USBFS_USB__PM_STBY_CFG EQU CYREG_PM_STBY_CFG5
+USBFS_USB__PM_STBY_MSK EQU 0x01
+USBFS_USB__SIE_EP_INT_EN EQU CYREG_USB_SIE_EP_INT_EN
+USBFS_USB__SIE_EP_INT_SR EQU CYREG_USB_SIE_EP_INT_SR
+USBFS_USB__SIE_EP1_CNT0 EQU CYREG_USB_SIE_EP1_CNT0
+USBFS_USB__SIE_EP1_CNT1 EQU CYREG_USB_SIE_EP1_CNT1
+USBFS_USB__SIE_EP1_CR0 EQU CYREG_USB_SIE_EP1_CR0
+USBFS_USB__SIE_EP2_CNT0 EQU CYREG_USB_SIE_EP2_CNT0
+USBFS_USB__SIE_EP2_CNT1 EQU CYREG_USB_SIE_EP2_CNT1
+USBFS_USB__SIE_EP2_CR0 EQU CYREG_USB_SIE_EP2_CR0
+USBFS_USB__SIE_EP3_CNT0 EQU CYREG_USB_SIE_EP3_CNT0
+USBFS_USB__SIE_EP3_CNT1 EQU CYREG_USB_SIE_EP3_CNT1
+USBFS_USB__SIE_EP3_CR0 EQU CYREG_USB_SIE_EP3_CR0
+USBFS_USB__SIE_EP4_CNT0 EQU CYREG_USB_SIE_EP4_CNT0
+USBFS_USB__SIE_EP4_CNT1 EQU CYREG_USB_SIE_EP4_CNT1
+USBFS_USB__SIE_EP4_CR0 EQU CYREG_USB_SIE_EP4_CR0
+USBFS_USB__SIE_EP5_CNT0 EQU CYREG_USB_SIE_EP5_CNT0
+USBFS_USB__SIE_EP5_CNT1 EQU CYREG_USB_SIE_EP5_CNT1
+USBFS_USB__SIE_EP5_CR0 EQU CYREG_USB_SIE_EP5_CR0
+USBFS_USB__SIE_EP6_CNT0 EQU CYREG_USB_SIE_EP6_CNT0
+USBFS_USB__SIE_EP6_CNT1 EQU CYREG_USB_SIE_EP6_CNT1
+USBFS_USB__SIE_EP6_CR0 EQU CYREG_USB_SIE_EP6_CR0
+USBFS_USB__SIE_EP7_CNT0 EQU CYREG_USB_SIE_EP7_CNT0
+USBFS_USB__SIE_EP7_CNT1 EQU CYREG_USB_SIE_EP7_CNT1
+USBFS_USB__SIE_EP7_CR0 EQU CYREG_USB_SIE_EP7_CR0
+USBFS_USB__SIE_EP8_CNT0 EQU CYREG_USB_SIE_EP8_CNT0
+USBFS_USB__SIE_EP8_CNT1 EQU CYREG_USB_SIE_EP8_CNT1
+USBFS_USB__SIE_EP8_CR0 EQU CYREG_USB_SIE_EP8_CR0
+USBFS_USB__SOF0 EQU CYREG_USB_SOF0
+USBFS_USB__SOF1 EQU CYREG_USB_SOF1
+USBFS_USB__USB_CLK_EN EQU CYREG_USB_USB_CLK_EN
+USBFS_USB__USBIO_CR0 EQU CYREG_USB_USBIO_CR0
+USBFS_USB__USBIO_CR1 EQU CYREG_USB_USBIO_CR1
 
-; SCSI_Out_DBx
-SCSI_Out_DBx__0__AG EQU CYREG_PRT5_AG
-SCSI_Out_DBx__0__AMUX EQU CYREG_PRT5_AMUX
-SCSI_Out_DBx__0__BIE EQU CYREG_PRT5_BIE
-SCSI_Out_DBx__0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_Out_DBx__0__BYP EQU CYREG_PRT5_BYP
-SCSI_Out_DBx__0__CTL EQU CYREG_PRT5_CTL
-SCSI_Out_DBx__0__DM0 EQU CYREG_PRT5_DM0
-SCSI_Out_DBx__0__DM1 EQU CYREG_PRT5_DM1
-SCSI_Out_DBx__0__DM2 EQU CYREG_PRT5_DM2
-SCSI_Out_DBx__0__DR EQU CYREG_PRT5_DR
-SCSI_Out_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_Out_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_Out_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_Out_DBx__0__MASK EQU 0x02
-SCSI_Out_DBx__0__PC EQU CYREG_PRT5_PC1
-SCSI_Out_DBx__0__PORT EQU 5
-SCSI_Out_DBx__0__PRT EQU CYREG_PRT5_PRT
-SCSI_Out_DBx__0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_Out_DBx__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_Out_DBx__0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_Out_DBx__0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_Out_DBx__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_Out_DBx__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_Out_DBx__0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_Out_DBx__0__PS EQU CYREG_PRT5_PS
-SCSI_Out_DBx__0__SHIFT EQU 1
-SCSI_Out_DBx__0__SLW EQU CYREG_PRT5_SLW
-SCSI_Out_DBx__1__AG EQU CYREG_PRT5_AG
-SCSI_Out_DBx__1__AMUX EQU CYREG_PRT5_AMUX
-SCSI_Out_DBx__1__BIE EQU CYREG_PRT5_BIE
-SCSI_Out_DBx__1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_Out_DBx__1__BYP EQU CYREG_PRT5_BYP
-SCSI_Out_DBx__1__CTL EQU CYREG_PRT5_CTL
-SCSI_Out_DBx__1__DM0 EQU CYREG_PRT5_DM0
-SCSI_Out_DBx__1__DM1 EQU CYREG_PRT5_DM1
-SCSI_Out_DBx__1__DM2 EQU CYREG_PRT5_DM2
-SCSI_Out_DBx__1__DR EQU CYREG_PRT5_DR
-SCSI_Out_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_Out_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_Out_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_Out_DBx__1__MASK EQU 0x01
-SCSI_Out_DBx__1__PC EQU CYREG_PRT5_PC0
-SCSI_Out_DBx__1__PORT EQU 5
-SCSI_Out_DBx__1__PRT EQU CYREG_PRT5_PRT
-SCSI_Out_DBx__1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_Out_DBx__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_Out_DBx__1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_Out_DBx__1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_Out_DBx__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_Out_DBx__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_Out_DBx__1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_Out_DBx__1__PS EQU CYREG_PRT5_PS
-SCSI_Out_DBx__1__SHIFT EQU 0
-SCSI_Out_DBx__1__SLW EQU CYREG_PRT5_SLW
-SCSI_Out_DBx__2__AG EQU CYREG_PRT6_AG
-SCSI_Out_DBx__2__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out_DBx__2__BIE EQU CYREG_PRT6_BIE
-SCSI_Out_DBx__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out_DBx__2__BYP EQU CYREG_PRT6_BYP
-SCSI_Out_DBx__2__CTL EQU CYREG_PRT6_CTL
-SCSI_Out_DBx__2__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out_DBx__2__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out_DBx__2__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out_DBx__2__DR EQU CYREG_PRT6_DR
-SCSI_Out_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out_DBx__2__MASK EQU 0x20
-SCSI_Out_DBx__2__PC EQU CYREG_PRT6_PC5
-SCSI_Out_DBx__2__PORT EQU 6
-SCSI_Out_DBx__2__PRT EQU CYREG_PRT6_PRT
-SCSI_Out_DBx__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out_DBx__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out_DBx__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out_DBx__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out_DBx__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out_DBx__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out_DBx__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out_DBx__2__PS EQU CYREG_PRT6_PS
-SCSI_Out_DBx__2__SHIFT EQU 5
-SCSI_Out_DBx__2__SLW EQU CYREG_PRT6_SLW
-SCSI_Out_DBx__3__AG EQU CYREG_PRT6_AG
-SCSI_Out_DBx__3__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out_DBx__3__BIE EQU CYREG_PRT6_BIE
-SCSI_Out_DBx__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out_DBx__3__BYP EQU CYREG_PRT6_BYP
-SCSI_Out_DBx__3__CTL EQU CYREG_PRT6_CTL
-SCSI_Out_DBx__3__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out_DBx__3__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out_DBx__3__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out_DBx__3__DR EQU CYREG_PRT6_DR
-SCSI_Out_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out_DBx__3__MASK EQU 0x10
-SCSI_Out_DBx__3__PC EQU CYREG_PRT6_PC4
-SCSI_Out_DBx__3__PORT EQU 6
-SCSI_Out_DBx__3__PRT EQU CYREG_PRT6_PRT
-SCSI_Out_DBx__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out_DBx__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out_DBx__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out_DBx__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out_DBx__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out_DBx__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out_DBx__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out_DBx__3__PS EQU CYREG_PRT6_PS
-SCSI_Out_DBx__3__SHIFT EQU 4
-SCSI_Out_DBx__3__SLW EQU CYREG_PRT6_SLW
-SCSI_Out_DBx__4__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__4__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__4__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__4__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__4__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__4__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__4__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__4__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__4__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__4__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__4__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__4__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__4__MASK EQU 0x80
-SCSI_Out_DBx__4__PC EQU CYREG_PRT2_PC7
-SCSI_Out_DBx__4__PORT EQU 2
-SCSI_Out_DBx__4__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__4__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__4__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__4__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__4__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__4__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__4__SHIFT EQU 7
-SCSI_Out_DBx__4__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__5__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__5__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__5__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__5__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__5__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__5__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__5__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__5__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__5__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__5__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__5__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__5__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__5__MASK EQU 0x40
-SCSI_Out_DBx__5__PC EQU CYREG_PRT2_PC6
-SCSI_Out_DBx__5__PORT EQU 2
-SCSI_Out_DBx__5__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__5__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__5__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__5__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__5__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__5__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__5__SHIFT EQU 6
-SCSI_Out_DBx__5__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__6__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__6__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__6__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__6__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__6__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__6__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__6__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__6__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__6__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__6__MASK EQU 0x08
-SCSI_Out_DBx__6__PC EQU CYREG_PRT2_PC3
-SCSI_Out_DBx__6__PORT EQU 2
-SCSI_Out_DBx__6__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__6__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__6__SHIFT EQU 3
-SCSI_Out_DBx__6__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__7__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__7__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__7__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__7__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__7__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__7__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__7__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__7__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__7__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__7__MASK EQU 0x04
-SCSI_Out_DBx__7__PC EQU CYREG_PRT2_PC2
-SCSI_Out_DBx__7__PORT EQU 2
-SCSI_Out_DBx__7__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__7__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__7__SHIFT EQU 2
-SCSI_Out_DBx__7__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__DB0__AG EQU CYREG_PRT5_AG
-SCSI_Out_DBx__DB0__AMUX EQU CYREG_PRT5_AMUX
-SCSI_Out_DBx__DB0__BIE EQU CYREG_PRT5_BIE
-SCSI_Out_DBx__DB0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_Out_DBx__DB0__BYP EQU CYREG_PRT5_BYP
-SCSI_Out_DBx__DB0__CTL EQU CYREG_PRT5_CTL
-SCSI_Out_DBx__DB0__DM0 EQU CYREG_PRT5_DM0
-SCSI_Out_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
-SCSI_Out_DBx__DB0__DM2 EQU CYREG_PRT5_DM2
-SCSI_Out_DBx__DB0__DR EQU CYREG_PRT5_DR
-SCSI_Out_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_Out_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_Out_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_Out_DBx__DB0__MASK EQU 0x02
-SCSI_Out_DBx__DB0__PC EQU CYREG_PRT5_PC1
-SCSI_Out_DBx__DB0__PORT EQU 5
-SCSI_Out_DBx__DB0__PRT EQU CYREG_PRT5_PRT
-SCSI_Out_DBx__DB0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_Out_DBx__DB0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_Out_DBx__DB0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_Out_DBx__DB0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_Out_DBx__DB0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_Out_DBx__DB0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_Out_DBx__DB0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_Out_DBx__DB0__PS EQU CYREG_PRT5_PS
-SCSI_Out_DBx__DB0__SHIFT EQU 1
-SCSI_Out_DBx__DB0__SLW EQU CYREG_PRT5_SLW
-SCSI_Out_DBx__DB1__AG EQU CYREG_PRT5_AG
-SCSI_Out_DBx__DB1__AMUX EQU CYREG_PRT5_AMUX
-SCSI_Out_DBx__DB1__BIE EQU CYREG_PRT5_BIE
-SCSI_Out_DBx__DB1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_Out_DBx__DB1__BYP EQU CYREG_PRT5_BYP
-SCSI_Out_DBx__DB1__CTL EQU CYREG_PRT5_CTL
-SCSI_Out_DBx__DB1__DM0 EQU CYREG_PRT5_DM0
-SCSI_Out_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
-SCSI_Out_DBx__DB1__DM2 EQU CYREG_PRT5_DM2
-SCSI_Out_DBx__DB1__DR EQU CYREG_PRT5_DR
-SCSI_Out_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_Out_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_Out_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_Out_DBx__DB1__MASK EQU 0x01
-SCSI_Out_DBx__DB1__PC EQU CYREG_PRT5_PC0
-SCSI_Out_DBx__DB1__PORT EQU 5
-SCSI_Out_DBx__DB1__PRT EQU CYREG_PRT5_PRT
-SCSI_Out_DBx__DB1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_Out_DBx__DB1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_Out_DBx__DB1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_Out_DBx__DB1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_Out_DBx__DB1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_Out_DBx__DB1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_Out_DBx__DB1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_Out_DBx__DB1__PS EQU CYREG_PRT5_PS
-SCSI_Out_DBx__DB1__SHIFT EQU 0
-SCSI_Out_DBx__DB1__SLW EQU CYREG_PRT5_SLW
-SCSI_Out_DBx__DB2__AG EQU CYREG_PRT6_AG
-SCSI_Out_DBx__DB2__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out_DBx__DB2__BIE EQU CYREG_PRT6_BIE
-SCSI_Out_DBx__DB2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out_DBx__DB2__BYP EQU CYREG_PRT6_BYP
-SCSI_Out_DBx__DB2__CTL EQU CYREG_PRT6_CTL
-SCSI_Out_DBx__DB2__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out_DBx__DB2__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out_DBx__DB2__DR EQU CYREG_PRT6_DR
-SCSI_Out_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out_DBx__DB2__MASK EQU 0x20
-SCSI_Out_DBx__DB2__PC EQU CYREG_PRT6_PC5
-SCSI_Out_DBx__DB2__PORT EQU 6
-SCSI_Out_DBx__DB2__PRT EQU CYREG_PRT6_PRT
-SCSI_Out_DBx__DB2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out_DBx__DB2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out_DBx__DB2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out_DBx__DB2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out_DBx__DB2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out_DBx__DB2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out_DBx__DB2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out_DBx__DB2__PS EQU CYREG_PRT6_PS
-SCSI_Out_DBx__DB2__SHIFT EQU 5
-SCSI_Out_DBx__DB2__SLW EQU CYREG_PRT6_SLW
-SCSI_Out_DBx__DB3__AG EQU CYREG_PRT6_AG
-SCSI_Out_DBx__DB3__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out_DBx__DB3__BIE EQU CYREG_PRT6_BIE
-SCSI_Out_DBx__DB3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out_DBx__DB3__BYP EQU CYREG_PRT6_BYP
-SCSI_Out_DBx__DB3__CTL EQU CYREG_PRT6_CTL
-SCSI_Out_DBx__DB3__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out_DBx__DB3__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out_DBx__DB3__DR EQU CYREG_PRT6_DR
-SCSI_Out_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out_DBx__DB3__MASK EQU 0x10
-SCSI_Out_DBx__DB3__PC EQU CYREG_PRT6_PC4
-SCSI_Out_DBx__DB3__PORT EQU 6
-SCSI_Out_DBx__DB3__PRT EQU CYREG_PRT6_PRT
-SCSI_Out_DBx__DB3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out_DBx__DB3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out_DBx__DB3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out_DBx__DB3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out_DBx__DB3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out_DBx__DB3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out_DBx__DB3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out_DBx__DB3__PS EQU CYREG_PRT6_PS
-SCSI_Out_DBx__DB3__SHIFT EQU 4
-SCSI_Out_DBx__DB3__SLW EQU CYREG_PRT6_SLW
-SCSI_Out_DBx__DB4__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__DB4__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__DB4__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__DB4__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__DB4__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__DB4__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__DB4__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__DB4__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__DB4__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__DB4__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__DB4__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__DB4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__DB4__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__DB4__MASK EQU 0x80
-SCSI_Out_DBx__DB4__PC EQU CYREG_PRT2_PC7
-SCSI_Out_DBx__DB4__PORT EQU 2
-SCSI_Out_DBx__DB4__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__DB4__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__DB4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__DB4__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__DB4__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__DB4__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__DB4__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__DB4__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__DB4__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__DB4__SHIFT EQU 7
-SCSI_Out_DBx__DB4__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__DB5__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__DB5__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__DB5__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__DB5__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__DB5__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__DB5__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__DB5__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__DB5__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__DB5__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__DB5__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__DB5__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__DB5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__DB5__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__DB5__MASK EQU 0x40
-SCSI_Out_DBx__DB5__PC EQU CYREG_PRT2_PC6
-SCSI_Out_DBx__DB5__PORT EQU 2
-SCSI_Out_DBx__DB5__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__DB5__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__DB5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__DB5__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__DB5__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__DB5__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__DB5__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__DB5__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__DB5__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__DB5__SHIFT EQU 6
-SCSI_Out_DBx__DB5__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__DB6__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__DB6__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__DB6__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__DB6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__DB6__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__DB6__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__DB6__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__DB6__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__DB6__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__DB6__MASK EQU 0x08
-SCSI_Out_DBx__DB6__PC EQU CYREG_PRT2_PC3
-SCSI_Out_DBx__DB6__PORT EQU 2
-SCSI_Out_DBx__DB6__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__DB6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__DB6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__DB6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__DB6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__DB6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__DB6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__DB6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__DB6__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__DB6__SHIFT EQU 3
-SCSI_Out_DBx__DB6__SLW EQU CYREG_PRT2_SLW
-SCSI_Out_DBx__DB7__AG EQU CYREG_PRT2_AG
-SCSI_Out_DBx__DB7__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Out_DBx__DB7__BIE EQU CYREG_PRT2_BIE
-SCSI_Out_DBx__DB7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Out_DBx__DB7__BYP EQU CYREG_PRT2_BYP
-SCSI_Out_DBx__DB7__CTL EQU CYREG_PRT2_CTL
-SCSI_Out_DBx__DB7__DM0 EQU CYREG_PRT2_DM0
-SCSI_Out_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
-SCSI_Out_DBx__DB7__DM2 EQU CYREG_PRT2_DM2
-SCSI_Out_DBx__DB7__DR EQU CYREG_PRT2_DR
-SCSI_Out_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Out_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Out_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Out_DBx__DB7__MASK EQU 0x04
-SCSI_Out_DBx__DB7__PC EQU CYREG_PRT2_PC2
-SCSI_Out_DBx__DB7__PORT EQU 2
-SCSI_Out_DBx__DB7__PRT EQU CYREG_PRT2_PRT
-SCSI_Out_DBx__DB7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Out_DBx__DB7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Out_DBx__DB7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Out_DBx__DB7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Out_DBx__DB7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Out_DBx__DB7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Out_DBx__DB7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Out_DBx__DB7__PS EQU CYREG_PRT2_PS
-SCSI_Out_DBx__DB7__SHIFT EQU 2
-SCSI_Out_DBx__DB7__SLW EQU CYREG_PRT2_SLW
-
-; SCSI_RST_ISR
-SCSI_RST_ISR__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-SCSI_RST_ISR__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-SCSI_RST_ISR__INTC_MASK EQU 0x04
-SCSI_RST_ISR__INTC_NUMBER EQU 2
-SCSI_RST_ISR__INTC_PRIOR_NUM EQU 7
-SCSI_RST_ISR__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_2
-SCSI_RST_ISR__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-SCSI_RST_ISR__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; SDCard_BSPIM
-SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB07_08_ACTL
-SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_REG EQU CYREG_B1_UDB07_08_ST
-SDCard_BSPIM_BitCounter_ST__MASK_REG EQU CYREG_B1_UDB07_MSK
-SDCard_BSPIM_BitCounter_ST__MASK_ST_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL
-SDCard_BSPIM_BitCounter_ST__PER_ST_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL
-SDCard_BSPIM_BitCounter_ST__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB07_ACTL
-SDCard_BSPIM_BitCounter_ST__STATUS_CNT_REG EQU CYREG_B1_UDB07_ST_CTL
-SDCard_BSPIM_BitCounter_ST__STATUS_CONTROL_REG EQU CYREG_B1_UDB07_ST_CTL
-SDCard_BSPIM_BitCounter_ST__STATUS_REG EQU CYREG_B1_UDB07_ST
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB07_08_ACTL
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_CONTROL_REG EQU CYREG_B1_UDB07_08_CTL
-SDCard_BSPIM_BitCounter__16BIT_CONTROL_COUNT_REG EQU CYREG_B1_UDB07_08_CTL
-SDCard_BSPIM_BitCounter__16BIT_COUNT_CONTROL_REG EQU CYREG_B1_UDB07_08_CTL
-SDCard_BSPIM_BitCounter__16BIT_COUNT_COUNT_REG EQU CYREG_B1_UDB07_08_CTL
-SDCard_BSPIM_BitCounter__16BIT_MASK_MASK_REG EQU CYREG_B1_UDB07_08_MSK
-SDCard_BSPIM_BitCounter__16BIT_MASK_PERIOD_REG EQU CYREG_B1_UDB07_08_MSK
-SDCard_BSPIM_BitCounter__16BIT_PERIOD_MASK_REG EQU CYREG_B1_UDB07_08_MSK
-SDCard_BSPIM_BitCounter__16BIT_PERIOD_PERIOD_REG EQU CYREG_B1_UDB07_08_MSK
-SDCard_BSPIM_BitCounter__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB07_ACTL
-SDCard_BSPIM_BitCounter__CONTROL_REG EQU CYREG_B1_UDB07_CTL
-SDCard_BSPIM_BitCounter__CONTROL_ST_REG EQU CYREG_B1_UDB07_ST_CTL
-SDCard_BSPIM_BitCounter__COUNT_REG EQU CYREG_B1_UDB07_CTL
-SDCard_BSPIM_BitCounter__COUNT_ST_REG EQU CYREG_B1_UDB07_ST_CTL
-SDCard_BSPIM_BitCounter__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL
-SDCard_BSPIM_BitCounter__PERIOD_REG EQU CYREG_B1_UDB07_MSK
-SDCard_BSPIM_BitCounter__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB07_MSK_ACTL
-SDCard_BSPIM_RxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB06_07_ACTL
-SDCard_BSPIM_RxStsReg__16BIT_STATUS_REG EQU CYREG_B0_UDB06_07_ST
-SDCard_BSPIM_RxStsReg__4__MASK EQU 0x10
-SDCard_BSPIM_RxStsReg__4__POS EQU 4
-SDCard_BSPIM_RxStsReg__5__MASK EQU 0x20
-SDCard_BSPIM_RxStsReg__5__POS EQU 5
-SDCard_BSPIM_RxStsReg__6__MASK EQU 0x40
-SDCard_BSPIM_RxStsReg__6__POS EQU 6
-SDCard_BSPIM_RxStsReg__MASK EQU 0x70
-SDCard_BSPIM_RxStsReg__MASK_REG EQU CYREG_B0_UDB06_MSK
-SDCard_BSPIM_RxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB06_ACTL
-SDCard_BSPIM_RxStsReg__STATUS_REG EQU CYREG_B0_UDB06_ST
-SDCard_BSPIM_TxStsReg__0__MASK EQU 0x01
-SDCard_BSPIM_TxStsReg__0__POS EQU 0
-SDCard_BSPIM_TxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB05_06_ACTL
-SDCard_BSPIM_TxStsReg__16BIT_STATUS_REG EQU CYREG_B1_UDB05_06_ST
-SDCard_BSPIM_TxStsReg__1__MASK EQU 0x02
-SDCard_BSPIM_TxStsReg__1__POS EQU 1
-SDCard_BSPIM_TxStsReg__2__MASK EQU 0x04
-SDCard_BSPIM_TxStsReg__2__POS EQU 2
-SDCard_BSPIM_TxStsReg__3__MASK EQU 0x08
-SDCard_BSPIM_TxStsReg__3__POS EQU 3
-SDCard_BSPIM_TxStsReg__4__MASK EQU 0x10
-SDCard_BSPIM_TxStsReg__4__POS EQU 4
-SDCard_BSPIM_TxStsReg__MASK EQU 0x1F
-SDCard_BSPIM_TxStsReg__MASK_REG EQU CYREG_B1_UDB05_MSK
-SDCard_BSPIM_TxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB05_ACTL
-SDCard_BSPIM_TxStsReg__STATUS_REG EQU CYREG_B1_UDB05_ST
-SDCard_BSPIM_sR8_Dp_u0__16BIT_A0_REG EQU CYREG_B1_UDB05_06_A0
-SDCard_BSPIM_sR8_Dp_u0__16BIT_A1_REG EQU CYREG_B1_UDB05_06_A1
-SDCard_BSPIM_sR8_Dp_u0__16BIT_D0_REG EQU CYREG_B1_UDB05_06_D0
-SDCard_BSPIM_sR8_Dp_u0__16BIT_D1_REG EQU CYREG_B1_UDB05_06_D1
-SDCard_BSPIM_sR8_Dp_u0__16BIT_DP_AUX_CTL_REG EQU CYREG_B1_UDB05_06_ACTL
-SDCard_BSPIM_sR8_Dp_u0__16BIT_F0_REG EQU CYREG_B1_UDB05_06_F0
-SDCard_BSPIM_sR8_Dp_u0__16BIT_F1_REG EQU CYREG_B1_UDB05_06_F1
-SDCard_BSPIM_sR8_Dp_u0__A0_A1_REG EQU CYREG_B1_UDB05_A0_A1
-SDCard_BSPIM_sR8_Dp_u0__A0_REG EQU CYREG_B1_UDB05_A0
-SDCard_BSPIM_sR8_Dp_u0__A1_REG EQU CYREG_B1_UDB05_A1
-SDCard_BSPIM_sR8_Dp_u0__D0_D1_REG EQU CYREG_B1_UDB05_D0_D1
-SDCard_BSPIM_sR8_Dp_u0__D0_REG EQU CYREG_B1_UDB05_D0
-SDCard_BSPIM_sR8_Dp_u0__D1_REG EQU CYREG_B1_UDB05_D1
-SDCard_BSPIM_sR8_Dp_u0__DP_AUX_CTL_REG EQU CYREG_B1_UDB05_ACTL
-SDCard_BSPIM_sR8_Dp_u0__F0_F1_REG EQU CYREG_B1_UDB05_F0_F1
-SDCard_BSPIM_sR8_Dp_u0__F0_REG EQU CYREG_B1_UDB05_F0
-SDCard_BSPIM_sR8_Dp_u0__F1_REG EQU CYREG_B1_UDB05_F1
-
-; USBFS_dp_int
-USBFS_dp_int__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_dp_int__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_dp_int__INTC_MASK EQU 0x1000
-USBFS_dp_int__INTC_NUMBER EQU 12
-USBFS_dp_int__INTC_PRIOR_NUM EQU 7
-USBFS_dp_int__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_12
-USBFS_dp_int__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_dp_int__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; SCSI_In_DBx
-SCSI_In_DBx__0__AG EQU CYREG_PRT5_AG
-SCSI_In_DBx__0__AMUX EQU CYREG_PRT5_AMUX
-SCSI_In_DBx__0__BIE EQU CYREG_PRT5_BIE
-SCSI_In_DBx__0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_In_DBx__0__BYP EQU CYREG_PRT5_BYP
-SCSI_In_DBx__0__CTL EQU CYREG_PRT5_CTL
-SCSI_In_DBx__0__DM0 EQU CYREG_PRT5_DM0
-SCSI_In_DBx__0__DM1 EQU CYREG_PRT5_DM1
-SCSI_In_DBx__0__DM2 EQU CYREG_PRT5_DM2
-SCSI_In_DBx__0__DR EQU CYREG_PRT5_DR
-SCSI_In_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_In_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_In_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_In_DBx__0__MASK EQU 0x08
-SCSI_In_DBx__0__PC EQU CYREG_PRT5_PC3
-SCSI_In_DBx__0__PORT EQU 5
-SCSI_In_DBx__0__PRT EQU CYREG_PRT5_PRT
-SCSI_In_DBx__0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_In_DBx__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_In_DBx__0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_In_DBx__0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_In_DBx__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_In_DBx__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_In_DBx__0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_In_DBx__0__PS EQU CYREG_PRT5_PS
-SCSI_In_DBx__0__SHIFT EQU 3
-SCSI_In_DBx__0__SLW EQU CYREG_PRT5_SLW
-SCSI_In_DBx__1__AG EQU CYREG_PRT5_AG
-SCSI_In_DBx__1__AMUX EQU CYREG_PRT5_AMUX
-SCSI_In_DBx__1__BIE EQU CYREG_PRT5_BIE
-SCSI_In_DBx__1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_In_DBx__1__BYP EQU CYREG_PRT5_BYP
-SCSI_In_DBx__1__CTL EQU CYREG_PRT5_CTL
-SCSI_In_DBx__1__DM0 EQU CYREG_PRT5_DM0
-SCSI_In_DBx__1__DM1 EQU CYREG_PRT5_DM1
-SCSI_In_DBx__1__DM2 EQU CYREG_PRT5_DM2
-SCSI_In_DBx__1__DR EQU CYREG_PRT5_DR
-SCSI_In_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_In_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_In_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_In_DBx__1__MASK EQU 0x04
-SCSI_In_DBx__1__PC EQU CYREG_PRT5_PC2
-SCSI_In_DBx__1__PORT EQU 5
-SCSI_In_DBx__1__PRT EQU CYREG_PRT5_PRT
-SCSI_In_DBx__1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_In_DBx__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_In_DBx__1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_In_DBx__1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_In_DBx__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_In_DBx__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_In_DBx__1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_In_DBx__1__PS EQU CYREG_PRT5_PS
-SCSI_In_DBx__1__SHIFT EQU 2
-SCSI_In_DBx__1__SLW EQU CYREG_PRT5_SLW
-SCSI_In_DBx__2__AG EQU CYREG_PRT6_AG
-SCSI_In_DBx__2__AMUX EQU CYREG_PRT6_AMUX
-SCSI_In_DBx__2__BIE EQU CYREG_PRT6_BIE
-SCSI_In_DBx__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_In_DBx__2__BYP EQU CYREG_PRT6_BYP
-SCSI_In_DBx__2__CTL EQU CYREG_PRT6_CTL
-SCSI_In_DBx__2__DM0 EQU CYREG_PRT6_DM0
-SCSI_In_DBx__2__DM1 EQU CYREG_PRT6_DM1
-SCSI_In_DBx__2__DM2 EQU CYREG_PRT6_DM2
-SCSI_In_DBx__2__DR EQU CYREG_PRT6_DR
-SCSI_In_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_In_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_In_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_In_DBx__2__MASK EQU 0x80
-SCSI_In_DBx__2__PC EQU CYREG_PRT6_PC7
-SCSI_In_DBx__2__PORT EQU 6
-SCSI_In_DBx__2__PRT EQU CYREG_PRT6_PRT
-SCSI_In_DBx__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_In_DBx__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_In_DBx__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_In_DBx__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_In_DBx__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_In_DBx__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_In_DBx__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_In_DBx__2__PS EQU CYREG_PRT6_PS
-SCSI_In_DBx__2__SHIFT EQU 7
-SCSI_In_DBx__2__SLW EQU CYREG_PRT6_SLW
-SCSI_In_DBx__3__AG EQU CYREG_PRT6_AG
-SCSI_In_DBx__3__AMUX EQU CYREG_PRT6_AMUX
-SCSI_In_DBx__3__BIE EQU CYREG_PRT6_BIE
-SCSI_In_DBx__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_In_DBx__3__BYP EQU CYREG_PRT6_BYP
-SCSI_In_DBx__3__CTL EQU CYREG_PRT6_CTL
-SCSI_In_DBx__3__DM0 EQU CYREG_PRT6_DM0
-SCSI_In_DBx__3__DM1 EQU CYREG_PRT6_DM1
-SCSI_In_DBx__3__DM2 EQU CYREG_PRT6_DM2
-SCSI_In_DBx__3__DR EQU CYREG_PRT6_DR
-SCSI_In_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_In_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_In_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_In_DBx__3__MASK EQU 0x40
-SCSI_In_DBx__3__PC EQU CYREG_PRT6_PC6
-SCSI_In_DBx__3__PORT EQU 6
-SCSI_In_DBx__3__PRT EQU CYREG_PRT6_PRT
-SCSI_In_DBx__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_In_DBx__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_In_DBx__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_In_DBx__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_In_DBx__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_In_DBx__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_In_DBx__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_In_DBx__3__PS EQU CYREG_PRT6_PS
-SCSI_In_DBx__3__SHIFT EQU 6
-SCSI_In_DBx__3__SLW EQU CYREG_PRT6_SLW
-SCSI_In_DBx__4__AG EQU CYREG_PRT12_AG
-SCSI_In_DBx__4__BIE EQU CYREG_PRT12_BIE
-SCSI_In_DBx__4__BIT_MASK EQU CYREG_PRT12_BIT_MASK
-SCSI_In_DBx__4__BYP EQU CYREG_PRT12_BYP
-SCSI_In_DBx__4__DM0 EQU CYREG_PRT12_DM0
-SCSI_In_DBx__4__DM1 EQU CYREG_PRT12_DM1
-SCSI_In_DBx__4__DM2 EQU CYREG_PRT12_DM2
-SCSI_In_DBx__4__DR EQU CYREG_PRT12_DR
-SCSI_In_DBx__4__INP_DIS EQU CYREG_PRT12_INP_DIS
-SCSI_In_DBx__4__MASK EQU 0x20
-SCSI_In_DBx__4__PC EQU CYREG_PRT12_PC5
-SCSI_In_DBx__4__PORT EQU 12
-SCSI_In_DBx__4__PRT EQU CYREG_PRT12_PRT
-SCSI_In_DBx__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
-SCSI_In_DBx__4__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
-SCSI_In_DBx__4__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
-SCSI_In_DBx__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
-SCSI_In_DBx__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
-SCSI_In_DBx__4__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
-SCSI_In_DBx__4__PS EQU CYREG_PRT12_PS
-SCSI_In_DBx__4__SHIFT EQU 5
-SCSI_In_DBx__4__SIO_CFG EQU CYREG_PRT12_SIO_CFG
-SCSI_In_DBx__4__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
-SCSI_In_DBx__4__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
-SCSI_In_DBx__4__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
-SCSI_In_DBx__4__SLW EQU CYREG_PRT12_SLW
-SCSI_In_DBx__5__AG EQU CYREG_PRT12_AG
-SCSI_In_DBx__5__BIE EQU CYREG_PRT12_BIE
-SCSI_In_DBx__5__BIT_MASK EQU CYREG_PRT12_BIT_MASK
-SCSI_In_DBx__5__BYP EQU CYREG_PRT12_BYP
-SCSI_In_DBx__5__DM0 EQU CYREG_PRT12_DM0
-SCSI_In_DBx__5__DM1 EQU CYREG_PRT12_DM1
-SCSI_In_DBx__5__DM2 EQU CYREG_PRT12_DM2
-SCSI_In_DBx__5__DR EQU CYREG_PRT12_DR
-SCSI_In_DBx__5__INP_DIS EQU CYREG_PRT12_INP_DIS
-SCSI_In_DBx__5__MASK EQU 0x10
-SCSI_In_DBx__5__PC EQU CYREG_PRT12_PC4
-SCSI_In_DBx__5__PORT EQU 12
-SCSI_In_DBx__5__PRT EQU CYREG_PRT12_PRT
-SCSI_In_DBx__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
-SCSI_In_DBx__5__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
-SCSI_In_DBx__5__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
-SCSI_In_DBx__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
-SCSI_In_DBx__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
-SCSI_In_DBx__5__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
-SCSI_In_DBx__5__PS EQU CYREG_PRT12_PS
-SCSI_In_DBx__5__SHIFT EQU 4
-SCSI_In_DBx__5__SIO_CFG EQU CYREG_PRT12_SIO_CFG
-SCSI_In_DBx__5__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
-SCSI_In_DBx__5__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
-SCSI_In_DBx__5__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
-SCSI_In_DBx__5__SLW EQU CYREG_PRT12_SLW
-SCSI_In_DBx__6__AG EQU CYREG_PRT2_AG
-SCSI_In_DBx__6__AMUX EQU CYREG_PRT2_AMUX
-SCSI_In_DBx__6__BIE EQU CYREG_PRT2_BIE
-SCSI_In_DBx__6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_In_DBx__6__BYP EQU CYREG_PRT2_BYP
-SCSI_In_DBx__6__CTL EQU CYREG_PRT2_CTL
-SCSI_In_DBx__6__DM0 EQU CYREG_PRT2_DM0
-SCSI_In_DBx__6__DM1 EQU CYREG_PRT2_DM1
-SCSI_In_DBx__6__DM2 EQU CYREG_PRT2_DM2
-SCSI_In_DBx__6__DR EQU CYREG_PRT2_DR
-SCSI_In_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_In_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_In_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_In_DBx__6__MASK EQU 0x20
-SCSI_In_DBx__6__PC EQU CYREG_PRT2_PC5
-SCSI_In_DBx__6__PORT EQU 2
-SCSI_In_DBx__6__PRT EQU CYREG_PRT2_PRT
-SCSI_In_DBx__6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_In_DBx__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_In_DBx__6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_In_DBx__6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_In_DBx__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_In_DBx__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_In_DBx__6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_In_DBx__6__PS EQU CYREG_PRT2_PS
-SCSI_In_DBx__6__SHIFT EQU 5
-SCSI_In_DBx__6__SLW EQU CYREG_PRT2_SLW
-SCSI_In_DBx__7__AG EQU CYREG_PRT2_AG
-SCSI_In_DBx__7__AMUX EQU CYREG_PRT2_AMUX
-SCSI_In_DBx__7__BIE EQU CYREG_PRT2_BIE
-SCSI_In_DBx__7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_In_DBx__7__BYP EQU CYREG_PRT2_BYP
-SCSI_In_DBx__7__CTL EQU CYREG_PRT2_CTL
-SCSI_In_DBx__7__DM0 EQU CYREG_PRT2_DM0
-SCSI_In_DBx__7__DM1 EQU CYREG_PRT2_DM1
-SCSI_In_DBx__7__DM2 EQU CYREG_PRT2_DM2
-SCSI_In_DBx__7__DR EQU CYREG_PRT2_DR
-SCSI_In_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_In_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_In_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_In_DBx__7__MASK EQU 0x10
-SCSI_In_DBx__7__PC EQU CYREG_PRT2_PC4
-SCSI_In_DBx__7__PORT EQU 2
-SCSI_In_DBx__7__PRT EQU CYREG_PRT2_PRT
-SCSI_In_DBx__7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_In_DBx__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_In_DBx__7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_In_DBx__7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_In_DBx__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_In_DBx__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_In_DBx__7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_In_DBx__7__PS EQU CYREG_PRT2_PS
-SCSI_In_DBx__7__SHIFT EQU 4
-SCSI_In_DBx__7__SLW EQU CYREG_PRT2_SLW
-SCSI_In_DBx__DB0__AG EQU CYREG_PRT5_AG
-SCSI_In_DBx__DB0__AMUX EQU CYREG_PRT5_AMUX
-SCSI_In_DBx__DB0__BIE EQU CYREG_PRT5_BIE
-SCSI_In_DBx__DB0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_In_DBx__DB0__BYP EQU CYREG_PRT5_BYP
-SCSI_In_DBx__DB0__CTL EQU CYREG_PRT5_CTL
-SCSI_In_DBx__DB0__DM0 EQU CYREG_PRT5_DM0
-SCSI_In_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
-SCSI_In_DBx__DB0__DM2 EQU CYREG_PRT5_DM2
-SCSI_In_DBx__DB0__DR EQU CYREG_PRT5_DR
-SCSI_In_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_In_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_In_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_In_DBx__DB0__MASK EQU 0x08
-SCSI_In_DBx__DB0__PC EQU CYREG_PRT5_PC3
-SCSI_In_DBx__DB0__PORT EQU 5
-SCSI_In_DBx__DB0__PRT EQU CYREG_PRT5_PRT
-SCSI_In_DBx__DB0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_In_DBx__DB0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_In_DBx__DB0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_In_DBx__DB0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_In_DBx__DB0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_In_DBx__DB0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_In_DBx__DB0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_In_DBx__DB0__PS EQU CYREG_PRT5_PS
-SCSI_In_DBx__DB0__SHIFT EQU 3
-SCSI_In_DBx__DB0__SLW EQU CYREG_PRT5_SLW
-SCSI_In_DBx__DB1__AG EQU CYREG_PRT5_AG
-SCSI_In_DBx__DB1__AMUX EQU CYREG_PRT5_AMUX
-SCSI_In_DBx__DB1__BIE EQU CYREG_PRT5_BIE
-SCSI_In_DBx__DB1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
-SCSI_In_DBx__DB1__BYP EQU CYREG_PRT5_BYP
-SCSI_In_DBx__DB1__CTL EQU CYREG_PRT5_CTL
-SCSI_In_DBx__DB1__DM0 EQU CYREG_PRT5_DM0
-SCSI_In_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
-SCSI_In_DBx__DB1__DM2 EQU CYREG_PRT5_DM2
-SCSI_In_DBx__DB1__DR EQU CYREG_PRT5_DR
-SCSI_In_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS
-SCSI_In_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
-SCSI_In_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN
-SCSI_In_DBx__DB1__MASK EQU 0x04
-SCSI_In_DBx__DB1__PC EQU CYREG_PRT5_PC2
-SCSI_In_DBx__DB1__PORT EQU 5
-SCSI_In_DBx__DB1__PRT EQU CYREG_PRT5_PRT
-SCSI_In_DBx__DB1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
-SCSI_In_DBx__DB1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
-SCSI_In_DBx__DB1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
-SCSI_In_DBx__DB1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
-SCSI_In_DBx__DB1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
-SCSI_In_DBx__DB1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
-SCSI_In_DBx__DB1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
-SCSI_In_DBx__DB1__PS EQU CYREG_PRT5_PS
-SCSI_In_DBx__DB1__SHIFT EQU 2
-SCSI_In_DBx__DB1__SLW EQU CYREG_PRT5_SLW
-SCSI_In_DBx__DB2__AG EQU CYREG_PRT6_AG
-SCSI_In_DBx__DB2__AMUX EQU CYREG_PRT6_AMUX
-SCSI_In_DBx__DB2__BIE EQU CYREG_PRT6_BIE
-SCSI_In_DBx__DB2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_In_DBx__DB2__BYP EQU CYREG_PRT6_BYP
-SCSI_In_DBx__DB2__CTL EQU CYREG_PRT6_CTL
-SCSI_In_DBx__DB2__DM0 EQU CYREG_PRT6_DM0
-SCSI_In_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
-SCSI_In_DBx__DB2__DM2 EQU CYREG_PRT6_DM2
-SCSI_In_DBx__DB2__DR EQU CYREG_PRT6_DR
-SCSI_In_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_In_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_In_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_In_DBx__DB2__MASK EQU 0x80
-SCSI_In_DBx__DB2__PC EQU CYREG_PRT6_PC7
-SCSI_In_DBx__DB2__PORT EQU 6
-SCSI_In_DBx__DB2__PRT EQU CYREG_PRT6_PRT
-SCSI_In_DBx__DB2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_In_DBx__DB2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_In_DBx__DB2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_In_DBx__DB2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_In_DBx__DB2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_In_DBx__DB2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_In_DBx__DB2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_In_DBx__DB2__PS EQU CYREG_PRT6_PS
-SCSI_In_DBx__DB2__SHIFT EQU 7
-SCSI_In_DBx__DB2__SLW EQU CYREG_PRT6_SLW
-SCSI_In_DBx__DB3__AG EQU CYREG_PRT6_AG
-SCSI_In_DBx__DB3__AMUX EQU CYREG_PRT6_AMUX
-SCSI_In_DBx__DB3__BIE EQU CYREG_PRT6_BIE
-SCSI_In_DBx__DB3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_In_DBx__DB3__BYP EQU CYREG_PRT6_BYP
-SCSI_In_DBx__DB3__CTL EQU CYREG_PRT6_CTL
-SCSI_In_DBx__DB3__DM0 EQU CYREG_PRT6_DM0
-SCSI_In_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
-SCSI_In_DBx__DB3__DM2 EQU CYREG_PRT6_DM2
-SCSI_In_DBx__DB3__DR EQU CYREG_PRT6_DR
-SCSI_In_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_In_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_In_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_In_DBx__DB3__MASK EQU 0x40
-SCSI_In_DBx__DB3__PC EQU CYREG_PRT6_PC6
-SCSI_In_DBx__DB3__PORT EQU 6
-SCSI_In_DBx__DB3__PRT EQU CYREG_PRT6_PRT
-SCSI_In_DBx__DB3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_In_DBx__DB3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_In_DBx__DB3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_In_DBx__DB3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_In_DBx__DB3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_In_DBx__DB3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_In_DBx__DB3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_In_DBx__DB3__PS EQU CYREG_PRT6_PS
-SCSI_In_DBx__DB3__SHIFT EQU 6
-SCSI_In_DBx__DB3__SLW EQU CYREG_PRT6_SLW
-SCSI_In_DBx__DB4__AG EQU CYREG_PRT12_AG
-SCSI_In_DBx__DB4__BIE EQU CYREG_PRT12_BIE
-SCSI_In_DBx__DB4__BIT_MASK EQU CYREG_PRT12_BIT_MASK
-SCSI_In_DBx__DB4__BYP EQU CYREG_PRT12_BYP
-SCSI_In_DBx__DB4__DM0 EQU CYREG_PRT12_DM0
-SCSI_In_DBx__DB4__DM1 EQU CYREG_PRT12_DM1
-SCSI_In_DBx__DB4__DM2 EQU CYREG_PRT12_DM2
-SCSI_In_DBx__DB4__DR EQU CYREG_PRT12_DR
-SCSI_In_DBx__DB4__INP_DIS EQU CYREG_PRT12_INP_DIS
-SCSI_In_DBx__DB4__MASK EQU 0x20
-SCSI_In_DBx__DB4__PC EQU CYREG_PRT12_PC5
-SCSI_In_DBx__DB4__PORT EQU 12
-SCSI_In_DBx__DB4__PRT EQU CYREG_PRT12_PRT
-SCSI_In_DBx__DB4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
-SCSI_In_DBx__DB4__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
-SCSI_In_DBx__DB4__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
-SCSI_In_DBx__DB4__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
-SCSI_In_DBx__DB4__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
-SCSI_In_DBx__DB4__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
-SCSI_In_DBx__DB4__PS EQU CYREG_PRT12_PS
-SCSI_In_DBx__DB4__SHIFT EQU 5
-SCSI_In_DBx__DB4__SIO_CFG EQU CYREG_PRT12_SIO_CFG
-SCSI_In_DBx__DB4__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
-SCSI_In_DBx__DB4__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
-SCSI_In_DBx__DB4__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
-SCSI_In_DBx__DB4__SLW EQU CYREG_PRT12_SLW
-SCSI_In_DBx__DB5__AG EQU CYREG_PRT12_AG
-SCSI_In_DBx__DB5__BIE EQU CYREG_PRT12_BIE
-SCSI_In_DBx__DB5__BIT_MASK EQU CYREG_PRT12_BIT_MASK
-SCSI_In_DBx__DB5__BYP EQU CYREG_PRT12_BYP
-SCSI_In_DBx__DB5__DM0 EQU CYREG_PRT12_DM0
-SCSI_In_DBx__DB5__DM1 EQU CYREG_PRT12_DM1
-SCSI_In_DBx__DB5__DM2 EQU CYREG_PRT12_DM2
-SCSI_In_DBx__DB5__DR EQU CYREG_PRT12_DR
-SCSI_In_DBx__DB5__INP_DIS EQU CYREG_PRT12_INP_DIS
-SCSI_In_DBx__DB5__MASK EQU 0x10
-SCSI_In_DBx__DB5__PC EQU CYREG_PRT12_PC4
-SCSI_In_DBx__DB5__PORT EQU 12
-SCSI_In_DBx__DB5__PRT EQU CYREG_PRT12_PRT
-SCSI_In_DBx__DB5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
-SCSI_In_DBx__DB5__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
-SCSI_In_DBx__DB5__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
-SCSI_In_DBx__DB5__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
-SCSI_In_DBx__DB5__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
-SCSI_In_DBx__DB5__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
-SCSI_In_DBx__DB5__PS EQU CYREG_PRT12_PS
-SCSI_In_DBx__DB5__SHIFT EQU 4
-SCSI_In_DBx__DB5__SIO_CFG EQU CYREG_PRT12_SIO_CFG
-SCSI_In_DBx__DB5__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
-SCSI_In_DBx__DB5__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
-SCSI_In_DBx__DB5__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
-SCSI_In_DBx__DB5__SLW EQU CYREG_PRT12_SLW
-SCSI_In_DBx__DB6__AG EQU CYREG_PRT2_AG
-SCSI_In_DBx__DB6__AMUX EQU CYREG_PRT2_AMUX
-SCSI_In_DBx__DB6__BIE EQU CYREG_PRT2_BIE
-SCSI_In_DBx__DB6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_In_DBx__DB6__BYP EQU CYREG_PRT2_BYP
-SCSI_In_DBx__DB6__CTL EQU CYREG_PRT2_CTL
-SCSI_In_DBx__DB6__DM0 EQU CYREG_PRT2_DM0
-SCSI_In_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
-SCSI_In_DBx__DB6__DM2 EQU CYREG_PRT2_DM2
-SCSI_In_DBx__DB6__DR EQU CYREG_PRT2_DR
-SCSI_In_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_In_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_In_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_In_DBx__DB6__MASK EQU 0x20
-SCSI_In_DBx__DB6__PC EQU CYREG_PRT2_PC5
-SCSI_In_DBx__DB6__PORT EQU 2
-SCSI_In_DBx__DB6__PRT EQU CYREG_PRT2_PRT
-SCSI_In_DBx__DB6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_In_DBx__DB6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_In_DBx__DB6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_In_DBx__DB6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_In_DBx__DB6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_In_DBx__DB6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_In_DBx__DB6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_In_DBx__DB6__PS EQU CYREG_PRT2_PS
-SCSI_In_DBx__DB6__SHIFT EQU 5
-SCSI_In_DBx__DB6__SLW EQU CYREG_PRT2_SLW
-SCSI_In_DBx__DB7__AG EQU CYREG_PRT2_AG
-SCSI_In_DBx__DB7__AMUX EQU CYREG_PRT2_AMUX
-SCSI_In_DBx__DB7__BIE EQU CYREG_PRT2_BIE
-SCSI_In_DBx__DB7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_In_DBx__DB7__BYP EQU CYREG_PRT2_BYP
-SCSI_In_DBx__DB7__CTL EQU CYREG_PRT2_CTL
-SCSI_In_DBx__DB7__DM0 EQU CYREG_PRT2_DM0
-SCSI_In_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
-SCSI_In_DBx__DB7__DM2 EQU CYREG_PRT2_DM2
-SCSI_In_DBx__DB7__DR EQU CYREG_PRT2_DR
-SCSI_In_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_In_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_In_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_In_DBx__DB7__MASK EQU 0x10
-SCSI_In_DBx__DB7__PC EQU CYREG_PRT2_PC4
-SCSI_In_DBx__DB7__PORT EQU 2
-SCSI_In_DBx__DB7__PRT EQU CYREG_PRT2_PRT
-SCSI_In_DBx__DB7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_In_DBx__DB7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_In_DBx__DB7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_In_DBx__DB7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_In_DBx__DB7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_In_DBx__DB7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_In_DBx__DB7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_In_DBx__DB7__PS EQU CYREG_PRT2_PS
-SCSI_In_DBx__DB7__SHIFT EQU 4
-SCSI_In_DBx__DB7__SLW EQU CYREG_PRT2_SLW
-
-; SCSI_RX_DMA
-SCSI_RX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
-SCSI_RX_DMA__DRQ_NUMBER EQU 0
-SCSI_RX_DMA__NUMBEROF_TDS EQU 0
-SCSI_RX_DMA__PRIORITY EQU 2
-SCSI_RX_DMA__TERMIN_EN EQU 0
-SCSI_RX_DMA__TERMIN_SEL EQU 0
-SCSI_RX_DMA__TERMOUT0_EN EQU 1
-SCSI_RX_DMA__TERMOUT0_SEL EQU 0
-SCSI_RX_DMA__TERMOUT1_EN EQU 0
-SCSI_RX_DMA__TERMOUT1_SEL EQU 0
-
-; SCSI_TX_DMA
-SCSI_TX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
-SCSI_TX_DMA__DRQ_NUMBER EQU 1
-SCSI_TX_DMA__NUMBEROF_TDS EQU 0
-SCSI_TX_DMA__PRIORITY EQU 2
-SCSI_TX_DMA__TERMIN_EN EQU 0
-SCSI_TX_DMA__TERMIN_SEL EQU 0
-SCSI_TX_DMA__TERMOUT0_EN EQU 1
-SCSI_TX_DMA__TERMOUT0_SEL EQU 1
-SCSI_TX_DMA__TERMOUT1_EN EQU 0
-SCSI_TX_DMA__TERMOUT1_SEL EQU 0
-
-; SD_Data_Clk
-SD_Data_Clk__CFG0 EQU CYREG_CLKDIST_DCFG0_CFG0
-SD_Data_Clk__CFG1 EQU CYREG_CLKDIST_DCFG0_CFG1
-SD_Data_Clk__CFG2 EQU CYREG_CLKDIST_DCFG0_CFG2
-SD_Data_Clk__CFG2_SRC_SEL_MASK EQU 0x07
-SD_Data_Clk__INDEX EQU 0x00
-SD_Data_Clk__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
-SD_Data_Clk__PM_ACT_MSK EQU 0x01
-SD_Data_Clk__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
-SD_Data_Clk__PM_STBY_MSK EQU 0x01
-
-; timer_clock
-timer_clock__CFG0 EQU CYREG_CLKDIST_DCFG2_CFG0
-timer_clock__CFG1 EQU CYREG_CLKDIST_DCFG2_CFG1
-timer_clock__CFG2 EQU CYREG_CLKDIST_DCFG2_CFG2
-timer_clock__CFG2_SRC_SEL_MASK EQU 0x07
-timer_clock__INDEX EQU 0x02
-timer_clock__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
-timer_clock__PM_ACT_MSK EQU 0x04
-timer_clock__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
-timer_clock__PM_STBY_MSK EQU 0x04
-
-; SCSI_Noise
-SCSI_Noise__0__AG EQU CYREG_PRT2_AG
-SCSI_Noise__0__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Noise__0__BIE EQU CYREG_PRT2_BIE
-SCSI_Noise__0__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Noise__0__BYP EQU CYREG_PRT2_BYP
-SCSI_Noise__0__CTL EQU CYREG_PRT2_CTL
-SCSI_Noise__0__DM0 EQU CYREG_PRT2_DM0
-SCSI_Noise__0__DM1 EQU CYREG_PRT2_DM1
-SCSI_Noise__0__DM2 EQU CYREG_PRT2_DM2
-SCSI_Noise__0__DR EQU CYREG_PRT2_DR
-SCSI_Noise__0__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Noise__0__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Noise__0__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Noise__0__MASK EQU 0x01
-SCSI_Noise__0__PC EQU CYREG_PRT2_PC0
-SCSI_Noise__0__PORT EQU 2
-SCSI_Noise__0__PRT EQU CYREG_PRT2_PRT
-SCSI_Noise__0__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Noise__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Noise__0__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Noise__0__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Noise__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Noise__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Noise__0__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Noise__0__PS EQU CYREG_PRT2_PS
-SCSI_Noise__0__SHIFT EQU 0
-SCSI_Noise__0__SLW EQU CYREG_PRT2_SLW
-SCSI_Noise__1__AG EQU CYREG_PRT6_AG
-SCSI_Noise__1__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Noise__1__BIE EQU CYREG_PRT6_BIE
-SCSI_Noise__1__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Noise__1__BYP EQU CYREG_PRT6_BYP
-SCSI_Noise__1__CTL EQU CYREG_PRT6_CTL
-SCSI_Noise__1__DM0 EQU CYREG_PRT6_DM0
-SCSI_Noise__1__DM1 EQU CYREG_PRT6_DM1
-SCSI_Noise__1__DM2 EQU CYREG_PRT6_DM2
-SCSI_Noise__1__DR EQU CYREG_PRT6_DR
-SCSI_Noise__1__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Noise__1__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Noise__1__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Noise__1__MASK EQU 0x08
-SCSI_Noise__1__PC EQU CYREG_PRT6_PC3
-SCSI_Noise__1__PORT EQU 6
-SCSI_Noise__1__PRT EQU CYREG_PRT6_PRT
-SCSI_Noise__1__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Noise__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Noise__1__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Noise__1__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Noise__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Noise__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Noise__1__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Noise__1__PS EQU CYREG_PRT6_PS
-SCSI_Noise__1__SHIFT EQU 3
-SCSI_Noise__1__SLW EQU CYREG_PRT6_SLW
-SCSI_Noise__2__AG EQU CYREG_PRT4_AG
-SCSI_Noise__2__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Noise__2__BIE EQU CYREG_PRT4_BIE
-SCSI_Noise__2__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Noise__2__BYP EQU CYREG_PRT4_BYP
-SCSI_Noise__2__CTL EQU CYREG_PRT4_CTL
-SCSI_Noise__2__DM0 EQU CYREG_PRT4_DM0
-SCSI_Noise__2__DM1 EQU CYREG_PRT4_DM1
-SCSI_Noise__2__DM2 EQU CYREG_PRT4_DM2
-SCSI_Noise__2__DR EQU CYREG_PRT4_DR
-SCSI_Noise__2__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Noise__2__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Noise__2__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Noise__2__MASK EQU 0x08
-SCSI_Noise__2__PC EQU CYREG_PRT4_PC3
-SCSI_Noise__2__PORT EQU 4
-SCSI_Noise__2__PRT EQU CYREG_PRT4_PRT
-SCSI_Noise__2__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Noise__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Noise__2__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Noise__2__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Noise__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Noise__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Noise__2__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Noise__2__PS EQU CYREG_PRT4_PS
-SCSI_Noise__2__SHIFT EQU 3
-SCSI_Noise__2__SLW EQU CYREG_PRT4_SLW
-SCSI_Noise__3__AG EQU CYREG_PRT4_AG
-SCSI_Noise__3__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Noise__3__BIE EQU CYREG_PRT4_BIE
-SCSI_Noise__3__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Noise__3__BYP EQU CYREG_PRT4_BYP
-SCSI_Noise__3__CTL EQU CYREG_PRT4_CTL
-SCSI_Noise__3__DM0 EQU CYREG_PRT4_DM0
-SCSI_Noise__3__DM1 EQU CYREG_PRT4_DM1
-SCSI_Noise__3__DM2 EQU CYREG_PRT4_DM2
-SCSI_Noise__3__DR EQU CYREG_PRT4_DR
-SCSI_Noise__3__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Noise__3__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Noise__3__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Noise__3__MASK EQU 0x80
-SCSI_Noise__3__PC EQU CYREG_PRT4_PC7
-SCSI_Noise__3__PORT EQU 4
-SCSI_Noise__3__PRT EQU CYREG_PRT4_PRT
-SCSI_Noise__3__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Noise__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Noise__3__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Noise__3__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Noise__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Noise__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Noise__3__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Noise__3__PS EQU CYREG_PRT4_PS
-SCSI_Noise__3__SHIFT EQU 7
-SCSI_Noise__3__SLW EQU CYREG_PRT4_SLW
-SCSI_Noise__4__AG EQU CYREG_PRT6_AG
-SCSI_Noise__4__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Noise__4__BIE EQU CYREG_PRT6_BIE
-SCSI_Noise__4__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Noise__4__BYP EQU CYREG_PRT6_BYP
-SCSI_Noise__4__CTL EQU CYREG_PRT6_CTL
-SCSI_Noise__4__DM0 EQU CYREG_PRT6_DM0
-SCSI_Noise__4__DM1 EQU CYREG_PRT6_DM1
-SCSI_Noise__4__DM2 EQU CYREG_PRT6_DM2
-SCSI_Noise__4__DR EQU CYREG_PRT6_DR
-SCSI_Noise__4__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Noise__4__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Noise__4__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Noise__4__MASK EQU 0x04
-SCSI_Noise__4__PC EQU CYREG_PRT6_PC2
-SCSI_Noise__4__PORT EQU 6
-SCSI_Noise__4__PRT EQU CYREG_PRT6_PRT
-SCSI_Noise__4__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Noise__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Noise__4__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Noise__4__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Noise__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Noise__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Noise__4__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Noise__4__PS EQU CYREG_PRT6_PS
-SCSI_Noise__4__SHIFT EQU 2
-SCSI_Noise__4__SLW EQU CYREG_PRT6_SLW
-SCSI_Noise__ACK__AG EQU CYREG_PRT6_AG
-SCSI_Noise__ACK__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Noise__ACK__BIE EQU CYREG_PRT6_BIE
-SCSI_Noise__ACK__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Noise__ACK__BYP EQU CYREG_PRT6_BYP
-SCSI_Noise__ACK__CTL EQU CYREG_PRT6_CTL
-SCSI_Noise__ACK__DM0 EQU CYREG_PRT6_DM0
-SCSI_Noise__ACK__DM1 EQU CYREG_PRT6_DM1
-SCSI_Noise__ACK__DM2 EQU CYREG_PRT6_DM2
-SCSI_Noise__ACK__DR EQU CYREG_PRT6_DR
-SCSI_Noise__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Noise__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Noise__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Noise__ACK__MASK EQU 0x04
-SCSI_Noise__ACK__PC EQU CYREG_PRT6_PC2
-SCSI_Noise__ACK__PORT EQU 6
-SCSI_Noise__ACK__PRT EQU CYREG_PRT6_PRT
-SCSI_Noise__ACK__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Noise__ACK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Noise__ACK__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Noise__ACK__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Noise__ACK__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Noise__ACK__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Noise__ACK__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Noise__ACK__PS EQU CYREG_PRT6_PS
-SCSI_Noise__ACK__SHIFT EQU 2
-SCSI_Noise__ACK__SLW EQU CYREG_PRT6_SLW
-SCSI_Noise__ATN__AG EQU CYREG_PRT2_AG
-SCSI_Noise__ATN__AMUX EQU CYREG_PRT2_AMUX
-SCSI_Noise__ATN__BIE EQU CYREG_PRT2_BIE
-SCSI_Noise__ATN__BIT_MASK EQU CYREG_PRT2_BIT_MASK
-SCSI_Noise__ATN__BYP EQU CYREG_PRT2_BYP
-SCSI_Noise__ATN__CTL EQU CYREG_PRT2_CTL
-SCSI_Noise__ATN__DM0 EQU CYREG_PRT2_DM0
-SCSI_Noise__ATN__DM1 EQU CYREG_PRT2_DM1
-SCSI_Noise__ATN__DM2 EQU CYREG_PRT2_DM2
-SCSI_Noise__ATN__DR EQU CYREG_PRT2_DR
-SCSI_Noise__ATN__INP_DIS EQU CYREG_PRT2_INP_DIS
-SCSI_Noise__ATN__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
-SCSI_Noise__ATN__LCD_EN EQU CYREG_PRT2_LCD_EN
-SCSI_Noise__ATN__MASK EQU 0x01
-SCSI_Noise__ATN__PC EQU CYREG_PRT2_PC0
-SCSI_Noise__ATN__PORT EQU 2
-SCSI_Noise__ATN__PRT EQU CYREG_PRT2_PRT
-SCSI_Noise__ATN__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
-SCSI_Noise__ATN__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
-SCSI_Noise__ATN__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
-SCSI_Noise__ATN__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
-SCSI_Noise__ATN__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
-SCSI_Noise__ATN__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
-SCSI_Noise__ATN__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
-SCSI_Noise__ATN__PS EQU CYREG_PRT2_PS
-SCSI_Noise__ATN__SHIFT EQU 0
-SCSI_Noise__ATN__SLW EQU CYREG_PRT2_SLW
-SCSI_Noise__BSY__AG EQU CYREG_PRT6_AG
-SCSI_Noise__BSY__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Noise__BSY__BIE EQU CYREG_PRT6_BIE
-SCSI_Noise__BSY__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Noise__BSY__BYP EQU CYREG_PRT6_BYP
-SCSI_Noise__BSY__CTL EQU CYREG_PRT6_CTL
-SCSI_Noise__BSY__DM0 EQU CYREG_PRT6_DM0
-SCSI_Noise__BSY__DM1 EQU CYREG_PRT6_DM1
-SCSI_Noise__BSY__DM2 EQU CYREG_PRT6_DM2
-SCSI_Noise__BSY__DR EQU CYREG_PRT6_DR
-SCSI_Noise__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Noise__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Noise__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Noise__BSY__MASK EQU 0x08
-SCSI_Noise__BSY__PC EQU CYREG_PRT6_PC3
-SCSI_Noise__BSY__PORT EQU 6
-SCSI_Noise__BSY__PRT EQU CYREG_PRT6_PRT
-SCSI_Noise__BSY__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Noise__BSY__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Noise__BSY__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Noise__BSY__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Noise__BSY__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Noise__BSY__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Noise__BSY__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Noise__BSY__PS EQU CYREG_PRT6_PS
-SCSI_Noise__BSY__SHIFT EQU 3
-SCSI_Noise__BSY__SLW EQU CYREG_PRT6_SLW
-SCSI_Noise__RST__AG EQU CYREG_PRT4_AG
-SCSI_Noise__RST__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Noise__RST__BIE EQU CYREG_PRT4_BIE
-SCSI_Noise__RST__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Noise__RST__BYP EQU CYREG_PRT4_BYP
-SCSI_Noise__RST__CTL EQU CYREG_PRT4_CTL
-SCSI_Noise__RST__DM0 EQU CYREG_PRT4_DM0
-SCSI_Noise__RST__DM1 EQU CYREG_PRT4_DM1
-SCSI_Noise__RST__DM2 EQU CYREG_PRT4_DM2
-SCSI_Noise__RST__DR EQU CYREG_PRT4_DR
-SCSI_Noise__RST__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Noise__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Noise__RST__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Noise__RST__MASK EQU 0x80
-SCSI_Noise__RST__PC EQU CYREG_PRT4_PC7
-SCSI_Noise__RST__PORT EQU 4
-SCSI_Noise__RST__PRT EQU CYREG_PRT4_PRT
-SCSI_Noise__RST__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Noise__RST__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Noise__RST__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Noise__RST__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Noise__RST__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Noise__RST__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Noise__RST__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Noise__RST__PS EQU CYREG_PRT4_PS
-SCSI_Noise__RST__SHIFT EQU 7
-SCSI_Noise__RST__SLW EQU CYREG_PRT4_SLW
-SCSI_Noise__SEL__AG EQU CYREG_PRT4_AG
-SCSI_Noise__SEL__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Noise__SEL__BIE EQU CYREG_PRT4_BIE
-SCSI_Noise__SEL__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Noise__SEL__BYP EQU CYREG_PRT4_BYP
-SCSI_Noise__SEL__CTL EQU CYREG_PRT4_CTL
-SCSI_Noise__SEL__DM0 EQU CYREG_PRT4_DM0
-SCSI_Noise__SEL__DM1 EQU CYREG_PRT4_DM1
-SCSI_Noise__SEL__DM2 EQU CYREG_PRT4_DM2
-SCSI_Noise__SEL__DR EQU CYREG_PRT4_DR
-SCSI_Noise__SEL__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Noise__SEL__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Noise__SEL__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Noise__SEL__MASK EQU 0x08
-SCSI_Noise__SEL__PC EQU CYREG_PRT4_PC3
-SCSI_Noise__SEL__PORT EQU 4
-SCSI_Noise__SEL__PRT EQU CYREG_PRT4_PRT
-SCSI_Noise__SEL__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Noise__SEL__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Noise__SEL__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Noise__SEL__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Noise__SEL__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Noise__SEL__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Noise__SEL__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Noise__SEL__PS EQU CYREG_PRT4_PS
-SCSI_Noise__SEL__SHIFT EQU 3
-SCSI_Noise__SEL__SLW EQU CYREG_PRT4_SLW
-
-; scsiTarget
-scsiTarget_StatusReg__0__MASK EQU 0x01
-scsiTarget_StatusReg__0__POS EQU 0
-scsiTarget_StatusReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB04_05_ACTL
-scsiTarget_StatusReg__16BIT_STATUS_REG EQU CYREG_B1_UDB04_05_ST
-scsiTarget_StatusReg__1__MASK EQU 0x02
-scsiTarget_StatusReg__1__POS EQU 1
-scsiTarget_StatusReg__2__MASK EQU 0x04
-scsiTarget_StatusReg__2__POS EQU 2
-scsiTarget_StatusReg__3__MASK EQU 0x08
-scsiTarget_StatusReg__3__POS EQU 3
-scsiTarget_StatusReg__4__MASK EQU 0x10
-scsiTarget_StatusReg__4__POS EQU 4
-scsiTarget_StatusReg__MASK EQU 0x1F
-scsiTarget_StatusReg__MASK_REG EQU CYREG_B1_UDB04_MSK
-scsiTarget_StatusReg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB04_ACTL
-scsiTarget_StatusReg__STATUS_REG EQU CYREG_B1_UDB04_ST
-scsiTarget_datapath_PI__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB08_09_ACTL
-scsiTarget_datapath_PI__16BIT_STATUS_REG EQU CYREG_B0_UDB08_09_ST
-scsiTarget_datapath_PI__MASK_REG EQU CYREG_B0_UDB08_MSK
-scsiTarget_datapath_PI__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-scsiTarget_datapath_PI__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-scsiTarget_datapath_PI__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB08_ACTL
-scsiTarget_datapath_PI__STATUS_CNT_REG EQU CYREG_B0_UDB08_ST_CTL
-scsiTarget_datapath_PI__STATUS_CONTROL_REG EQU CYREG_B0_UDB08_ST_CTL
-scsiTarget_datapath_PI__STATUS_REG EQU CYREG_B0_UDB08_ST
-scsiTarget_datapath_PO__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB08_09_ACTL
-scsiTarget_datapath_PO__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB08_09_CTL
-scsiTarget_datapath_PO__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB08_09_CTL
-scsiTarget_datapath_PO__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB08_09_CTL
-scsiTarget_datapath_PO__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB08_09_CTL
-scsiTarget_datapath_PO__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB08_09_MSK
-scsiTarget_datapath_PO__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB08_09_MSK
-scsiTarget_datapath_PO__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB08_09_MSK
-scsiTarget_datapath_PO__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB08_09_MSK
-scsiTarget_datapath_PO__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB08_ACTL
-scsiTarget_datapath_PO__CONTROL_REG EQU CYREG_B0_UDB08_CTL
-scsiTarget_datapath_PO__CONTROL_ST_REG EQU CYREG_B0_UDB08_ST_CTL
-scsiTarget_datapath_PO__COUNT_REG EQU CYREG_B0_UDB08_CTL
-scsiTarget_datapath_PO__COUNT_ST_REG EQU CYREG_B0_UDB08_ST_CTL
-scsiTarget_datapath_PO__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-scsiTarget_datapath_PO__PERIOD_REG EQU CYREG_B0_UDB08_MSK
-scsiTarget_datapath_PO__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-scsiTarget_datapath__16BIT_A0_REG EQU CYREG_B0_UDB08_09_A0
-scsiTarget_datapath__16BIT_A1_REG EQU CYREG_B0_UDB08_09_A1
-scsiTarget_datapath__16BIT_D0_REG EQU CYREG_B0_UDB08_09_D0
-scsiTarget_datapath__16BIT_D1_REG EQU CYREG_B0_UDB08_09_D1
-scsiTarget_datapath__16BIT_DP_AUX_CTL_REG EQU CYREG_B0_UDB08_09_ACTL
-scsiTarget_datapath__16BIT_F0_REG EQU CYREG_B0_UDB08_09_F0
-scsiTarget_datapath__16BIT_F1_REG EQU CYREG_B0_UDB08_09_F1
-scsiTarget_datapath__A0_A1_REG EQU CYREG_B0_UDB08_A0_A1
-scsiTarget_datapath__A0_REG EQU CYREG_B0_UDB08_A0
-scsiTarget_datapath__A1_REG EQU CYREG_B0_UDB08_A1
-scsiTarget_datapath__D0_D1_REG EQU CYREG_B0_UDB08_D0_D1
-scsiTarget_datapath__D0_REG EQU CYREG_B0_UDB08_D0
-scsiTarget_datapath__D1_REG EQU CYREG_B0_UDB08_D1
-scsiTarget_datapath__DP_AUX_CTL_REG EQU CYREG_B0_UDB08_ACTL
-scsiTarget_datapath__F0_F1_REG EQU CYREG_B0_UDB08_F0_F1
-scsiTarget_datapath__F0_REG EQU CYREG_B0_UDB08_F0
-scsiTarget_datapath__F1_REG EQU CYREG_B0_UDB08_F1
-scsiTarget_datapath__MSK_DP_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-scsiTarget_datapath__PER_DP_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
-
-; USBFS_ep_0
-USBFS_ep_0__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_ep_0__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_ep_0__INTC_MASK EQU 0x1000000
-USBFS_ep_0__INTC_NUMBER EQU 24
-USBFS_ep_0__INTC_PRIOR_NUM EQU 7
-USBFS_ep_0__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_24
-USBFS_ep_0__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_ep_0__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; USBFS_ep_1
-USBFS_ep_1__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_ep_1__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_ep_1__INTC_MASK EQU 0x40
-USBFS_ep_1__INTC_NUMBER EQU 6
-USBFS_ep_1__INTC_PRIOR_NUM EQU 7
-USBFS_ep_1__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_6
-USBFS_ep_1__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_ep_1__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; USBFS_ep_2
-USBFS_ep_2__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_ep_2__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_ep_2__INTC_MASK EQU 0x80
-USBFS_ep_2__INTC_NUMBER EQU 7
-USBFS_ep_2__INTC_PRIOR_NUM EQU 7
-USBFS_ep_2__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_7
-USBFS_ep_2__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_ep_2__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; USBFS_ep_3
-USBFS_ep_3__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_ep_3__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_ep_3__INTC_MASK EQU 0x100
-USBFS_ep_3__INTC_NUMBER EQU 8
-USBFS_ep_3__INTC_PRIOR_NUM EQU 7
-USBFS_ep_3__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_8
-USBFS_ep_3__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_ep_3__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; USBFS_ep_4
-USBFS_ep_4__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
-USBFS_ep_4__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
-USBFS_ep_4__INTC_MASK EQU 0x200
-USBFS_ep_4__INTC_NUMBER EQU 9
-USBFS_ep_4__INTC_PRIOR_NUM EQU 7
-USBFS_ep_4__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_9
-USBFS_ep_4__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
-USBFS_ep_4__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
-
-; SD_RX_DMA
-SD_RX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
-SD_RX_DMA__DRQ_NUMBER EQU 2
-SD_RX_DMA__NUMBEROF_TDS EQU 0
-SD_RX_DMA__PRIORITY EQU 2
-SD_RX_DMA__TERMIN_EN EQU 0
-SD_RX_DMA__TERMIN_SEL EQU 0
-SD_RX_DMA__TERMOUT0_EN EQU 1
-SD_RX_DMA__TERMOUT0_SEL EQU 2
-SD_RX_DMA__TERMOUT1_EN EQU 0
-SD_RX_DMA__TERMOUT1_SEL EQU 0
-
-; SD_TX_DMA
-SD_TX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
-SD_TX_DMA__DRQ_NUMBER EQU 3
-SD_TX_DMA__NUMBEROF_TDS EQU 0
-SD_TX_DMA__PRIORITY EQU 2
-SD_TX_DMA__TERMIN_EN EQU 0
-SD_TX_DMA__TERMIN_SEL EQU 0
-SD_TX_DMA__TERMOUT0_EN EQU 1
-SD_TX_DMA__TERMOUT0_SEL EQU 3
-SD_TX_DMA__TERMOUT1_EN EQU 0
-SD_TX_DMA__TERMOUT1_SEL EQU 0
-
-; USBFS_USB
-USBFS_USB__ARB_CFG EQU CYREG_USB_ARB_CFG
-USBFS_USB__ARB_EP1_CFG EQU CYREG_USB_ARB_EP1_CFG
-USBFS_USB__ARB_EP1_INT_EN EQU CYREG_USB_ARB_EP1_INT_EN
-USBFS_USB__ARB_EP1_SR EQU CYREG_USB_ARB_EP1_SR
-USBFS_USB__ARB_EP2_CFG EQU CYREG_USB_ARB_EP2_CFG
-USBFS_USB__ARB_EP2_INT_EN EQU CYREG_USB_ARB_EP2_INT_EN
-USBFS_USB__ARB_EP2_SR EQU CYREG_USB_ARB_EP2_SR
-USBFS_USB__ARB_EP3_CFG EQU CYREG_USB_ARB_EP3_CFG
-USBFS_USB__ARB_EP3_INT_EN EQU CYREG_USB_ARB_EP3_INT_EN
-USBFS_USB__ARB_EP3_SR EQU CYREG_USB_ARB_EP3_SR
-USBFS_USB__ARB_EP4_CFG EQU CYREG_USB_ARB_EP4_CFG
-USBFS_USB__ARB_EP4_INT_EN EQU CYREG_USB_ARB_EP4_INT_EN
-USBFS_USB__ARB_EP4_SR EQU CYREG_USB_ARB_EP4_SR
-USBFS_USB__ARB_EP5_CFG EQU CYREG_USB_ARB_EP5_CFG
-USBFS_USB__ARB_EP5_INT_EN EQU CYREG_USB_ARB_EP5_INT_EN
-USBFS_USB__ARB_EP5_SR EQU CYREG_USB_ARB_EP5_SR
-USBFS_USB__ARB_EP6_CFG EQU CYREG_USB_ARB_EP6_CFG
-USBFS_USB__ARB_EP6_INT_EN EQU CYREG_USB_ARB_EP6_INT_EN
-USBFS_USB__ARB_EP6_SR EQU CYREG_USB_ARB_EP6_SR
-USBFS_USB__ARB_EP7_CFG EQU CYREG_USB_ARB_EP7_CFG
-USBFS_USB__ARB_EP7_INT_EN EQU CYREG_USB_ARB_EP7_INT_EN
-USBFS_USB__ARB_EP7_SR EQU CYREG_USB_ARB_EP7_SR
-USBFS_USB__ARB_EP8_CFG EQU CYREG_USB_ARB_EP8_CFG
-USBFS_USB__ARB_EP8_INT_EN EQU CYREG_USB_ARB_EP8_INT_EN
-USBFS_USB__ARB_EP8_SR EQU CYREG_USB_ARB_EP8_SR
-USBFS_USB__ARB_INT_EN EQU CYREG_USB_ARB_INT_EN
-USBFS_USB__ARB_INT_SR EQU CYREG_USB_ARB_INT_SR
-USBFS_USB__ARB_RW1_DR EQU CYREG_USB_ARB_RW1_DR
-USBFS_USB__ARB_RW1_RA EQU CYREG_USB_ARB_RW1_RA
-USBFS_USB__ARB_RW1_RA_MSB EQU CYREG_USB_ARB_RW1_RA_MSB
-USBFS_USB__ARB_RW1_WA EQU CYREG_USB_ARB_RW1_WA
-USBFS_USB__ARB_RW1_WA_MSB EQU CYREG_USB_ARB_RW1_WA_MSB
-USBFS_USB__ARB_RW2_DR EQU CYREG_USB_ARB_RW2_DR
-USBFS_USB__ARB_RW2_RA EQU CYREG_USB_ARB_RW2_RA
-USBFS_USB__ARB_RW2_RA_MSB EQU CYREG_USB_ARB_RW2_RA_MSB
-USBFS_USB__ARB_RW2_WA EQU CYREG_USB_ARB_RW2_WA
-USBFS_USB__ARB_RW2_WA_MSB EQU CYREG_USB_ARB_RW2_WA_MSB
-USBFS_USB__ARB_RW3_DR EQU CYREG_USB_ARB_RW3_DR
-USBFS_USB__ARB_RW3_RA EQU CYREG_USB_ARB_RW3_RA
-USBFS_USB__ARB_RW3_RA_MSB EQU CYREG_USB_ARB_RW3_RA_MSB
-USBFS_USB__ARB_RW3_WA EQU CYREG_USB_ARB_RW3_WA
-USBFS_USB__ARB_RW3_WA_MSB EQU CYREG_USB_ARB_RW3_WA_MSB
-USBFS_USB__ARB_RW4_DR EQU CYREG_USB_ARB_RW4_DR
-USBFS_USB__ARB_RW4_RA EQU CYREG_USB_ARB_RW4_RA
-USBFS_USB__ARB_RW4_RA_MSB EQU CYREG_USB_ARB_RW4_RA_MSB
-USBFS_USB__ARB_RW4_WA EQU CYREG_USB_ARB_RW4_WA
-USBFS_USB__ARB_RW4_WA_MSB EQU CYREG_USB_ARB_RW4_WA_MSB
-USBFS_USB__ARB_RW5_DR EQU CYREG_USB_ARB_RW5_DR
-USBFS_USB__ARB_RW5_RA EQU CYREG_USB_ARB_RW5_RA
-USBFS_USB__ARB_RW5_RA_MSB EQU CYREG_USB_ARB_RW5_RA_MSB
-USBFS_USB__ARB_RW5_WA EQU CYREG_USB_ARB_RW5_WA
-USBFS_USB__ARB_RW5_WA_MSB EQU CYREG_USB_ARB_RW5_WA_MSB
-USBFS_USB__ARB_RW6_DR EQU CYREG_USB_ARB_RW6_DR
-USBFS_USB__ARB_RW6_RA EQU CYREG_USB_ARB_RW6_RA
-USBFS_USB__ARB_RW6_RA_MSB EQU CYREG_USB_ARB_RW6_RA_MSB
-USBFS_USB__ARB_RW6_WA EQU CYREG_USB_ARB_RW6_WA
-USBFS_USB__ARB_RW6_WA_MSB EQU CYREG_USB_ARB_RW6_WA_MSB
-USBFS_USB__ARB_RW7_DR EQU CYREG_USB_ARB_RW7_DR
-USBFS_USB__ARB_RW7_RA EQU CYREG_USB_ARB_RW7_RA
-USBFS_USB__ARB_RW7_RA_MSB EQU CYREG_USB_ARB_RW7_RA_MSB
-USBFS_USB__ARB_RW7_WA EQU CYREG_USB_ARB_RW7_WA
-USBFS_USB__ARB_RW7_WA_MSB EQU CYREG_USB_ARB_RW7_WA_MSB
-USBFS_USB__ARB_RW8_DR EQU CYREG_USB_ARB_RW8_DR
-USBFS_USB__ARB_RW8_RA EQU CYREG_USB_ARB_RW8_RA
-USBFS_USB__ARB_RW8_RA_MSB EQU CYREG_USB_ARB_RW8_RA_MSB
-USBFS_USB__ARB_RW8_WA EQU CYREG_USB_ARB_RW8_WA
-USBFS_USB__ARB_RW8_WA_MSB EQU CYREG_USB_ARB_RW8_WA_MSB
-USBFS_USB__BUF_SIZE EQU CYREG_USB_BUF_SIZE
-USBFS_USB__BUS_RST_CNT EQU CYREG_USB_BUS_RST_CNT
-USBFS_USB__CR0 EQU CYREG_USB_CR0
-USBFS_USB__CR1 EQU CYREG_USB_CR1
-USBFS_USB__CWA EQU CYREG_USB_CWA
-USBFS_USB__CWA_MSB EQU CYREG_USB_CWA_MSB
-USBFS_USB__DMA_THRES EQU CYREG_USB_DMA_THRES
-USBFS_USB__DMA_THRES_MSB EQU CYREG_USB_DMA_THRES_MSB
-USBFS_USB__DYN_RECONFIG EQU CYREG_USB_DYN_RECONFIG
-USBFS_USB__EP0_CNT EQU CYREG_USB_EP0_CNT
-USBFS_USB__EP0_CR EQU CYREG_USB_EP0_CR
-USBFS_USB__EP0_DR0 EQU CYREG_USB_EP0_DR0
-USBFS_USB__EP0_DR1 EQU CYREG_USB_EP0_DR1
-USBFS_USB__EP0_DR2 EQU CYREG_USB_EP0_DR2
-USBFS_USB__EP0_DR3 EQU CYREG_USB_EP0_DR3
-USBFS_USB__EP0_DR4 EQU CYREG_USB_EP0_DR4
-USBFS_USB__EP0_DR5 EQU CYREG_USB_EP0_DR5
-USBFS_USB__EP0_DR6 EQU CYREG_USB_EP0_DR6
-USBFS_USB__EP0_DR7 EQU CYREG_USB_EP0_DR7
-USBFS_USB__EP_ACTIVE EQU CYREG_USB_EP_ACTIVE
-USBFS_USB__EP_TYPE EQU CYREG_USB_EP_TYPE
-USBFS_USB__MEM_DATA EQU CYREG_USB_MEM_DATA_MBASE
-USBFS_USB__PM_ACT_CFG EQU CYREG_PM_ACT_CFG5
-USBFS_USB__PM_ACT_MSK EQU 0x01
-USBFS_USB__PM_STBY_CFG EQU CYREG_PM_STBY_CFG5
-USBFS_USB__PM_STBY_MSK EQU 0x01
-USBFS_USB__SIE_EP1_CNT0 EQU CYREG_USB_SIE_EP1_CNT0
-USBFS_USB__SIE_EP1_CNT1 EQU CYREG_USB_SIE_EP1_CNT1
-USBFS_USB__SIE_EP1_CR0 EQU CYREG_USB_SIE_EP1_CR0
-USBFS_USB__SIE_EP2_CNT0 EQU CYREG_USB_SIE_EP2_CNT0
-USBFS_USB__SIE_EP2_CNT1 EQU CYREG_USB_SIE_EP2_CNT1
-USBFS_USB__SIE_EP2_CR0 EQU CYREG_USB_SIE_EP2_CR0
-USBFS_USB__SIE_EP3_CNT0 EQU CYREG_USB_SIE_EP3_CNT0
-USBFS_USB__SIE_EP3_CNT1 EQU CYREG_USB_SIE_EP3_CNT1
-USBFS_USB__SIE_EP3_CR0 EQU CYREG_USB_SIE_EP3_CR0
-USBFS_USB__SIE_EP4_CNT0 EQU CYREG_USB_SIE_EP4_CNT0
-USBFS_USB__SIE_EP4_CNT1 EQU CYREG_USB_SIE_EP4_CNT1
-USBFS_USB__SIE_EP4_CR0 EQU CYREG_USB_SIE_EP4_CR0
-USBFS_USB__SIE_EP5_CNT0 EQU CYREG_USB_SIE_EP5_CNT0
-USBFS_USB__SIE_EP5_CNT1 EQU CYREG_USB_SIE_EP5_CNT1
-USBFS_USB__SIE_EP5_CR0 EQU CYREG_USB_SIE_EP5_CR0
-USBFS_USB__SIE_EP6_CNT0 EQU CYREG_USB_SIE_EP6_CNT0
-USBFS_USB__SIE_EP6_CNT1 EQU CYREG_USB_SIE_EP6_CNT1
-USBFS_USB__SIE_EP6_CR0 EQU CYREG_USB_SIE_EP6_CR0
-USBFS_USB__SIE_EP7_CNT0 EQU CYREG_USB_SIE_EP7_CNT0
-USBFS_USB__SIE_EP7_CNT1 EQU CYREG_USB_SIE_EP7_CNT1
-USBFS_USB__SIE_EP7_CR0 EQU CYREG_USB_SIE_EP7_CR0
-USBFS_USB__SIE_EP8_CNT0 EQU CYREG_USB_SIE_EP8_CNT0
-USBFS_USB__SIE_EP8_CNT1 EQU CYREG_USB_SIE_EP8_CNT1
-USBFS_USB__SIE_EP8_CR0 EQU CYREG_USB_SIE_EP8_CR0
-USBFS_USB__SIE_EP_INT_EN EQU CYREG_USB_SIE_EP_INT_EN
-USBFS_USB__SIE_EP_INT_SR EQU CYREG_USB_SIE_EP_INT_SR
-USBFS_USB__SOF0 EQU CYREG_USB_SOF0
-USBFS_USB__SOF1 EQU CYREG_USB_SOF1
-USBFS_USB__USBIO_CR0 EQU CYREG_USB_USBIO_CR0
-USBFS_USB__USBIO_CR1 EQU CYREG_USB_USBIO_CR1
-USBFS_USB__USB_CLK_EN EQU CYREG_USB_USB_CLK_EN
-
-; SCSI_CLK
-SCSI_CLK__CFG0 EQU CYREG_CLKDIST_DCFG1_CFG0
-SCSI_CLK__CFG1 EQU CYREG_CLKDIST_DCFG1_CFG1
-SCSI_CLK__CFG2 EQU CYREG_CLKDIST_DCFG1_CFG2
-SCSI_CLK__CFG2_SRC_SEL_MASK EQU 0x07
-SCSI_CLK__INDEX EQU 0x01
-SCSI_CLK__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
-SCSI_CLK__PM_ACT_MSK EQU 0x02
-SCSI_CLK__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
-SCSI_CLK__PM_STBY_MSK EQU 0x02
-
-; SCSI_Out
-SCSI_Out__0__AG EQU CYREG_PRT15_AG
-SCSI_Out__0__AMUX EQU CYREG_PRT15_AMUX
-SCSI_Out__0__BIE EQU CYREG_PRT15_BIE
-SCSI_Out__0__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-SCSI_Out__0__BYP EQU CYREG_PRT15_BYP
-SCSI_Out__0__CTL EQU CYREG_PRT15_CTL
-SCSI_Out__0__DM0 EQU CYREG_PRT15_DM0
-SCSI_Out__0__DM1 EQU CYREG_PRT15_DM1
-SCSI_Out__0__DM2 EQU CYREG_PRT15_DM2
-SCSI_Out__0__DR EQU CYREG_PRT15_DR
-SCSI_Out__0__INP_DIS EQU CYREG_PRT15_INP_DIS
-SCSI_Out__0__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-SCSI_Out__0__LCD_EN EQU CYREG_PRT15_LCD_EN
-SCSI_Out__0__MASK EQU 0x20
-SCSI_Out__0__PC EQU CYREG_IO_PC_PRT15_PC5
-SCSI_Out__0__PORT EQU 15
-SCSI_Out__0__PRT EQU CYREG_PRT15_PRT
-SCSI_Out__0__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-SCSI_Out__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-SCSI_Out__0__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-SCSI_Out__0__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-SCSI_Out__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-SCSI_Out__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-SCSI_Out__0__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-SCSI_Out__0__PS EQU CYREG_PRT15_PS
-SCSI_Out__0__SHIFT EQU 5
-SCSI_Out__0__SLW EQU CYREG_PRT15_SLW
-SCSI_Out__1__AG EQU CYREG_PRT15_AG
-SCSI_Out__1__AMUX EQU CYREG_PRT15_AMUX
-SCSI_Out__1__BIE EQU CYREG_PRT15_BIE
-SCSI_Out__1__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-SCSI_Out__1__BYP EQU CYREG_PRT15_BYP
-SCSI_Out__1__CTL EQU CYREG_PRT15_CTL
-SCSI_Out__1__DM0 EQU CYREG_PRT15_DM0
-SCSI_Out__1__DM1 EQU CYREG_PRT15_DM1
-SCSI_Out__1__DM2 EQU CYREG_PRT15_DM2
-SCSI_Out__1__DR EQU CYREG_PRT15_DR
-SCSI_Out__1__INP_DIS EQU CYREG_PRT15_INP_DIS
-SCSI_Out__1__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-SCSI_Out__1__LCD_EN EQU CYREG_PRT15_LCD_EN
-SCSI_Out__1__MASK EQU 0x10
-SCSI_Out__1__PC EQU CYREG_IO_PC_PRT15_PC4
-SCSI_Out__1__PORT EQU 15
-SCSI_Out__1__PRT EQU CYREG_PRT15_PRT
-SCSI_Out__1__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-SCSI_Out__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-SCSI_Out__1__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-SCSI_Out__1__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-SCSI_Out__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-SCSI_Out__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-SCSI_Out__1__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-SCSI_Out__1__PS EQU CYREG_PRT15_PS
-SCSI_Out__1__SHIFT EQU 4
-SCSI_Out__1__SLW EQU CYREG_PRT15_SLW
-SCSI_Out__2__AG EQU CYREG_PRT6_AG
-SCSI_Out__2__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out__2__BIE EQU CYREG_PRT6_BIE
-SCSI_Out__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out__2__BYP EQU CYREG_PRT6_BYP
-SCSI_Out__2__CTL EQU CYREG_PRT6_CTL
-SCSI_Out__2__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out__2__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out__2__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out__2__DR EQU CYREG_PRT6_DR
-SCSI_Out__2__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out__2__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out__2__MASK EQU 0x02
-SCSI_Out__2__PC EQU CYREG_PRT6_PC1
-SCSI_Out__2__PORT EQU 6
-SCSI_Out__2__PRT EQU CYREG_PRT6_PRT
-SCSI_Out__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out__2__PS EQU CYREG_PRT6_PS
-SCSI_Out__2__SHIFT EQU 1
-SCSI_Out__2__SLW EQU CYREG_PRT6_SLW
-SCSI_Out__3__AG EQU CYREG_PRT6_AG
-SCSI_Out__3__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out__3__BIE EQU CYREG_PRT6_BIE
-SCSI_Out__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out__3__BYP EQU CYREG_PRT6_BYP
-SCSI_Out__3__CTL EQU CYREG_PRT6_CTL
-SCSI_Out__3__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out__3__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out__3__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out__3__DR EQU CYREG_PRT6_DR
-SCSI_Out__3__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out__3__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out__3__MASK EQU 0x01
-SCSI_Out__3__PC EQU CYREG_PRT6_PC0
-SCSI_Out__3__PORT EQU 6
-SCSI_Out__3__PRT EQU CYREG_PRT6_PRT
-SCSI_Out__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out__3__PS EQU CYREG_PRT6_PS
-SCSI_Out__3__SHIFT EQU 0
-SCSI_Out__3__SLW EQU CYREG_PRT6_SLW
-SCSI_Out__4__AG EQU CYREG_PRT4_AG
-SCSI_Out__4__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Out__4__BIE EQU CYREG_PRT4_BIE
-SCSI_Out__4__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Out__4__BYP EQU CYREG_PRT4_BYP
-SCSI_Out__4__CTL EQU CYREG_PRT4_CTL
-SCSI_Out__4__DM0 EQU CYREG_PRT4_DM0
-SCSI_Out__4__DM1 EQU CYREG_PRT4_DM1
-SCSI_Out__4__DM2 EQU CYREG_PRT4_DM2
-SCSI_Out__4__DR EQU CYREG_PRT4_DR
-SCSI_Out__4__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Out__4__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Out__4__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Out__4__MASK EQU 0x20
-SCSI_Out__4__PC EQU CYREG_PRT4_PC5
-SCSI_Out__4__PORT EQU 4
-SCSI_Out__4__PRT EQU CYREG_PRT4_PRT
-SCSI_Out__4__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Out__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Out__4__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Out__4__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Out__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Out__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Out__4__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Out__4__PS EQU CYREG_PRT4_PS
-SCSI_Out__4__SHIFT EQU 5
-SCSI_Out__4__SLW EQU CYREG_PRT4_SLW
-SCSI_Out__5__AG EQU CYREG_PRT4_AG
-SCSI_Out__5__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Out__5__BIE EQU CYREG_PRT4_BIE
-SCSI_Out__5__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Out__5__BYP EQU CYREG_PRT4_BYP
-SCSI_Out__5__CTL EQU CYREG_PRT4_CTL
-SCSI_Out__5__DM0 EQU CYREG_PRT4_DM0
-SCSI_Out__5__DM1 EQU CYREG_PRT4_DM1
-SCSI_Out__5__DM2 EQU CYREG_PRT4_DM2
-SCSI_Out__5__DR EQU CYREG_PRT4_DR
-SCSI_Out__5__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Out__5__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Out__5__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Out__5__MASK EQU 0x10
-SCSI_Out__5__PC EQU CYREG_PRT4_PC4
-SCSI_Out__5__PORT EQU 4
-SCSI_Out__5__PRT EQU CYREG_PRT4_PRT
-SCSI_Out__5__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Out__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Out__5__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Out__5__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Out__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Out__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Out__5__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Out__5__PS EQU CYREG_PRT4_PS
-SCSI_Out__5__SHIFT EQU 4
-SCSI_Out__5__SLW EQU CYREG_PRT4_SLW
-SCSI_Out__6__AG EQU CYREG_PRT0_AG
-SCSI_Out__6__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__6__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__6__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__6__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__6__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__6__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__6__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__6__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__6__DR EQU CYREG_PRT0_DR
-SCSI_Out__6__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__6__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__6__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__6__MASK EQU 0x80
-SCSI_Out__6__PC EQU CYREG_PRT0_PC7
-SCSI_Out__6__PORT EQU 0
-SCSI_Out__6__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__6__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__6__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__6__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__6__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__6__PS EQU CYREG_PRT0_PS
-SCSI_Out__6__SHIFT EQU 7
-SCSI_Out__6__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__7__AG EQU CYREG_PRT0_AG
-SCSI_Out__7__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__7__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__7__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__7__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__7__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__7__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__7__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__7__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__7__DR EQU CYREG_PRT0_DR
-SCSI_Out__7__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__7__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__7__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__7__MASK EQU 0x40
-SCSI_Out__7__PC EQU CYREG_PRT0_PC6
-SCSI_Out__7__PORT EQU 0
-SCSI_Out__7__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__7__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__7__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__7__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__7__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__7__PS EQU CYREG_PRT0_PS
-SCSI_Out__7__SHIFT EQU 6
-SCSI_Out__7__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__8__AG EQU CYREG_PRT0_AG
-SCSI_Out__8__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__8__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__8__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__8__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__8__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__8__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__8__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__8__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__8__DR EQU CYREG_PRT0_DR
-SCSI_Out__8__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__8__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__8__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__8__MASK EQU 0x08
-SCSI_Out__8__PC EQU CYREG_PRT0_PC3
-SCSI_Out__8__PORT EQU 0
-SCSI_Out__8__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__8__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__8__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__8__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__8__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__8__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__8__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__8__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__8__PS EQU CYREG_PRT0_PS
-SCSI_Out__8__SHIFT EQU 3
-SCSI_Out__8__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__9__AG EQU CYREG_PRT0_AG
-SCSI_Out__9__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__9__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__9__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__9__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__9__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__9__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__9__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__9__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__9__DR EQU CYREG_PRT0_DR
-SCSI_Out__9__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__9__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__9__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__9__MASK EQU 0x04
-SCSI_Out__9__PC EQU CYREG_PRT0_PC2
-SCSI_Out__9__PORT EQU 0
-SCSI_Out__9__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__9__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__9__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__9__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__9__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__9__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__9__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__9__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__9__PS EQU CYREG_PRT0_PS
-SCSI_Out__9__SHIFT EQU 2
-SCSI_Out__9__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__ACK__AG EQU CYREG_PRT6_AG
-SCSI_Out__ACK__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out__ACK__BIE EQU CYREG_PRT6_BIE
-SCSI_Out__ACK__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out__ACK__BYP EQU CYREG_PRT6_BYP
-SCSI_Out__ACK__CTL EQU CYREG_PRT6_CTL
-SCSI_Out__ACK__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out__ACK__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out__ACK__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out__ACK__DR EQU CYREG_PRT6_DR
-SCSI_Out__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out__ACK__MASK EQU 0x01
-SCSI_Out__ACK__PC EQU CYREG_PRT6_PC0
-SCSI_Out__ACK__PORT EQU 6
-SCSI_Out__ACK__PRT EQU CYREG_PRT6_PRT
-SCSI_Out__ACK__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out__ACK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out__ACK__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out__ACK__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out__ACK__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out__ACK__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out__ACK__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out__ACK__PS EQU CYREG_PRT6_PS
-SCSI_Out__ACK__SHIFT EQU 0
-SCSI_Out__ACK__SLW EQU CYREG_PRT6_SLW
-SCSI_Out__ATN__AG EQU CYREG_PRT15_AG
-SCSI_Out__ATN__AMUX EQU CYREG_PRT15_AMUX
-SCSI_Out__ATN__BIE EQU CYREG_PRT15_BIE
-SCSI_Out__ATN__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-SCSI_Out__ATN__BYP EQU CYREG_PRT15_BYP
-SCSI_Out__ATN__CTL EQU CYREG_PRT15_CTL
-SCSI_Out__ATN__DM0 EQU CYREG_PRT15_DM0
-SCSI_Out__ATN__DM1 EQU CYREG_PRT15_DM1
-SCSI_Out__ATN__DM2 EQU CYREG_PRT15_DM2
-SCSI_Out__ATN__DR EQU CYREG_PRT15_DR
-SCSI_Out__ATN__INP_DIS EQU CYREG_PRT15_INP_DIS
-SCSI_Out__ATN__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-SCSI_Out__ATN__LCD_EN EQU CYREG_PRT15_LCD_EN
-SCSI_Out__ATN__MASK EQU 0x10
-SCSI_Out__ATN__PC EQU CYREG_IO_PC_PRT15_PC4
-SCSI_Out__ATN__PORT EQU 15
-SCSI_Out__ATN__PRT EQU CYREG_PRT15_PRT
-SCSI_Out__ATN__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-SCSI_Out__ATN__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-SCSI_Out__ATN__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-SCSI_Out__ATN__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-SCSI_Out__ATN__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-SCSI_Out__ATN__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-SCSI_Out__ATN__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-SCSI_Out__ATN__PS EQU CYREG_PRT15_PS
-SCSI_Out__ATN__SHIFT EQU 4
-SCSI_Out__ATN__SLW EQU CYREG_PRT15_SLW
-SCSI_Out__BSY__AG EQU CYREG_PRT6_AG
-SCSI_Out__BSY__AMUX EQU CYREG_PRT6_AMUX
-SCSI_Out__BSY__BIE EQU CYREG_PRT6_BIE
-SCSI_Out__BSY__BIT_MASK EQU CYREG_PRT6_BIT_MASK
-SCSI_Out__BSY__BYP EQU CYREG_PRT6_BYP
-SCSI_Out__BSY__CTL EQU CYREG_PRT6_CTL
-SCSI_Out__BSY__DM0 EQU CYREG_PRT6_DM0
-SCSI_Out__BSY__DM1 EQU CYREG_PRT6_DM1
-SCSI_Out__BSY__DM2 EQU CYREG_PRT6_DM2
-SCSI_Out__BSY__DR EQU CYREG_PRT6_DR
-SCSI_Out__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS
-SCSI_Out__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
-SCSI_Out__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN
-SCSI_Out__BSY__MASK EQU 0x02
-SCSI_Out__BSY__PC EQU CYREG_PRT6_PC1
-SCSI_Out__BSY__PORT EQU 6
-SCSI_Out__BSY__PRT EQU CYREG_PRT6_PRT
-SCSI_Out__BSY__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
-SCSI_Out__BSY__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
-SCSI_Out__BSY__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
-SCSI_Out__BSY__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
-SCSI_Out__BSY__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
-SCSI_Out__BSY__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
-SCSI_Out__BSY__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
-SCSI_Out__BSY__PS EQU CYREG_PRT6_PS
-SCSI_Out__BSY__SHIFT EQU 1
-SCSI_Out__BSY__SLW EQU CYREG_PRT6_SLW
-SCSI_Out__CD_raw__AG EQU CYREG_PRT0_AG
-SCSI_Out__CD_raw__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__CD_raw__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__CD_raw__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__CD_raw__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__CD_raw__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__CD_raw__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__CD_raw__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__CD_raw__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__CD_raw__DR EQU CYREG_PRT0_DR
-SCSI_Out__CD_raw__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__CD_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__CD_raw__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__CD_raw__MASK EQU 0x40
-SCSI_Out__CD_raw__PC EQU CYREG_PRT0_PC6
-SCSI_Out__CD_raw__PORT EQU 0
-SCSI_Out__CD_raw__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__CD_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__CD_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__CD_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__CD_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__CD_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__CD_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__CD_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__CD_raw__PS EQU CYREG_PRT0_PS
-SCSI_Out__CD_raw__SHIFT EQU 6
-SCSI_Out__CD_raw__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__DBP_raw__AG EQU CYREG_PRT15_AG
-SCSI_Out__DBP_raw__AMUX EQU CYREG_PRT15_AMUX
-SCSI_Out__DBP_raw__BIE EQU CYREG_PRT15_BIE
-SCSI_Out__DBP_raw__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-SCSI_Out__DBP_raw__BYP EQU CYREG_PRT15_BYP
-SCSI_Out__DBP_raw__CTL EQU CYREG_PRT15_CTL
-SCSI_Out__DBP_raw__DM0 EQU CYREG_PRT15_DM0
-SCSI_Out__DBP_raw__DM1 EQU CYREG_PRT15_DM1
-SCSI_Out__DBP_raw__DM2 EQU CYREG_PRT15_DM2
-SCSI_Out__DBP_raw__DR EQU CYREG_PRT15_DR
-SCSI_Out__DBP_raw__INP_DIS EQU CYREG_PRT15_INP_DIS
-SCSI_Out__DBP_raw__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-SCSI_Out__DBP_raw__LCD_EN EQU CYREG_PRT15_LCD_EN
-SCSI_Out__DBP_raw__MASK EQU 0x20
-SCSI_Out__DBP_raw__PC EQU CYREG_IO_PC_PRT15_PC5
-SCSI_Out__DBP_raw__PORT EQU 15
-SCSI_Out__DBP_raw__PRT EQU CYREG_PRT15_PRT
-SCSI_Out__DBP_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-SCSI_Out__DBP_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-SCSI_Out__DBP_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-SCSI_Out__DBP_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-SCSI_Out__DBP_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-SCSI_Out__DBP_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-SCSI_Out__DBP_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-SCSI_Out__DBP_raw__PS EQU CYREG_PRT15_PS
-SCSI_Out__DBP_raw__SHIFT EQU 5
-SCSI_Out__DBP_raw__SLW EQU CYREG_PRT15_SLW
-SCSI_Out__IO_raw__AG EQU CYREG_PRT0_AG
-SCSI_Out__IO_raw__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__IO_raw__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__IO_raw__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__IO_raw__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__IO_raw__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__IO_raw__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__IO_raw__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__IO_raw__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__IO_raw__DR EQU CYREG_PRT0_DR
-SCSI_Out__IO_raw__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__IO_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__IO_raw__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__IO_raw__MASK EQU 0x04
-SCSI_Out__IO_raw__PC EQU CYREG_PRT0_PC2
-SCSI_Out__IO_raw__PORT EQU 0
-SCSI_Out__IO_raw__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__IO_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__IO_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__IO_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__IO_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__IO_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__IO_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__IO_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__IO_raw__PS EQU CYREG_PRT0_PS
-SCSI_Out__IO_raw__SHIFT EQU 2
-SCSI_Out__IO_raw__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__MSG_raw__AG EQU CYREG_PRT4_AG
-SCSI_Out__MSG_raw__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Out__MSG_raw__BIE EQU CYREG_PRT4_BIE
-SCSI_Out__MSG_raw__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Out__MSG_raw__BYP EQU CYREG_PRT4_BYP
-SCSI_Out__MSG_raw__CTL EQU CYREG_PRT4_CTL
-SCSI_Out__MSG_raw__DM0 EQU CYREG_PRT4_DM0
-SCSI_Out__MSG_raw__DM1 EQU CYREG_PRT4_DM1
-SCSI_Out__MSG_raw__DM2 EQU CYREG_PRT4_DM2
-SCSI_Out__MSG_raw__DR EQU CYREG_PRT4_DR
-SCSI_Out__MSG_raw__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Out__MSG_raw__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Out__MSG_raw__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Out__MSG_raw__MASK EQU 0x10
-SCSI_Out__MSG_raw__PC EQU CYREG_PRT4_PC4
-SCSI_Out__MSG_raw__PORT EQU 4
-SCSI_Out__MSG_raw__PRT EQU CYREG_PRT4_PRT
-SCSI_Out__MSG_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Out__MSG_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Out__MSG_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Out__MSG_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Out__MSG_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Out__MSG_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Out__MSG_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Out__MSG_raw__PS EQU CYREG_PRT4_PS
-SCSI_Out__MSG_raw__SHIFT EQU 4
-SCSI_Out__MSG_raw__SLW EQU CYREG_PRT4_SLW
-SCSI_Out__REQ__AG EQU CYREG_PRT0_AG
-SCSI_Out__REQ__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__REQ__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__REQ__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__REQ__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__REQ__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__REQ__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__REQ__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__REQ__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__REQ__DR EQU CYREG_PRT0_DR
-SCSI_Out__REQ__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__REQ__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__REQ__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__REQ__MASK EQU 0x08
-SCSI_Out__REQ__PC EQU CYREG_PRT0_PC3
-SCSI_Out__REQ__PORT EQU 0
-SCSI_Out__REQ__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__REQ__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__REQ__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__REQ__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__REQ__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__REQ__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__REQ__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__REQ__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__REQ__PS EQU CYREG_PRT0_PS
-SCSI_Out__REQ__SHIFT EQU 3
-SCSI_Out__REQ__SLW EQU CYREG_PRT0_SLW
-SCSI_Out__RST__AG EQU CYREG_PRT4_AG
-SCSI_Out__RST__AMUX EQU CYREG_PRT4_AMUX
-SCSI_Out__RST__BIE EQU CYREG_PRT4_BIE
-SCSI_Out__RST__BIT_MASK EQU CYREG_PRT4_BIT_MASK
-SCSI_Out__RST__BYP EQU CYREG_PRT4_BYP
-SCSI_Out__RST__CTL EQU CYREG_PRT4_CTL
-SCSI_Out__RST__DM0 EQU CYREG_PRT4_DM0
-SCSI_Out__RST__DM1 EQU CYREG_PRT4_DM1
-SCSI_Out__RST__DM2 EQU CYREG_PRT4_DM2
-SCSI_Out__RST__DR EQU CYREG_PRT4_DR
-SCSI_Out__RST__INP_DIS EQU CYREG_PRT4_INP_DIS
-SCSI_Out__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
-SCSI_Out__RST__LCD_EN EQU CYREG_PRT4_LCD_EN
-SCSI_Out__RST__MASK EQU 0x20
-SCSI_Out__RST__PC EQU CYREG_PRT4_PC5
-SCSI_Out__RST__PORT EQU 4
-SCSI_Out__RST__PRT EQU CYREG_PRT4_PRT
-SCSI_Out__RST__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
-SCSI_Out__RST__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
-SCSI_Out__RST__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
-SCSI_Out__RST__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
-SCSI_Out__RST__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
-SCSI_Out__RST__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
-SCSI_Out__RST__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
-SCSI_Out__RST__PS EQU CYREG_PRT4_PS
-SCSI_Out__RST__SHIFT EQU 5
-SCSI_Out__RST__SLW EQU CYREG_PRT4_SLW
-SCSI_Out__SEL__AG EQU CYREG_PRT0_AG
-SCSI_Out__SEL__AMUX EQU CYREG_PRT0_AMUX
-SCSI_Out__SEL__BIE EQU CYREG_PRT0_BIE
-SCSI_Out__SEL__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-SCSI_Out__SEL__BYP EQU CYREG_PRT0_BYP
-SCSI_Out__SEL__CTL EQU CYREG_PRT0_CTL
-SCSI_Out__SEL__DM0 EQU CYREG_PRT0_DM0
-SCSI_Out__SEL__DM1 EQU CYREG_PRT0_DM1
-SCSI_Out__SEL__DM2 EQU CYREG_PRT0_DM2
-SCSI_Out__SEL__DR EQU CYREG_PRT0_DR
-SCSI_Out__SEL__INP_DIS EQU CYREG_PRT0_INP_DIS
-SCSI_Out__SEL__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-SCSI_Out__SEL__LCD_EN EQU CYREG_PRT0_LCD_EN
-SCSI_Out__SEL__MASK EQU 0x80
-SCSI_Out__SEL__PC EQU CYREG_PRT0_PC7
-SCSI_Out__SEL__PORT EQU 0
-SCSI_Out__SEL__PRT EQU CYREG_PRT0_PRT
-SCSI_Out__SEL__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-SCSI_Out__SEL__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-SCSI_Out__SEL__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-SCSI_Out__SEL__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-SCSI_Out__SEL__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-SCSI_Out__SEL__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-SCSI_Out__SEL__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-SCSI_Out__SEL__PS EQU CYREG_PRT0_PS
-SCSI_Out__SEL__SHIFT EQU 7
-SCSI_Out__SEL__SLW EQU CYREG_PRT0_SLW
-
-; USBFS_Dm
-USBFS_Dm__0__MASK EQU 0x80
-USBFS_Dm__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC1
-USBFS_Dm__0__PORT EQU 15
-USBFS_Dm__0__SHIFT EQU 7
-USBFS_Dm__AG EQU CYREG_PRT15_AG
-USBFS_Dm__AMUX EQU CYREG_PRT15_AMUX
-USBFS_Dm__BIE EQU CYREG_PRT15_BIE
-USBFS_Dm__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-USBFS_Dm__BYP EQU CYREG_PRT15_BYP
-USBFS_Dm__CTL EQU CYREG_PRT15_CTL
-USBFS_Dm__DM0 EQU CYREG_PRT15_DM0
-USBFS_Dm__DM1 EQU CYREG_PRT15_DM1
-USBFS_Dm__DM2 EQU CYREG_PRT15_DM2
-USBFS_Dm__DR EQU CYREG_PRT15_DR
-USBFS_Dm__INP_DIS EQU CYREG_PRT15_INP_DIS
-USBFS_Dm__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-USBFS_Dm__LCD_EN EQU CYREG_PRT15_LCD_EN
-USBFS_Dm__MASK EQU 0x80
-USBFS_Dm__PORT EQU 15
-USBFS_Dm__PRT EQU CYREG_PRT15_PRT
-USBFS_Dm__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-USBFS_Dm__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-USBFS_Dm__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-USBFS_Dm__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-USBFS_Dm__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-USBFS_Dm__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-USBFS_Dm__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-USBFS_Dm__PS EQU CYREG_PRT15_PS
-USBFS_Dm__SHIFT EQU 7
-USBFS_Dm__SLW EQU CYREG_PRT15_SLW
+; EXTLED
+EXTLED__0__MASK EQU 0x01
+EXTLED__0__PC EQU CYREG_PRT0_PC0
+EXTLED__0__PORT EQU 0
+EXTLED__0__SHIFT EQU 0
+EXTLED__AG EQU CYREG_PRT0_AG
+EXTLED__AMUX EQU CYREG_PRT0_AMUX
+EXTLED__BIE EQU CYREG_PRT0_BIE
+EXTLED__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+EXTLED__BYP EQU CYREG_PRT0_BYP
+EXTLED__CTL EQU CYREG_PRT0_CTL
+EXTLED__DM0 EQU CYREG_PRT0_DM0
+EXTLED__DM1 EQU CYREG_PRT0_DM1
+EXTLED__DM2 EQU CYREG_PRT0_DM2
+EXTLED__DR EQU CYREG_PRT0_DR
+EXTLED__INP_DIS EQU CYREG_PRT0_INP_DIS
+EXTLED__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+EXTLED__LCD_EN EQU CYREG_PRT0_LCD_EN
+EXTLED__MASK EQU 0x01
+EXTLED__PORT EQU 0
+EXTLED__PRT EQU CYREG_PRT0_PRT
+EXTLED__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+EXTLED__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+EXTLED__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+EXTLED__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+EXTLED__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+EXTLED__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+EXTLED__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+EXTLED__PS EQU CYREG_PRT0_PS
+EXTLED__SHIFT EQU 0
+EXTLED__SLW EQU CYREG_PRT0_SLW
 
-; USBFS_Dp
-USBFS_Dp__0__MASK EQU 0x40
-USBFS_Dp__0__PC EQU CYREG_IO_PC_PRT15_7_6_PC0
-USBFS_Dp__0__PORT EQU 15
-USBFS_Dp__0__SHIFT EQU 6
-USBFS_Dp__AG EQU CYREG_PRT15_AG
-USBFS_Dp__AMUX EQU CYREG_PRT15_AMUX
-USBFS_Dp__BIE EQU CYREG_PRT15_BIE
-USBFS_Dp__BIT_MASK EQU CYREG_PRT15_BIT_MASK
-USBFS_Dp__BYP EQU CYREG_PRT15_BYP
-USBFS_Dp__CTL EQU CYREG_PRT15_CTL
-USBFS_Dp__DM0 EQU CYREG_PRT15_DM0
-USBFS_Dp__DM1 EQU CYREG_PRT15_DM1
-USBFS_Dp__DM2 EQU CYREG_PRT15_DM2
-USBFS_Dp__DR EQU CYREG_PRT15_DR
-USBFS_Dp__INP_DIS EQU CYREG_PRT15_INP_DIS
-USBFS_Dp__INTSTAT EQU CYREG_PICU15_INTSTAT
-USBFS_Dp__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
-USBFS_Dp__LCD_EN EQU CYREG_PRT15_LCD_EN
-USBFS_Dp__MASK EQU 0x40
-USBFS_Dp__PORT EQU 15
-USBFS_Dp__PRT EQU CYREG_PRT15_PRT
-USBFS_Dp__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
-USBFS_Dp__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
-USBFS_Dp__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
-USBFS_Dp__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
-USBFS_Dp__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
-USBFS_Dp__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
-USBFS_Dp__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
-USBFS_Dp__PS EQU CYREG_PRT15_PS
-USBFS_Dp__SHIFT EQU 6
-USBFS_Dp__SLW EQU CYREG_PRT15_SLW
-USBFS_Dp__SNAP EQU CYREG_PICU_15_SNAP_15
+; SDCard_BSPIM
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB09_10_ACTL
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_CONTROL_REG EQU CYREG_B1_UDB09_10_CTL
+SDCard_BSPIM_BitCounter__16BIT_CONTROL_COUNT_REG EQU CYREG_B1_UDB09_10_CTL
+SDCard_BSPIM_BitCounter__16BIT_COUNT_CONTROL_REG EQU CYREG_B1_UDB09_10_CTL
+SDCard_BSPIM_BitCounter__16BIT_COUNT_COUNT_REG EQU CYREG_B1_UDB09_10_CTL
+SDCard_BSPIM_BitCounter__16BIT_MASK_MASK_REG EQU CYREG_B1_UDB09_10_MSK
+SDCard_BSPIM_BitCounter__16BIT_MASK_PERIOD_REG EQU CYREG_B1_UDB09_10_MSK
+SDCard_BSPIM_BitCounter__16BIT_PERIOD_MASK_REG EQU CYREG_B1_UDB09_10_MSK
+SDCard_BSPIM_BitCounter__16BIT_PERIOD_PERIOD_REG EQU CYREG_B1_UDB09_10_MSK
+SDCard_BSPIM_BitCounter__CONTROL_AUX_CTL_REG EQU CYREG_B1_UDB09_ACTL
+SDCard_BSPIM_BitCounter__CONTROL_REG EQU CYREG_B1_UDB09_CTL
+SDCard_BSPIM_BitCounter__CONTROL_ST_REG EQU CYREG_B1_UDB09_ST_CTL
+SDCard_BSPIM_BitCounter__COUNT_REG EQU CYREG_B1_UDB09_CTL
+SDCard_BSPIM_BitCounter__COUNT_ST_REG EQU CYREG_B1_UDB09_ST_CTL
+SDCard_BSPIM_BitCounter__MASK_CTL_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_BitCounter__PER_CTL_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_BitCounter__PERIOD_REG EQU CYREG_B1_UDB09_MSK
+SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB09_10_ACTL
+SDCard_BSPIM_BitCounter_ST__16BIT_STATUS_REG EQU CYREG_B1_UDB09_10_ST
+SDCard_BSPIM_BitCounter_ST__MASK_REG EQU CYREG_B1_UDB09_MSK
+SDCard_BSPIM_BitCounter_ST__MASK_ST_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_BitCounter_ST__PER_ST_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_BitCounter_ST__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB09_ACTL
+SDCard_BSPIM_BitCounter_ST__STATUS_CNT_REG EQU CYREG_B1_UDB09_ST_CTL
+SDCard_BSPIM_BitCounter_ST__STATUS_CONTROL_REG EQU CYREG_B1_UDB09_ST_CTL
+SDCard_BSPIM_BitCounter_ST__STATUS_REG EQU CYREG_B1_UDB09_ST
+SDCard_BSPIM_RxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB09_10_ACTL
+SDCard_BSPIM_RxStsReg__16BIT_STATUS_REG EQU CYREG_B0_UDB09_10_ST
+SDCard_BSPIM_RxStsReg__4__MASK EQU 0x10
+SDCard_BSPIM_RxStsReg__4__POS EQU 4
+SDCard_BSPIM_RxStsReg__5__MASK EQU 0x20
+SDCard_BSPIM_RxStsReg__5__POS EQU 5
+SDCard_BSPIM_RxStsReg__6__MASK EQU 0x40
+SDCard_BSPIM_RxStsReg__6__POS EQU 6
+SDCard_BSPIM_RxStsReg__MASK EQU 0x70
+SDCard_BSPIM_RxStsReg__MASK_REG EQU CYREG_B0_UDB09_MSK
+SDCard_BSPIM_RxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB09_ACTL
+SDCard_BSPIM_RxStsReg__STATUS_REG EQU CYREG_B0_UDB09_ST
+SDCard_BSPIM_sR8_Dp_u0__16BIT_A0_REG EQU CYREG_B1_UDB09_10_A0
+SDCard_BSPIM_sR8_Dp_u0__16BIT_A1_REG EQU CYREG_B1_UDB09_10_A1
+SDCard_BSPIM_sR8_Dp_u0__16BIT_D0_REG EQU CYREG_B1_UDB09_10_D0
+SDCard_BSPIM_sR8_Dp_u0__16BIT_D1_REG EQU CYREG_B1_UDB09_10_D1
+SDCard_BSPIM_sR8_Dp_u0__16BIT_DP_AUX_CTL_REG EQU CYREG_B1_UDB09_10_ACTL
+SDCard_BSPIM_sR8_Dp_u0__16BIT_F0_REG EQU CYREG_B1_UDB09_10_F0
+SDCard_BSPIM_sR8_Dp_u0__16BIT_F1_REG EQU CYREG_B1_UDB09_10_F1
+SDCard_BSPIM_sR8_Dp_u0__A0_A1_REG EQU CYREG_B1_UDB09_A0_A1
+SDCard_BSPIM_sR8_Dp_u0__A0_REG EQU CYREG_B1_UDB09_A0
+SDCard_BSPIM_sR8_Dp_u0__A1_REG EQU CYREG_B1_UDB09_A1
+SDCard_BSPIM_sR8_Dp_u0__D0_D1_REG EQU CYREG_B1_UDB09_D0_D1
+SDCard_BSPIM_sR8_Dp_u0__D0_REG EQU CYREG_B1_UDB09_D0
+SDCard_BSPIM_sR8_Dp_u0__D1_REG EQU CYREG_B1_UDB09_D1
+SDCard_BSPIM_sR8_Dp_u0__DP_AUX_CTL_REG EQU CYREG_B1_UDB09_ACTL
+SDCard_BSPIM_sR8_Dp_u0__F0_F1_REG EQU CYREG_B1_UDB09_F0_F1
+SDCard_BSPIM_sR8_Dp_u0__F0_REG EQU CYREG_B1_UDB09_F0
+SDCard_BSPIM_sR8_Dp_u0__F1_REG EQU CYREG_B1_UDB09_F1
+SDCard_BSPIM_sR8_Dp_u0__MSK_DP_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_sR8_Dp_u0__PER_DP_AUX_CTL_REG EQU CYREG_B1_UDB09_MSK_ACTL
+SDCard_BSPIM_TxStsReg__0__MASK EQU 0x01
+SDCard_BSPIM_TxStsReg__0__POS EQU 0
+SDCard_BSPIM_TxStsReg__1__MASK EQU 0x02
+SDCard_BSPIM_TxStsReg__1__POS EQU 1
+SDCard_BSPIM_TxStsReg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B1_UDB10_11_ACTL
+SDCard_BSPIM_TxStsReg__16BIT_STATUS_REG EQU CYREG_B1_UDB10_11_ST
+SDCard_BSPIM_TxStsReg__2__MASK EQU 0x04
+SDCard_BSPIM_TxStsReg__2__POS EQU 2
+SDCard_BSPIM_TxStsReg__3__MASK EQU 0x08
+SDCard_BSPIM_TxStsReg__3__POS EQU 3
+SDCard_BSPIM_TxStsReg__4__MASK EQU 0x10
+SDCard_BSPIM_TxStsReg__4__POS EQU 4
+SDCard_BSPIM_TxStsReg__MASK EQU 0x1F
+SDCard_BSPIM_TxStsReg__MASK_REG EQU CYREG_B1_UDB10_MSK
+SDCard_BSPIM_TxStsReg__STATUS_AUX_CTL_REG EQU CYREG_B1_UDB10_ACTL
+SDCard_BSPIM_TxStsReg__STATUS_REG EQU CYREG_B1_UDB10_ST
+
+; SD_SCK
+SD_SCK__0__MASK EQU 0x04
+SD_SCK__0__PC EQU CYREG_PRT3_PC2
+SD_SCK__0__PORT EQU 3
+SD_SCK__0__SHIFT EQU 2
+SD_SCK__AG EQU CYREG_PRT3_AG
+SD_SCK__AMUX EQU CYREG_PRT3_AMUX
+SD_SCK__BIE EQU CYREG_PRT3_BIE
+SD_SCK__BIT_MASK EQU CYREG_PRT3_BIT_MASK
+SD_SCK__BYP EQU CYREG_PRT3_BYP
+SD_SCK__CTL EQU CYREG_PRT3_CTL
+SD_SCK__DM0 EQU CYREG_PRT3_DM0
+SD_SCK__DM1 EQU CYREG_PRT3_DM1
+SD_SCK__DM2 EQU CYREG_PRT3_DM2
+SD_SCK__DR EQU CYREG_PRT3_DR
+SD_SCK__INP_DIS EQU CYREG_PRT3_INP_DIS
+SD_SCK__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
+SD_SCK__LCD_EN EQU CYREG_PRT3_LCD_EN
+SD_SCK__MASK EQU 0x04
+SD_SCK__PORT EQU 3
+SD_SCK__PRT EQU CYREG_PRT3_PRT
+SD_SCK__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
+SD_SCK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
+SD_SCK__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
+SD_SCK__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
+SD_SCK__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
+SD_SCK__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
+SD_SCK__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
+SD_SCK__PS EQU CYREG_PRT3_PS
+SD_SCK__SHIFT EQU 2
+SD_SCK__SLW EQU CYREG_PRT3_SLW
 
 ; SCSI_In
 SCSI_In__0__AG EQU CYREG_PRT2_AG
@@ -2630,313 +792,2180 @@ SCSI_In__REQ__PS EQU CYREG_PRT0_PS
 SCSI_In__REQ__SHIFT EQU 5
 SCSI_In__REQ__SLW EQU CYREG_PRT0_SLW
 
-; SD_MISO
-SD_MISO__0__MASK EQU 0x02
-SD_MISO__0__PC EQU CYREG_PRT3_PC1
-SD_MISO__0__PORT EQU 3
-SD_MISO__0__SHIFT EQU 1
-SD_MISO__AG EQU CYREG_PRT3_AG
-SD_MISO__AMUX EQU CYREG_PRT3_AMUX
-SD_MISO__BIE EQU CYREG_PRT3_BIE
-SD_MISO__BIT_MASK EQU CYREG_PRT3_BIT_MASK
-SD_MISO__BYP EQU CYREG_PRT3_BYP
-SD_MISO__CTL EQU CYREG_PRT3_CTL
-SD_MISO__DM0 EQU CYREG_PRT3_DM0
-SD_MISO__DM1 EQU CYREG_PRT3_DM1
-SD_MISO__DM2 EQU CYREG_PRT3_DM2
-SD_MISO__DR EQU CYREG_PRT3_DR
-SD_MISO__INP_DIS EQU CYREG_PRT3_INP_DIS
-SD_MISO__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
-SD_MISO__LCD_EN EQU CYREG_PRT3_LCD_EN
-SD_MISO__MASK EQU 0x02
-SD_MISO__PORT EQU 3
-SD_MISO__PRT EQU CYREG_PRT3_PRT
-SD_MISO__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
-SD_MISO__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
-SD_MISO__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
-SD_MISO__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
-SD_MISO__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
-SD_MISO__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
-SD_MISO__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
-SD_MISO__PS EQU CYREG_PRT3_PS
-SD_MISO__SHIFT EQU 1
-SD_MISO__SLW EQU CYREG_PRT3_SLW
+; SCSI_In_DBx
+SCSI_In_DBx__0__AG EQU CYREG_PRT5_AG
+SCSI_In_DBx__0__AMUX EQU CYREG_PRT5_AMUX
+SCSI_In_DBx__0__BIE EQU CYREG_PRT5_BIE
+SCSI_In_DBx__0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_In_DBx__0__BYP EQU CYREG_PRT5_BYP
+SCSI_In_DBx__0__CTL EQU CYREG_PRT5_CTL
+SCSI_In_DBx__0__DM0 EQU CYREG_PRT5_DM0
+SCSI_In_DBx__0__DM1 EQU CYREG_PRT5_DM1
+SCSI_In_DBx__0__DM2 EQU CYREG_PRT5_DM2
+SCSI_In_DBx__0__DR EQU CYREG_PRT5_DR
+SCSI_In_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_In_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_In_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_In_DBx__0__MASK EQU 0x08
+SCSI_In_DBx__0__PC EQU CYREG_PRT5_PC3
+SCSI_In_DBx__0__PORT EQU 5
+SCSI_In_DBx__0__PRT EQU CYREG_PRT5_PRT
+SCSI_In_DBx__0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_In_DBx__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_In_DBx__0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_In_DBx__0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_In_DBx__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_In_DBx__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_In_DBx__0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_In_DBx__0__PS EQU CYREG_PRT5_PS
+SCSI_In_DBx__0__SHIFT EQU 3
+SCSI_In_DBx__0__SLW EQU CYREG_PRT5_SLW
+SCSI_In_DBx__1__AG EQU CYREG_PRT5_AG
+SCSI_In_DBx__1__AMUX EQU CYREG_PRT5_AMUX
+SCSI_In_DBx__1__BIE EQU CYREG_PRT5_BIE
+SCSI_In_DBx__1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_In_DBx__1__BYP EQU CYREG_PRT5_BYP
+SCSI_In_DBx__1__CTL EQU CYREG_PRT5_CTL
+SCSI_In_DBx__1__DM0 EQU CYREG_PRT5_DM0
+SCSI_In_DBx__1__DM1 EQU CYREG_PRT5_DM1
+SCSI_In_DBx__1__DM2 EQU CYREG_PRT5_DM2
+SCSI_In_DBx__1__DR EQU CYREG_PRT5_DR
+SCSI_In_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_In_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_In_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_In_DBx__1__MASK EQU 0x04
+SCSI_In_DBx__1__PC EQU CYREG_PRT5_PC2
+SCSI_In_DBx__1__PORT EQU 5
+SCSI_In_DBx__1__PRT EQU CYREG_PRT5_PRT
+SCSI_In_DBx__1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_In_DBx__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_In_DBx__1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_In_DBx__1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_In_DBx__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_In_DBx__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_In_DBx__1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_In_DBx__1__PS EQU CYREG_PRT5_PS
+SCSI_In_DBx__1__SHIFT EQU 2
+SCSI_In_DBx__1__SLW EQU CYREG_PRT5_SLW
+SCSI_In_DBx__2__AG EQU CYREG_PRT6_AG
+SCSI_In_DBx__2__AMUX EQU CYREG_PRT6_AMUX
+SCSI_In_DBx__2__BIE EQU CYREG_PRT6_BIE
+SCSI_In_DBx__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_In_DBx__2__BYP EQU CYREG_PRT6_BYP
+SCSI_In_DBx__2__CTL EQU CYREG_PRT6_CTL
+SCSI_In_DBx__2__DM0 EQU CYREG_PRT6_DM0
+SCSI_In_DBx__2__DM1 EQU CYREG_PRT6_DM1
+SCSI_In_DBx__2__DM2 EQU CYREG_PRT6_DM2
+SCSI_In_DBx__2__DR EQU CYREG_PRT6_DR
+SCSI_In_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_In_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_In_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_In_DBx__2__MASK EQU 0x80
+SCSI_In_DBx__2__PC EQU CYREG_PRT6_PC7
+SCSI_In_DBx__2__PORT EQU 6
+SCSI_In_DBx__2__PRT EQU CYREG_PRT6_PRT
+SCSI_In_DBx__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_In_DBx__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_In_DBx__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_In_DBx__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_In_DBx__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_In_DBx__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_In_DBx__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_In_DBx__2__PS EQU CYREG_PRT6_PS
+SCSI_In_DBx__2__SHIFT EQU 7
+SCSI_In_DBx__2__SLW EQU CYREG_PRT6_SLW
+SCSI_In_DBx__3__AG EQU CYREG_PRT6_AG
+SCSI_In_DBx__3__AMUX EQU CYREG_PRT6_AMUX
+SCSI_In_DBx__3__BIE EQU CYREG_PRT6_BIE
+SCSI_In_DBx__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_In_DBx__3__BYP EQU CYREG_PRT6_BYP
+SCSI_In_DBx__3__CTL EQU CYREG_PRT6_CTL
+SCSI_In_DBx__3__DM0 EQU CYREG_PRT6_DM0
+SCSI_In_DBx__3__DM1 EQU CYREG_PRT6_DM1
+SCSI_In_DBx__3__DM2 EQU CYREG_PRT6_DM2
+SCSI_In_DBx__3__DR EQU CYREG_PRT6_DR
+SCSI_In_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_In_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_In_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_In_DBx__3__MASK EQU 0x40
+SCSI_In_DBx__3__PC EQU CYREG_PRT6_PC6
+SCSI_In_DBx__3__PORT EQU 6
+SCSI_In_DBx__3__PRT EQU CYREG_PRT6_PRT
+SCSI_In_DBx__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_In_DBx__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_In_DBx__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_In_DBx__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_In_DBx__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_In_DBx__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_In_DBx__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_In_DBx__3__PS EQU CYREG_PRT6_PS
+SCSI_In_DBx__3__SHIFT EQU 6
+SCSI_In_DBx__3__SLW EQU CYREG_PRT6_SLW
+SCSI_In_DBx__4__AG EQU CYREG_PRT12_AG
+SCSI_In_DBx__4__BIE EQU CYREG_PRT12_BIE
+SCSI_In_DBx__4__BIT_MASK EQU CYREG_PRT12_BIT_MASK
+SCSI_In_DBx__4__BYP EQU CYREG_PRT12_BYP
+SCSI_In_DBx__4__DM0 EQU CYREG_PRT12_DM0
+SCSI_In_DBx__4__DM1 EQU CYREG_PRT12_DM1
+SCSI_In_DBx__4__DM2 EQU CYREG_PRT12_DM2
+SCSI_In_DBx__4__DR EQU CYREG_PRT12_DR
+SCSI_In_DBx__4__INP_DIS EQU CYREG_PRT12_INP_DIS
+SCSI_In_DBx__4__MASK EQU 0x20
+SCSI_In_DBx__4__PC EQU CYREG_PRT12_PC5
+SCSI_In_DBx__4__PORT EQU 12
+SCSI_In_DBx__4__PRT EQU CYREG_PRT12_PRT
+SCSI_In_DBx__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
+SCSI_In_DBx__4__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
+SCSI_In_DBx__4__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
+SCSI_In_DBx__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
+SCSI_In_DBx__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
+SCSI_In_DBx__4__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
+SCSI_In_DBx__4__PS EQU CYREG_PRT12_PS
+SCSI_In_DBx__4__SHIFT EQU 5
+SCSI_In_DBx__4__SIO_CFG EQU CYREG_PRT12_SIO_CFG
+SCSI_In_DBx__4__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
+SCSI_In_DBx__4__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
+SCSI_In_DBx__4__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
+SCSI_In_DBx__4__SLW EQU CYREG_PRT12_SLW
+SCSI_In_DBx__5__AG EQU CYREG_PRT12_AG
+SCSI_In_DBx__5__BIE EQU CYREG_PRT12_BIE
+SCSI_In_DBx__5__BIT_MASK EQU CYREG_PRT12_BIT_MASK
+SCSI_In_DBx__5__BYP EQU CYREG_PRT12_BYP
+SCSI_In_DBx__5__DM0 EQU CYREG_PRT12_DM0
+SCSI_In_DBx__5__DM1 EQU CYREG_PRT12_DM1
+SCSI_In_DBx__5__DM2 EQU CYREG_PRT12_DM2
+SCSI_In_DBx__5__DR EQU CYREG_PRT12_DR
+SCSI_In_DBx__5__INP_DIS EQU CYREG_PRT12_INP_DIS
+SCSI_In_DBx__5__MASK EQU 0x10
+SCSI_In_DBx__5__PC EQU CYREG_PRT12_PC4
+SCSI_In_DBx__5__PORT EQU 12
+SCSI_In_DBx__5__PRT EQU CYREG_PRT12_PRT
+SCSI_In_DBx__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
+SCSI_In_DBx__5__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
+SCSI_In_DBx__5__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
+SCSI_In_DBx__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
+SCSI_In_DBx__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
+SCSI_In_DBx__5__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
+SCSI_In_DBx__5__PS EQU CYREG_PRT12_PS
+SCSI_In_DBx__5__SHIFT EQU 4
+SCSI_In_DBx__5__SIO_CFG EQU CYREG_PRT12_SIO_CFG
+SCSI_In_DBx__5__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
+SCSI_In_DBx__5__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
+SCSI_In_DBx__5__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
+SCSI_In_DBx__5__SLW EQU CYREG_PRT12_SLW
+SCSI_In_DBx__6__AG EQU CYREG_PRT2_AG
+SCSI_In_DBx__6__AMUX EQU CYREG_PRT2_AMUX
+SCSI_In_DBx__6__BIE EQU CYREG_PRT2_BIE
+SCSI_In_DBx__6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_In_DBx__6__BYP EQU CYREG_PRT2_BYP
+SCSI_In_DBx__6__CTL EQU CYREG_PRT2_CTL
+SCSI_In_DBx__6__DM0 EQU CYREG_PRT2_DM0
+SCSI_In_DBx__6__DM1 EQU CYREG_PRT2_DM1
+SCSI_In_DBx__6__DM2 EQU CYREG_PRT2_DM2
+SCSI_In_DBx__6__DR EQU CYREG_PRT2_DR
+SCSI_In_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_In_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_In_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_In_DBx__6__MASK EQU 0x20
+SCSI_In_DBx__6__PC EQU CYREG_PRT2_PC5
+SCSI_In_DBx__6__PORT EQU 2
+SCSI_In_DBx__6__PRT EQU CYREG_PRT2_PRT
+SCSI_In_DBx__6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_In_DBx__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_In_DBx__6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_In_DBx__6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_In_DBx__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_In_DBx__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_In_DBx__6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_In_DBx__6__PS EQU CYREG_PRT2_PS
+SCSI_In_DBx__6__SHIFT EQU 5
+SCSI_In_DBx__6__SLW EQU CYREG_PRT2_SLW
+SCSI_In_DBx__7__AG EQU CYREG_PRT2_AG
+SCSI_In_DBx__7__AMUX EQU CYREG_PRT2_AMUX
+SCSI_In_DBx__7__BIE EQU CYREG_PRT2_BIE
+SCSI_In_DBx__7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_In_DBx__7__BYP EQU CYREG_PRT2_BYP
+SCSI_In_DBx__7__CTL EQU CYREG_PRT2_CTL
+SCSI_In_DBx__7__DM0 EQU CYREG_PRT2_DM0
+SCSI_In_DBx__7__DM1 EQU CYREG_PRT2_DM1
+SCSI_In_DBx__7__DM2 EQU CYREG_PRT2_DM2
+SCSI_In_DBx__7__DR EQU CYREG_PRT2_DR
+SCSI_In_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_In_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_In_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_In_DBx__7__MASK EQU 0x10
+SCSI_In_DBx__7__PC EQU CYREG_PRT2_PC4
+SCSI_In_DBx__7__PORT EQU 2
+SCSI_In_DBx__7__PRT EQU CYREG_PRT2_PRT
+SCSI_In_DBx__7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_In_DBx__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_In_DBx__7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_In_DBx__7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_In_DBx__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_In_DBx__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_In_DBx__7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_In_DBx__7__PS EQU CYREG_PRT2_PS
+SCSI_In_DBx__7__SHIFT EQU 4
+SCSI_In_DBx__7__SLW EQU CYREG_PRT2_SLW
+SCSI_In_DBx__DB0__AG EQU CYREG_PRT5_AG
+SCSI_In_DBx__DB0__AMUX EQU CYREG_PRT5_AMUX
+SCSI_In_DBx__DB0__BIE EQU CYREG_PRT5_BIE
+SCSI_In_DBx__DB0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_In_DBx__DB0__BYP EQU CYREG_PRT5_BYP
+SCSI_In_DBx__DB0__CTL EQU CYREG_PRT5_CTL
+SCSI_In_DBx__DB0__DM0 EQU CYREG_PRT5_DM0
+SCSI_In_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
+SCSI_In_DBx__DB0__DM2 EQU CYREG_PRT5_DM2
+SCSI_In_DBx__DB0__DR EQU CYREG_PRT5_DR
+SCSI_In_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_In_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_In_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_In_DBx__DB0__MASK EQU 0x08
+SCSI_In_DBx__DB0__PC EQU CYREG_PRT5_PC3
+SCSI_In_DBx__DB0__PORT EQU 5
+SCSI_In_DBx__DB0__PRT EQU CYREG_PRT5_PRT
+SCSI_In_DBx__DB0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_In_DBx__DB0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_In_DBx__DB0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_In_DBx__DB0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_In_DBx__DB0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_In_DBx__DB0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_In_DBx__DB0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_In_DBx__DB0__PS EQU CYREG_PRT5_PS
+SCSI_In_DBx__DB0__SHIFT EQU 3
+SCSI_In_DBx__DB0__SLW EQU CYREG_PRT5_SLW
+SCSI_In_DBx__DB1__AG EQU CYREG_PRT5_AG
+SCSI_In_DBx__DB1__AMUX EQU CYREG_PRT5_AMUX
+SCSI_In_DBx__DB1__BIE EQU CYREG_PRT5_BIE
+SCSI_In_DBx__DB1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_In_DBx__DB1__BYP EQU CYREG_PRT5_BYP
+SCSI_In_DBx__DB1__CTL EQU CYREG_PRT5_CTL
+SCSI_In_DBx__DB1__DM0 EQU CYREG_PRT5_DM0
+SCSI_In_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
+SCSI_In_DBx__DB1__DM2 EQU CYREG_PRT5_DM2
+SCSI_In_DBx__DB1__DR EQU CYREG_PRT5_DR
+SCSI_In_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_In_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_In_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_In_DBx__DB1__MASK EQU 0x04
+SCSI_In_DBx__DB1__PC EQU CYREG_PRT5_PC2
+SCSI_In_DBx__DB1__PORT EQU 5
+SCSI_In_DBx__DB1__PRT EQU CYREG_PRT5_PRT
+SCSI_In_DBx__DB1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_In_DBx__DB1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_In_DBx__DB1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_In_DBx__DB1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_In_DBx__DB1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_In_DBx__DB1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_In_DBx__DB1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_In_DBx__DB1__PS EQU CYREG_PRT5_PS
+SCSI_In_DBx__DB1__SHIFT EQU 2
+SCSI_In_DBx__DB1__SLW EQU CYREG_PRT5_SLW
+SCSI_In_DBx__DB2__AG EQU CYREG_PRT6_AG
+SCSI_In_DBx__DB2__AMUX EQU CYREG_PRT6_AMUX
+SCSI_In_DBx__DB2__BIE EQU CYREG_PRT6_BIE
+SCSI_In_DBx__DB2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_In_DBx__DB2__BYP EQU CYREG_PRT6_BYP
+SCSI_In_DBx__DB2__CTL EQU CYREG_PRT6_CTL
+SCSI_In_DBx__DB2__DM0 EQU CYREG_PRT6_DM0
+SCSI_In_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
+SCSI_In_DBx__DB2__DM2 EQU CYREG_PRT6_DM2
+SCSI_In_DBx__DB2__DR EQU CYREG_PRT6_DR
+SCSI_In_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_In_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_In_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_In_DBx__DB2__MASK EQU 0x80
+SCSI_In_DBx__DB2__PC EQU CYREG_PRT6_PC7
+SCSI_In_DBx__DB2__PORT EQU 6
+SCSI_In_DBx__DB2__PRT EQU CYREG_PRT6_PRT
+SCSI_In_DBx__DB2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_In_DBx__DB2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_In_DBx__DB2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_In_DBx__DB2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_In_DBx__DB2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_In_DBx__DB2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_In_DBx__DB2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_In_DBx__DB2__PS EQU CYREG_PRT6_PS
+SCSI_In_DBx__DB2__SHIFT EQU 7
+SCSI_In_DBx__DB2__SLW EQU CYREG_PRT6_SLW
+SCSI_In_DBx__DB3__AG EQU CYREG_PRT6_AG
+SCSI_In_DBx__DB3__AMUX EQU CYREG_PRT6_AMUX
+SCSI_In_DBx__DB3__BIE EQU CYREG_PRT6_BIE
+SCSI_In_DBx__DB3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_In_DBx__DB3__BYP EQU CYREG_PRT6_BYP
+SCSI_In_DBx__DB3__CTL EQU CYREG_PRT6_CTL
+SCSI_In_DBx__DB3__DM0 EQU CYREG_PRT6_DM0
+SCSI_In_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
+SCSI_In_DBx__DB3__DM2 EQU CYREG_PRT6_DM2
+SCSI_In_DBx__DB3__DR EQU CYREG_PRT6_DR
+SCSI_In_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_In_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_In_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_In_DBx__DB3__MASK EQU 0x40
+SCSI_In_DBx__DB3__PC EQU CYREG_PRT6_PC6
+SCSI_In_DBx__DB3__PORT EQU 6
+SCSI_In_DBx__DB3__PRT EQU CYREG_PRT6_PRT
+SCSI_In_DBx__DB3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_In_DBx__DB3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_In_DBx__DB3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_In_DBx__DB3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_In_DBx__DB3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_In_DBx__DB3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_In_DBx__DB3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_In_DBx__DB3__PS EQU CYREG_PRT6_PS
+SCSI_In_DBx__DB3__SHIFT EQU 6
+SCSI_In_DBx__DB3__SLW EQU CYREG_PRT6_SLW
+SCSI_In_DBx__DB4__AG EQU CYREG_PRT12_AG
+SCSI_In_DBx__DB4__BIE EQU CYREG_PRT12_BIE
+SCSI_In_DBx__DB4__BIT_MASK EQU CYREG_PRT12_BIT_MASK
+SCSI_In_DBx__DB4__BYP EQU CYREG_PRT12_BYP
+SCSI_In_DBx__DB4__DM0 EQU CYREG_PRT12_DM0
+SCSI_In_DBx__DB4__DM1 EQU CYREG_PRT12_DM1
+SCSI_In_DBx__DB4__DM2 EQU CYREG_PRT12_DM2
+SCSI_In_DBx__DB4__DR EQU CYREG_PRT12_DR
+SCSI_In_DBx__DB4__INP_DIS EQU CYREG_PRT12_INP_DIS
+SCSI_In_DBx__DB4__MASK EQU 0x20
+SCSI_In_DBx__DB4__PC EQU CYREG_PRT12_PC5
+SCSI_In_DBx__DB4__PORT EQU 12
+SCSI_In_DBx__DB4__PRT EQU CYREG_PRT12_PRT
+SCSI_In_DBx__DB4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
+SCSI_In_DBx__DB4__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
+SCSI_In_DBx__DB4__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
+SCSI_In_DBx__DB4__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
+SCSI_In_DBx__DB4__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
+SCSI_In_DBx__DB4__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
+SCSI_In_DBx__DB4__PS EQU CYREG_PRT12_PS
+SCSI_In_DBx__DB4__SHIFT EQU 5
+SCSI_In_DBx__DB4__SIO_CFG EQU CYREG_PRT12_SIO_CFG
+SCSI_In_DBx__DB4__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
+SCSI_In_DBx__DB4__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
+SCSI_In_DBx__DB4__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
+SCSI_In_DBx__DB4__SLW EQU CYREG_PRT12_SLW
+SCSI_In_DBx__DB5__AG EQU CYREG_PRT12_AG
+SCSI_In_DBx__DB5__BIE EQU CYREG_PRT12_BIE
+SCSI_In_DBx__DB5__BIT_MASK EQU CYREG_PRT12_BIT_MASK
+SCSI_In_DBx__DB5__BYP EQU CYREG_PRT12_BYP
+SCSI_In_DBx__DB5__DM0 EQU CYREG_PRT12_DM0
+SCSI_In_DBx__DB5__DM1 EQU CYREG_PRT12_DM1
+SCSI_In_DBx__DB5__DM2 EQU CYREG_PRT12_DM2
+SCSI_In_DBx__DB5__DR EQU CYREG_PRT12_DR
+SCSI_In_DBx__DB5__INP_DIS EQU CYREG_PRT12_INP_DIS
+SCSI_In_DBx__DB5__MASK EQU 0x10
+SCSI_In_DBx__DB5__PC EQU CYREG_PRT12_PC4
+SCSI_In_DBx__DB5__PORT EQU 12
+SCSI_In_DBx__DB5__PRT EQU CYREG_PRT12_PRT
+SCSI_In_DBx__DB5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT12_DBL_SYNC_IN
+SCSI_In_DBx__DB5__PRTDSI__OE_SEL0 EQU CYREG_PRT12_OE_SEL0
+SCSI_In_DBx__DB5__PRTDSI__OE_SEL1 EQU CYREG_PRT12_OE_SEL1
+SCSI_In_DBx__DB5__PRTDSI__OUT_SEL0 EQU CYREG_PRT12_OUT_SEL0
+SCSI_In_DBx__DB5__PRTDSI__OUT_SEL1 EQU CYREG_PRT12_OUT_SEL1
+SCSI_In_DBx__DB5__PRTDSI__SYNC_OUT EQU CYREG_PRT12_SYNC_OUT
+SCSI_In_DBx__DB5__PS EQU CYREG_PRT12_PS
+SCSI_In_DBx__DB5__SHIFT EQU 4
+SCSI_In_DBx__DB5__SIO_CFG EQU CYREG_PRT12_SIO_CFG
+SCSI_In_DBx__DB5__SIO_DIFF EQU CYREG_PRT12_SIO_DIFF
+SCSI_In_DBx__DB5__SIO_HYST_EN EQU CYREG_PRT12_SIO_HYST_EN
+SCSI_In_DBx__DB5__SIO_REG_HIFREQ EQU CYREG_PRT12_SIO_REG_HIFREQ
+SCSI_In_DBx__DB5__SLW EQU CYREG_PRT12_SLW
+SCSI_In_DBx__DB6__AG EQU CYREG_PRT2_AG
+SCSI_In_DBx__DB6__AMUX EQU CYREG_PRT2_AMUX
+SCSI_In_DBx__DB6__BIE EQU CYREG_PRT2_BIE
+SCSI_In_DBx__DB6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_In_DBx__DB6__BYP EQU CYREG_PRT2_BYP
+SCSI_In_DBx__DB6__CTL EQU CYREG_PRT2_CTL
+SCSI_In_DBx__DB6__DM0 EQU CYREG_PRT2_DM0
+SCSI_In_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
+SCSI_In_DBx__DB6__DM2 EQU CYREG_PRT2_DM2
+SCSI_In_DBx__DB6__DR EQU CYREG_PRT2_DR
+SCSI_In_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_In_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_In_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_In_DBx__DB6__MASK EQU 0x20
+SCSI_In_DBx__DB6__PC EQU CYREG_PRT2_PC5
+SCSI_In_DBx__DB6__PORT EQU 2
+SCSI_In_DBx__DB6__PRT EQU CYREG_PRT2_PRT
+SCSI_In_DBx__DB6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_In_DBx__DB6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_In_DBx__DB6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_In_DBx__DB6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_In_DBx__DB6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_In_DBx__DB6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_In_DBx__DB6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_In_DBx__DB6__PS EQU CYREG_PRT2_PS
+SCSI_In_DBx__DB6__SHIFT EQU 5
+SCSI_In_DBx__DB6__SLW EQU CYREG_PRT2_SLW
+SCSI_In_DBx__DB7__AG EQU CYREG_PRT2_AG
+SCSI_In_DBx__DB7__AMUX EQU CYREG_PRT2_AMUX
+SCSI_In_DBx__DB7__BIE EQU CYREG_PRT2_BIE
+SCSI_In_DBx__DB7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_In_DBx__DB7__BYP EQU CYREG_PRT2_BYP
+SCSI_In_DBx__DB7__CTL EQU CYREG_PRT2_CTL
+SCSI_In_DBx__DB7__DM0 EQU CYREG_PRT2_DM0
+SCSI_In_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
+SCSI_In_DBx__DB7__DM2 EQU CYREG_PRT2_DM2
+SCSI_In_DBx__DB7__DR EQU CYREG_PRT2_DR
+SCSI_In_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_In_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_In_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_In_DBx__DB7__MASK EQU 0x10
+SCSI_In_DBx__DB7__PC EQU CYREG_PRT2_PC4
+SCSI_In_DBx__DB7__PORT EQU 2
+SCSI_In_DBx__DB7__PRT EQU CYREG_PRT2_PRT
+SCSI_In_DBx__DB7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_In_DBx__DB7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_In_DBx__DB7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_In_DBx__DB7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_In_DBx__DB7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_In_DBx__DB7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_In_DBx__DB7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_In_DBx__DB7__PS EQU CYREG_PRT2_PS
+SCSI_In_DBx__DB7__SHIFT EQU 4
+SCSI_In_DBx__DB7__SLW EQU CYREG_PRT2_SLW
+
+; SD_MISO
+SD_MISO__0__MASK EQU 0x02
+SD_MISO__0__PC EQU CYREG_PRT3_PC1
+SD_MISO__0__PORT EQU 3
+SD_MISO__0__SHIFT EQU 1
+SD_MISO__AG EQU CYREG_PRT3_AG
+SD_MISO__AMUX EQU CYREG_PRT3_AMUX
+SD_MISO__BIE EQU CYREG_PRT3_BIE
+SD_MISO__BIT_MASK EQU CYREG_PRT3_BIT_MASK
+SD_MISO__BYP EQU CYREG_PRT3_BYP
+SD_MISO__CTL EQU CYREG_PRT3_CTL
+SD_MISO__DM0 EQU CYREG_PRT3_DM0
+SD_MISO__DM1 EQU CYREG_PRT3_DM1
+SD_MISO__DM2 EQU CYREG_PRT3_DM2
+SD_MISO__DR EQU CYREG_PRT3_DR
+SD_MISO__INP_DIS EQU CYREG_PRT3_INP_DIS
+SD_MISO__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
+SD_MISO__LCD_EN EQU CYREG_PRT3_LCD_EN
+SD_MISO__MASK EQU 0x02
+SD_MISO__PORT EQU 3
+SD_MISO__PRT EQU CYREG_PRT3_PRT
+SD_MISO__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
+SD_MISO__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
+SD_MISO__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
+SD_MISO__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
+SD_MISO__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
+SD_MISO__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
+SD_MISO__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
+SD_MISO__PS EQU CYREG_PRT3_PS
+SD_MISO__SHIFT EQU 1
+SD_MISO__SLW EQU CYREG_PRT3_SLW
+
+; SD_MOSI
+SD_MOSI__0__MASK EQU 0x08
+SD_MOSI__0__PC EQU CYREG_PRT3_PC3
+SD_MOSI__0__PORT EQU 3
+SD_MOSI__0__SHIFT EQU 3
+SD_MOSI__AG EQU CYREG_PRT3_AG
+SD_MOSI__AMUX EQU CYREG_PRT3_AMUX
+SD_MOSI__BIE EQU CYREG_PRT3_BIE
+SD_MOSI__BIT_MASK EQU CYREG_PRT3_BIT_MASK
+SD_MOSI__BYP EQU CYREG_PRT3_BYP
+SD_MOSI__CTL EQU CYREG_PRT3_CTL
+SD_MOSI__DM0 EQU CYREG_PRT3_DM0
+SD_MOSI__DM1 EQU CYREG_PRT3_DM1
+SD_MOSI__DM2 EQU CYREG_PRT3_DM2
+SD_MOSI__DR EQU CYREG_PRT3_DR
+SD_MOSI__INP_DIS EQU CYREG_PRT3_INP_DIS
+SD_MOSI__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
+SD_MOSI__LCD_EN EQU CYREG_PRT3_LCD_EN
+SD_MOSI__MASK EQU 0x08
+SD_MOSI__PORT EQU 3
+SD_MOSI__PRT EQU CYREG_PRT3_PRT
+SD_MOSI__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
+SD_MOSI__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
+SD_MOSI__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
+SD_MOSI__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
+SD_MOSI__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
+SD_MOSI__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
+SD_MOSI__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
+SD_MOSI__PS EQU CYREG_PRT3_PS
+SD_MOSI__SHIFT EQU 3
+SD_MOSI__SLW EQU CYREG_PRT3_SLW
+
+; SCSI_CLK
+SCSI_CLK__CFG0 EQU CYREG_CLKDIST_DCFG1_CFG0
+SCSI_CLK__CFG1 EQU CYREG_CLKDIST_DCFG1_CFG1
+SCSI_CLK__CFG2 EQU CYREG_CLKDIST_DCFG1_CFG2
+SCSI_CLK__CFG2_SRC_SEL_MASK EQU 0x07
+SCSI_CLK__INDEX EQU 0x01
+SCSI_CLK__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
+SCSI_CLK__PM_ACT_MSK EQU 0x02
+SCSI_CLK__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
+SCSI_CLK__PM_STBY_MSK EQU 0x02
+
+; SCSI_Out
+SCSI_Out__0__AG EQU CYREG_PRT15_AG
+SCSI_Out__0__AMUX EQU CYREG_PRT15_AMUX
+SCSI_Out__0__BIE EQU CYREG_PRT15_BIE
+SCSI_Out__0__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+SCSI_Out__0__BYP EQU CYREG_PRT15_BYP
+SCSI_Out__0__CTL EQU CYREG_PRT15_CTL
+SCSI_Out__0__DM0 EQU CYREG_PRT15_DM0
+SCSI_Out__0__DM1 EQU CYREG_PRT15_DM1
+SCSI_Out__0__DM2 EQU CYREG_PRT15_DM2
+SCSI_Out__0__DR EQU CYREG_PRT15_DR
+SCSI_Out__0__INP_DIS EQU CYREG_PRT15_INP_DIS
+SCSI_Out__0__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+SCSI_Out__0__LCD_EN EQU CYREG_PRT15_LCD_EN
+SCSI_Out__0__MASK EQU 0x20
+SCSI_Out__0__PC EQU CYREG_IO_PC_PRT15_PC5
+SCSI_Out__0__PORT EQU 15
+SCSI_Out__0__PRT EQU CYREG_PRT15_PRT
+SCSI_Out__0__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+SCSI_Out__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+SCSI_Out__0__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+SCSI_Out__0__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+SCSI_Out__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+SCSI_Out__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+SCSI_Out__0__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+SCSI_Out__0__PS EQU CYREG_PRT15_PS
+SCSI_Out__0__SHIFT EQU 5
+SCSI_Out__0__SLW EQU CYREG_PRT15_SLW
+SCSI_Out__1__AG EQU CYREG_PRT15_AG
+SCSI_Out__1__AMUX EQU CYREG_PRT15_AMUX
+SCSI_Out__1__BIE EQU CYREG_PRT15_BIE
+SCSI_Out__1__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+SCSI_Out__1__BYP EQU CYREG_PRT15_BYP
+SCSI_Out__1__CTL EQU CYREG_PRT15_CTL
+SCSI_Out__1__DM0 EQU CYREG_PRT15_DM0
+SCSI_Out__1__DM1 EQU CYREG_PRT15_DM1
+SCSI_Out__1__DM2 EQU CYREG_PRT15_DM2
+SCSI_Out__1__DR EQU CYREG_PRT15_DR
+SCSI_Out__1__INP_DIS EQU CYREG_PRT15_INP_DIS
+SCSI_Out__1__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+SCSI_Out__1__LCD_EN EQU CYREG_PRT15_LCD_EN
+SCSI_Out__1__MASK EQU 0x10
+SCSI_Out__1__PC EQU CYREG_IO_PC_PRT15_PC4
+SCSI_Out__1__PORT EQU 15
+SCSI_Out__1__PRT EQU CYREG_PRT15_PRT
+SCSI_Out__1__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+SCSI_Out__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+SCSI_Out__1__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+SCSI_Out__1__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+SCSI_Out__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+SCSI_Out__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+SCSI_Out__1__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+SCSI_Out__1__PS EQU CYREG_PRT15_PS
+SCSI_Out__1__SHIFT EQU 4
+SCSI_Out__1__SLW EQU CYREG_PRT15_SLW
+SCSI_Out__2__AG EQU CYREG_PRT6_AG
+SCSI_Out__2__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out__2__BIE EQU CYREG_PRT6_BIE
+SCSI_Out__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out__2__BYP EQU CYREG_PRT6_BYP
+SCSI_Out__2__CTL EQU CYREG_PRT6_CTL
+SCSI_Out__2__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out__2__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out__2__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out__2__DR EQU CYREG_PRT6_DR
+SCSI_Out__2__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out__2__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out__2__MASK EQU 0x02
+SCSI_Out__2__PC EQU CYREG_PRT6_PC1
+SCSI_Out__2__PORT EQU 6
+SCSI_Out__2__PRT EQU CYREG_PRT6_PRT
+SCSI_Out__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out__2__PS EQU CYREG_PRT6_PS
+SCSI_Out__2__SHIFT EQU 1
+SCSI_Out__2__SLW EQU CYREG_PRT6_SLW
+SCSI_Out__3__AG EQU CYREG_PRT6_AG
+SCSI_Out__3__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out__3__BIE EQU CYREG_PRT6_BIE
+SCSI_Out__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out__3__BYP EQU CYREG_PRT6_BYP
+SCSI_Out__3__CTL EQU CYREG_PRT6_CTL
+SCSI_Out__3__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out__3__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out__3__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out__3__DR EQU CYREG_PRT6_DR
+SCSI_Out__3__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out__3__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out__3__MASK EQU 0x01
+SCSI_Out__3__PC EQU CYREG_PRT6_PC0
+SCSI_Out__3__PORT EQU 6
+SCSI_Out__3__PRT EQU CYREG_PRT6_PRT
+SCSI_Out__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out__3__PS EQU CYREG_PRT6_PS
+SCSI_Out__3__SHIFT EQU 0
+SCSI_Out__3__SLW EQU CYREG_PRT6_SLW
+SCSI_Out__4__AG EQU CYREG_PRT4_AG
+SCSI_Out__4__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Out__4__BIE EQU CYREG_PRT4_BIE
+SCSI_Out__4__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Out__4__BYP EQU CYREG_PRT4_BYP
+SCSI_Out__4__CTL EQU CYREG_PRT4_CTL
+SCSI_Out__4__DM0 EQU CYREG_PRT4_DM0
+SCSI_Out__4__DM1 EQU CYREG_PRT4_DM1
+SCSI_Out__4__DM2 EQU CYREG_PRT4_DM2
+SCSI_Out__4__DR EQU CYREG_PRT4_DR
+SCSI_Out__4__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Out__4__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Out__4__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Out__4__MASK EQU 0x20
+SCSI_Out__4__PC EQU CYREG_PRT4_PC5
+SCSI_Out__4__PORT EQU 4
+SCSI_Out__4__PRT EQU CYREG_PRT4_PRT
+SCSI_Out__4__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Out__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Out__4__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Out__4__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Out__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Out__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Out__4__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Out__4__PS EQU CYREG_PRT4_PS
+SCSI_Out__4__SHIFT EQU 5
+SCSI_Out__4__SLW EQU CYREG_PRT4_SLW
+SCSI_Out__5__AG EQU CYREG_PRT4_AG
+SCSI_Out__5__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Out__5__BIE EQU CYREG_PRT4_BIE
+SCSI_Out__5__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Out__5__BYP EQU CYREG_PRT4_BYP
+SCSI_Out__5__CTL EQU CYREG_PRT4_CTL
+SCSI_Out__5__DM0 EQU CYREG_PRT4_DM0
+SCSI_Out__5__DM1 EQU CYREG_PRT4_DM1
+SCSI_Out__5__DM2 EQU CYREG_PRT4_DM2
+SCSI_Out__5__DR EQU CYREG_PRT4_DR
+SCSI_Out__5__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Out__5__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Out__5__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Out__5__MASK EQU 0x10
+SCSI_Out__5__PC EQU CYREG_PRT4_PC4
+SCSI_Out__5__PORT EQU 4
+SCSI_Out__5__PRT EQU CYREG_PRT4_PRT
+SCSI_Out__5__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Out__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Out__5__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Out__5__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Out__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Out__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Out__5__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Out__5__PS EQU CYREG_PRT4_PS
+SCSI_Out__5__SHIFT EQU 4
+SCSI_Out__5__SLW EQU CYREG_PRT4_SLW
+SCSI_Out__6__AG EQU CYREG_PRT0_AG
+SCSI_Out__6__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__6__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__6__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__6__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__6__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__6__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__6__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__6__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__6__DR EQU CYREG_PRT0_DR
+SCSI_Out__6__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__6__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__6__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__6__MASK EQU 0x80
+SCSI_Out__6__PC EQU CYREG_PRT0_PC7
+SCSI_Out__6__PORT EQU 0
+SCSI_Out__6__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__6__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__6__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__6__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__6__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__6__PS EQU CYREG_PRT0_PS
+SCSI_Out__6__SHIFT EQU 7
+SCSI_Out__6__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__7__AG EQU CYREG_PRT0_AG
+SCSI_Out__7__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__7__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__7__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__7__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__7__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__7__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__7__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__7__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__7__DR EQU CYREG_PRT0_DR
+SCSI_Out__7__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__7__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__7__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__7__MASK EQU 0x40
+SCSI_Out__7__PC EQU CYREG_PRT0_PC6
+SCSI_Out__7__PORT EQU 0
+SCSI_Out__7__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__7__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__7__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__7__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__7__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__7__PS EQU CYREG_PRT0_PS
+SCSI_Out__7__SHIFT EQU 6
+SCSI_Out__7__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__8__AG EQU CYREG_PRT0_AG
+SCSI_Out__8__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__8__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__8__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__8__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__8__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__8__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__8__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__8__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__8__DR EQU CYREG_PRT0_DR
+SCSI_Out__8__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__8__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__8__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__8__MASK EQU 0x08
+SCSI_Out__8__PC EQU CYREG_PRT0_PC3
+SCSI_Out__8__PORT EQU 0
+SCSI_Out__8__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__8__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__8__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__8__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__8__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__8__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__8__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__8__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__8__PS EQU CYREG_PRT0_PS
+SCSI_Out__8__SHIFT EQU 3
+SCSI_Out__8__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__9__AG EQU CYREG_PRT0_AG
+SCSI_Out__9__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__9__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__9__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__9__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__9__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__9__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__9__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__9__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__9__DR EQU CYREG_PRT0_DR
+SCSI_Out__9__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__9__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__9__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__9__MASK EQU 0x04
+SCSI_Out__9__PC EQU CYREG_PRT0_PC2
+SCSI_Out__9__PORT EQU 0
+SCSI_Out__9__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__9__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__9__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__9__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__9__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__9__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__9__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__9__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__9__PS EQU CYREG_PRT0_PS
+SCSI_Out__9__SHIFT EQU 2
+SCSI_Out__9__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__ACK__AG EQU CYREG_PRT6_AG
+SCSI_Out__ACK__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out__ACK__BIE EQU CYREG_PRT6_BIE
+SCSI_Out__ACK__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out__ACK__BYP EQU CYREG_PRT6_BYP
+SCSI_Out__ACK__CTL EQU CYREG_PRT6_CTL
+SCSI_Out__ACK__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out__ACK__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out__ACK__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out__ACK__DR EQU CYREG_PRT6_DR
+SCSI_Out__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out__ACK__MASK EQU 0x01
+SCSI_Out__ACK__PC EQU CYREG_PRT6_PC0
+SCSI_Out__ACK__PORT EQU 6
+SCSI_Out__ACK__PRT EQU CYREG_PRT6_PRT
+SCSI_Out__ACK__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out__ACK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out__ACK__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out__ACK__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out__ACK__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out__ACK__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out__ACK__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out__ACK__PS EQU CYREG_PRT6_PS
+SCSI_Out__ACK__SHIFT EQU 0
+SCSI_Out__ACK__SLW EQU CYREG_PRT6_SLW
+SCSI_Out__ATN__AG EQU CYREG_PRT15_AG
+SCSI_Out__ATN__AMUX EQU CYREG_PRT15_AMUX
+SCSI_Out__ATN__BIE EQU CYREG_PRT15_BIE
+SCSI_Out__ATN__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+SCSI_Out__ATN__BYP EQU CYREG_PRT15_BYP
+SCSI_Out__ATN__CTL EQU CYREG_PRT15_CTL
+SCSI_Out__ATN__DM0 EQU CYREG_PRT15_DM0
+SCSI_Out__ATN__DM1 EQU CYREG_PRT15_DM1
+SCSI_Out__ATN__DM2 EQU CYREG_PRT15_DM2
+SCSI_Out__ATN__DR EQU CYREG_PRT15_DR
+SCSI_Out__ATN__INP_DIS EQU CYREG_PRT15_INP_DIS
+SCSI_Out__ATN__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+SCSI_Out__ATN__LCD_EN EQU CYREG_PRT15_LCD_EN
+SCSI_Out__ATN__MASK EQU 0x10
+SCSI_Out__ATN__PC EQU CYREG_IO_PC_PRT15_PC4
+SCSI_Out__ATN__PORT EQU 15
+SCSI_Out__ATN__PRT EQU CYREG_PRT15_PRT
+SCSI_Out__ATN__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+SCSI_Out__ATN__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+SCSI_Out__ATN__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+SCSI_Out__ATN__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+SCSI_Out__ATN__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+SCSI_Out__ATN__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+SCSI_Out__ATN__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+SCSI_Out__ATN__PS EQU CYREG_PRT15_PS
+SCSI_Out__ATN__SHIFT EQU 4
+SCSI_Out__ATN__SLW EQU CYREG_PRT15_SLW
+SCSI_Out__BSY__AG EQU CYREG_PRT6_AG
+SCSI_Out__BSY__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out__BSY__BIE EQU CYREG_PRT6_BIE
+SCSI_Out__BSY__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out__BSY__BYP EQU CYREG_PRT6_BYP
+SCSI_Out__BSY__CTL EQU CYREG_PRT6_CTL
+SCSI_Out__BSY__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out__BSY__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out__BSY__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out__BSY__DR EQU CYREG_PRT6_DR
+SCSI_Out__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out__BSY__MASK EQU 0x02
+SCSI_Out__BSY__PC EQU CYREG_PRT6_PC1
+SCSI_Out__BSY__PORT EQU 6
+SCSI_Out__BSY__PRT EQU CYREG_PRT6_PRT
+SCSI_Out__BSY__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out__BSY__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out__BSY__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out__BSY__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out__BSY__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out__BSY__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out__BSY__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out__BSY__PS EQU CYREG_PRT6_PS
+SCSI_Out__BSY__SHIFT EQU 1
+SCSI_Out__BSY__SLW EQU CYREG_PRT6_SLW
+SCSI_Out__CD_raw__AG EQU CYREG_PRT0_AG
+SCSI_Out__CD_raw__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__CD_raw__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__CD_raw__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__CD_raw__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__CD_raw__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__CD_raw__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__CD_raw__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__CD_raw__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__CD_raw__DR EQU CYREG_PRT0_DR
+SCSI_Out__CD_raw__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__CD_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__CD_raw__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__CD_raw__MASK EQU 0x40
+SCSI_Out__CD_raw__PC EQU CYREG_PRT0_PC6
+SCSI_Out__CD_raw__PORT EQU 0
+SCSI_Out__CD_raw__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__CD_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__CD_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__CD_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__CD_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__CD_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__CD_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__CD_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__CD_raw__PS EQU CYREG_PRT0_PS
+SCSI_Out__CD_raw__SHIFT EQU 6
+SCSI_Out__CD_raw__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__DBP_raw__AG EQU CYREG_PRT15_AG
+SCSI_Out__DBP_raw__AMUX EQU CYREG_PRT15_AMUX
+SCSI_Out__DBP_raw__BIE EQU CYREG_PRT15_BIE
+SCSI_Out__DBP_raw__BIT_MASK EQU CYREG_PRT15_BIT_MASK
+SCSI_Out__DBP_raw__BYP EQU CYREG_PRT15_BYP
+SCSI_Out__DBP_raw__CTL EQU CYREG_PRT15_CTL
+SCSI_Out__DBP_raw__DM0 EQU CYREG_PRT15_DM0
+SCSI_Out__DBP_raw__DM1 EQU CYREG_PRT15_DM1
+SCSI_Out__DBP_raw__DM2 EQU CYREG_PRT15_DM2
+SCSI_Out__DBP_raw__DR EQU CYREG_PRT15_DR
+SCSI_Out__DBP_raw__INP_DIS EQU CYREG_PRT15_INP_DIS
+SCSI_Out__DBP_raw__LCD_COM_SEG EQU CYREG_PRT15_LCD_COM_SEG
+SCSI_Out__DBP_raw__LCD_EN EQU CYREG_PRT15_LCD_EN
+SCSI_Out__DBP_raw__MASK EQU 0x20
+SCSI_Out__DBP_raw__PC EQU CYREG_IO_PC_PRT15_PC5
+SCSI_Out__DBP_raw__PORT EQU 15
+SCSI_Out__DBP_raw__PRT EQU CYREG_PRT15_PRT
+SCSI_Out__DBP_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT15_CAPS_SEL
+SCSI_Out__DBP_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT15_DBL_SYNC_IN
+SCSI_Out__DBP_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT15_OE_SEL0
+SCSI_Out__DBP_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT15_OE_SEL1
+SCSI_Out__DBP_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT15_OUT_SEL0
+SCSI_Out__DBP_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT15_OUT_SEL1
+SCSI_Out__DBP_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT15_SYNC_OUT
+SCSI_Out__DBP_raw__PS EQU CYREG_PRT15_PS
+SCSI_Out__DBP_raw__SHIFT EQU 5
+SCSI_Out__DBP_raw__SLW EQU CYREG_PRT15_SLW
+SCSI_Out__IO_raw__AG EQU CYREG_PRT0_AG
+SCSI_Out__IO_raw__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__IO_raw__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__IO_raw__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__IO_raw__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__IO_raw__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__IO_raw__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__IO_raw__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__IO_raw__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__IO_raw__DR EQU CYREG_PRT0_DR
+SCSI_Out__IO_raw__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__IO_raw__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__IO_raw__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__IO_raw__MASK EQU 0x04
+SCSI_Out__IO_raw__PC EQU CYREG_PRT0_PC2
+SCSI_Out__IO_raw__PORT EQU 0
+SCSI_Out__IO_raw__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__IO_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__IO_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__IO_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__IO_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__IO_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__IO_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__IO_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__IO_raw__PS EQU CYREG_PRT0_PS
+SCSI_Out__IO_raw__SHIFT EQU 2
+SCSI_Out__IO_raw__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__MSG_raw__AG EQU CYREG_PRT4_AG
+SCSI_Out__MSG_raw__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Out__MSG_raw__BIE EQU CYREG_PRT4_BIE
+SCSI_Out__MSG_raw__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Out__MSG_raw__BYP EQU CYREG_PRT4_BYP
+SCSI_Out__MSG_raw__CTL EQU CYREG_PRT4_CTL
+SCSI_Out__MSG_raw__DM0 EQU CYREG_PRT4_DM0
+SCSI_Out__MSG_raw__DM1 EQU CYREG_PRT4_DM1
+SCSI_Out__MSG_raw__DM2 EQU CYREG_PRT4_DM2
+SCSI_Out__MSG_raw__DR EQU CYREG_PRT4_DR
+SCSI_Out__MSG_raw__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Out__MSG_raw__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Out__MSG_raw__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Out__MSG_raw__MASK EQU 0x10
+SCSI_Out__MSG_raw__PC EQU CYREG_PRT4_PC4
+SCSI_Out__MSG_raw__PORT EQU 4
+SCSI_Out__MSG_raw__PRT EQU CYREG_PRT4_PRT
+SCSI_Out__MSG_raw__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Out__MSG_raw__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Out__MSG_raw__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Out__MSG_raw__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Out__MSG_raw__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Out__MSG_raw__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Out__MSG_raw__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Out__MSG_raw__PS EQU CYREG_PRT4_PS
+SCSI_Out__MSG_raw__SHIFT EQU 4
+SCSI_Out__MSG_raw__SLW EQU CYREG_PRT4_SLW
+SCSI_Out__REQ__AG EQU CYREG_PRT0_AG
+SCSI_Out__REQ__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__REQ__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__REQ__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__REQ__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__REQ__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__REQ__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__REQ__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__REQ__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__REQ__DR EQU CYREG_PRT0_DR
+SCSI_Out__REQ__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__REQ__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__REQ__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__REQ__MASK EQU 0x08
+SCSI_Out__REQ__PC EQU CYREG_PRT0_PC3
+SCSI_Out__REQ__PORT EQU 0
+SCSI_Out__REQ__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__REQ__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__REQ__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__REQ__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__REQ__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__REQ__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__REQ__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__REQ__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__REQ__PS EQU CYREG_PRT0_PS
+SCSI_Out__REQ__SHIFT EQU 3
+SCSI_Out__REQ__SLW EQU CYREG_PRT0_SLW
+SCSI_Out__RST__AG EQU CYREG_PRT4_AG
+SCSI_Out__RST__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Out__RST__BIE EQU CYREG_PRT4_BIE
+SCSI_Out__RST__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Out__RST__BYP EQU CYREG_PRT4_BYP
+SCSI_Out__RST__CTL EQU CYREG_PRT4_CTL
+SCSI_Out__RST__DM0 EQU CYREG_PRT4_DM0
+SCSI_Out__RST__DM1 EQU CYREG_PRT4_DM1
+SCSI_Out__RST__DM2 EQU CYREG_PRT4_DM2
+SCSI_Out__RST__DR EQU CYREG_PRT4_DR
+SCSI_Out__RST__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Out__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Out__RST__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Out__RST__MASK EQU 0x20
+SCSI_Out__RST__PC EQU CYREG_PRT4_PC5
+SCSI_Out__RST__PORT EQU 4
+SCSI_Out__RST__PRT EQU CYREG_PRT4_PRT
+SCSI_Out__RST__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Out__RST__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Out__RST__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Out__RST__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Out__RST__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Out__RST__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Out__RST__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Out__RST__PS EQU CYREG_PRT4_PS
+SCSI_Out__RST__SHIFT EQU 5
+SCSI_Out__RST__SLW EQU CYREG_PRT4_SLW
+SCSI_Out__SEL__AG EQU CYREG_PRT0_AG
+SCSI_Out__SEL__AMUX EQU CYREG_PRT0_AMUX
+SCSI_Out__SEL__BIE EQU CYREG_PRT0_BIE
+SCSI_Out__SEL__BIT_MASK EQU CYREG_PRT0_BIT_MASK
+SCSI_Out__SEL__BYP EQU CYREG_PRT0_BYP
+SCSI_Out__SEL__CTL EQU CYREG_PRT0_CTL
+SCSI_Out__SEL__DM0 EQU CYREG_PRT0_DM0
+SCSI_Out__SEL__DM1 EQU CYREG_PRT0_DM1
+SCSI_Out__SEL__DM2 EQU CYREG_PRT0_DM2
+SCSI_Out__SEL__DR EQU CYREG_PRT0_DR
+SCSI_Out__SEL__INP_DIS EQU CYREG_PRT0_INP_DIS
+SCSI_Out__SEL__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
+SCSI_Out__SEL__LCD_EN EQU CYREG_PRT0_LCD_EN
+SCSI_Out__SEL__MASK EQU 0x80
+SCSI_Out__SEL__PC EQU CYREG_PRT0_PC7
+SCSI_Out__SEL__PORT EQU 0
+SCSI_Out__SEL__PRT EQU CYREG_PRT0_PRT
+SCSI_Out__SEL__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
+SCSI_Out__SEL__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
+SCSI_Out__SEL__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
+SCSI_Out__SEL__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
+SCSI_Out__SEL__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
+SCSI_Out__SEL__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
+SCSI_Out__SEL__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
+SCSI_Out__SEL__PS EQU CYREG_PRT0_PS
+SCSI_Out__SEL__SHIFT EQU 7
+SCSI_Out__SEL__SLW EQU CYREG_PRT0_SLW
+
+; SCSI_Out_Bits
+SCSI_Out_Bits_Sync_ctrl_reg__0__MASK EQU 0x01
+SCSI_Out_Bits_Sync_ctrl_reg__0__POS EQU 0
+SCSI_Out_Bits_Sync_ctrl_reg__1__MASK EQU 0x02
+SCSI_Out_Bits_Sync_ctrl_reg__1__POS EQU 1
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB08_09_ACTL
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB08_09_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB08_09_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB08_09_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB08_09_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB08_09_MSK
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB08_09_MSK
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB08_09_MSK
+SCSI_Out_Bits_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB08_09_MSK
+SCSI_Out_Bits_Sync_ctrl_reg__2__MASK EQU 0x04
+SCSI_Out_Bits_Sync_ctrl_reg__2__POS EQU 2
+SCSI_Out_Bits_Sync_ctrl_reg__3__MASK EQU 0x08
+SCSI_Out_Bits_Sync_ctrl_reg__3__POS EQU 3
+SCSI_Out_Bits_Sync_ctrl_reg__4__MASK EQU 0x10
+SCSI_Out_Bits_Sync_ctrl_reg__4__POS EQU 4
+SCSI_Out_Bits_Sync_ctrl_reg__5__MASK EQU 0x20
+SCSI_Out_Bits_Sync_ctrl_reg__5__POS EQU 5
+SCSI_Out_Bits_Sync_ctrl_reg__6__MASK EQU 0x40
+SCSI_Out_Bits_Sync_ctrl_reg__6__POS EQU 6
+SCSI_Out_Bits_Sync_ctrl_reg__7__MASK EQU 0x80
+SCSI_Out_Bits_Sync_ctrl_reg__7__POS EQU 7
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB08_ACTL
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB08_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB08_ST_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB08_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB08_ST_CTL
+SCSI_Out_Bits_Sync_ctrl_reg__MASK EQU 0xFF
+SCSI_Out_Bits_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
+SCSI_Out_Bits_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB08_MSK_ACTL
+SCSI_Out_Bits_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB08_MSK
+
+; SCSI_Out_Ctl
+SCSI_Out_Ctl_Sync_ctrl_reg__0__MASK EQU 0x01
+SCSI_Out_Ctl_Sync_ctrl_reg__0__POS EQU 0
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB00_01_ACTL
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB00_01_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB00_01_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB00_01_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB00_01_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB00_01_MSK
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB00_01_MSK
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB00_01_MSK
+SCSI_Out_Ctl_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB00_01_MSK
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB00_ACTL
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB00_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB00_ST_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB00_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB00_ST_CTL
+SCSI_Out_Ctl_Sync_ctrl_reg__MASK EQU 0x01
+SCSI_Out_Ctl_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB00_MSK_ACTL
+SCSI_Out_Ctl_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB00_MSK_ACTL
+SCSI_Out_Ctl_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB00_MSK
+
+; SCSI_Out_DBx
+SCSI_Out_DBx__0__AG EQU CYREG_PRT5_AG
+SCSI_Out_DBx__0__AMUX EQU CYREG_PRT5_AMUX
+SCSI_Out_DBx__0__BIE EQU CYREG_PRT5_BIE
+SCSI_Out_DBx__0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_Out_DBx__0__BYP EQU CYREG_PRT5_BYP
+SCSI_Out_DBx__0__CTL EQU CYREG_PRT5_CTL
+SCSI_Out_DBx__0__DM0 EQU CYREG_PRT5_DM0
+SCSI_Out_DBx__0__DM1 EQU CYREG_PRT5_DM1
+SCSI_Out_DBx__0__DM2 EQU CYREG_PRT5_DM2
+SCSI_Out_DBx__0__DR EQU CYREG_PRT5_DR
+SCSI_Out_DBx__0__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_Out_DBx__0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_Out_DBx__0__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_Out_DBx__0__MASK EQU 0x02
+SCSI_Out_DBx__0__PC EQU CYREG_PRT5_PC1
+SCSI_Out_DBx__0__PORT EQU 5
+SCSI_Out_DBx__0__PRT EQU CYREG_PRT5_PRT
+SCSI_Out_DBx__0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_Out_DBx__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_Out_DBx__0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_Out_DBx__0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_Out_DBx__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_Out_DBx__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_Out_DBx__0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_Out_DBx__0__PS EQU CYREG_PRT5_PS
+SCSI_Out_DBx__0__SHIFT EQU 1
+SCSI_Out_DBx__0__SLW EQU CYREG_PRT5_SLW
+SCSI_Out_DBx__1__AG EQU CYREG_PRT5_AG
+SCSI_Out_DBx__1__AMUX EQU CYREG_PRT5_AMUX
+SCSI_Out_DBx__1__BIE EQU CYREG_PRT5_BIE
+SCSI_Out_DBx__1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_Out_DBx__1__BYP EQU CYREG_PRT5_BYP
+SCSI_Out_DBx__1__CTL EQU CYREG_PRT5_CTL
+SCSI_Out_DBx__1__DM0 EQU CYREG_PRT5_DM0
+SCSI_Out_DBx__1__DM1 EQU CYREG_PRT5_DM1
+SCSI_Out_DBx__1__DM2 EQU CYREG_PRT5_DM2
+SCSI_Out_DBx__1__DR EQU CYREG_PRT5_DR
+SCSI_Out_DBx__1__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_Out_DBx__1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_Out_DBx__1__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_Out_DBx__1__MASK EQU 0x01
+SCSI_Out_DBx__1__PC EQU CYREG_PRT5_PC0
+SCSI_Out_DBx__1__PORT EQU 5
+SCSI_Out_DBx__1__PRT EQU CYREG_PRT5_PRT
+SCSI_Out_DBx__1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_Out_DBx__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_Out_DBx__1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_Out_DBx__1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_Out_DBx__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_Out_DBx__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_Out_DBx__1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_Out_DBx__1__PS EQU CYREG_PRT5_PS
+SCSI_Out_DBx__1__SHIFT EQU 0
+SCSI_Out_DBx__1__SLW EQU CYREG_PRT5_SLW
+SCSI_Out_DBx__2__AG EQU CYREG_PRT6_AG
+SCSI_Out_DBx__2__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out_DBx__2__BIE EQU CYREG_PRT6_BIE
+SCSI_Out_DBx__2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out_DBx__2__BYP EQU CYREG_PRT6_BYP
+SCSI_Out_DBx__2__CTL EQU CYREG_PRT6_CTL
+SCSI_Out_DBx__2__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out_DBx__2__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out_DBx__2__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out_DBx__2__DR EQU CYREG_PRT6_DR
+SCSI_Out_DBx__2__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out_DBx__2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out_DBx__2__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out_DBx__2__MASK EQU 0x20
+SCSI_Out_DBx__2__PC EQU CYREG_PRT6_PC5
+SCSI_Out_DBx__2__PORT EQU 6
+SCSI_Out_DBx__2__PRT EQU CYREG_PRT6_PRT
+SCSI_Out_DBx__2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out_DBx__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out_DBx__2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out_DBx__2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out_DBx__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out_DBx__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out_DBx__2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out_DBx__2__PS EQU CYREG_PRT6_PS
+SCSI_Out_DBx__2__SHIFT EQU 5
+SCSI_Out_DBx__2__SLW EQU CYREG_PRT6_SLW
+SCSI_Out_DBx__3__AG EQU CYREG_PRT6_AG
+SCSI_Out_DBx__3__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out_DBx__3__BIE EQU CYREG_PRT6_BIE
+SCSI_Out_DBx__3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out_DBx__3__BYP EQU CYREG_PRT6_BYP
+SCSI_Out_DBx__3__CTL EQU CYREG_PRT6_CTL
+SCSI_Out_DBx__3__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out_DBx__3__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out_DBx__3__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out_DBx__3__DR EQU CYREG_PRT6_DR
+SCSI_Out_DBx__3__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out_DBx__3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out_DBx__3__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out_DBx__3__MASK EQU 0x10
+SCSI_Out_DBx__3__PC EQU CYREG_PRT6_PC4
+SCSI_Out_DBx__3__PORT EQU 6
+SCSI_Out_DBx__3__PRT EQU CYREG_PRT6_PRT
+SCSI_Out_DBx__3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out_DBx__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out_DBx__3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out_DBx__3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out_DBx__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out_DBx__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out_DBx__3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out_DBx__3__PS EQU CYREG_PRT6_PS
+SCSI_Out_DBx__3__SHIFT EQU 4
+SCSI_Out_DBx__3__SLW EQU CYREG_PRT6_SLW
+SCSI_Out_DBx__4__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__4__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__4__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__4__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__4__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__4__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__4__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__4__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__4__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__4__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__4__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__4__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__4__MASK EQU 0x80
+SCSI_Out_DBx__4__PC EQU CYREG_PRT2_PC7
+SCSI_Out_DBx__4__PORT EQU 2
+SCSI_Out_DBx__4__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__4__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__4__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__4__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__4__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__4__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__4__SHIFT EQU 7
+SCSI_Out_DBx__4__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__5__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__5__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__5__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__5__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__5__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__5__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__5__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__5__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__5__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__5__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__5__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__5__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__5__MASK EQU 0x40
+SCSI_Out_DBx__5__PC EQU CYREG_PRT2_PC6
+SCSI_Out_DBx__5__PORT EQU 2
+SCSI_Out_DBx__5__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__5__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__5__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__5__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__5__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__5__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__5__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__5__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__5__SHIFT EQU 6
+SCSI_Out_DBx__5__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__6__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__6__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__6__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__6__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__6__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__6__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__6__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__6__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__6__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__6__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__6__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__6__MASK EQU 0x08
+SCSI_Out_DBx__6__PC EQU CYREG_PRT2_PC3
+SCSI_Out_DBx__6__PORT EQU 2
+SCSI_Out_DBx__6__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__6__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__6__SHIFT EQU 3
+SCSI_Out_DBx__6__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__7__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__7__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__7__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__7__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__7__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__7__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__7__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__7__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__7__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__7__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__7__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__7__MASK EQU 0x04
+SCSI_Out_DBx__7__PC EQU CYREG_PRT2_PC2
+SCSI_Out_DBx__7__PORT EQU 2
+SCSI_Out_DBx__7__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__7__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__7__SHIFT EQU 2
+SCSI_Out_DBx__7__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__DB0__AG EQU CYREG_PRT5_AG
+SCSI_Out_DBx__DB0__AMUX EQU CYREG_PRT5_AMUX
+SCSI_Out_DBx__DB0__BIE EQU CYREG_PRT5_BIE
+SCSI_Out_DBx__DB0__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_Out_DBx__DB0__BYP EQU CYREG_PRT5_BYP
+SCSI_Out_DBx__DB0__CTL EQU CYREG_PRT5_CTL
+SCSI_Out_DBx__DB0__DM0 EQU CYREG_PRT5_DM0
+SCSI_Out_DBx__DB0__DM1 EQU CYREG_PRT5_DM1
+SCSI_Out_DBx__DB0__DM2 EQU CYREG_PRT5_DM2
+SCSI_Out_DBx__DB0__DR EQU CYREG_PRT5_DR
+SCSI_Out_DBx__DB0__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_Out_DBx__DB0__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_Out_DBx__DB0__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_Out_DBx__DB0__MASK EQU 0x02
+SCSI_Out_DBx__DB0__PC EQU CYREG_PRT5_PC1
+SCSI_Out_DBx__DB0__PORT EQU 5
+SCSI_Out_DBx__DB0__PRT EQU CYREG_PRT5_PRT
+SCSI_Out_DBx__DB0__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_Out_DBx__DB0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_Out_DBx__DB0__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_Out_DBx__DB0__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_Out_DBx__DB0__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_Out_DBx__DB0__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_Out_DBx__DB0__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_Out_DBx__DB0__PS EQU CYREG_PRT5_PS
+SCSI_Out_DBx__DB0__SHIFT EQU 1
+SCSI_Out_DBx__DB0__SLW EQU CYREG_PRT5_SLW
+SCSI_Out_DBx__DB1__AG EQU CYREG_PRT5_AG
+SCSI_Out_DBx__DB1__AMUX EQU CYREG_PRT5_AMUX
+SCSI_Out_DBx__DB1__BIE EQU CYREG_PRT5_BIE
+SCSI_Out_DBx__DB1__BIT_MASK EQU CYREG_PRT5_BIT_MASK
+SCSI_Out_DBx__DB1__BYP EQU CYREG_PRT5_BYP
+SCSI_Out_DBx__DB1__CTL EQU CYREG_PRT5_CTL
+SCSI_Out_DBx__DB1__DM0 EQU CYREG_PRT5_DM0
+SCSI_Out_DBx__DB1__DM1 EQU CYREG_PRT5_DM1
+SCSI_Out_DBx__DB1__DM2 EQU CYREG_PRT5_DM2
+SCSI_Out_DBx__DB1__DR EQU CYREG_PRT5_DR
+SCSI_Out_DBx__DB1__INP_DIS EQU CYREG_PRT5_INP_DIS
+SCSI_Out_DBx__DB1__LCD_COM_SEG EQU CYREG_PRT5_LCD_COM_SEG
+SCSI_Out_DBx__DB1__LCD_EN EQU CYREG_PRT5_LCD_EN
+SCSI_Out_DBx__DB1__MASK EQU 0x01
+SCSI_Out_DBx__DB1__PC EQU CYREG_PRT5_PC0
+SCSI_Out_DBx__DB1__PORT EQU 5
+SCSI_Out_DBx__DB1__PRT EQU CYREG_PRT5_PRT
+SCSI_Out_DBx__DB1__PRTDSI__CAPS_SEL EQU CYREG_PRT5_CAPS_SEL
+SCSI_Out_DBx__DB1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT5_DBL_SYNC_IN
+SCSI_Out_DBx__DB1__PRTDSI__OE_SEL0 EQU CYREG_PRT5_OE_SEL0
+SCSI_Out_DBx__DB1__PRTDSI__OE_SEL1 EQU CYREG_PRT5_OE_SEL1
+SCSI_Out_DBx__DB1__PRTDSI__OUT_SEL0 EQU CYREG_PRT5_OUT_SEL0
+SCSI_Out_DBx__DB1__PRTDSI__OUT_SEL1 EQU CYREG_PRT5_OUT_SEL1
+SCSI_Out_DBx__DB1__PRTDSI__SYNC_OUT EQU CYREG_PRT5_SYNC_OUT
+SCSI_Out_DBx__DB1__PS EQU CYREG_PRT5_PS
+SCSI_Out_DBx__DB1__SHIFT EQU 0
+SCSI_Out_DBx__DB1__SLW EQU CYREG_PRT5_SLW
+SCSI_Out_DBx__DB2__AG EQU CYREG_PRT6_AG
+SCSI_Out_DBx__DB2__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out_DBx__DB2__BIE EQU CYREG_PRT6_BIE
+SCSI_Out_DBx__DB2__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out_DBx__DB2__BYP EQU CYREG_PRT6_BYP
+SCSI_Out_DBx__DB2__CTL EQU CYREG_PRT6_CTL
+SCSI_Out_DBx__DB2__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out_DBx__DB2__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out_DBx__DB2__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out_DBx__DB2__DR EQU CYREG_PRT6_DR
+SCSI_Out_DBx__DB2__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out_DBx__DB2__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out_DBx__DB2__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out_DBx__DB2__MASK EQU 0x20
+SCSI_Out_DBx__DB2__PC EQU CYREG_PRT6_PC5
+SCSI_Out_DBx__DB2__PORT EQU 6
+SCSI_Out_DBx__DB2__PRT EQU CYREG_PRT6_PRT
+SCSI_Out_DBx__DB2__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out_DBx__DB2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out_DBx__DB2__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out_DBx__DB2__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out_DBx__DB2__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out_DBx__DB2__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out_DBx__DB2__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out_DBx__DB2__PS EQU CYREG_PRT6_PS
+SCSI_Out_DBx__DB2__SHIFT EQU 5
+SCSI_Out_DBx__DB2__SLW EQU CYREG_PRT6_SLW
+SCSI_Out_DBx__DB3__AG EQU CYREG_PRT6_AG
+SCSI_Out_DBx__DB3__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Out_DBx__DB3__BIE EQU CYREG_PRT6_BIE
+SCSI_Out_DBx__DB3__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Out_DBx__DB3__BYP EQU CYREG_PRT6_BYP
+SCSI_Out_DBx__DB3__CTL EQU CYREG_PRT6_CTL
+SCSI_Out_DBx__DB3__DM0 EQU CYREG_PRT6_DM0
+SCSI_Out_DBx__DB3__DM1 EQU CYREG_PRT6_DM1
+SCSI_Out_DBx__DB3__DM2 EQU CYREG_PRT6_DM2
+SCSI_Out_DBx__DB3__DR EQU CYREG_PRT6_DR
+SCSI_Out_DBx__DB3__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Out_DBx__DB3__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Out_DBx__DB3__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Out_DBx__DB3__MASK EQU 0x10
+SCSI_Out_DBx__DB3__PC EQU CYREG_PRT6_PC4
+SCSI_Out_DBx__DB3__PORT EQU 6
+SCSI_Out_DBx__DB3__PRT EQU CYREG_PRT6_PRT
+SCSI_Out_DBx__DB3__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Out_DBx__DB3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Out_DBx__DB3__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Out_DBx__DB3__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Out_DBx__DB3__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Out_DBx__DB3__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Out_DBx__DB3__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Out_DBx__DB3__PS EQU CYREG_PRT6_PS
+SCSI_Out_DBx__DB3__SHIFT EQU 4
+SCSI_Out_DBx__DB3__SLW EQU CYREG_PRT6_SLW
+SCSI_Out_DBx__DB4__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__DB4__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__DB4__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__DB4__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__DB4__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__DB4__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__DB4__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__DB4__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__DB4__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__DB4__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__DB4__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__DB4__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__DB4__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__DB4__MASK EQU 0x80
+SCSI_Out_DBx__DB4__PC EQU CYREG_PRT2_PC7
+SCSI_Out_DBx__DB4__PORT EQU 2
+SCSI_Out_DBx__DB4__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__DB4__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__DB4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__DB4__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__DB4__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__DB4__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__DB4__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__DB4__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__DB4__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__DB4__SHIFT EQU 7
+SCSI_Out_DBx__DB4__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__DB5__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__DB5__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__DB5__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__DB5__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__DB5__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__DB5__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__DB5__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__DB5__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__DB5__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__DB5__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__DB5__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__DB5__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__DB5__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__DB5__MASK EQU 0x40
+SCSI_Out_DBx__DB5__PC EQU CYREG_PRT2_PC6
+SCSI_Out_DBx__DB5__PORT EQU 2
+SCSI_Out_DBx__DB5__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__DB5__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__DB5__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__DB5__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__DB5__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__DB5__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__DB5__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__DB5__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__DB5__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__DB5__SHIFT EQU 6
+SCSI_Out_DBx__DB5__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__DB6__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__DB6__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__DB6__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__DB6__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__DB6__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__DB6__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__DB6__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__DB6__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__DB6__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__DB6__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__DB6__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__DB6__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__DB6__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__DB6__MASK EQU 0x08
+SCSI_Out_DBx__DB6__PC EQU CYREG_PRT2_PC3
+SCSI_Out_DBx__DB6__PORT EQU 2
+SCSI_Out_DBx__DB6__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__DB6__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__DB6__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__DB6__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__DB6__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__DB6__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__DB6__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__DB6__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__DB6__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__DB6__SHIFT EQU 3
+SCSI_Out_DBx__DB6__SLW EQU CYREG_PRT2_SLW
+SCSI_Out_DBx__DB7__AG EQU CYREG_PRT2_AG
+SCSI_Out_DBx__DB7__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Out_DBx__DB7__BIE EQU CYREG_PRT2_BIE
+SCSI_Out_DBx__DB7__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Out_DBx__DB7__BYP EQU CYREG_PRT2_BYP
+SCSI_Out_DBx__DB7__CTL EQU CYREG_PRT2_CTL
+SCSI_Out_DBx__DB7__DM0 EQU CYREG_PRT2_DM0
+SCSI_Out_DBx__DB7__DM1 EQU CYREG_PRT2_DM1
+SCSI_Out_DBx__DB7__DM2 EQU CYREG_PRT2_DM2
+SCSI_Out_DBx__DB7__DR EQU CYREG_PRT2_DR
+SCSI_Out_DBx__DB7__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Out_DBx__DB7__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Out_DBx__DB7__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Out_DBx__DB7__MASK EQU 0x04
+SCSI_Out_DBx__DB7__PC EQU CYREG_PRT2_PC2
+SCSI_Out_DBx__DB7__PORT EQU 2
+SCSI_Out_DBx__DB7__PRT EQU CYREG_PRT2_PRT
+SCSI_Out_DBx__DB7__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Out_DBx__DB7__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Out_DBx__DB7__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Out_DBx__DB7__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Out_DBx__DB7__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Out_DBx__DB7__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Out_DBx__DB7__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Out_DBx__DB7__PS EQU CYREG_PRT2_PS
+SCSI_Out_DBx__DB7__SHIFT EQU 2
+SCSI_Out_DBx__DB7__SLW EQU CYREG_PRT2_SLW
+
+; SD_RX_DMA
+SD_RX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
+SD_RX_DMA__DRQ_NUMBER EQU 2
+SD_RX_DMA__NUMBEROF_TDS EQU 0
+SD_RX_DMA__PRIORITY EQU 0
+SD_RX_DMA__TERMIN_EN EQU 0
+SD_RX_DMA__TERMIN_SEL EQU 0
+SD_RX_DMA__TERMOUT0_EN EQU 1
+SD_RX_DMA__TERMOUT0_SEL EQU 2
+SD_RX_DMA__TERMOUT1_EN EQU 0
+SD_RX_DMA__TERMOUT1_SEL EQU 0
+
+; SD_RX_DMA_COMPLETE
+SD_RX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SD_RX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SD_RX_DMA_COMPLETE__INTC_MASK EQU 0x20
+SD_RX_DMA_COMPLETE__INTC_NUMBER EQU 5
+SD_RX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
+SD_RX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_5
+SD_RX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SD_RX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; SD_TX_DMA
+SD_TX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
+SD_TX_DMA__DRQ_NUMBER EQU 3
+SD_TX_DMA__NUMBEROF_TDS EQU 0
+SD_TX_DMA__PRIORITY EQU 1
+SD_TX_DMA__TERMIN_EN EQU 0
+SD_TX_DMA__TERMIN_SEL EQU 0
+SD_TX_DMA__TERMOUT0_EN EQU 1
+SD_TX_DMA__TERMOUT0_SEL EQU 3
+SD_TX_DMA__TERMOUT1_EN EQU 0
+SD_TX_DMA__TERMOUT1_SEL EQU 0
+
+; SD_TX_DMA_COMPLETE
+SD_TX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SD_TX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SD_TX_DMA_COMPLETE__INTC_MASK EQU 0x40
+SD_TX_DMA_COMPLETE__INTC_NUMBER EQU 6
+SD_TX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
+SD_TX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_6
+SD_TX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SD_TX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; SCSI_Noise
+SCSI_Noise__0__AG EQU CYREG_PRT2_AG
+SCSI_Noise__0__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Noise__0__BIE EQU CYREG_PRT2_BIE
+SCSI_Noise__0__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Noise__0__BYP EQU CYREG_PRT2_BYP
+SCSI_Noise__0__CTL EQU CYREG_PRT2_CTL
+SCSI_Noise__0__DM0 EQU CYREG_PRT2_DM0
+SCSI_Noise__0__DM1 EQU CYREG_PRT2_DM1
+SCSI_Noise__0__DM2 EQU CYREG_PRT2_DM2
+SCSI_Noise__0__DR EQU CYREG_PRT2_DR
+SCSI_Noise__0__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Noise__0__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Noise__0__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Noise__0__MASK EQU 0x01
+SCSI_Noise__0__PC EQU CYREG_PRT2_PC0
+SCSI_Noise__0__PORT EQU 2
+SCSI_Noise__0__PRT EQU CYREG_PRT2_PRT
+SCSI_Noise__0__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Noise__0__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Noise__0__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Noise__0__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Noise__0__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Noise__0__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Noise__0__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Noise__0__PS EQU CYREG_PRT2_PS
+SCSI_Noise__0__SHIFT EQU 0
+SCSI_Noise__0__SLW EQU CYREG_PRT2_SLW
+SCSI_Noise__1__AG EQU CYREG_PRT6_AG
+SCSI_Noise__1__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Noise__1__BIE EQU CYREG_PRT6_BIE
+SCSI_Noise__1__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Noise__1__BYP EQU CYREG_PRT6_BYP
+SCSI_Noise__1__CTL EQU CYREG_PRT6_CTL
+SCSI_Noise__1__DM0 EQU CYREG_PRT6_DM0
+SCSI_Noise__1__DM1 EQU CYREG_PRT6_DM1
+SCSI_Noise__1__DM2 EQU CYREG_PRT6_DM2
+SCSI_Noise__1__DR EQU CYREG_PRT6_DR
+SCSI_Noise__1__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Noise__1__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Noise__1__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Noise__1__MASK EQU 0x08
+SCSI_Noise__1__PC EQU CYREG_PRT6_PC3
+SCSI_Noise__1__PORT EQU 6
+SCSI_Noise__1__PRT EQU CYREG_PRT6_PRT
+SCSI_Noise__1__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Noise__1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Noise__1__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Noise__1__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Noise__1__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Noise__1__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Noise__1__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Noise__1__PS EQU CYREG_PRT6_PS
+SCSI_Noise__1__SHIFT EQU 3
+SCSI_Noise__1__SLW EQU CYREG_PRT6_SLW
+SCSI_Noise__2__AG EQU CYREG_PRT4_AG
+SCSI_Noise__2__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Noise__2__BIE EQU CYREG_PRT4_BIE
+SCSI_Noise__2__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Noise__2__BYP EQU CYREG_PRT4_BYP
+SCSI_Noise__2__CTL EQU CYREG_PRT4_CTL
+SCSI_Noise__2__DM0 EQU CYREG_PRT4_DM0
+SCSI_Noise__2__DM1 EQU CYREG_PRT4_DM1
+SCSI_Noise__2__DM2 EQU CYREG_PRT4_DM2
+SCSI_Noise__2__DR EQU CYREG_PRT4_DR
+SCSI_Noise__2__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Noise__2__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Noise__2__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Noise__2__MASK EQU 0x08
+SCSI_Noise__2__PC EQU CYREG_PRT4_PC3
+SCSI_Noise__2__PORT EQU 4
+SCSI_Noise__2__PRT EQU CYREG_PRT4_PRT
+SCSI_Noise__2__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Noise__2__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Noise__2__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Noise__2__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Noise__2__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Noise__2__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Noise__2__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Noise__2__PS EQU CYREG_PRT4_PS
+SCSI_Noise__2__SHIFT EQU 3
+SCSI_Noise__2__SLW EQU CYREG_PRT4_SLW
+SCSI_Noise__3__AG EQU CYREG_PRT4_AG
+SCSI_Noise__3__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Noise__3__BIE EQU CYREG_PRT4_BIE
+SCSI_Noise__3__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Noise__3__BYP EQU CYREG_PRT4_BYP
+SCSI_Noise__3__CTL EQU CYREG_PRT4_CTL
+SCSI_Noise__3__DM0 EQU CYREG_PRT4_DM0
+SCSI_Noise__3__DM1 EQU CYREG_PRT4_DM1
+SCSI_Noise__3__DM2 EQU CYREG_PRT4_DM2
+SCSI_Noise__3__DR EQU CYREG_PRT4_DR
+SCSI_Noise__3__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Noise__3__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Noise__3__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Noise__3__MASK EQU 0x80
+SCSI_Noise__3__PC EQU CYREG_PRT4_PC7
+SCSI_Noise__3__PORT EQU 4
+SCSI_Noise__3__PRT EQU CYREG_PRT4_PRT
+SCSI_Noise__3__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Noise__3__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Noise__3__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Noise__3__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Noise__3__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Noise__3__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Noise__3__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Noise__3__PS EQU CYREG_PRT4_PS
+SCSI_Noise__3__SHIFT EQU 7
+SCSI_Noise__3__SLW EQU CYREG_PRT4_SLW
+SCSI_Noise__4__AG EQU CYREG_PRT6_AG
+SCSI_Noise__4__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Noise__4__BIE EQU CYREG_PRT6_BIE
+SCSI_Noise__4__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Noise__4__BYP EQU CYREG_PRT6_BYP
+SCSI_Noise__4__CTL EQU CYREG_PRT6_CTL
+SCSI_Noise__4__DM0 EQU CYREG_PRT6_DM0
+SCSI_Noise__4__DM1 EQU CYREG_PRT6_DM1
+SCSI_Noise__4__DM2 EQU CYREG_PRT6_DM2
+SCSI_Noise__4__DR EQU CYREG_PRT6_DR
+SCSI_Noise__4__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Noise__4__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Noise__4__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Noise__4__MASK EQU 0x04
+SCSI_Noise__4__PC EQU CYREG_PRT6_PC2
+SCSI_Noise__4__PORT EQU 6
+SCSI_Noise__4__PRT EQU CYREG_PRT6_PRT
+SCSI_Noise__4__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Noise__4__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Noise__4__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Noise__4__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Noise__4__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Noise__4__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Noise__4__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Noise__4__PS EQU CYREG_PRT6_PS
+SCSI_Noise__4__SHIFT EQU 2
+SCSI_Noise__4__SLW EQU CYREG_PRT6_SLW
+SCSI_Noise__ACK__AG EQU CYREG_PRT6_AG
+SCSI_Noise__ACK__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Noise__ACK__BIE EQU CYREG_PRT6_BIE
+SCSI_Noise__ACK__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Noise__ACK__BYP EQU CYREG_PRT6_BYP
+SCSI_Noise__ACK__CTL EQU CYREG_PRT6_CTL
+SCSI_Noise__ACK__DM0 EQU CYREG_PRT6_DM0
+SCSI_Noise__ACK__DM1 EQU CYREG_PRT6_DM1
+SCSI_Noise__ACK__DM2 EQU CYREG_PRT6_DM2
+SCSI_Noise__ACK__DR EQU CYREG_PRT6_DR
+SCSI_Noise__ACK__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Noise__ACK__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Noise__ACK__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Noise__ACK__MASK EQU 0x04
+SCSI_Noise__ACK__PC EQU CYREG_PRT6_PC2
+SCSI_Noise__ACK__PORT EQU 6
+SCSI_Noise__ACK__PRT EQU CYREG_PRT6_PRT
+SCSI_Noise__ACK__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Noise__ACK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Noise__ACK__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Noise__ACK__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Noise__ACK__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Noise__ACK__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Noise__ACK__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Noise__ACK__PS EQU CYREG_PRT6_PS
+SCSI_Noise__ACK__SHIFT EQU 2
+SCSI_Noise__ACK__SLW EQU CYREG_PRT6_SLW
+SCSI_Noise__ATN__AG EQU CYREG_PRT2_AG
+SCSI_Noise__ATN__AMUX EQU CYREG_PRT2_AMUX
+SCSI_Noise__ATN__BIE EQU CYREG_PRT2_BIE
+SCSI_Noise__ATN__BIT_MASK EQU CYREG_PRT2_BIT_MASK
+SCSI_Noise__ATN__BYP EQU CYREG_PRT2_BYP
+SCSI_Noise__ATN__CTL EQU CYREG_PRT2_CTL
+SCSI_Noise__ATN__DM0 EQU CYREG_PRT2_DM0
+SCSI_Noise__ATN__DM1 EQU CYREG_PRT2_DM1
+SCSI_Noise__ATN__DM2 EQU CYREG_PRT2_DM2
+SCSI_Noise__ATN__DR EQU CYREG_PRT2_DR
+SCSI_Noise__ATN__INP_DIS EQU CYREG_PRT2_INP_DIS
+SCSI_Noise__ATN__LCD_COM_SEG EQU CYREG_PRT2_LCD_COM_SEG
+SCSI_Noise__ATN__LCD_EN EQU CYREG_PRT2_LCD_EN
+SCSI_Noise__ATN__MASK EQU 0x01
+SCSI_Noise__ATN__PC EQU CYREG_PRT2_PC0
+SCSI_Noise__ATN__PORT EQU 2
+SCSI_Noise__ATN__PRT EQU CYREG_PRT2_PRT
+SCSI_Noise__ATN__PRTDSI__CAPS_SEL EQU CYREG_PRT2_CAPS_SEL
+SCSI_Noise__ATN__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT2_DBL_SYNC_IN
+SCSI_Noise__ATN__PRTDSI__OE_SEL0 EQU CYREG_PRT2_OE_SEL0
+SCSI_Noise__ATN__PRTDSI__OE_SEL1 EQU CYREG_PRT2_OE_SEL1
+SCSI_Noise__ATN__PRTDSI__OUT_SEL0 EQU CYREG_PRT2_OUT_SEL0
+SCSI_Noise__ATN__PRTDSI__OUT_SEL1 EQU CYREG_PRT2_OUT_SEL1
+SCSI_Noise__ATN__PRTDSI__SYNC_OUT EQU CYREG_PRT2_SYNC_OUT
+SCSI_Noise__ATN__PS EQU CYREG_PRT2_PS
+SCSI_Noise__ATN__SHIFT EQU 0
+SCSI_Noise__ATN__SLW EQU CYREG_PRT2_SLW
+SCSI_Noise__BSY__AG EQU CYREG_PRT6_AG
+SCSI_Noise__BSY__AMUX EQU CYREG_PRT6_AMUX
+SCSI_Noise__BSY__BIE EQU CYREG_PRT6_BIE
+SCSI_Noise__BSY__BIT_MASK EQU CYREG_PRT6_BIT_MASK
+SCSI_Noise__BSY__BYP EQU CYREG_PRT6_BYP
+SCSI_Noise__BSY__CTL EQU CYREG_PRT6_CTL
+SCSI_Noise__BSY__DM0 EQU CYREG_PRT6_DM0
+SCSI_Noise__BSY__DM1 EQU CYREG_PRT6_DM1
+SCSI_Noise__BSY__DM2 EQU CYREG_PRT6_DM2
+SCSI_Noise__BSY__DR EQU CYREG_PRT6_DR
+SCSI_Noise__BSY__INP_DIS EQU CYREG_PRT6_INP_DIS
+SCSI_Noise__BSY__LCD_COM_SEG EQU CYREG_PRT6_LCD_COM_SEG
+SCSI_Noise__BSY__LCD_EN EQU CYREG_PRT6_LCD_EN
+SCSI_Noise__BSY__MASK EQU 0x08
+SCSI_Noise__BSY__PC EQU CYREG_PRT6_PC3
+SCSI_Noise__BSY__PORT EQU 6
+SCSI_Noise__BSY__PRT EQU CYREG_PRT6_PRT
+SCSI_Noise__BSY__PRTDSI__CAPS_SEL EQU CYREG_PRT6_CAPS_SEL
+SCSI_Noise__BSY__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT6_DBL_SYNC_IN
+SCSI_Noise__BSY__PRTDSI__OE_SEL0 EQU CYREG_PRT6_OE_SEL0
+SCSI_Noise__BSY__PRTDSI__OE_SEL1 EQU CYREG_PRT6_OE_SEL1
+SCSI_Noise__BSY__PRTDSI__OUT_SEL0 EQU CYREG_PRT6_OUT_SEL0
+SCSI_Noise__BSY__PRTDSI__OUT_SEL1 EQU CYREG_PRT6_OUT_SEL1
+SCSI_Noise__BSY__PRTDSI__SYNC_OUT EQU CYREG_PRT6_SYNC_OUT
+SCSI_Noise__BSY__PS EQU CYREG_PRT6_PS
+SCSI_Noise__BSY__SHIFT EQU 3
+SCSI_Noise__BSY__SLW EQU CYREG_PRT6_SLW
+SCSI_Noise__RST__AG EQU CYREG_PRT4_AG
+SCSI_Noise__RST__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Noise__RST__BIE EQU CYREG_PRT4_BIE
+SCSI_Noise__RST__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Noise__RST__BYP EQU CYREG_PRT4_BYP
+SCSI_Noise__RST__CTL EQU CYREG_PRT4_CTL
+SCSI_Noise__RST__DM0 EQU CYREG_PRT4_DM0
+SCSI_Noise__RST__DM1 EQU CYREG_PRT4_DM1
+SCSI_Noise__RST__DM2 EQU CYREG_PRT4_DM2
+SCSI_Noise__RST__DR EQU CYREG_PRT4_DR
+SCSI_Noise__RST__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Noise__RST__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Noise__RST__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Noise__RST__MASK EQU 0x80
+SCSI_Noise__RST__PC EQU CYREG_PRT4_PC7
+SCSI_Noise__RST__PORT EQU 4
+SCSI_Noise__RST__PRT EQU CYREG_PRT4_PRT
+SCSI_Noise__RST__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Noise__RST__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Noise__RST__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Noise__RST__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Noise__RST__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Noise__RST__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Noise__RST__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Noise__RST__PS EQU CYREG_PRT4_PS
+SCSI_Noise__RST__SHIFT EQU 7
+SCSI_Noise__RST__SLW EQU CYREG_PRT4_SLW
+SCSI_Noise__SEL__AG EQU CYREG_PRT4_AG
+SCSI_Noise__SEL__AMUX EQU CYREG_PRT4_AMUX
+SCSI_Noise__SEL__BIE EQU CYREG_PRT4_BIE
+SCSI_Noise__SEL__BIT_MASK EQU CYREG_PRT4_BIT_MASK
+SCSI_Noise__SEL__BYP EQU CYREG_PRT4_BYP
+SCSI_Noise__SEL__CTL EQU CYREG_PRT4_CTL
+SCSI_Noise__SEL__DM0 EQU CYREG_PRT4_DM0
+SCSI_Noise__SEL__DM1 EQU CYREG_PRT4_DM1
+SCSI_Noise__SEL__DM2 EQU CYREG_PRT4_DM2
+SCSI_Noise__SEL__DR EQU CYREG_PRT4_DR
+SCSI_Noise__SEL__INP_DIS EQU CYREG_PRT4_INP_DIS
+SCSI_Noise__SEL__LCD_COM_SEG EQU CYREG_PRT4_LCD_COM_SEG
+SCSI_Noise__SEL__LCD_EN EQU CYREG_PRT4_LCD_EN
+SCSI_Noise__SEL__MASK EQU 0x08
+SCSI_Noise__SEL__PC EQU CYREG_PRT4_PC3
+SCSI_Noise__SEL__PORT EQU 4
+SCSI_Noise__SEL__PRT EQU CYREG_PRT4_PRT
+SCSI_Noise__SEL__PRTDSI__CAPS_SEL EQU CYREG_PRT4_CAPS_SEL
+SCSI_Noise__SEL__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT4_DBL_SYNC_IN
+SCSI_Noise__SEL__PRTDSI__OE_SEL0 EQU CYREG_PRT4_OE_SEL0
+SCSI_Noise__SEL__PRTDSI__OE_SEL1 EQU CYREG_PRT4_OE_SEL1
+SCSI_Noise__SEL__PRTDSI__OUT_SEL0 EQU CYREG_PRT4_OUT_SEL0
+SCSI_Noise__SEL__PRTDSI__OUT_SEL1 EQU CYREG_PRT4_OUT_SEL1
+SCSI_Noise__SEL__PRTDSI__SYNC_OUT EQU CYREG_PRT4_SYNC_OUT
+SCSI_Noise__SEL__PS EQU CYREG_PRT4_PS
+SCSI_Noise__SEL__SHIFT EQU 3
+SCSI_Noise__SEL__SLW EQU CYREG_PRT4_SLW
+
+; scsiTarget
+scsiTarget_datapath__16BIT_A0_REG EQU CYREG_B0_UDB11_12_A0
+scsiTarget_datapath__16BIT_A1_REG EQU CYREG_B0_UDB11_12_A1
+scsiTarget_datapath__16BIT_D0_REG EQU CYREG_B0_UDB11_12_D0
+scsiTarget_datapath__16BIT_D1_REG EQU CYREG_B0_UDB11_12_D1
+scsiTarget_datapath__16BIT_DP_AUX_CTL_REG EQU CYREG_B0_UDB11_12_ACTL
+scsiTarget_datapath__16BIT_F0_REG EQU CYREG_B0_UDB11_12_F0
+scsiTarget_datapath__16BIT_F1_REG EQU CYREG_B0_UDB11_12_F1
+scsiTarget_datapath__A0_A1_REG EQU CYREG_B0_UDB11_A0_A1
+scsiTarget_datapath__A0_REG EQU CYREG_B0_UDB11_A0
+scsiTarget_datapath__A1_REG EQU CYREG_B0_UDB11_A1
+scsiTarget_datapath__D0_D1_REG EQU CYREG_B0_UDB11_D0_D1
+scsiTarget_datapath__D0_REG EQU CYREG_B0_UDB11_D0
+scsiTarget_datapath__D1_REG EQU CYREG_B0_UDB11_D1
+scsiTarget_datapath__DP_AUX_CTL_REG EQU CYREG_B0_UDB11_ACTL
+scsiTarget_datapath__F0_F1_REG EQU CYREG_B0_UDB11_F0_F1
+scsiTarget_datapath__F0_REG EQU CYREG_B0_UDB11_F0
+scsiTarget_datapath__F1_REG EQU CYREG_B0_UDB11_F1
+scsiTarget_datapath__MSK_DP_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath__PER_DP_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath_PI__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB11_12_ACTL
+scsiTarget_datapath_PI__16BIT_STATUS_REG EQU CYREG_B0_UDB11_12_ST
+scsiTarget_datapath_PI__MASK_REG EQU CYREG_B0_UDB11_MSK
+scsiTarget_datapath_PI__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath_PI__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath_PI__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB11_ACTL
+scsiTarget_datapath_PI__STATUS_CNT_REG EQU CYREG_B0_UDB11_ST_CTL
+scsiTarget_datapath_PI__STATUS_CONTROL_REG EQU CYREG_B0_UDB11_ST_CTL
+scsiTarget_datapath_PI__STATUS_REG EQU CYREG_B0_UDB11_ST
+scsiTarget_datapath_PO__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB11_12_ACTL
+scsiTarget_datapath_PO__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB11_12_CTL
+scsiTarget_datapath_PO__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB11_12_CTL
+scsiTarget_datapath_PO__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB11_12_CTL
+scsiTarget_datapath_PO__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB11_12_CTL
+scsiTarget_datapath_PO__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB11_12_MSK
+scsiTarget_datapath_PO__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB11_12_MSK
+scsiTarget_datapath_PO__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB11_12_MSK
+scsiTarget_datapath_PO__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB11_12_MSK
+scsiTarget_datapath_PO__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB11_ACTL
+scsiTarget_datapath_PO__CONTROL_REG EQU CYREG_B0_UDB11_CTL
+scsiTarget_datapath_PO__CONTROL_ST_REG EQU CYREG_B0_UDB11_ST_CTL
+scsiTarget_datapath_PO__COUNT_REG EQU CYREG_B0_UDB11_CTL
+scsiTarget_datapath_PO__COUNT_ST_REG EQU CYREG_B0_UDB11_ST_CTL
+scsiTarget_datapath_PO__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath_PO__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB11_MSK_ACTL
+scsiTarget_datapath_PO__PERIOD_REG EQU CYREG_B0_UDB11_MSK
+scsiTarget_StatusReg__0__MASK EQU 0x01
+scsiTarget_StatusReg__0__POS EQU 0
+scsiTarget_StatusReg__1__MASK EQU 0x02
+scsiTarget_StatusReg__1__POS EQU 1
+scsiTarget_StatusReg__2__MASK EQU 0x04
+scsiTarget_StatusReg__2__POS EQU 2
+scsiTarget_StatusReg__3__MASK EQU 0x08
+scsiTarget_StatusReg__3__POS EQU 3
+scsiTarget_StatusReg__4__MASK EQU 0x10
+scsiTarget_StatusReg__4__POS EQU 4
+scsiTarget_StatusReg__MASK EQU 0x1F
+scsiTarget_StatusReg__MASK_REG EQU CYREG_B0_UDB15_MSK
+scsiTarget_StatusReg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB15_ACTL
+scsiTarget_StatusReg__STATUS_REG EQU CYREG_B0_UDB15_ST
 
-; SD_MOSI
-SD_MOSI__0__MASK EQU 0x08
-SD_MOSI__0__PC EQU CYREG_PRT3_PC3
-SD_MOSI__0__PORT EQU 3
-SD_MOSI__0__SHIFT EQU 3
-SD_MOSI__AG EQU CYREG_PRT3_AG
-SD_MOSI__AMUX EQU CYREG_PRT3_AMUX
-SD_MOSI__BIE EQU CYREG_PRT3_BIE
-SD_MOSI__BIT_MASK EQU CYREG_PRT3_BIT_MASK
-SD_MOSI__BYP EQU CYREG_PRT3_BYP
-SD_MOSI__CTL EQU CYREG_PRT3_CTL
-SD_MOSI__DM0 EQU CYREG_PRT3_DM0
-SD_MOSI__DM1 EQU CYREG_PRT3_DM1
-SD_MOSI__DM2 EQU CYREG_PRT3_DM2
-SD_MOSI__DR EQU CYREG_PRT3_DR
-SD_MOSI__INP_DIS EQU CYREG_PRT3_INP_DIS
-SD_MOSI__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
-SD_MOSI__LCD_EN EQU CYREG_PRT3_LCD_EN
-SD_MOSI__MASK EQU 0x08
-SD_MOSI__PORT EQU 3
-SD_MOSI__PRT EQU CYREG_PRT3_PRT
-SD_MOSI__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
-SD_MOSI__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
-SD_MOSI__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
-SD_MOSI__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
-SD_MOSI__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
-SD_MOSI__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
-SD_MOSI__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
-SD_MOSI__PS EQU CYREG_PRT3_PS
-SD_MOSI__SHIFT EQU 3
-SD_MOSI__SLW EQU CYREG_PRT3_SLW
+; Debug_Timer_Interrupt
+Debug_Timer_Interrupt__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+Debug_Timer_Interrupt__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+Debug_Timer_Interrupt__INTC_MASK EQU 0x02
+Debug_Timer_Interrupt__INTC_NUMBER EQU 1
+Debug_Timer_Interrupt__INTC_PRIOR_NUM EQU 7
+Debug_Timer_Interrupt__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_1
+Debug_Timer_Interrupt__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+Debug_Timer_Interrupt__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; Debug_Timer_TimerHW
+Debug_Timer_TimerHW__CAP0 EQU CYREG_TMR0_CAP0
+Debug_Timer_TimerHW__CAP1 EQU CYREG_TMR0_CAP1
+Debug_Timer_TimerHW__CFG0 EQU CYREG_TMR0_CFG0
+Debug_Timer_TimerHW__CFG1 EQU CYREG_TMR0_CFG1
+Debug_Timer_TimerHW__CFG2 EQU CYREG_TMR0_CFG2
+Debug_Timer_TimerHW__CNT_CMP0 EQU CYREG_TMR0_CNT_CMP0
+Debug_Timer_TimerHW__CNT_CMP1 EQU CYREG_TMR0_CNT_CMP1
+Debug_Timer_TimerHW__PER0 EQU CYREG_TMR0_PER0
+Debug_Timer_TimerHW__PER1 EQU CYREG_TMR0_PER1
+Debug_Timer_TimerHW__PM_ACT_CFG EQU CYREG_PM_ACT_CFG3
+Debug_Timer_TimerHW__PM_ACT_MSK EQU 0x01
+Debug_Timer_TimerHW__PM_STBY_CFG EQU CYREG_PM_STBY_CFG3
+Debug_Timer_TimerHW__PM_STBY_MSK EQU 0x01
+Debug_Timer_TimerHW__RT0 EQU CYREG_TMR0_RT0
+Debug_Timer_TimerHW__RT1 EQU CYREG_TMR0_RT1
+Debug_Timer_TimerHW__SR0 EQU CYREG_TMR0_SR0
+
+; SCSI_RX_DMA
+SCSI_RX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
+SCSI_RX_DMA__DRQ_NUMBER EQU 0
+SCSI_RX_DMA__NUMBEROF_TDS EQU 0
+SCSI_RX_DMA__PRIORITY EQU 2
+SCSI_RX_DMA__TERMIN_EN EQU 0
+SCSI_RX_DMA__TERMIN_SEL EQU 0
+SCSI_RX_DMA__TERMOUT0_EN EQU 1
+SCSI_RX_DMA__TERMOUT0_SEL EQU 0
+SCSI_RX_DMA__TERMOUT1_EN EQU 0
+SCSI_RX_DMA__TERMOUT1_SEL EQU 0
+
+; SCSI_RX_DMA_COMPLETE
+SCSI_RX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SCSI_RX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SCSI_RX_DMA_COMPLETE__INTC_MASK EQU 0x01
+SCSI_RX_DMA_COMPLETE__INTC_NUMBER EQU 0
+SCSI_RX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
+SCSI_RX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_0
+SCSI_RX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SCSI_RX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; SCSI_TX_DMA
+SCSI_TX_DMA__DRQ_CTL EQU CYREG_IDMUX_DRQ_CTL0
+SCSI_TX_DMA__DRQ_NUMBER EQU 1
+SCSI_TX_DMA__NUMBEROF_TDS EQU 0
+SCSI_TX_DMA__PRIORITY EQU 2
+SCSI_TX_DMA__TERMIN_EN EQU 0
+SCSI_TX_DMA__TERMIN_SEL EQU 0
+SCSI_TX_DMA__TERMOUT0_EN EQU 1
+SCSI_TX_DMA__TERMOUT0_SEL EQU 1
+SCSI_TX_DMA__TERMOUT1_EN EQU 0
+SCSI_TX_DMA__TERMOUT1_SEL EQU 0
+
+; SCSI_TX_DMA_COMPLETE
+SCSI_TX_DMA_COMPLETE__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SCSI_TX_DMA_COMPLETE__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SCSI_TX_DMA_COMPLETE__INTC_MASK EQU 0x10
+SCSI_TX_DMA_COMPLETE__INTC_NUMBER EQU 4
+SCSI_TX_DMA_COMPLETE__INTC_PRIOR_NUM EQU 7
+SCSI_TX_DMA_COMPLETE__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_4
+SCSI_TX_DMA_COMPLETE__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SCSI_TX_DMA_COMPLETE__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
+
+; SD_Data_Clk
+SD_Data_Clk__CFG0 EQU CYREG_CLKDIST_DCFG0_CFG0
+SD_Data_Clk__CFG1 EQU CYREG_CLKDIST_DCFG0_CFG1
+SD_Data_Clk__CFG2 EQU CYREG_CLKDIST_DCFG0_CFG2
+SD_Data_Clk__CFG2_SRC_SEL_MASK EQU 0x07
+SD_Data_Clk__INDEX EQU 0x00
+SD_Data_Clk__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
+SD_Data_Clk__PM_ACT_MSK EQU 0x01
+SD_Data_Clk__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
+SD_Data_Clk__PM_STBY_MSK EQU 0x01
 
-; EXTLED
-EXTLED__0__MASK EQU 0x01
-EXTLED__0__PC EQU CYREG_PRT0_PC0
-EXTLED__0__PORT EQU 0
-EXTLED__0__SHIFT EQU 0
-EXTLED__AG EQU CYREG_PRT0_AG
-EXTLED__AMUX EQU CYREG_PRT0_AMUX
-EXTLED__BIE EQU CYREG_PRT0_BIE
-EXTLED__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-EXTLED__BYP EQU CYREG_PRT0_BYP
-EXTLED__CTL EQU CYREG_PRT0_CTL
-EXTLED__DM0 EQU CYREG_PRT0_DM0
-EXTLED__DM1 EQU CYREG_PRT0_DM1
-EXTLED__DM2 EQU CYREG_PRT0_DM2
-EXTLED__DR EQU CYREG_PRT0_DR
-EXTLED__INP_DIS EQU CYREG_PRT0_INP_DIS
-EXTLED__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-EXTLED__LCD_EN EQU CYREG_PRT0_LCD_EN
-EXTLED__MASK EQU 0x01
-EXTLED__PORT EQU 0
-EXTLED__PRT EQU CYREG_PRT0_PRT
-EXTLED__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-EXTLED__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-EXTLED__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-EXTLED__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-EXTLED__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-EXTLED__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-EXTLED__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-EXTLED__PS EQU CYREG_PRT0_PS
-EXTLED__SHIFT EQU 0
-EXTLED__SLW EQU CYREG_PRT0_SLW
+; timer_clock
+timer_clock__CFG0 EQU CYREG_CLKDIST_DCFG2_CFG0
+timer_clock__CFG1 EQU CYREG_CLKDIST_DCFG2_CFG1
+timer_clock__CFG2 EQU CYREG_CLKDIST_DCFG2_CFG2
+timer_clock__CFG2_SRC_SEL_MASK EQU 0x07
+timer_clock__INDEX EQU 0x02
+timer_clock__PM_ACT_CFG EQU CYREG_PM_ACT_CFG2
+timer_clock__PM_ACT_MSK EQU 0x04
+timer_clock__PM_STBY_CFG EQU CYREG_PM_STBY_CFG2
+timer_clock__PM_STBY_MSK EQU 0x04
 
-; SD_SCK
-SD_SCK__0__MASK EQU 0x04
-SD_SCK__0__PC EQU CYREG_PRT3_PC2
-SD_SCK__0__PORT EQU 3
-SD_SCK__0__SHIFT EQU 2
-SD_SCK__AG EQU CYREG_PRT3_AG
-SD_SCK__AMUX EQU CYREG_PRT3_AMUX
-SD_SCK__BIE EQU CYREG_PRT3_BIE
-SD_SCK__BIT_MASK EQU CYREG_PRT3_BIT_MASK
-SD_SCK__BYP EQU CYREG_PRT3_BYP
-SD_SCK__CTL EQU CYREG_PRT3_CTL
-SD_SCK__DM0 EQU CYREG_PRT3_DM0
-SD_SCK__DM1 EQU CYREG_PRT3_DM1
-SD_SCK__DM2 EQU CYREG_PRT3_DM2
-SD_SCK__DR EQU CYREG_PRT3_DR
-SD_SCK__INP_DIS EQU CYREG_PRT3_INP_DIS
-SD_SCK__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
-SD_SCK__LCD_EN EQU CYREG_PRT3_LCD_EN
-SD_SCK__MASK EQU 0x04
-SD_SCK__PORT EQU 3
-SD_SCK__PRT EQU CYREG_PRT3_PRT
-SD_SCK__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
-SD_SCK__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
-SD_SCK__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
-SD_SCK__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
-SD_SCK__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
-SD_SCK__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
-SD_SCK__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
-SD_SCK__PS EQU CYREG_PRT3_PS
-SD_SCK__SHIFT EQU 2
-SD_SCK__SLW EQU CYREG_PRT3_SLW
+; SCSI_RST_ISR
+SCSI_RST_ISR__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SCSI_RST_ISR__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SCSI_RST_ISR__INTC_MASK EQU 0x04
+SCSI_RST_ISR__INTC_NUMBER EQU 2
+SCSI_RST_ISR__INTC_PRIOR_NUM EQU 7
+SCSI_RST_ISR__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_2
+SCSI_RST_ISR__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SCSI_RST_ISR__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
-; SD_CD
-SD_CD__0__MASK EQU 0x20
-SD_CD__0__PC EQU CYREG_PRT3_PC5
-SD_CD__0__PORT EQU 3
-SD_CD__0__SHIFT EQU 5
-SD_CD__AG EQU CYREG_PRT3_AG
-SD_CD__AMUX EQU CYREG_PRT3_AMUX
-SD_CD__BIE EQU CYREG_PRT3_BIE
-SD_CD__BIT_MASK EQU CYREG_PRT3_BIT_MASK
-SD_CD__BYP EQU CYREG_PRT3_BYP
-SD_CD__CTL EQU CYREG_PRT3_CTL
-SD_CD__DM0 EQU CYREG_PRT3_DM0
-SD_CD__DM1 EQU CYREG_PRT3_DM1
-SD_CD__DM2 EQU CYREG_PRT3_DM2
-SD_CD__DR EQU CYREG_PRT3_DR
-SD_CD__INP_DIS EQU CYREG_PRT3_INP_DIS
-SD_CD__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
-SD_CD__LCD_EN EQU CYREG_PRT3_LCD_EN
-SD_CD__MASK EQU 0x20
-SD_CD__PORT EQU 3
-SD_CD__PRT EQU CYREG_PRT3_PRT
-SD_CD__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
-SD_CD__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
-SD_CD__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
-SD_CD__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
-SD_CD__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
-SD_CD__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
-SD_CD__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
-SD_CD__PS EQU CYREG_PRT3_PS
-SD_CD__SHIFT EQU 5
-SD_CD__SLW EQU CYREG_PRT3_SLW
+; SCSI_SEL_ISR
+SCSI_SEL_ISR__INTC_CLR_EN_REG EQU CYREG_NVIC_CLRENA0
+SCSI_SEL_ISR__INTC_CLR_PD_REG EQU CYREG_NVIC_CLRPEND0
+SCSI_SEL_ISR__INTC_MASK EQU 0x08
+SCSI_SEL_ISR__INTC_NUMBER EQU 3
+SCSI_SEL_ISR__INTC_PRIOR_NUM EQU 7
+SCSI_SEL_ISR__INTC_PRIOR_REG EQU CYREG_NVIC_PRI_3
+SCSI_SEL_ISR__INTC_SET_EN_REG EQU CYREG_NVIC_SETENA0
+SCSI_SEL_ISR__INTC_SET_PD_REG EQU CYREG_NVIC_SETPEND0
 
-; SD_CS
-SD_CS__0__MASK EQU 0x10
-SD_CS__0__PC EQU CYREG_PRT3_PC4
-SD_CS__0__PORT EQU 3
-SD_CS__0__SHIFT EQU 4
-SD_CS__AG EQU CYREG_PRT3_AG
-SD_CS__AMUX EQU CYREG_PRT3_AMUX
-SD_CS__BIE EQU CYREG_PRT3_BIE
-SD_CS__BIT_MASK EQU CYREG_PRT3_BIT_MASK
-SD_CS__BYP EQU CYREG_PRT3_BYP
-SD_CS__CTL EQU CYREG_PRT3_CTL
-SD_CS__DM0 EQU CYREG_PRT3_DM0
-SD_CS__DM1 EQU CYREG_PRT3_DM1
-SD_CS__DM2 EQU CYREG_PRT3_DM2
-SD_CS__DR EQU CYREG_PRT3_DR
-SD_CS__INP_DIS EQU CYREG_PRT3_INP_DIS
-SD_CS__LCD_COM_SEG EQU CYREG_PRT3_LCD_COM_SEG
-SD_CS__LCD_EN EQU CYREG_PRT3_LCD_EN
-SD_CS__MASK EQU 0x10
-SD_CS__PORT EQU 3
-SD_CS__PRT EQU CYREG_PRT3_PRT
-SD_CS__PRTDSI__CAPS_SEL EQU CYREG_PRT3_CAPS_SEL
-SD_CS__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT3_DBL_SYNC_IN
-SD_CS__PRTDSI__OE_SEL0 EQU CYREG_PRT3_OE_SEL0
-SD_CS__PRTDSI__OE_SEL1 EQU CYREG_PRT3_OE_SEL1
-SD_CS__PRTDSI__OUT_SEL0 EQU CYREG_PRT3_OUT_SEL0
-SD_CS__PRTDSI__OUT_SEL1 EQU CYREG_PRT3_OUT_SEL1
-SD_CS__PRTDSI__SYNC_OUT EQU CYREG_PRT3_SYNC_OUT
-SD_CS__PS EQU CYREG_PRT3_PS
-SD_CS__SHIFT EQU 4
-SD_CS__SLW EQU CYREG_PRT3_SLW
+; SCSI_Filtered
+SCSI_Filtered_sts_sts_reg__0__MASK EQU 0x01
+SCSI_Filtered_sts_sts_reg__0__POS EQU 0
+SCSI_Filtered_sts_sts_reg__1__MASK EQU 0x02
+SCSI_Filtered_sts_sts_reg__1__POS EQU 1
+SCSI_Filtered_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB01_02_ACTL
+SCSI_Filtered_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB01_02_ST
+SCSI_Filtered_sts_sts_reg__2__MASK EQU 0x04
+SCSI_Filtered_sts_sts_reg__2__POS EQU 2
+SCSI_Filtered_sts_sts_reg__3__MASK EQU 0x08
+SCSI_Filtered_sts_sts_reg__3__POS EQU 3
+SCSI_Filtered_sts_sts_reg__4__MASK EQU 0x10
+SCSI_Filtered_sts_sts_reg__4__POS EQU 4
+SCSI_Filtered_sts_sts_reg__MASK EQU 0x1F
+SCSI_Filtered_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB01_MSK
+SCSI_Filtered_sts_sts_reg__MASK_ST_AUX_CTL_REG EQU CYREG_B0_UDB01_MSK_ACTL
+SCSI_Filtered_sts_sts_reg__PER_ST_AUX_CTL_REG EQU CYREG_B0_UDB01_MSK_ACTL
+SCSI_Filtered_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB01_ACTL
+SCSI_Filtered_sts_sts_reg__STATUS_CNT_REG EQU CYREG_B0_UDB01_ST_CTL
+SCSI_Filtered_sts_sts_reg__STATUS_CONTROL_REG EQU CYREG_B0_UDB01_ST_CTL
+SCSI_Filtered_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB01_ST
 
-; LED1
-LED1__0__MASK EQU 0x02
-LED1__0__PC EQU CYREG_PRT0_PC1
-LED1__0__PORT EQU 0
-LED1__0__SHIFT EQU 1
-LED1__AG EQU CYREG_PRT0_AG
-LED1__AMUX EQU CYREG_PRT0_AMUX
-LED1__BIE EQU CYREG_PRT0_BIE
-LED1__BIT_MASK EQU CYREG_PRT0_BIT_MASK
-LED1__BYP EQU CYREG_PRT0_BYP
-LED1__CTL EQU CYREG_PRT0_CTL
-LED1__DM0 EQU CYREG_PRT0_DM0
-LED1__DM1 EQU CYREG_PRT0_DM1
-LED1__DM2 EQU CYREG_PRT0_DM2
-LED1__DR EQU CYREG_PRT0_DR
-LED1__INP_DIS EQU CYREG_PRT0_INP_DIS
-LED1__LCD_COM_SEG EQU CYREG_PRT0_LCD_COM_SEG
-LED1__LCD_EN EQU CYREG_PRT0_LCD_EN
-LED1__MASK EQU 0x02
-LED1__PORT EQU 0
-LED1__PRT EQU CYREG_PRT0_PRT
-LED1__PRTDSI__CAPS_SEL EQU CYREG_PRT0_CAPS_SEL
-LED1__PRTDSI__DBL_SYNC_IN EQU CYREG_PRT0_DBL_SYNC_IN
-LED1__PRTDSI__OE_SEL0 EQU CYREG_PRT0_OE_SEL0
-LED1__PRTDSI__OE_SEL1 EQU CYREG_PRT0_OE_SEL1
-LED1__PRTDSI__OUT_SEL0 EQU CYREG_PRT0_OUT_SEL0
-LED1__PRTDSI__OUT_SEL1 EQU CYREG_PRT0_OUT_SEL1
-LED1__PRTDSI__SYNC_OUT EQU CYREG_PRT0_SYNC_OUT
-LED1__PS EQU CYREG_PRT0_PS
-LED1__SHIFT EQU 1
-LED1__SLW EQU CYREG_PRT0_SLW
+; SCSI_CTL_PHASE
+SCSI_CTL_PHASE_Sync_ctrl_reg__0__MASK EQU 0x01
+SCSI_CTL_PHASE_Sync_ctrl_reg__0__POS EQU 0
+SCSI_CTL_PHASE_Sync_ctrl_reg__1__MASK EQU 0x02
+SCSI_CTL_PHASE_Sync_ctrl_reg__1__POS EQU 1
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB01_02_ACTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_CONTROL_REG EQU CYREG_B0_UDB01_02_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_CONTROL_COUNT_REG EQU CYREG_B0_UDB01_02_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_CONTROL_REG EQU CYREG_B0_UDB01_02_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_COUNT_COUNT_REG EQU CYREG_B0_UDB01_02_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_MASK_REG EQU CYREG_B0_UDB01_02_MSK
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_MASK_PERIOD_REG EQU CYREG_B0_UDB01_02_MSK
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_MASK_REG EQU CYREG_B0_UDB01_02_MSK
+SCSI_CTL_PHASE_Sync_ctrl_reg__16BIT_PERIOD_PERIOD_REG EQU CYREG_B0_UDB01_02_MSK
+SCSI_CTL_PHASE_Sync_ctrl_reg__2__MASK EQU 0x04
+SCSI_CTL_PHASE_Sync_ctrl_reg__2__POS EQU 2
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_AUX_CTL_REG EQU CYREG_B0_UDB01_ACTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_REG EQU CYREG_B0_UDB01_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__CONTROL_ST_REG EQU CYREG_B0_UDB01_ST_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_REG EQU CYREG_B0_UDB01_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__COUNT_ST_REG EQU CYREG_B0_UDB01_ST_CTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__MASK EQU 0x07
+SCSI_CTL_PHASE_Sync_ctrl_reg__MASK_CTL_AUX_CTL_REG EQU CYREG_B0_UDB01_MSK_ACTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__PER_CTL_AUX_CTL_REG EQU CYREG_B0_UDB01_MSK_ACTL
+SCSI_CTL_PHASE_Sync_ctrl_reg__PERIOD_REG EQU CYREG_B0_UDB01_MSK
+
+; SCSI_Parity_Error
+SCSI_Parity_Error_sts_sts_reg__0__MASK EQU 0x01
+SCSI_Parity_Error_sts_sts_reg__0__POS EQU 0
+SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_AUX_CTL_REG EQU CYREG_B0_UDB04_05_ACTL
+SCSI_Parity_Error_sts_sts_reg__16BIT_STATUS_REG EQU CYREG_B0_UDB04_05_ST
+SCSI_Parity_Error_sts_sts_reg__MASK EQU 0x01
+SCSI_Parity_Error_sts_sts_reg__MASK_REG EQU CYREG_B0_UDB04_MSK
+SCSI_Parity_Error_sts_sts_reg__STATUS_AUX_CTL_REG EQU CYREG_B0_UDB04_ACTL
+SCSI_Parity_Error_sts_sts_reg__STATUS_REG EQU CYREG_B0_UDB04_ST
 
 ; Miscellaneous
-; -- WARNING: define names containing LEOPARD or PANTHER are deprecated and will be removed in a future release
-CYDEV_DEBUGGING_DPS_SWD_SWV EQU 6
-CYDEV_CONFIG_UNUSED_IO_AllowButWarn EQU 0
-CYDEV_CONFIGURATION_MODE_COMPRESSED EQU 0
-CYDEV_CONFIG_FASTBOOT_ENABLED EQU 1
-CYDEV_CHIP_REV_PSOC5LP_PRODUCTION EQU 0
-CYDEV_CHIP_REVISION_5B_PRODUCTION EQU 0
-CYDEV_CHIP_MEMBER_5B EQU 4
-CYDEV_CHIP_FAMILY_PSOC5 EQU 3
-CYDEV_CHIP_DIE_PSOC5LP EQU 4
-CYDEV_CHIP_DIE_EXPECT EQU CYDEV_CHIP_DIE_PSOC5LP
 BCLK__BUS_CLK__HZ EQU 50000000
 BCLK__BUS_CLK__KHZ EQU 50000
 BCLK__BUS_CLK__MHZ EQU 50
-CYDEV_CHIP_DIE_ACTUAL EQU CYDEV_CHIP_DIE_EXPECT
 CYDEV_CHIP_DIE_LEOPARD EQU 1
-CYDEV_CHIP_DIE_PANTHER EQU 3
-CYDEV_CHIP_DIE_PSOC4A EQU 2
+CYDEV_CHIP_DIE_PANTHER EQU 6
+CYDEV_CHIP_DIE_PSOC4A EQU 3
+CYDEV_CHIP_DIE_PSOC5LP EQU 5
 CYDEV_CHIP_DIE_UNKNOWN EQU 0
 CYDEV_CHIP_FAMILY_PSOC3 EQU 1
 CYDEV_CHIP_FAMILY_PSOC4 EQU 2
+CYDEV_CHIP_FAMILY_PSOC5 EQU 3
 CYDEV_CHIP_FAMILY_UNKNOWN EQU 0
 CYDEV_CHIP_FAMILY_USED EQU CYDEV_CHIP_FAMILY_PSOC5
 CYDEV_CHIP_JTAG_ID EQU 0x2E133069
 CYDEV_CHIP_MEMBER_3A EQU 1
-CYDEV_CHIP_MEMBER_4A EQU 2
-CYDEV_CHIP_MEMBER_5A EQU 3
+CYDEV_CHIP_MEMBER_4A EQU 3
+CYDEV_CHIP_MEMBER_4D EQU 2
+CYDEV_CHIP_MEMBER_4F EQU 4
+CYDEV_CHIP_MEMBER_5A EQU 6
+CYDEV_CHIP_MEMBER_5B EQU 5
 CYDEV_CHIP_MEMBER_UNKNOWN EQU 0
 CYDEV_CHIP_MEMBER_USED EQU CYDEV_CHIP_MEMBER_5B
+CYDEV_CHIP_DIE_EXPECT EQU CYDEV_CHIP_MEMBER_USED
+CYDEV_CHIP_DIE_ACTUAL EQU CYDEV_CHIP_DIE_EXPECT
+CYDEV_CHIP_REV_LEOPARD_ES1 EQU 0
+CYDEV_CHIP_REV_LEOPARD_ES2 EQU 1
+CYDEV_CHIP_REV_LEOPARD_ES3 EQU 3
+CYDEV_CHIP_REV_LEOPARD_PRODUCTION EQU 3
+CYDEV_CHIP_REV_PANTHER_ES0 EQU 0
+CYDEV_CHIP_REV_PANTHER_ES1 EQU 1
+CYDEV_CHIP_REV_PANTHER_PRODUCTION EQU 1
+CYDEV_CHIP_REV_PSOC4A_ES0 EQU 17
+CYDEV_CHIP_REV_PSOC4A_PRODUCTION EQU 17
+CYDEV_CHIP_REV_PSOC5LP_ES0 EQU 0
+CYDEV_CHIP_REV_PSOC5LP_PRODUCTION EQU 0
 CYDEV_CHIP_REVISION_3A_ES1 EQU 0
 CYDEV_CHIP_REVISION_3A_ES2 EQU 1
 CYDEV_CHIP_REVISION_3A_ES3 EQU 3
 CYDEV_CHIP_REVISION_3A_PRODUCTION EQU 3
 CYDEV_CHIP_REVISION_4A_ES0 EQU 17
 CYDEV_CHIP_REVISION_4A_PRODUCTION EQU 17
+CYDEV_CHIP_REVISION_4D_PRODUCTION EQU 0
+CYDEV_CHIP_REVISION_4F_PRODUCTION EQU 0
 CYDEV_CHIP_REVISION_5A_ES0 EQU 0
 CYDEV_CHIP_REVISION_5A_ES1 EQU 1
 CYDEV_CHIP_REVISION_5A_PRODUCTION EQU 1
 CYDEV_CHIP_REVISION_5B_ES0 EQU 0
+CYDEV_CHIP_REVISION_5B_PRODUCTION EQU 0
 CYDEV_CHIP_REVISION_USED EQU CYDEV_CHIP_REVISION_5B_PRODUCTION
-CYDEV_CHIP_REV_EXPECT EQU CYDEV_CHIP_REV_PSOC5LP_PRODUCTION
-CYDEV_CHIP_REV_LEOPARD_ES1 EQU 0
-CYDEV_CHIP_REV_LEOPARD_ES2 EQU 1
-CYDEV_CHIP_REV_LEOPARD_ES3 EQU 3
-CYDEV_CHIP_REV_LEOPARD_PRODUCTION EQU 3
-CYDEV_CHIP_REV_PANTHER_ES0 EQU 0
-CYDEV_CHIP_REV_PANTHER_ES1 EQU 1
-CYDEV_CHIP_REV_PANTHER_PRODUCTION EQU 1
-CYDEV_CHIP_REV_PSOC4A_ES0 EQU 17
-CYDEV_CHIP_REV_PSOC4A_PRODUCTION EQU 17
-CYDEV_CHIP_REV_PSOC5LP_ES0 EQU 0
+CYDEV_CHIP_REV_EXPECT EQU CYDEV_CHIP_REVISION_USED
+CYDEV_CONFIG_FASTBOOT_ENABLED EQU 1
+CYDEV_CONFIG_UNUSED_IO_AllowButWarn EQU 0
+CYDEV_CONFIG_UNUSED_IO EQU CYDEV_CONFIG_UNUSED_IO_AllowButWarn
+CYDEV_CONFIG_UNUSED_IO_AllowWithInfo EQU 1
+CYDEV_CONFIG_UNUSED_IO_Disallowed EQU 2
 CYDEV_CONFIGURATION_COMPRESSED EQU 1
 CYDEV_CONFIGURATION_DMA EQU 0
 CYDEV_CONFIGURATION_ECC EQU 0
 CYDEV_CONFIGURATION_IMOENABLED EQU CYDEV_CONFIG_FASTBOOT_ENABLED
+CYDEV_CONFIGURATION_MODE_COMPRESSED EQU 0
 CYDEV_CONFIGURATION_MODE EQU CYDEV_CONFIGURATION_MODE_COMPRESSED
 CYDEV_CONFIGURATION_MODE_DMA EQU 2
 CYDEV_CONFIGURATION_MODE_UNCOMPRESSED EQU 1
-CYDEV_CONFIG_UNUSED_IO EQU CYDEV_CONFIG_UNUSED_IO_AllowButWarn
-CYDEV_CONFIG_UNUSED_IO_AllowWithInfo EQU 1
-CYDEV_CONFIG_UNUSED_IO_Disallowed EQU 2
-CYDEV_DEBUGGING_DPS EQU CYDEV_DEBUGGING_DPS_SWD_SWV
+CYDEV_DEBUG_ENABLE_MASK EQU 0x20
+CYDEV_DEBUG_ENABLE_REGISTER EQU CYREG_MLOGIC_DEBUG
 CYDEV_DEBUGGING_DPS_Disable EQU 3
 CYDEV_DEBUGGING_DPS_JTAG_4 EQU 1
 CYDEV_DEBUGGING_DPS_JTAG_5 EQU 0
 CYDEV_DEBUGGING_DPS_SWD EQU 2
+CYDEV_DEBUGGING_DPS_SWD_SWV EQU 6
+CYDEV_DEBUGGING_DPS EQU CYDEV_DEBUGGING_DPS_SWD_SWV
 CYDEV_DEBUGGING_ENABLE EQU 1
 CYDEV_DEBUGGING_XRES EQU 0
-CYDEV_DEBUG_ENABLE_MASK EQU 0x20
-CYDEV_DEBUG_ENABLE_REGISTER EQU CYREG_MLOGIC_DEBUG
 CYDEV_DMA_CHANNELS_AVAILABLE EQU 24
 CYDEV_ECC_ENABLE EQU 0
-CYDEV_HEAP_SIZE EQU 0x1000
+CYDEV_HEAP_SIZE EQU 0x0400
 CYDEV_INSTRUCT_CACHE_ENABLED EQU 1
-CYDEV_INTR_RISING EQU 0x0000003E
+CYDEV_INTR_RISING EQU 0x0000007E
 CYDEV_PROJ_TYPE EQU 2
 CYDEV_PROJ_TYPE_BOOTLOADER EQU 1
 CYDEV_PROJ_TYPE_LOADABLE EQU 2
 CYDEV_PROJ_TYPE_MULTIAPPBOOTLOADER EQU 3
 CYDEV_PROJ_TYPE_STANDARD EQU 0
 CYDEV_PROTECTION_ENABLE EQU 0
-CYDEV_STACK_SIZE EQU 0x4000
+CYDEV_STACK_SIZE EQU 0x1000
 CYDEV_USB_CLK_OSC_LOCKING_ENABLED_AT_PWR_UP EQU 1
 CYDEV_USE_BUNDLED_CMSIS EQU 1
 CYDEV_VARIABLE_VDDA EQU 0
@@ -2946,13 +2975,30 @@ CYDEV_VDDIO0_MV EQU 5000
 CYDEV_VDDIO1_MV EQU 5000
 CYDEV_VDDIO2_MV EQU 5000
 CYDEV_VDDIO3_MV EQU 3300
-CYDEV_VIO0 EQU 5
 CYDEV_VIO0_MV EQU 5000
-CYDEV_VIO1 EQU 5
 CYDEV_VIO1_MV EQU 5000
-CYDEV_VIO2 EQU 5
 CYDEV_VIO2_MV EQU 5000
 CYDEV_VIO3_MV EQU 3300
+CYIPBLOCK_ARM_CM3_VERSION EQU 0
+CYIPBLOCK_P3_ANAIF_VERSION EQU 0
+CYIPBLOCK_P3_CAPSENSE_VERSION EQU 0
+CYIPBLOCK_P3_COMP_VERSION EQU 0
+CYIPBLOCK_P3_DMA_VERSION EQU 0
+CYIPBLOCK_P3_DRQ_VERSION EQU 0
+CYIPBLOCK_P3_EMIF_VERSION EQU 0
+CYIPBLOCK_P3_I2C_VERSION EQU 0
+CYIPBLOCK_P3_LCD_VERSION EQU 0
+CYIPBLOCK_P3_LPF_VERSION EQU 0
+CYIPBLOCK_P3_PM_VERSION EQU 0
+CYIPBLOCK_P3_TIMER_VERSION EQU 0
+CYIPBLOCK_P3_USB_VERSION EQU 0
+CYIPBLOCK_P3_VIDAC_VERSION EQU 0
+CYIPBLOCK_P3_VREF_VERSION EQU 0
+CYIPBLOCK_S8_GPIO_VERSION EQU 0
+CYIPBLOCK_S8_IRQ_VERSION EQU 0
+CYIPBLOCK_S8_SAR_VERSION EQU 0
+CYIPBLOCK_S8_SIO_VERSION EQU 0
+CYIPBLOCK_S8_UDB_VERSION EQU 0
 DMA_CHANNELS_USED__MASK0 EQU 0x0000000F
 CYDEV_BOOTLOADER_ENABLE EQU 0
     ENDIF