Go to the documentation of this file.
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
39 #include <xparameters.h>
41 #ifdef PLATFORM_ZYNQMP
42 #define SPI_DEVICE_ID XPAR_PSU_SPI_0_DEVICE_ID
43 #define GPIO_DEVICE_ID XPAR_PSU_GPIO_0_DEVICE_ID
45 #define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
46 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
48 #define SPI_HMC7044_CS 0x00
49 #define SPI_AD9172_CS 0x01
51 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
52 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
53 #define UART_BAUDRATE 921600
55 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
57 #define TX_JESD_BASEADDR XPAR_DAC_JESD204_LINK_TX_AXI_BASEADDR
58 #define TX_XCVR_BASEADDR XPAR_DAC_JESD204_XCVR_BASEADDR
59 #define TX_CORE_BASEADDR XPAR_DAC_JESD204_TRANSPORT_DAC_TPL_CORE_BASEADDR
60 #define TX_DMA_BASEADDR XPAR_DAC_DMA_BASEADDR
61 #ifdef PLATFORM_ZYNQMP
62 #define DDR_MEM_BASEADDR (XPAR_PSU_DDR_0_S_AXI_BASEADDR + 0xA000000)
64 #define DDR_MEM_BASEADDR (XPAR_PS7_DDR_0_S_AXI_BASEADDR + 0xA000000)