Go to the documentation of this file.
34 #ifndef _PARAMETERS_H_
35 #define _PARAMETERS_H_
37 #include "app_config.h"
38 #ifdef ALTERA_PLATFORM
41 #include "xparameters.h"
44 #define UART_BAUDRATE 115200
45 #ifndef ALTERA_PLATFORM
47 #define SPI_DEVICE_ID XPAR_SPI_0_DEVICE_ID
48 #define GPIO_DEVICE_ID XPAR_GPIO_0_DEVICE_ID
49 #define UART_DEVICE_ID XPAR_AXI_UART_DEVICE_ID
53 #define ADC_DDR_BASEADDR (XPAR_AXI_DDR_CNTRL_BASEADDR + 0x800000)
54 #define DAC_DDR_BASEADDR (XPAR_AXI_DDR_CNTRL_BASEADDR + 0x900000)
56 #define SPI_DEVICE_ID XPAR_XSPIPS_0_DEVICE_ID
57 #define GPIO_DEVICE_ID XPAR_XGPIOPS_0_DEVICE_ID
58 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
59 #ifdef XPS_BOARD_ZCU102
60 #define UART_IRQ_ID XPAR_XUARTPS_0_INTR
62 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
65 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
67 #ifdef PLATFORM_ZYNQMP
68 #define GPIO_OFFSET 78
70 #define GPIO_OFFSET 54
73 #define ADC_DDR_BASEADDR (XPAR_DDR_MEM_BASEADDR + 0x800000)
74 #define DAC_DDR_BASEADDR (XPAR_DDR_MEM_BASEADDR + 0x900000)
77 #define RX_CORE_BASEADDR XPAR_AXI_AD9680_TPL_CORE_ADC_TPL_CORE_BASEADDR
78 #define TX_CORE_BASEADDR XPAR_AXI_AD9152_TPL_CORE_DAC_TPL_CORE_BASEADDR
80 #define RX_DMA_BASEADDR XPAR_AXI_AD9680_DMA_BASEADDR
81 #define TX_DMA_BASEADDR XPAR_AXI_AD9152_DMA_BASEADDR
83 #define RX_JESD_BASEADDR XPAR_AXI_AD9680_JESD_RX_AXI_BASEADDR
84 #define TX_JESD_BASEADDR XPAR_AXI_AD9152_JESD_TX_AXI_BASEADDR
86 #define RX_XCVR_BASEADDR XPAR_AXI_AD9680_XCVR_BASEADDR
87 #define TX_XCVR_BASEADDR XPAR_AXI_AD9152_XCVR_BASEADDR
89 #define SPI_DEVICE_ID 0
90 #define GPIO_DEVICE_ID 0
94 #define SPI_BASEADDR SYS_SPI_BASE
95 #define GPIO_BASEADDR SYS_GPIO_OUT_BASE
97 #define ADC_DDR_BASEADDR (SYS_DDR3_CNTRL_ARCH_BASE + 0x800000)
98 #define DAC_DDR_BASEADDR (SYS_DDR3_CNTRL_ARCH_BASE + 0x900000)
100 #define RX_CORE_BASEADDR AXI_AD9680_CORE_BASE
101 #define TX_CORE_BASEADDR AXI_AD9152_CORE_BASE
103 #define RX_DMA_BASEADDR AXI_AD9680_DMA_BASE
104 #define TX_DMA_BASEADDR AXI_AD9152_DMA_BASE
106 #define RX_JESD_BASEADDR AD9680_JESD204_LINK_RECONFIG_BASE
107 #define TX_JESD_BASEADDR AD9152_JESD204_LINK_RECONFIG_BASE
109 #define RX_XCVR_BASEADDR AD9680_JESD204_LINK_MANAGEMENT_BASE
110 #define TX_XCVR_BASEADDR AD9152_JESD204_LINK_MANAGEMENT_BASE
112 #define RX_A10_FPLL_BASEADDR AD9680_JESD204_LINK_PLL_RECONFIG_BASE
113 #define TX_A10_FPLL_BASEADDR AD9152_JESD204_LINK_PLL_RECONFIG_BASE
115 #define TX_PLL_BASEADDR AD9152_JESD204_LANE_PLL_RECONFIG_BASE
116 #define RX_PLL_BASEADDR AD9680_JESD204_LINK_PLL_RECONFIG_BASE
118 #define RX_ADXCFG_0_BASEADDR AVL_ADXCFG_0_RCFG_S1_BASE
119 #define RX_ADXCFG_1_BASEADDR AVL_ADXCFG_1_RCFG_S1_BASE
120 #define RX_ADXCFG_2_BASEADDR AVL_ADXCFG_2_RCFG_S1_BASE
121 #define RX_ADXCFG_3_BASEADDR AVL_ADXCFG_3_RCFG_S1_BASE
122 #define TX_ADXCFG_0_BASEADDR AVL_ADXCFG_0_RCFG_S0_BASE
123 #define TX_ADXCFG_1_BASEADDR AVL_ADXCFG_1_RCFG_S0_BASE
124 #define TX_ADXCFG_2_BASEADDR AVL_ADXCFG_2_RCFG_S0_BASE
125 #define TX_ADXCFG_3_BASEADDR AVL_ADXCFG_3_RCFG_S0_BASE
128 #define GPIO_CLKD_STATUS_0 (GPIO_OFFSET + 32)
129 #define GPIO_CLKD_STATUS_1 (GPIO_OFFSET + 33)
130 #define GPIO_DAC_IRQ (GPIO_OFFSET + 34)
131 #define GPIO_ADC_FDA (GPIO_OFFSET + 35)
132 #define GPIO_ADC_FDB (GPIO_OFFSET + 36)
133 #define GPIO_DAC_TXEN (GPIO_OFFSET + 37)
134 #define GPIO_ADC_PD (GPIO_OFFSET + 38)
135 #define GPIO_TRIG (GPIO_OFFSET + 39)
ad9523_channels
Definition: parameters.h:145
@ ADC_DEVICE_CLK
Definition: parameters.h:150
@ DAC_DEVICE_SYSREF
Definition: parameters.h:147
@ ADC_FPGA_CLK
Definition: parameters.h:152
@ DAC_FPGA_SYSREF
Definition: parameters.h:149
@ DAC_DEVICE_CLK
Definition: parameters.h:146
@ ADC_FPGA_SYSREF
Definition: parameters.h:153
@ DAC_FPGA_CLK
Definition: parameters.h:148
@ ADC_DEVICE_SYSREF
Definition: parameters.h:151