Skip to content

Commit

Permalink
Update SPI Engine AD738x
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
PIoandan committed Sep 21, 2023
1 parent 05d553b commit 8d55834
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
1 change: 0 additions & 1 deletion library/axi_tdd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion projects/ad738x_fmc/zed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ 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
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
10 changes: 5 additions & 5 deletions projects/ad738x_fmc/zed/system_constr.xdc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion projects/ad738x_fmc/zed/system_top.v
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
6 changes: 3 additions & 3 deletions projects/ad9213_evb/Makefile
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions projects/ad9213_evb/vcu118/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 8d55834

Please sign in to comment.