From 7f26bfe436d718cfe52424aaeb6112d78fdb363f Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 1 Apr 2015 17:43:30 +0200 Subject: [PATCH] zed: Use interface connection for the I2S stream Use a interface connection for the I2S stream instead of individually connecting each of the signals. This make things a bit cleaner. Signed-off-by: Lars-Peter Clausen --- projects/common/zed/zed_system_bd.tcl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/projects/common/zed/zed_system_bd.tcl b/projects/common/zed/zed_system_bd.tcl index f507d0375..ba699e5fc 100644 --- a/projects/common/zed/zed_system_bd.tcl +++ b/projects/common/zed/zed_system_bd.tcl @@ -41,10 +41,7 @@ create_bd_port -dir O -from 15 -to 0 hdmi_data # i2s create_bd_port -dir O -type clk i2s_mclk -create_bd_port -dir O i2s_bclk -create_bd_port -dir O i2s_lrclk -create_bd_port -dir O i2s_sdata_out -create_bd_port -dir I i2s_sdata_in +create_bd_intf_port -mode Master -vlnv analog.com:interface:i2s_rtl:1.0 i2s # iic mux @@ -240,10 +237,7 @@ ad_connect sys_cpu_clk sys_ps7/DMA2_ACLK ad_connect sys_audio_clkgen/clk_out1 i2s_mclk ad_connect sys_audio_clkgen/clk_out1 axi_i2s_adi/DATA_CLK_I -ad_connect i2s_bclk axi_i2s_adi/BCLK_O -ad_connect i2s_lrclk axi_i2s_adi/LRCLK_O -ad_connect i2s_sdata_out axi_i2s_adi/SDATA_O -ad_connect i2s_sdata_in axi_i2s_adi/SDATA_I +ad_connect i2s axi_i2s_adi/I2S ad_connect sys_ps7/DMA1_REQ axi_i2s_adi/DMA_REQ_TX ad_connect sys_ps7/DMA1_ACK axi_i2s_adi/DMA_ACK_TX