From 8d5583443dbce84dd0cb7ffd59247699d48a9ee0 Mon Sep 17 00:00:00 2001 From: Ioan-daniel Pop Date: Thu, 21 Sep 2023 09:20:38 +0300 Subject: [PATCH] Update SPI Engine AD738x I changed the ad738x_bd.tcl, system_bd.tcl, system_top.v, system_constr.xdc files and added ad738x_fmc.txt file for the spi_engine_create function. Signed-off-by: Ioan-daniel Pop --- library/axi_tdd/Makefile | 1 - projects/ad738x_fmc/zed/Makefile | 4 +++- projects/ad738x_fmc/zed/system_constr.xdc | 10 +++++----- projects/ad738x_fmc/zed/system_top.v | 2 +- projects/ad9213_evb/Makefile | 6 +++--- projects/ad9213_evb/vcu118/Makefile | 6 +++--- 6 files changed, 15 insertions(+), 14 deletions(-) diff --git a/library/axi_tdd/Makefile b/library/axi_tdd/Makefile index 8649c70bc2c..7e9f4307df2 100644 --- a/library/axi_tdd/Makefile +++ b/library/axi_tdd/Makefile @@ -17,7 +17,6 @@ GENERIC_DEPS += axi_tdd_pkg.sv GENERIC_DEPS += axi_tdd_regmap.sv GENERIC_DEPS += axi_tdd_sync_gen.sv -XILINX_DEPS += axi_tdd_constr.ttcl XILINX_DEPS += axi_tdd_ip.tcl INTEL_DEPS += axi_tdd_constr.sdc diff --git a/projects/ad738x_fmc/zed/Makefile b/projects/ad738x_fmc/zed/Makefile index fbce999c9a2..be8cd5c6194 100644 --- a/projects/ad738x_fmc/zed/Makefile +++ b/projects/ad738x_fmc/zed/Makefile @@ -10,12 +10,14 @@ M_DEPS += ../common/ad738x_bd.tcl M_DEPS += ../../scripts/adi_pd.tcl M_DEPS += ../../common/zed/zed_system_constr.xdc M_DEPS += ../../common/zed/zed_system_bd.tcl +M_DEPS += ../../../library/spi_engine/scripts/spi_engine.tcl M_DEPS += ../../../library/common/ad_iobuf.v LIB_DEPS += axi_clkgen LIB_DEPS += axi_dmac LIB_DEPS += axi_hdmi_tx LIB_DEPS += axi_i2s_adi +LIB_DEPS += axi_pwm_gen LIB_DEPS += axi_spdif_tx LIB_DEPS += axi_sysid LIB_DEPS += spi_engine/axi_spi_engine @@ -23,8 +25,8 @@ LIB_DEPS += spi_engine/spi_engine_execution LIB_DEPS += spi_engine/spi_engine_interconnect LIB_DEPS += spi_engine/spi_engine_offload LIB_DEPS += sysid_rom -LIB_DEPS += util_axis_upscale LIB_DEPS += util_i2c_mixer +LIB_DEPS += util_axis_upscale LIB_DEPS += util_pulse_gen include ../../scripts/project-xilinx.mk diff --git a/projects/ad738x_fmc/zed/system_constr.xdc b/projects/ad738x_fmc/zed/system_constr.xdc index 34aa91d84aa..f6413ecce66 100644 --- a/projects/ad738x_fmc/zed/system_constr.xdc +++ b/projects/ad738x_fmc/zed/system_constr.xdc @@ -5,8 +5,8 @@ # SPI interface -set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS25} [get_ports spi_sclk] ; ## FMC_LPC_LA00_CC_P -set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS25} [get_ports spi_sdia] ; ## FMC_LPC_LA01_CC_P -set_property -dict {PACKAGE_PIN N20 IOSTANDARD LVCMOS25} [get_ports spi_sdib] ; ## FMC_LPC_LA01_CC_N -set_property -dict {PACKAGE_PIN P17 IOSTANDARD LVCMOS25} [get_ports spi_sdo] ; ## FMC_LPC_LA02_P -set_property -dict {PACKAGE_PIN M20 IOSTANDARD LVCMOS25} [get_ports spi_cs] ; ## FMC_LPC_LA00_CC_N +set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS25} [get_ports spi_sclk] ; ## FMC_LA00_CC_P +set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS25} [get_ports spi_sdia] ; ## FMC_LA01_CC_P +set_property -dict {PACKAGE_PIN N20 IOSTANDARD LVCMOS25} [get_ports spi_sdib] ; ## FMC_LA01_CC_N +set_property -dict {PACKAGE_PIN P17 IOSTANDARD LVCMOS25} [get_ports spi_sdo] ; ## FMC_LA02_P +set_property -dict {PACKAGE_PIN M20 IOSTANDARD LVCMOS25} [get_ports spi_cs] ; ## FMC_LA00_CC_N diff --git a/projects/ad738x_fmc/zed/system_top.v b/projects/ad738x_fmc/zed/system_top.v index cffb09b7144..9069d4c6def 100644 --- a/projects/ad738x_fmc/zed/system_top.v +++ b/projects/ad738x_fmc/zed/system_top.v @@ -176,7 +176,7 @@ module system_top ( .ad738x_spi_sdo_t (), .ad738x_spi_sdi ({spi_sdib, spi_sdia}), .ad738x_spi_cs (spi_cs), - .ad738x_spi_sclk (spi_sclk) + .ad738x_spi_sclk (spi_sclk), .otg_vbusoc (otg_vbusoc), .spdif (spdif)); diff --git a/projects/ad9213_evb/Makefile b/projects/ad9213_evb/Makefile index a4c281fa4f4..1402069e104 100755 --- a/projects/ad9213_evb/Makefile +++ b/projects/ad9213_evb/Makefile @@ -1,7 +1,7 @@ -############################################################################### -## Copyright (C) 2022-2023 Analog Devices, Inc. +#################################################################################### +## Copyright (c) 2018 - 2023 Analog Devices, Inc. ### SPDX short identifier: BSD-1-Clause ## Auto-generated, do not modify! -############################################################################### +#################################################################################### include ../scripts/project-toplevel.mk diff --git a/projects/ad9213_evb/vcu118/Makefile b/projects/ad9213_evb/vcu118/Makefile index f897c0a0883..757b289b292 100755 --- a/projects/ad9213_evb/vcu118/Makefile +++ b/projects/ad9213_evb/vcu118/Makefile @@ -1,8 +1,8 @@ -############################################################################### -## Copyright (C) 2022-2023 Analog Devices, Inc. +#################################################################################### +## Copyright (c) 2018 - 2023 Analog Devices, Inc. ### SPDX short identifier: BSD-1-Clause ## Auto-generated, do not modify! -############################################################################### +#################################################################################### PROJECT_NAME := ad9213_evb_vcu118